3. Add two rules for traffic based on the CLACL named gre8: one rule to color
4. Exit Policy List Configuration mode to save the configuration.
5. Display the policy list.
NOTE:
until you exit from that mode.
Creating a Policy List for L2TP
The following example creates an L2TP policy list.
1. Create the policy list routeForl2tp.
2. Create the classification group to match all packets.
3. Add a rule to color packets as red, and a second rule that uses the rate-limit
4. Exit Policy List Configuration mode to save the configuration.
packets as red, and a second rule that specifies the ToS DS field value to be
assigned to the packets.
host1(config-policy-list-classifier-group)#color red
host1(config-policy-list-classifier-group)#mark dsfield 20
host1(config-policy-list-classifier-group)#
host1(config-policy-list-classifier-group)#exit
host1(config-policy-list)#exit
host1(config)#
host1#show policy-list routeGre50
GRE Tunnel Policy routeGre50
Administrative state: enable
Reference count:
Classifier control list: gre8, precedence 150
color red
mark dsfield 20
Commands that you issue in Policy Configuration mode do not take effect
host1(config)#l2tp policy-list routeForl2tp
host1(config-policy-list)#
host1(config-policy-list)#classifier-group *
host1(config-policy-list-classifier-group)#
profile l2tpRLP10.
host1(config-policy-list-classifier-group)#color red
host1(config-policy-list-classifier-group)#rate-limit-profile l2tpRLP10
host1(config-policy-list-classifier-group)#exit
host1(config-policy-list)#exit
host1(config)#
Policy Table
------ -----
0
Chapter 2: Creating Policies
!
27
Creating Policy Lists