Operation Manual
Configuration Guide 454
Configuring QoS DiffServ Configuration
Configuring Port Priority
Select the desired port to set the priority. Packets from this ingress port are mapped to the
TC queue based on port priority.
Step 1 configure
Enter global configuration mode.
Step 2 interface {fastEthernet
port
| range fastEthernet
port-list
| gigabitEthernet
port
| range
gigabitEthernet
port-list
}
Enter interface configuration mode.
Step 3 show qos cos-map
Check the CoS-id-TC mapping relations.
Step 4 qos
cos-id
Configure the CoS value of the port. The packets are firstly mapped to CoS queues, then to TC
queues according to the CoS-id-TC mapping relations.
cos-id
:
Configure the CoS-id value. The valid values are from 0 to 7.
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