327
precedence. Thus inside the QoS domain, packets of different priority will go to different
queues and get different bandwidth.
The configuration steps are listed below:
QoS configuration in Switch1:
Switch#config
Switch(Config)#access-list 1 permit 192.168.1.0 0.0.0.255
Switch(Config)#mls qos
Switch(Config)#class-map c1
Switch(Config-ClassMap)#match access-group 1
Switch(Config-ClassMap)# exit
Switch(Config)#policy-map p1
Switch(Config-PolicyMap)#class c1
Switch(Config--Policy-Class)#set ip precedence 5
Switch(Config--Policy-Class)#exit
Switch(Config-PolicyMap)#exit
Switch(Config)#interface ethernet 1/1
Switch(Config-Ethernet1/1)#service-policy input p1
QoS configuration in Switch2:
Switch#config
Switch(Config)#mls qos
Switch(Config)#interface ethernet 1/1
Switch(Config-Ethernet1/1)#mls qos trust ip-precedence pass-through-cos
13.1.4 QoS Troubleshooting Help
13.1.4.1 QoS Debug and Monitor Commands
13.1.4.1.1 show mls-qos
Command: show mls-qos
Function: Display global configuration information for QoS.
Parameter: N/A.
Default: N/A.
Command mode: Admin Mode