Format - Cisco ACE-4710-K9 Administration Manual

Application control engine appliance
Table of Contents

Advertisement

Enabling the Display of Raw XML Request show Command Output in XML Format
R E V I E W D R A F T - C I S C O C O N F I D E N T I A L
Enabling the Display of Raw XML Request show
Command Output in XML Format
Cisco 4700 Series Application Control Engine Appliance Administration Guide
9-24
By default, XML responses will automatically appear in XML format if the
corresponding CLI show command output supports the XML format. However, if
you are running commands on the CLI console or you are running raw XML
responses from NMS, the XML responses appear in regular CLI display format.
You can enable the display of raw XML request show command output in XML
format by performing one of the following actions:
Specifying the xml-show on command in Exec mode from the CLI, or
Including the xml-show on command in the raw XML request itself (CLI
commands included in an XML wrapper).
Specification of the xml-show on command is not required if you are running true
XML (as shown in the example below).
For details on the show command output supported in XML format, consult the
ACE DTD file, ace_appliance.dtd, that is included as part of the software image
(see the
"Accessing the ACE DTD File"
information on the XML attributes for those show commands whose output
supports XML format.
For example, if you specify the show interface vlan 10 command, the DTD for
the show interface command appears as follows:
<!--
interface-number is req for show-type vlan | bvi.
interface-number is between 1 and 4095 for vlan and 8191 for bvi.
-->
<!ENTITY % show-interface
"interface-type
interface-number
>
The XML representation of the show interface command appears as follows:
<show_interface interface-type='vlan' interface-number='10'/>
Chapter 9
section). The ACE DTD File contains the
(vlan | bvi)
#IMPLIED
CDATA
#IMPLIED"
Configuring the XML Interface
OL-11157-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

4700 series

Table of Contents