Cisco Systems OL-15491-01 Network Hardware User Manual


 
A-84
Cisco Content Services Gateway - 2nd Generation Release 2.0 Installation and Configuration Guide
OL-15491-01
Appendix A CSG2 Command Reference
ip csg policy
ip csg policy
To define a policy for qualifying flows for the CSG2 billing services, and to enter CSG2 policy
configuration mode, use the ip csg policy command in global configuration mode. To turn off the
service, use the no form of this command.
ip csg policy policy-name
no ip csg policy policy-name
Syntax Description
Defaults None
Command Modes Global configuration
Command History
Usage Guidelines Because of limitations on the number of URL match patterns that the CSG2 can handle, do not define
more than 16,000 policies. For more information on URL match patterns, see the description of the
match url command.
The characteristics of each policy are defined by the following commands:
accounting
map
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.
You can specify up to three maps in a given policy: one for header matching, one for method
matching, and one for URL matching. For example, the following is a valid configuration:
ip csg map HOSTMAP
match header host1 value *.2.*.44
!
ip csg map URLMAP
match url */mobile/index.wml
!
policy-name Name of a policy that applies to the content for this service. The name can
be from 1 to 15 characters long, and can include uppercase or lowercase
letters (the CSG2 changes all letters to uppercase), numbers, and any
special characters.
Release Modification
12.4(11)MD This command was migrated from CSG1.
Changes from CSG1: None.