239
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 0/0/1
Switch(Config-Ethernet0/0/1)#service-policy input p1
QoS configuration in SwitchB:
SWITCH#CONFIG
Switch(Config)#mls qos
Switch(Config)#interface Ethernet 0/0/1
Switch(Config-Ethernet0/0/1)#mls qos trust ip-precedence pass-through-cos
8.5 QoS Troubleshooting
&
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 25:25:25:25 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.
&
If the policy is too complex to be configured due to hardware resource limit, error
massages will be provided.