80
Command
Lines
of
the
Traffic
Prioritization
configuration
Feature
Command Line
QoS Setting
Queue Scheduling –
Strict Priority
Switch(config)# qos queue-sched
sp Strict Priority
wrr Weighted Round Robin (Use an 8,4,2,1
weight)
Switch(config)# qos queue-sched sp
<cr>
Queue Scheduling - WRR Switch(config)# qos queue-sched wrr
Port Setting – CoS
(Default Port Priority)
Switch(config)# interface fa1
Switch(config-if)# qos cos
DEFAULT-COS Assign an priority (7 highest)
Switch(config-if)# qos cos 7
The default port CoS value is set 7 ok.
Note: When change the port setting, you should
Select the specific port first. Ex: fa1 means fast
Ethernet port 1.
Port Setting – Trust
Mode- CoS Only
Switch(config)# interface fa1
Switch(config-if)# qos trust cos
The port trust is set CoS only ok.
Port Setting – Trust
Mode- CoS First
Switch(config)# interface fa1
Switch(config-if)# qos trust cos-first
The port trust is set CoS first ok.
Port Setting – Trust
Mode- DSCP Only
Switch(config)# interface fa1
Switch(config-if)# qos trust dscp
The port trust is set DSCP only ok.
Port Setting – Trust
Mode- DSCP First
Switch(config)# interface fa1
Switch(config-if)# qos trust dscp-first
The port trust is set DSCP first ok.
Display – Queue
Scheduling
Switch# show qos queue-sched
QoS queue scheduling scheme : Weighted Round
Robin (Use an 8,4,2,1 weight)
Display – Port Setting -
Trust Mode
Switch# show qos trust
QoS Port Trust Mode :
Port Trust Mode
-----+------------