Creating Policy Lists for L2TP
The following example creates an L2TP policy list.
- Create the policy list routeForl2tp.
host1(config)#l2tp policy-list routeForl2tphost1(config-policy-list)#- Create the classification group to match all packets.
host1(config-policy-list)#classifier-group *host1(config-policy-list-classifier-group)#- Add a rule to color packets as red, and a second rule that uses the rate-limit profile l2tpRLP10.
host1(config-policy-list-classifier-group)#color redhost1(config-policy-list-classifier-group)#rate-limit-profile l2tpRLP10- Exit Policy List Configuration mode to save the configuration.
host1(config-policy-list-classifier-group)#exithost1(config-policy-list)#exithost1(config)#- Display the policy list.
host1#show policy-list routeForl2tpPolicy Table------ -----L2TP Policy routeForl2tpAdministrative state: enableReference count: 0Classifier control list: *, precedence 100color redrate-limit-profile l2tpRLP20