Network Router User Manual

42-99
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter 42 Configuring PFC QoS
Configuring PFC QoS
Enabling DSCP-Based Queue Mapping
To enable DSCP-based queue mapping, perform this task:
This example shows how to enable DSCP-based queue mapping on 10-Gigabit Ethernet port 6/1:
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# interface tengigabitethernet 6/1
Router(config-if)# mls qos queue-mode mode-dscp
Router(config-if)# end
This example shows how to verify the configuration:
Router# show queueing interface tengigabitethernet 6/1 | include Queueing Mode
Queueing Mode In Tx direction: mode-dscp
Queueing Mode In Rx direction: mode-dscp
Configuring Ingress DSCP-Based Queue Mapping
Ingress DSCP-to-queue mapping is supported only on ports configured to trust DSCP.
These sections describe how to configure ingress DSCP-based queue mapping:
Enabling DSCP-Based Queue Mapping, page 42-99
Mapping DSCP Values to Standard Receive-Queue Thresholds, page 42-100
Configuring the Port to Trust DSCP
To configure the port to trust DSCP perform this task:
This example shows how to configure 10-Gigabit Ethernet port 6/1 port 6/1 to trust received DSCP
values:
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Command Purpose
Step 1
Router(config)# interface tengigabitethernet slot/port
Selects the interface to configure.
Step 2
Router(config-if)# mls qos queue-mode mode-dscp
Enables DSCP-based queue mapping.
Router(config-if)# no mls qos queue-mode mode-dscp
Reverts to CoS-based queue mapping.
Step 3
Router(config-if)# end
Exits configuration mode.
Step 4
Router# show queueing interface tengigabitethernet
slot/port | include Queueing Mode
Verifies the configuration.
Command Purpose
Step 1
Router(config)# interface tengigabitethernet slot/port
Selects the interface to configure.
Step 2
Router(config-if)# mls qos trust dscp
Configures the port to trust received DSCP values.
Router(config-if)# no mls qos trust
Reverts to the default trust state (untrusted).
Step 3
Router(config-if)# end
Exits configuration mode.
Step 4
Router# show queueing interface tengigabitethernet
slot/port | include Trust state
Verifies the configuration.