Chapter 41
Configuring PFC QoS
This example shows how to enable microflow policing of bridged traffic on VLANs 3 through 5:
Router# configure terminal
Enter configuration commands, one per line.
Router(config)# interface range vlan 3 - 5
Router(config-if)# mls qos bridged
Router(config-if)# end
Router#
This example shows how to verify the configuration:
Router# show mls qos | begin Bridged QoS
Bridged QoS is enabled on the following interfaces:
<...output truncated...>
Router#
Enabling VLAN-Based PFC QoS on Layer 2 LAN Ports
Note
•
•
•
By default, PFC QoS uses policy maps attached to LAN ports. For ports configured as Layer 2 LAN
ports with the switchport keyword, you can configure PFC QoS to use policy maps attached to a VLAN.
Ports not configured with the switchport keyword are not associated with a VLAN.
To enable VLAN-based PFC QoS on a Layer 2 LAN port, perform this task:
Command
Step 1
Router(config)# interface {{ type
{port-channel number }}
Step 2
Router(config-if)# mls qos vlan-based
Router(config-if)# no mls qos vlan-based
Step 3
Router(config-if)# end
Step 4
Router# show mls qos
1.
type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
This example shows how to enable VLAN-based PFC QoS on Fast Ethernet port 5/42:
Router# configure terminal
Enter configuration commands, one per line.
Router(config)# interface fastethernet 5/42
Router(config-if)# mls qos vlan-based
Router(config-if)# end
OL-4266-08
Vl3 Vl4 Vl5
With a PFC2, PFC QoS does not support VLAN-based QoS with DFCs installed.
With a PFC3, PFC QoS supports VLAN-based QoS with DFC3s installed.
With a PFC3, you can attach policy maps to Layer 3 interfaces for application of PFC QoS to egress
traffic. VLAN-based or port-based PFC QoS on Layer 2 ports is not relevant to application of
PFC QoS to egress traffic on Layer 3 interfaces.
1
slot/port } |
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
End with CNTL/Z.
Purpose
Selects the interface to configure.
Enables VLAN-based PFC QoS on a Layer 2 LAN port or
a Layer 2 EtherChannel.
Disables VLAN-based PFC QoS.
Exits configuration mode.
Verifies the configuration.
End with CNTL/Z.
Configuring PFC QoS
41-61