Configuring PFC QoS
This example shows how to map the CoS values 0 and 1 to threshold 1 in the standard receive queue for
Gigabit Ethernet port 1/1:
Router# configure terminal
Enter configuration commands, one per line.
Router(config)# interface gigabitethernet 1/1
Router(config-if)# rcv-queue cos-map 1 1 0 1
Router(config-if)# end
Router#
This example shows how to verify the configuration:
Router# show queueing interface gigabitethernet 1/1
<...Output Truncated...>
<...Output Truncated...>
Router#
Mapping CoS Values to Standard Transmit-Queue Thresholds
To map CoS values to standard transmit-queue thresholds, perform this task:
Command
Step 1
Router(config)# interface type
Step 2
Router(config-if)# wrr-queue cos-map
transmit_queue_# threshold_# cos1 [ cos2 [ cos3
[ cos4 [ cos5 [ cos6 [ cos7 [ cos8 ]]]]]]]
Router(config-if)# no wrr-queue cos-map
Step 3
Router(config-if)# end
Step 4
Router# show queueing interface type
1.
type = fastethernet, gigabitethernet, or tengigabitethernet
This example shows how to map the CoS values 0 and 1 to standard transmit queue 1/threshold 1 for Fast
Ethernet port 5/36:
Router# configure terminal
Enter configuration commands, one per line.
Router(config)# interface fastethernet 5/36
Router(config-if)# wrr-queue cos-map 1 1 0 1
Router(config-if)# end
Router#
This example shows how to verify the configuration:
Router# show queueing interface fastethernet 5/36 | begin queue thresh cos-map
<...Output Truncated...>
Router#
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
41-106
queue thresh cos-map
---------------------------------------
1
1
0 1
1
2
2 3
1
3
4 5
1
4
6 7
1
slot/port
1
slot/port
queue thresh cos-map
---------------------------------------
1
1
0 1
1
2
2 3
2
1
4 5
2
2
6 7
End with CNTL/Z.
Purpose
Selects the interface to configure.
Maps CoS values to a standard transmit-queue threshold.
Reverts to the default mapping.
Exits configuration mode.
Verifies the configuration.
End with CNTL/Z.
Chapter 41
Configuring PFC QoS
OL-4266-08