T3700G-28TQ
 
JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide 
 
180 
Chapter 24  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 CoS (Class of Service) based on port. 
To return to the default configuration, please use no qos command. 
Syntax 
qos cos-id 
no qos 
Parameter 
cos-id  ——  The priority of port. It ranges from 0 to 7, which represent CoS0- 
CoS7 respectively. By default, the priority is 0. 
Command Mode 
Interface Configuration Mode (interface fastEthernet / interface range 
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet/ 
interface ten-gigabitEthernet / interface range ten-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 CoS value of the 
ingress port and the mapping relation between the CoS and TC in IEEE 802.1P. 
Example 
Configure the priority of port 5 as 3: 
T3700G-28TQ(config)#interface gigabitEthernet 1/0/5 
T3700G-28TQ(config-if)#qos 3