Cisco OL-15491-01 User Manual

Page 180

Advertising
background image

A-180

Cisco Content Services Gateway - 2nd Generation Release 2.0 Installation and Configuration Guide

OL-15491-01

Appendix A CSG2 Command Reference

match method

By default, the method match patterns are case-sensitive. For example, if you define the following
method match pattern:

match method get

but the actual method keyword is GET, then the match fails and the CSG2 does not accept or process
the flow.

If you do not want the method match patterns to be case-sensitive, configure the no ip csg
case-sensitive
command.

You can specify up to 8192 match patterns.

The following table shows and describes the special characters that you can use in the method-name
argument in method match patterns.

When configuring a map, keep the following considerations in mind:

You cannot specify different types of match patterns in a given map. For example, a map can include
one or more match header statements, but it cannot include both match header statements and
match url statements.

Convention Description

*

Zero or more characters.

+

Zero or more repeated instances of the token preceding the +.

?

Zero or one character.

\character

Escaped character.

Examples:

\? Match on a question mark (\<ctrl-v>?)

\+ Match on a plus sign

\* Match on an asterisk

\a Alert (ASCII 7)

\b Backspace (ASCII 8)

\f Form-feed (ASCII 12)

\n New line (ASCII 10)

\r Carriage return (ASCII 13)

\t Tab (ASCII 9)

\v Vertical tab (ASCC 11)

\0 Null (ASCII 0)

\\ Back slash

Bracketed range [0-9]

Matching any single character from the range.

A leading ^ in a range

Do not match any in the range. All other characters represent themselves.

.\x##

Any ASCII character as specified in two-digit hex notation.

For example, \x3f yields a ? for a one-character wild card match.

Advertising