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
9-9
Cisco 4700 Series Application Control Engine Appliance Administration Guide
OL-11157-01
Chapter 9 Configuring the XML Interface
XML Overview
<!ELEMENT rserver (description, ip_address, conn-limit, probe_rserver,
weight, inservice,
webhost-redirection)*>
<!ATTLIST rserver
sense CDATA #FIXED "no"
type (redirect | host) #IMPLIED
name CDATA #REQUIRED
>
Sample XML Configuration
The following example shows a typical VShell (VSH) CLI command
configuration and its equivalent XML configuration commands:
##############################
## TO/FROM CP CONFIGURATION ##
##############################
conf t
access-list acl1 extended permit ip any any
int vlan 80
access-group input acl1
ip address 60.0.0.145 255.255.255.0
no shut
exit
ip route 0.0.0.0 0.0.0.0 60.0.0.1
end
<access-list id="acl1" config-type="extended" perm-value="permit"
protocol-name="ip" src- type="any" dest-type="any"/>
<interface type="vlan" number="80">
<access-group type="input" name="acl1"/>
<ip_address address="60.0.0.145" netmask="255.255.255.0"/>
<shutdown sense="no"/>
</interface>
<ip_route dest-address="0.0.0.0" dest-mask="0.0.0.0"
gateway="60.0.0.1"/>
############################
## BRIDGING CONFIGURATION ##
############################
conf t
access-list acl1 extended permit ip any any
int vlan 80
access-group input acl1