QoS Support on the Catalyst 4000 IOS Family of Switches 211
Displaying Port Trust Configuration
To verify an interface trust configuration, use the following command:
show qos interface
{{FastEthernet
interface-number
} | {GigabitEthernet
interface-
number
} | {VLAN
vlan_id
} | {Port-channel
number
}}
Example 7-8 displays a sample output of the show qos interface interface_name
command. This example illustrates an interface configured for trusting DSCP. The output
displays both the global and interface QoS configuration. In addition, the command
displays the trust port state as either DSCP, CoS, or untrusted with the respective reclassi-
fication values for the untrusted configuration.
The appliance trust field indicates the 802.1p trust configuration to communicate via Cisco
Discovery Protocol (CDP) to a neighbor appliance. Appliance trust is the IOS term for
extended trust, as discussed in Chapter 2. The “Output Scheduling” section of this chapter
discusses the transmit queues, bandwidth, and shape rate output.
ACL-Based Classification
Because the ultimate goal of classification is to determine the marking and scheduling of
the frame, multiple methods of classification exist. The Catalyst 4000 IOS Family of
switches allows for classification of ingress packets based on standard, extended, and
named IP ACLs in addition to the port trust configuration. In addition, the switches support
classification occurring strictly on IP precedence values or DSCP values without the use of
an ACL. ACL-based classification often inherits properties of the untrusted configuration
because the switch does not use the packet’s DSCP or CoS values for determining packet
classification.
Chapter 5, “Introduction to the Modular QoS Command-Line Interface,” elaborates on how
to create and implement class maps and policy maps and includes examples that show you
how to do so. Consult Chapter 5 before reading the following “Class Map” and “Policy
Map” sections. The following sections discuss class maps and policy maps, with a focus on
options supported by hardware switching.
Example 7-8 Sample Output of the show qos interface Command
Switch#show qos interface GigabitEthernet 1/1
QoS is enabled globally
Port QoS is enabled
Port Trust State: ’DSCP’
Default DSCP: 0 Default CoS: 0
Appliance trust: none
Tx-Queue Bandwidth ShapeRate Priority QueueSize
(bps) (bps) (packets)
1 250000000 disabled N/A 1920
2 250000000 disabled N/A 1920
3 250000000 disabled normal 1920
4 250000000 disabled N/A 1920