Mpls Experimental Bit Imposition Marking Configuration: Example; Mpls Experimental Topmost Marking Configuration: Example; Hierarchical Ingress Policing: Example - Cisco ASR 9000 Series Configuration Manual

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

Advertisement

Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers
The set cos command is supported only on an egress policy.
Note

MPLS Experimental Bit Imposition Marking Configuration: Example

In the following example, a service policy called policy1 is created. This service policy is associated to
a classification policy called class1 through the use of the class command, and then the service policy is
attached in the input direction on a 10-Gigabit Ethernet interface, TenGigE0/1/0/0. The MPLS EXP bits
of all imposed labels are set to 1.
class-map match-any class1
match protocol ipv4
match access-group 101
policy-map policy1
class class1
!
interface TenGigE0/1/0/0
service-policy input policy1
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 classification policy 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

Hierarchical Ingress Policing: Example

The following configuration is an example of typical hierarchical ingress policing:
policy-map parent
This policy map can be applied on any interface or on a subinterface. The incoming traffic on the main
interface or subinterface can be IPv4 unicast or multicast, MPLS, or IPv6 unicast or multicast. The child
policy map can be a regular policy map that can be configured in the ingress direction on that interface.
OL-17239-01
Configuration Examples for Configuring Modular QoS Packet Classification on Cisco IOS XR Software
D r a f t — C i s c o C o n f i d e n t i a l
set mpls exp imposition 1
set mpls exp topmost 1
class class-default
service-policy child
police rate percent 50
conform-action transmit
exceed-action drop
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
QC-33

Advertisement

Table of Contents
loading

Table of Contents