Configuring QoS
DiffServ Configuration
Configuration Guide
445
Step 5
show qos interface [fastEthernet
port-list
|
gigabitEthernet
port-list
] [port-channel
lagid-list
]
Verify the CoS value of the port. If no port is specified, it displays the CoS values of all ports.
port-list:
The list of Ethernet ports.
lagid-list:
The list of LAGs.
Step 6
end
Return to privileged EXEC mode.
Step 7
copy running-config startup-config
Save the settings in the configuration file.
Note:
All the ports in the same LAG should be assigned with the same port priority.
The following example shows how to map port 1-3 to TC1, and keep other mapping
relations as default:
Switch#configure
Switch(config)#show qos cos-map
-----+-----+-----+----+-----+-----+-----+----+----
Tag |
0
|1 |2 |3 |4 |5 |6 |7
-----+-----+-----+----+-----+-----+-----+----+----
TC |
TC1
|TC0 |TC2 |TC3 |TC4 |TC5 |TC6 |TC7
-----+-----+-----+----+-----+-----+-----+----+----
Switch(config)#interface range gigabitEthernet
1/0/1-3
Switch(config-if-range)#qos
0
Switch(config-if-range)#show qos interface gigabitEthernet
1/0/1-3
Port CoS Value LAG
---------- --------------- ------------
Gi1/0/1 CoS 0 N/A
Gi1/0/2 CoS 0 N/A
Gi1/0/3 CoS 0 N/A
Switch(config-if-range)#end
Switch#copy running-config startup-config