42-41
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 configure a policy map to set the MPLS EXP field in imposed label entries:
Router(config)#
mls qos
Router(config)#
access-list 1 permit any
Router(config)#
class-map CUSTOMER-A
Router(config-cmap)#
match access-group 1
Router(config)#
policy-map SLA-A
Router(config-pmap)#
class CUSTOMER-A
Router(config-pmap-c)#
police 50000000 conform-action transmit exceed-action drop
Router(config)#
interface GE-WAN 3/1
Router(config-if)#
mls qos trust dscp
Router(config)#
interface GE-WAN 3/1.31
Router(config-if)#
service-policy input SLA-A
Configuring the Ingress PE Router—P Facing Interface
To classify packets based on their MPLS EXP field and provide appropriate discard and scheduling
treatments, 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 mpls experimental
exp_list
Specifies the MPLS EXP field values used as a match
criteria against which packets are checked to determine if
they belong to the class.
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
Enables a WRED drop policy for a traffic class that has a
bandwidth guarantee.
Step 9
Router(config)#
interface
type slot/port
Selects an interface to configure.
Step 10
Router(config-if)#
service-policy
output
name
Attaches a QoS policy to an interface and specifies that
policies should be applied on packets leaving the interface.