282
trunk port. In SwitchB, set port ethernet 1/1 that connecting to swtichA 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 SwitchA:
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 SwitchB:
SWITCH#CONFIG
Switch(Config)#mls qos
Switch(Config)#interface ethernet 1/1
Switch(Config-Ethernet1/1)#mls qos trust ip-precedence pass-through-cos
9.1.5 QoS Troubleshooting Help
&
QoS is disabled on switch ports by default, 8 sending queues are set by default,
queue1 forwards normal packets, other queues are used for some important control
packets (such as BPDU).
&
When QoS is enabled in Global Mode,. QoS is enabled on all ports with 8 traffic
queues. The default CoS value of the port is 0; the port is in not Trusted state by
default; the default queue weight values are 1, 2, 3, 4, 5, 6, 7, 8 in order, all QoS
Map is using the default value.
&
CoS value 7 maps to queue 8 that has the highest priority and usually reserved for
certain protocol packets. It is not recommended for the user to change the mapping
between CoS 7 to Queue 8, or set the default port CoS value to 7.
&
Policy map can only be bound to ingress direction, egress is not supported yet.