Using Display Xml As A Pipe Option - Dell Force10 C150 Configuration Manual

Ftos configuration guide ftos 8.4.2.7 e-series terascale, c-series, s-series (s50/s25)
Hide thumbs Also See for Force10 C150:
Table of Contents

Advertisement

The second command in this XML request also makes an invalid request:
<?xml version="1.0" encoding="UTF-8"?>
<request MajorVersion="1" MinorVersion="0">
<cli>
<configuration>
ip access standard test1
<command>
no permit host 2.2.3.4 log count bytes
<command>
</configuration>
</cli>
</request>
The error response contains a <responseSeverity> of "APPLICATION_ERROR", <responseSeverity> of
"APPLICATION_ERROR" and a <responseMsg> of "% Error: Access-list entry does not exist."

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 (see the list of supported show commands in the
section
XML Functionality on page
with a pipe option that will request that the show command report be presented with XML formatting.
Command Syntax
show
| display xml
keyword
As shown in the following
response schema used by the XML response, discussed in
page
1158. For more on pipe options, see
</command>
1155). The following table describes how to format a show command
Command Mode
Purpose
FTOS treats " | display xml " as a request to format the show
EXEC privilege
command report in XML format.
Figure
59-3, FTOS formats the response with the XML tags from the same
Filtering show Command Outputs on page
</command>
The "Show" Request and Response on
43.
FTOS XML Feature | 1165

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents