Chapter 4 Configuring Class Maps and Policy Maps
Configuring a Layer 7 Policy Map
4-54
Cisco 4700 Series Application Control Engine Appliance Administration Guide
OL-11157-01
The arguments are:
•
name
—Name assigned to the inline
match
command. Enter an unquoted text
string with no spaces. The length of the inline match statement name plus the
length of the policy map name with which it is associated cannot exceed a
total maximum of 64 alphanumeric characters. For example, if the policy map
name is L7_POLICY (nine characters), an inline match statement name under
this policy cannot exceed 55 alphanumeric characters (64
-
9 = 55).
•
match_statement
—Inline match criteria to be used by the policy map.
•
insert-before
map_name
—(Optional) Places the inline
match
command
ahead of an existing class map in the policy map configuration.
For example:
host1/Admin(config-pmap-lb)#
match L7loadbalance http url /finance
host1/Admin(config-pmap-lb-m)#
serverfarm FARM1
host1/Admin(config-pmap-lb-m)#
class TEST_CLASS
host1/Admin(config-pmap-lb-m)#
serverfarm FARM2
Specifying a Layer 7 Traffic Class with the Traffic Policy
To specify a traffic class created with the
class-map
command to associate
network traffic with the traffic policy, use the
class
command in policy map
configuration mode. The syntax of this command is:
class
map_name
The
map_name
argument specifies the name of a previously defined traffic class,
configured with the
class-map
command, to associate traffic to the traffic policy.
Enter an unquoted text string with no spaces and a maximum of 64 alphanumeric
characters.
When you use this command, you will access policy map class configuration
mode.
For example, to specify an existing class map in the Layer 7 policy map, enter:
host1/Admin(config-pmap-lb)#
class L7_SLB_SERVER_CLASS
host1/Admin(config-pmap-lb-c)#
To remove a class map from a Layer 7 policy map, enter:
host1/Admin(config-pmap-lb)#
no class L7_SLB_SERVER_CLASS