42-42
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter 42 Configuring PFC3BXL or PFC3B Mode MPLS QoS
Configuring Uniform Mode
Configuration Example
This example shows how to classify packets based on their MPLS EXP field and provide appropriate
discard and scheduling treatments:
Router(config)#
mls qos
Router(config)#
class-map MPLS-EXP-3
Router(config-c-map)#
match mpls experimental 3
Router(config)#
policy-map output-qos
Router(config-p-map)#
class MPLS-EXP-3
Router(config-p-map-c)#
bandwidth percent 40
Router(config-p-map)#
class class-default
Router(config-p-map-c)#
random-detect
Router(config)#
interface pos 4/1
Router(config-if)#
service-policy output output-qos
Configuring the Egress PE Router—Customer Facing Interface
To configure the egress PE router at the customer-facing interface, perform this task:
Note
The
bandwidth
command and
random-detect
command are not supported on LAN ports.
Command
Purpose
Step 1
Router(config)#
mls qos
Enables QoS functionality.
Step 2
Router(config)#
class-map
class_name
Specifies the class map to which packets will be mapped
(matched). Creates a traffic class.
Step 3
Router(config-c-map)#
match ip precedence
precedence-value
Identifies IP precedence values as match criteria.
Step 4
Router(config)#
policy-map
name
Configures the QoS policy for packets that match the class
or classes.
Step 5
Router(config-p-map)#
class
class_name
Associates the traffic class with the service policy.
Step 6
Router(config-p-map-c)#
bandwidth
{
bandwidth_kbps
|
percent
percent
}
Specifies the minimum bandwidth guarantee to a traffic
class. You can specify the minimum bandwidth guarantee in
kilobits per second or by percent of the overall bandwidth.
Step 7
Router(config-p-map)#
class class-default
Specifies the default class so that you can configure or
modify its policy.
Step 8
Router(config-p-map-c)#
random-detect
Applies WRED to the policy based on the IP precedence or
the MPLS EXP field value.
Step 9
Router(config)#
interface
type
slot
/
port
Selects an interface to configure.
Step 10
Router(config-if)
mpls propagate-cos
Enables propagation of EXP value into the underlying IP
DSCP at the MPLS domain exit LER egress port.
Step 11
Router(config-if)#
service-policy
output
name
Attaches a QoS policy to an interface and specifies that
policies should be applied on packets coming into the
interface.