Cisco Systems OL-15491-01 Syntax Description Command Modes Command History, HTTP//url-string, 174

Models: OL-15491-01

1 256
Download 256 pages 33.88 Kb
Page 174
Image 174

Appendix A CSG2 Command Reference

match url

match url

Syntax Description

Command Modes

Command History

To specify a URL match pattern for a CSG2 billing map, use the match url command in CSG2 map configuration mode. To delete the match pattern, use the no form of this command.

match url pattern

no match url pattern

pattern

Regular URL pattern to be matched against the input URL. The pattern can

 

include up to 127 characters, including wildcards and UNIX string-matching

 

special characters.

 

 

CSG2 map configuration

Release Modification

12.4(11)MD This command was migrated from CSG1.

Changes from CSG1:

The name of this command changed from match (URL map) to match url.

The configuration mode for this command changed from CSG2 URL map configuration to CSG2 map configuration.

The protocol protocol and method method keywords and arguments were removed.

12.4(15)MD Support for Session Initiation Protocol (SIP) URLs was added.

Usage Guidelines You can use more than one match url command in CSG2 map configuration mode to specify multiple URL match patterns for a URL map:

If a flow matches any of a map’s URL match patterns, then the CSG2 accepts and processes the flow (unless an attribute, header, or method map associated with the flow does not match, of course).

If a flow does not match any of a map’s URL match patterns, then the match fails and the CSG2 does not accept or process the flow.

By default, the URL match patterns are case-sensitive, and you must consider uppercase and lowercase combinations carefully when you create URL match patterns. For example, if you define the following URL match pattern:

match url http://url-string

but a subscriber enters the following URL in a web browser:

HTTP://url-string

then the match fails and the CSG2 does not accept or process the flow.

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

 

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

A-174

OL-15491-01

Page 174
Image 174
Cisco Systems OL-15491-01 Syntax Description Command Modes Command History, Match url pattern No match url pattern, 174