In-Place Policy Modification: Example - Cisco ASR 9000 Series Service Configuration Manual

Aggregation services router modular quality
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

Configuration Examples for Configuring Modular QoS Packet Classification and Marking on Cisco ASR 9000 Series
The set mpls exp imposition command is supported only on an ingress policy.
Note
MPLS Experimental Topmost Marking Configuration: Example
In the following example, a service policy called policy1 is created. This service policy is associated to
a class map called class1 through the use of the class command, and then the service policy is attached
in the output direction on a 10-Gigabit Ethernet interface, TenGigE0/1/0/0. The MPLS EXP bits on the
TOPMOST label are set to 1:
class-map match-any class1
match mpls exp topmost 2
policy-map policy1
class class1
!
interface TenGigE0/1/0/0
service-policy output policy1

In-Place Policy Modification: Example

In this example, the precedence is changed from 3 to 5 after the policy is defined and attached to an
interface:
Define a class:
class-map match-any class1
match cos 7
end-class-map
Define a policy map that uses the class:
policy-map policy1
class class1
set precedence 3
Attach the policy map to an interface:
interface gigabitethernet 0/6/0/1
service-policy output policy1
commit
Modify the precedence value of the policy map:
policy-map policy1
class class1
set precedence 5
commit
The modified policy policy1 takes effect on all the interfaces to which the policy is attached. Also, you
Note
can modify any class map used in the policy map. The changes made to the class map take effect on all
the interfaces to which the policy is attached.
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
QC-38
Configuring Modular QoS Service Packet Classification and Marking on Cisco ASR 9000 Series Routers
set mpls exp topmost 1
OL-23108-02

Advertisement

Table of Contents
loading

Table of Contents