Dell S50V Switch User Manual


  Open as PDF
of 1262
 
1158 | FTOS XML Feature
www.dell.com | support.dell.com
The “Show” Request and Response
To generate an XML request that encapsulates a “show” command (to request a report), you use the
<action> tag instead of the <configuration> tag as the Operation type. The schema of a show request
allows only one <command>, as shown here for the
show linecard command. (Note that
“<command>
show line all</command>” demonstrates that you can use both an abbreviated form of the
command and options, just as in the standard CLI):
<?xml version="1.0" encoding="UTF-8"?>
<request MajorVersion="1" MinorVersion="0">
<cli>
<action>
<command>
show line all</command>
</action>
</cli>
</request>
The response from FTOS, if the command executes successfully, presents all of the content that you would
get in the equivalent CLI report. Note that the data are encapsulated in self-explanatory XML tags. The
following is an example of a
show linecard report embedded in XML tags:
<?xml version="1.0" encoding="UTF-8" ?>
<response MajorVersion="1" MinorVersion="0">
<action>
<linecard>
<slotId>3</slotId>
<status>online</status>
<nextBoot>online</nextBoot>
<reqType>E48TF3</reqType>
<numPorts>0</numPorts>
<swVer>6.5.1.1</swVer>
</linecard>
</action>
</response>
Configuration Task List
In addition to supporting show commands, FTOS XML currently also supports ACL configuration:
Run an FTOS XML session on page 1159
Configure a standard ACL on page 1161
Configure an extended ACL on page 1161
Apply an IP ACL on page 1161
Create an egress ACL and apply rules to the ACL on page 1162