Creating Policy Lists for MPLS
The following example creates an MPLS policy list.
- Create the policy list routeForMpls.host1(config)#mpls policy-list routeForMpls host1(config-policy-list)#
- Create the classification group.host1(config-policy-list)#classifier-group * precedence 200 host1(config-policy-list-classifier-group)#
- Add one rule that sets the EXP bits for all packets to
2, and a second rule that uses the rate-limit profile mplsRLPhost1(config-policy-list-classifier-group)#mark-exp 2 host1(config-policy-list-classifier-group)#rate-limit-profile mplsRLP5
- Exit Policy List Configuration mode to save the configuration.host1(config-policy-list-classifier-group)#exit host1(config-policy-list)#exit host1(config)#
- Display the policy list.
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
Hide Navigation Pane
Show Navigation Pane
SHA1