User manual

SS2R24G4i/SS2R48G4i
181
assigns different IP precedences. For example, set IP precedence for packets from segment
192.168.1.0 to 5 on port ethernet 1/1. The port connecting to switch2 is a trunk port. In SwitchB, set port
ethernet 1/1 that connecting to swtich1 to trust IP precedence. Thus inside the QoS domain, packets of
different priorities 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 0/0/1
Switch(Config-Ethernet0/0/1)#service-policy input p1
QoS configuration in Switch2
Switch#config
Switch(config)#mls qos
Switch(config)#interface ethernet 0/0/1
Switch(config-Ethernet0/0/1)#mls qos trust cos
22.4 QoS Troubleshooting
22.4.1 QoS Monitor And Debug Command
22.4.1.1 show mls-qos
Function Displays global configuration information for QoS.
Parameters N/A.
Default N/A
Command mode Admin Mode
Displayed information Explanation
Qos is enabled QoS is enabled.
22.4.1.2 show mls qos aggregate-policer
Command show mls qos aggregate-policer [<aggregate-policer-name>]
Function Displays policy set configuration information for QoS.