Match url – Cisco OL-15491-01 User Manual

Page 182

Advertising
background image

A-182

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

OL-15491-01

Appendix A CSG2 Command Reference

match url

match url

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

Syntax Description

Command Modes

CSG2 map configuration

Command History

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-sensitive
command.

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.

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.

Advertising