94
Chapter 13 QoS Commands
QoS (Quality of Service) function is used to optimize the network performance. It provides you with
network service experience of a better quality.
qos
Description
The qos command is used to configure the prority based on port. To return to
the default configuration, please use no qos command.
Syntax
qos tc-id
no qos
Parameter
tc-id —— The priority of port. It ranges from 0 to 3, which represent TC 0 -TC 3
respectively. By default, the priority is TC 0.
Command Mode
Interface Configuration Mode (interface fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet)
User Guidelines
Port priority is one property of the port. When the port priority is specified, the
data will be classified into the egress queue based on the tc-id value of the
ingress port.
Example
Configure the priority of port 5 as 3:
T1500-28PCT(config)# interface fastEthernet 1/0/5
T1500-28PCT(config-if)# qos 3
qos cos
Description
The qos cos command is used to enable the mapping relation between
IEEE802.1P Priority and TC egress queue. To disable the mapping relation,
please use no qos cos command.