# Creating Policy Lists for MPLS

The following example creates an MPLS policy list.

1. Create the policy list routeForMpls.
   host1(config)#mpls policy-list routeForMpls host1(config-policy-list)#
2. Create the classification group.
   host1(config-policy-list)#classifier-group * precedence 200 host1(config-policy-list-classifier-group)#
3. Add one rule that sets the EXP bits for all packets to 2, and a second rule that uses the rate-limit profile mplsRLP
   host1(config-policy-list-classifier-group)#mark-exp 2 host1(config-policy-list-classifier-group)#rate-limit-profile mplsRLP5
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 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

- mpls policy-list