Configuring PFC3BXL or PFC3B Mode MPLS QoS
•
•
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
To configure traffic policing, use the police command. For information on this command, see the Cisco
IOS Master Command List, Release 12.2SX.
Command
Step 1
Router(config)# policy-map policy_name
Step 2
Router(config-pmap)# class-map name [match-all |
match-any]
Step 3
Router(config-pmap-c)# police {aggregate name }
Step 4
Router(config-pmap-c)# police bps burst_normal
burst_max conform-action action exceed-action action
violate-action action
Step 5
Router(config-pmap-c)# police flow { bps [ burst_normal ]
| [conform-action action ] [exceed-action action ]
Step 6
Router(config-pmap-c)# exit
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)#
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
42-26
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.
Chapter 42
Configuring PFC3BXL or PFC3B Mode MPLS QoS
"Policers" section on page
Purpose
Creates a policy map.
Accesses the QoS class map configuration mode
to configure QoS class maps.
Adds the class to a shared aggregate policer.
Creates a per-class-per-interface policer.
Creates an ingress flow policer. (Not supported in
egress policy.)
Exits class-map configuration mode.
41-20.
OL-4266-08