Chapter 1 Using Content Switching Module Commands

Regular Expressions

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

Router# exit

Logoff

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

Router>

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

Router# disable

Router>

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

Router(config)#

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

Router(config)# end

Router#

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

Router(config)# disable

Router>

Submodes

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

Router(config-submode_name)#

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 -25

match protocol http header (header map submode), page -30

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

 

Expression

Meaning

 

 

 

 

“*”

Zero or more characters

 

 

 

 

“?”

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

 

 

 

 

“\”

Escaped character

 

 

 

 

“”

Or

 

 

 

 

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

Matching any single character from the range

 

 

 

 

Leading ^ in a range

Do not match any in the range

 

 

 

 

 

 

 

Catalyst 6500 Series Switch Content Switching Module with SSL Command Reference

 

 

 

 

 

 

 

 

 

 

 

 

OL-7029-01

 

 

1-3

 

 

 

 

 

Page 21
Image 21
Cisco Systems OL-7029-01 Regular Expressions, Submodes When you are in a submode, the prompt changes to, Escaped character