Cisco Systems 78-11424-03 manual 2-43

Models: 78-11424-03

1 50
Download 50 pages 2.4 Kb
Page 43
Image 43
As an example, the following commands configure an access list (ACL):

Chapter 2 Configuring User Profiles and CSS Parameters

Configuring Content API

3.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 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>

4.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.

Note For overview information on the CLI commands you can use in global configuration mode and its subordinate modes, refer to the Content Services Switch Command Reference, Chapter 2, CLI Commands.

 

 

Cisco Content Services Switch Basic Configuration Guide

 

 

 

 

 

 

78-11424-03

 

 

2-43

 

 

 

Page 43
Image 43
Cisco Systems 78-11424-03 manual 2-43, As an example, the following commands configure an access list ACL