42-26
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 PFC3BXL or PFC3B Mode MPLS QoS
•
You optionally can use the
set mpls experimental imposition
command with the IP precedence,
DSCP field, or QoS IP ACL to set the value of the MPLS EXP field on all imposed label entries.
•
When imposing labels onto the received IP traffic with the PFC3BXL or PFC3B, you can mark the
EXP field using the
set mpls experimental imposition
command.
For more information on this command, see the
Cisco IOS Switching Services Command Reference,
Release 12.3
located at this URL:
http://www.cisco.com/en/US/docs/ios/mpls/command/reference/mp_s1.html#set_mpls_experimental_i
mposition
Configuring a Policy Map Using the Police Command
Policing is a function in the PFC3BXL or PFC3B hardware that provides the ability to rate limit a
particular traffic class to a specific rate. The PFC3BXL or PFC3B supports aggregate policing and
microflow policing.
Aggregate policing meters all traffic that ingresses into a port, regardless of different source, destination,
protocol, source port, or destination port. Microflow policing meters all traffic that ingresses into a port,
on a per flow (per source, destination, protocol, source port, and destination port). For additional
information on aggregate and microflow policing, see the
“Policers” section on page 41-20
.
To configure traffic policing, use the
police
command. For information on this command, see the
Cisco
IOS Master Command List
, Release 12.2SX.
This is an example of creating a policy map with a policer:
Router(config)#
policy-map ip2tag
Router(config-pmap)#
class iptcp
Router(config-pmap-c)#
no set mpls exp topmost 3
Router(config-pmap-c)#
police 1000000 1000000 c set-mpls-exp?
set-mpls-exp-imposition-transmit
Router(config-pmap-c)#
police 1000000 1000000 c set-mpls-exp-imposit 3 e d
Router(config-pmap-c)#
exit
Router(config-pmap)#
exit
Router(config)#
interface fastethernet 3/27
Router(config-if)#
ser in ip2tag
Router(config-if)#
Command
Purpose
Step 1
Router(config)#
policy-map
policy_name
Creates a policy map.
Step 2
Router(config-pmap)#
class-map
name
[
match-all
|
match-any
]
Accesses the QoS class map configuration mode
to configure QoS class maps.
Step 3
Router(config-pmap-c)#
police
{
aggregate
name
}
Adds the class to a shared aggregate policer.
Step 4
Router(config-pmap-c)#
police
bps burst_normal
burst_max
conform-action
action
exceed-action
action
violate-action
action
Creates a per-class-per-interface policer.
Step 5
Router(config-pmap-c)#
police flow
{
bps
[
burst_normal
]
| [
conform-action
action
] [
exceed-action
action
]
Creates an ingress flow policer. (Not supported in
egress policy.)
Step 6
Router(config-pmap-c)#
exit
Exits class-map configuration mode.