EasyManuals Logo

Cisco 10000 Series User Manual

Cisco 10000 Series
854 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #753 background imageLoading...
Page #753 background image
20-7
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 20 Configuring Quality of Service for MPLS Traffic
MPLS QoS
The following example creates a class map named af41 with DSCP AF41 defined as the match criterion.
The router classifies all packets that contain the IP DSCP binary value 100010 as belonging to the af41
traffic class.
Router(config)# class-map match-all af41
Router(config-cmap)# match ip dscp af41
Router(config-cmap)# end
Setting the MPLS EXP Field Using a Policy Map
To set the MPLS EXP field of packets belonging to a specific traffic class, enter the following commands
beginning in global configuration mode:
Note Even though the commands in Steps 3 through 6 are optional, you must configure one of the commands
to set the MPLS EXP field. The router sets the EXP bits when the packet leaves the router using an MPLS
interface. If the packet arrives on an MPLS interface, the router does not set the EXP bits. You can only
set the EXP bits of packets that arrive on a non-MPLS interface and leave on an MPLS interface.
Command Purpose
Step 1
Router(config)# policy-map policy-map-name
Creates or modifies a policy map that specifies the QoS actions
to take on specific traffic classes.
policy-map-name is the name of the policy map.
Step 2
Router(config-pmap)# class class-map-name
Assigns a traffic class to a policy map. Enters policy-map class
configuration mode.
class-map-name is the name of a previously configured class
map.
Step 3
Router(config-pmap-c)# police [cir] bps
[bc]
burst-normal [be] burst-excess
[conform-action
set-mpls-exp-imposition-transmit]
[exceed-action action] [violate-action
action]
(Optional) Configures traffic policing based on bits per second
and sets the MPLS EXP field for all packets that conform to the
rate.
For more information, see Chapter 6, “Policing Traffic.
Step 4
Router(config-pmap-c)# police {cir cir}
[bc]
burst-normal [pir pir] [be] peak-burst
[conform-action
set-mpls-exp-imposition-transmit]
[exceed-action action] [violate-action
action]
(Optional) Configures traffic policing using the committed
information rate (CIR) and the peak information rate (PIR) and
sets the MPLS EXP field for all packets that conform to the rate.
For more information, see Chapter 6, “Policing Traffic.
Step 5
police [cir] percent percent [bc]
normal-burst-in-msec [pir pir]
[be]
excess-burst-in-msec [conform-action
set-mpls-exp-imposition-transmit]
[exceed-action action] [violate-action
action]
(Optional) Configures traffic policing on the basis of a
percentage of bandwidth available on an interface and sets the
MPLS EXP field for all packets that conform to the rate.
For more information, see Chapter 6, “Policing Traffic.
Step 6
Router(config-pmap-c)# set mpls
experimental imposition mpls-exp-value
(Optional) Sets the MPLS EXP bits of the packets belonging to
this traffic class.
mpls-exp-value specifies the value used to set the MPLS EXP
bits. Valid values are from 0 to 7.

Table of Contents

Other manuals for Cisco 10000 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco 10000 Series and is the answer not in the manual?

Cisco 10000 Series Specifications

General IconGeneral
BrandCisco
Model10000 Series
CategoryNetwork Router
LanguageEnglish

Related product manuals