Reference Guide
1078 | FTOS XML Feature
www.dell.com | support.dell.com
Using display xml as a Pipe Option
Also, at a CLI prompt in EXEC privilege mode (“enable mode”), you can retrieve XML-formatted
responses to the show commands supported by XML (refer to the list of supported show commands in the
section XML Functionality). The following table describes how to format a show command with a pipe
option that will request that the show command report be presented with XML formatting.
As shown in the following example, FTOS formats the response with the XML tags from the same
response schema used by the XML response, discussed in The “Show” Request and Response. For more
on pipe options, refer to Filtering show Command Outputs.
FTOS>#show linecard 0 | display xml
<?xml version="1.0" encoding="UTF-8" ?>
<response MajorVersion="1" MinorVersion="0">
<action>
<linecard>
<slotId>0</slotId>
<status>online</status>
<nextBoot>online</nextBoot>
<reqType>EXW2PF3 - 2-port 10GE LAN/WAN PHY line card with XFP optics (EF3)</reqType>
<curType>EXW2PF3 - 2-port 10GE LAN/WAN PHY line card with XFP optics (EF3)</curType>
<hwRevBase>1.1</hwRevBase>
<hwRevPortPipe0>1.1</hwRevPortPipe0>
<hwRevPortPipe1>n/a</hwRevPortPipe1>
<numPorts>2</numPorts>
<upTime>1 hr, 32 min</upTime>
<swVer>4.4.3.243</swVer>
<lcJumboCapable>yes</lcJumboCapable>
<lcBootFlashA>2.3.0.6 [booted]</lcBootFlashA>
<lcBootFlashB>2.3.0.6 </lcBootFlashB>
<totMemSize>268435456</totMemSize>
<lcTemperature>37</lcTemperature>
<powerStatus>AC</powerStatus>
<voltage>ok</voltage>
<serialNum>0039034</serialNum>
<partNum>7520017400</partNum>
<productRev>08</productRev>
<vendorId>04</vendorId>
<dateCode>01332005</dateCode>
<countryCode>01</countryCode>
</linecard>
</action>
</response>
FTOS>
Command Syntax Command Mode Purpose
show keyword | display xml EXEC privilege FTOS treats “ | display xml” as a request to format the show
command report in XML format.










