Creating Policy Lists for L2TP

The following example creates an L2TP policy list.

  1. Create the policy list routeForl2tp.
    host1(config)#l2tp policy-list routeForl2tphost1(config-policy-list)#
  2. Create the classification group to match all packets.
    host1(config-policy-list)#classifier-group *host1(config-policy-list-classifier-group)#
  3. 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
  4. Exit Policy List Configuration mode to save the configuration.
    host1(config-policy-list-classifier-group)#exit host1(config-policy-list)#exit host1(config)#
  5. Display the policy list.
    host1#show policy-list routeForl2tp
    
                                      Policy Table
                                      ------ -----
    L2TP Policy routeForl2tp
       Administrative state: enable
       Reference count:      0
       Classifier control list: *, precedence 100
          color red
          rate-limit-profile l2tpRLP20

Related Documentation