Catalyst 6500 Series Switch Content Switching Module with SSL (CSM-S) Command Reference, 1.1
Chapter 1 Using Content Switching Module CSMS Commands
Downloads: This chapterpdf (PDF - 184.0 KB) The complete bookPDF (PDF - 7.05 MB) | Feedback

Using Content Switching Module Commands

Table Of Contents

Using Content Switching Module Commands

Using the CSM and CSM-S Commands

Command Modes

Regular Expressions

Using Content Switching Module Commands

This documentation supports these modules



This chapter describes how to use the CSM and CSM-S commands and contains the following sections:

Using the CSM and CSM-S Commands

Command Modes

Note Except where specifically differentiated, the term "Content Switching Module" and its acronym "CSM" includes both the Content Switching Module and the Content Switching Module with SSL.

The term "Content Switching Module with SSL" and its acronym "CSM-S" are used only where the information presented is specific to the CSMS.

The term SSL daughter card an SSL termination dauthter card for the CSM that accelerates Secure Socket Layer (SSL) transactions.

Using the CSM and CSM-S Commands

This section provides a brief introduction to using commands and where to go for more information on configuring and using your CSM or CSM-S.

You will use these commands for basic tasks:


write memory

Saving the configuration

write terminal

Viewing the configuration

logging buffered debugging

Accumulating system log (syslog) messages

show logging

Viewing system log (syslog) messages

clear logging

Clearing the message buffer

With the command-line interface (CLI), you can do the following tasks:

Check the syntax before entering a command.

Enter a command and press the ? key to view a quick summary, or precede a command with the help command (help aaa, for example).

Abbreviate commands.

You can use the config t command to start configuration mode, the write t command statement to list the configuration, and the write m commmand to write to Flash memory. In most commands, the show command can be abbreviated as sh. This feature is called command completion.

Review possible port and protocol numbers at the following Internet Assigned Numbers Authority (IANA) websites:

Create your configuration in a text editor, and then cut and paste it into the configuration.

You can paste in a line at a time or the whole configuration. Always check your configuration after pasting large blocks of text to be sure that all of the text was copied.

For information about how to build your CSM and CSM-S configuration, refer to the Catalyst 6500 Series Content Switching Module Installation and Configuration Note and Catalyst 6500 Series Switch Content Switching Module with SSL Installation and Configuration Note at the following URL:

Command Modes

The CSM and CSM-S contain a command set based on Cisco IOS technologies and provides configurable command privilege modes based on the following command modes:

Note When using these modules on a switch running the Catalyst operating system and Cisco IOS, you must session to the Mutilayer Switch Feature Card (MSFC) for the router prompt.

Unprivileged mode

The unprivileged mode allows you to view CSM settings. The unprivileged mode prompt appears as follows when you first access the CSM:


Privileged mode

Any unprivileged mode command will work in privileged mode. Use the enable command to start the privileged mode from the unprivileged mode as follows:

Router> enable

The # prompt is displayed.

Use the exit or end commands to exit privileged mode and return to unprivileged mode as follows:

Router# exit


Type help or '?' for a list of available commands.

Use the disable command to exit privileged mode and return to unprivileged mode as follows:

Router# disable

Configuration mode

The configuration mode allows you to change the configuration. All privileged, unprivileged, and configuration commands are available in this mode. Use the configure terminal command to start the configuration mode as follows:

Router# configure terminal

Use the exit or end commands to exit configuration mode and return to privileged mode as follows:

Router(config)# end

Use the disable command to exit configuration mode and return to unprivileged mode as follows:

Router(config)# disable


When you are in a submode, the prompt changes to:


Regular Expressions

Regular expressions used in commands are based on the UNIX filename specification. You will use regular expressions in these commands:

match protocol http cookie (cookie map submode), page 2-23

match protocol http header (header map submode), page 2-28

match protocol http url (URL map submode), page 2-32


Zero or more characters


Exactly one character—the [Ctrl + V] key combination must be entered


Escaped character



Bracketed range (for example, [0-9])

Matching any single character from the range

Leading ^ in a range

Do not match any in the range


Alert (ASCII 7)


Backspace (ASCII 80


Form-feed (ASCII 12)


Newline (ASCII 10)


Carriage return (ASCII 13)


Tab (ASCII 9)


Vertical tab (ASCII 11)


Null (ASCII 0)




Any ASCII character as specified in two-digit hexadecimal notation