Cisco catalyst 6500 series Configuration Note page 106

Content switching module
Hide thumbs Also See for catalyst 6500 series:
Table of Contents

Advertisement

Configuring Network Management
Command
Step 5
Router(config-slb-xml)#client-group
[ 1-99 | name]
Step 6
Router(config-slb-xml)#credentials
user-name password
Step 7
Router# show module csm 4 xml stats
This example shows how to run configure XML on the CSM:
Router(config-module-csm)# configure terminal
Router(config-module-csm)# m odule csm 4
Router(config-module-csm)# xml-config
Router(config-slb-xml)# port 23
Router(config-slb-xml)# vlan 200
Router(config-slb-xml)# client-group 60
Router(config-slb-xml)# credentials eric @#$#%%@
Router# show module csm 4 xml stats
When an untolerated XML error occurs, the HTTP response contains a 200 code. The portion of the
original XML document with the error is returned with an error element that contains the error type and
description.
This example shows an error response to a condition where a virtual server name is missing:
vserver</error>
The error codes returned also correspond to the bits of the error tolerance attribute of the configuration
element. The following are the returned XML error codes:
XML_ERR_INTERNAL
XML_ERR_COMM_FAILURE
XML_ERR_WELLFORMEDNESS
XML_ERR_ATTR_UNRECOGNIZED = 0x0008,
XML_ERR_ATTR_INVALID
XML_ERR_ATTR_MISSING
XML_ERR_ELEM_UNRECOGNIZED = 0x0040,
XML_ERR_ELEM_INVALID
XML_ERR_ELEM_MISSING
XML_ERR_ELEM_CONTEXT
XML_ERR_IOS_PARSER
XML_ERR_IOS_MODULE_IN_USE = 0x0800,
XML_ERR_IOS_WRONG_MODULE
XML_ERR_IOS_CONFIG
The default error_tolerance value is 0x48, which corresponds to ignoring unrecognized attributes and
elements.
Catalyst 6500 Series Content Switching Module Configuration Note
8-16
<?xml version="1.0"?>
<config>
<csm_module slot="4">
<vserver>
<error code="0x20">Missing attribute name in element
</vserver>
</csm_module>
</config>
= 0x0001,
= 0x0002,
= 0x0004,
= 0x0010,
= 0x0020,
= 0x0080,
= 0x0100,
= 0x0200,
= 0x0400,
= 0x1000,
= 0x2000
Chapter 8
Configuring Additional Features and Options
Purpose
Specifies that only connections sourced from an IP
address matching a client-group are accepted by the
CSM XML configuration interface.
Configures one or more username and password
combinations. When one or more credentials commands
are specified, the CSM HTTP server authenticates user
access using the basic authentication scheme described
in RFC 2617.
Displays a list of XML statistics.
OL-4612-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6000 series

Table of Contents