42-90
Cisco7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter42 Con figuring PFC QoS
Configuring PFCQoS
This example shows how to verify the configuration:
Router# show mls qos map | begin Dscp-cos map
Dscp-cos map: (dscp= d1d2)
d1 : d2 0 1 2 3 4 5 6 7 8 9
-------------------------------------
0 : 00 00 00 00 00 00 00 00 00 01
1 : 01 01 01 01 01 01 00 02 02 02
2 : 02 02 02 02 00 03 03 03 03 03
3 : 03 03 00 04 04 04 04 04 04 04
4 : 00 05 05 05 05 05 05 05 00 06
5 : 06 06 06 06 00 06 07 07 07 07
6 : 07 07 07 07
<...Output Truncated...>
Router#
Note In the Dscp-cos map display, the CoS values are shown in the body of the matrix; the first digit of the
DSCP value is in the column labeled d1 and the second digit is in the top row. In the example shown,
DSCP values 41 through 47 all map to CoS 05.
Configuring the Trust State of Ethernet LAN and OSM Ports
By default, all ports are untrusted. You can configure the port trust state on all Ethernet LAN ports and
OSM ports.
Note On non-Gigabit Ethernet 1q4t/2q2t ports, you must repeat the trust configuration in a class map.
To configure the trust state of a port, perform this task:
When configuring the trust state of a port, note the following information:
With no other keywords, the mls qos trust command is equivalent to mls qos trust dscp.
With Release 12.2(18)SXF5 and later releases, you can use the mls qos trust dscp command to
enable DSCP-based receive-queue drop thresholds on WS-X6708-10GE ports (see the “Configuring
DSCP-Based Queue Mapping” section on page 42-98). To avoid dropping traffic because of
inconsistent DSCP values when DSCP-based queue mapping is enabled, configure ports with the
mls qos trust dscp command only when the received traffic carries DSCP values that you know to
be consistent with network policy.
Command Purpose
Step1 Router(config)# interface {{type1slot/port} |
{port-channel number}}
1. type = ethernet, fastethernet, gigabitethernet, tengigabitethernet, ge-wan, pos, or atm.
Selects the interface to configure.
Step2 Router(config-if)# mls qos trust [dscp |
ip-precedence | cos2]
2. Not supported for serial, pos or atm interface types.
Configures the trust state of the port.
Router(config-if)# no mls qos trust Reverts to the default trust state (untrusted).
Step3 Router(config-if)# end Exits configuration mode.
Step4 Router# show queueing interface type1 slot/port |
include Trust state
Verifies the configuration.