CEM over MPLS QoS
Example: Applying the MPLS EXP Imposition Policy Map to a Main Interface
Example: Applying the MPLS EXP Imposition Policy Map to a Main Interface
The following example applies a policy map to Gigabit Ethernet interface 0/0/0:
Router# configure terminal
Enter configuration commands, one per line.
Router(config)# interface GigabitEthernet 0/0/0
Router(config-if)# service-policy input mark-up-exp-2
Router(config-if)# exit
Example: Applying the MPLS EXP Imposition Policy Map to an EVC
Example: Applying the MPLS EXP Imposition Policy Map to an EVC
The following example applies a policy map to the Ethernet Virtual Connection specified by the service
instance command:
Router# configure terminal
Enter configuration commands, one per line.
Router(config)# interface GigabitEthernet 0/0/0
Router(config-inf)# service instance 100 ethernet
Router(config-if-srv)# xconnect 100.0.0.1 encapsulation mpls 100
Router(config-if-srv)# service-policy input mark-up-exp-2
Router(config-if-srv)# exit
Router(config-if)# exit
Example: Defining an MPLS EXP Label Switched Packets Policy Map
Example: Defining an MPLS EXP Label Switched Packets Policy Map
The following example defines a policy map that sets the MPLS EXP topmost value to 2 according to the
MPLS EXP value of the forwarded packet:
Router# configure terminal
Enter configuration commands, one per line.
Router(config)# class-map exp012
Router(config-cmap)# match mpls experimental topmost 0 1 2
Router(config-cmap)# exit
Router(config-cmap)# policy-map mark-up-exp-2
Router(config-pmap)# class exp012
Router(config-pmap-c)# set mpls experimental topmost 2
Router(config-pmap-c)# exit
Router(config-pmap)# exit
1-Port OC-192 or 8-Port Low Rate CEM Interface Module Configuration Guide, Cisco IOS XE Everest 16.7.x (Cisco
Example: Applying the MPLS EXP Imposition Policy Map to a Main Interface
End with CNTL/Z.
End with CNTL/Z.
End with CNTL/Z.
ASR 900 Series)
15