Cisco 4700M Administration Manual page 262

Application control engine appliance
Hide thumbs Also See for 4700M:
Table of Contents

Advertisement

Configuring the XML Interface
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.
Including the xml-show on command in the raw XML request itself (CLI commands included in an
XML wrapper).
Selection 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 thesoftware image (see the
section). The ACE DTD file contains the information on the XML attributes for those show commands
that have output that supports the 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
>
The XML representation of the show interface command appears as follows:
<show_interface interface-type='vlan' interface-number='10'/>
The following example illustrates the XML representation of the show interface command output:
<response_xml>
<exec_command>
<command>
show interface vlan 10
</command>
<status code="100" text="XML_CMD_SUCCESS"/>
<xml_show_result>
<xml_show_interface>
<xml_interface_entry>
<xml_interface>
<interface_name>vlan10</interface_name>
<interface_status>up</interface_status>
<interface_hardware>VLAN</interface_hardware>
<interface_mac>
<macaddress>00:05:9a:3b:92:b1</macaddress>
</interface_mac>
<interface_mode>routed</interface_mode>
<interface_ip>
<ipaddress>10.20.105.101</ipaddress>
<ipmask>255.255.255.0</ipmask>
</interface_ip>
<interface_ft_status>non-redundant</interface_ft_status>
<interface_description>
<interface_description>not set</interface_description>
</interface_description>
<interface_mtu>1500</interface_mtu>
<interface_last_cleared>never</interface_last_cleared>
<interface_alias>
<ipaddress>not set</ipaddress>
</interface_alias>
Cisco 4700 Series Application Control Engine Appliance Administration Guide
8-16
(vlan | bvi | eobc)
interface-number
CDATA
Chapter 8
#IMPLIED
#IMPLIED"
Configuring the XML Interface
"Accessing the ACE DTD File"
OL-20823-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

4700 series

Table of Contents