Example: Defining A Policy Map And Applying The Policy Map To An Ingress Interface; Example: Defining A Policy Map And Applying The Policy Map To An Egress Interface; Example: Defining An Mpls Exp Imposition Policy Map - Cisco ASR 900 Series Configuration Manual

1 port oc48/ 4 port oc12/oc3 + 12 port t1/e1 + 4 port t3/e3 cem interface module
Hide thumbs Also See for ASR 900 Series:
Table of Contents

Advertisement

Example: Defining a Policy Map and Applying the Policy Map to an Ingress Interface

Example: Defining a Policy Map and Applying the Policy Map to an Ingress
Interface
Example: Defining a Policy Map and Applying the Policy Map to an Ingress Interface
The following example uses the class map created in the example above to define a policy map. This example
also applies the policy map to a physical interface for ingress traffic.
Router(config)# policy-map change-exp-3-to-2
Router(config-pmap)# class exp3
Router(config-pmap-c)# set mpls experimental topmost 2
Router(config-pmap)# exit
Router(config)# interface GigabitEthernet 0/0/0
Router(config-if)# service-policy input change-exp-3-to-2
Router(config-if)# exit
Example: Defining a Policy Map and Applying the Policy Map to an Egress
Interface

Example: Defining a Policy Map and Applying the Policy Map to an Egress Interface

The following example uses the class map created in the example above to define a policy map. This example
also applies the policy map to a physical interface for egress traffic.
Router(config)# policy-map WAN-out
Router(config-pmap)# class exp3
Router(config-pmap-c)# shape average 10000000
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)# interface GigabitEthernet 0/0/0
Router(config-if)# service-policy output WAN-out
Router(config-if)# exit

Example: Defining an MPLS EXP Imposition Policy Map

Example: Defining an MPLS EXP Imposition Policy Map
The following example defines a policy map that sets the MPLS EXP imposition value to 2 based on the IP
precedence value of the forwarded packet.
Router# configure terminal
Enter configuration commands, one per line.
Router(config)# class-map prec012
Router(config-cmap)# match ip prec 0 1 2
Router(config-cmap)# exit
Router(config)# policy-map mark-up-exp-2
Router(config-pmap)# class prec012
Router(config-pmap-c)# set qos-group 3
Router(config-pmap-c)# exit
Router(config-pmap)# exit
1 port OC48/ 4 port OC12/OC3 + 12 port T1/E1 + 4 port T3/E3 CEM Interface Module Configuration Guide, Cisco
IOS XE Fuji 16.7.x (Cisco ASR 900 Series)
56
End with CNTL/Z.
CEM over MPLS QoS

Advertisement

Table of Contents
loading

Table of Contents