[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Creating Policy Lists for MPLS

The following example creates an MPLS policy list.

  1. Create the policy list routeForMpls.
  2. host1(config)#mpls policy-list routeForMpls
    
    host1(config-policy-list)#
    
    
    
  3. Create the classification group.
  4. host1(config-policy-list)#classifier-group * precedence 200
    
    host1(config-policy-list-classifier-group)#
    
    
    
  5. Add one rule that sets the EXP bits for all packets to 2, and a second rule that uses the rate-limit profile mplsRLP5.
  6. host1(config-policy-list-classifier-group)#mark-exp 2
    
    host1(config-policy-list-classifier-group)#rate-limit-profile mplsRLP5
    
    
    
  7. Exit Policy List Configuration mode to save the configuration.
  8. host1(config-policy-list-classifier-group)#exit
    
    host1(config-policy-list)#exit
    
    host1(config)#
    
    
    
  9. Display the policy list.
  10. host1#show policy-list routeForMpls
    
    
    
                                      Policy Table
    
                                      ------ -----
    
    MPLS Policy routeForMpls
    
       Administrative state: enable
    
       Reference count:      0
    
       Classifier control list: *, precedence 200
    
          mark-exp 2 mask 7
    
          rate-limit-profile mplsRLP5
    

Related Topics


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]