41-81
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter 41 Configuring PFC QoS
Configuring PFC QoS
This example shows how to create a policy map named max-pol-ipp5 that uses the class-map named
ipp5, which is configured to trust received IP precedence values and is configured with a
maximum-capacity aggregate policer and with a microflow policer:
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# policy-map max-pol-ipp5
Router(config-pmap)# class ipp5
Router(config-pmap-c)# trust ip-precedence
Router(config-pmap-c)# police 2000000000 2000000 conform-action set-prec-transmit 6
exceed-action policed-dscp-transmit
Router(config-pmap-c)# police flow 10000000 10000 conform-action set-prec-transmit 6
exceed-action policed-dscp-transmit
Router(config-pmap-c)# end
Verifying Policy Map Configuration
To verify policy map configuration, perform this task:
This example shows how to verify the configuration:
Router# show policy-map max-pol-ipp5
Policy Map max-pol-ipp5
class ipp5
class ipp5
police flow 10000000 10000 conform-action set-prec-transmit 6 exceed-action
policed-dscp-transmit
trust precedence
police 2000000000 2000000 2000000 conform-action set-prec-transmit 6 exceed-action
policed-dscp-transmit
Router#
Attaching a Policy Map to an Interface
To attach a policy map to an interface, perform this task:
Command Purpose
Step 1
Router(config-pmap-c)# end
Exits policy map class configuration mode.
Note Enter additional class commands to create
additional classes in the policy map.
Step 2
Router# show policy-map
policy_name
Verifies the configuration.
Command Purpose
Step 1
Router(config)# interface {{vlan
vlan_ID
} |
{
type
1
slot/port
[.
subinterface
]} | {port-channel
number
[.
subinterface
]}}
Selects the interface to configure.
Step 2
Router(config-if)# service-policy [input |
output]
policy_map_name
Attaches a policy map to the interface.
Router(config-if)# no service-policy [input |
output]
policy_map_name
Removes the policy map from the interface.