Cisco 11503 - CSS Content Services Switch Administration Manual page 263

Content services switch
Hide thumbs Also See for 11503 - CSS Content Services Switch:
Table of Contents

Advertisement

Chapter 7
Using an XML Document to Configure the CSS
4.
5.
Note
OL-5647-02
Pay attention to mode hierarchy of the CLI commands in the XML file. Each
mode has its own set of commands. Many of the modes have commands
allowing you to access other related modes. If you enter a series of commands
in the improper mode hierarchy, this will result in an XML file that fails to
execute properly.
As an example, the following commands configure an access control list
(ACL):
<?xml version="1.0" standalone="yes" ?>
<config>
<action>acl 98</action>
<action>clause 10 permit any any dest any</action>
<action>apply circuit-(VLAN3)</action>
</config>
In another example, the following commands configure a CSS Ethernet
interface:
<?xml version="1.0" standalone="yes" ?>
<config>
<action>interface ethernet-6</action>
<action>bridge vlan 3</action>
<action>circuit VLAN3</action>
<action>ip address 10.10.104.1/16</action>
</config>
Pay attention to the allowable CLI command conventions for syntax and
variable argument in the XML file. If you enter an invalid or incomplete
command, this will result in an XML file that fails to execute properly.
For overview information on the CLI commands you can use in global
configuration mode and its subordinate modes, refer to the Cisco Content
Services Switch Command Reference, Chapter 2, "CLI Commands."
Cisco Content Services Switch Administration Guide
Creating XML Code
7-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

11500 series

Table of Contents