5-22
Quality of Service: Managing Bandwidth More Effectively     
Globally-Configured QoS
For more information, including a listing of UDP/TCP port numbers, go to the 
Internet Assigned Numbers Authority (IANA) website at:
www.iana.org
Then click on:
Protocol Number Assignment Services
P (Under “Directory of General Assigned Numbers” heading) 
Port Numbers
Assigning an 802.1p Priority for a Global TCP/UDP Classifier
To mark matching TCP or UDP packets with an 802.1p priority, enter the 
following command:
Syntax: qos < udp-port | tcp-port > [ ipv4 | ipv6 | ip-all ] <port-number | range start 
end > priority < 0 - 7 >
Marks an 802.1p priority in outbound packets with the 
specified TCP or UDP application-port number, where:
• ipv4 marks only IPv4 packets (default).
• ipv6 marks only IPv6 packets.
• ip-all marks all IP traffic (both IPv4 and IPv6 packets).
• port-number is a TCP/UDP port number from 1 to 65535.
• range start end specifies a range of TCP/UDP ports; see 
“Operating Notes on Using TCP/UDP Port Ranges” on page 
5-23. If you specify a range, the minimum port number 
must precede the maximum port number in the range. 
• priority <0-7> marks the specified 802.1p priority in 
matching TCP or UDP packets.
The 802.1p priority determines the packet’s queue in the 
outbound port on the switch. If the packet leaves the switch 
on a tagged VLAN port, it carries the 802.1p priority with it 
to the next downstream device. 
Default: Disabled — No 802.1p priority is assigned.
The no form of the command deletes the specified UDP or TCP 
port number or range of port numbers as a QoS classifier.
Note: If you have specified a range of port numbers, you 
must specify the entire range in the no command; you cannot 
remove part of a range.
show qos tcp-udp-port-priority
Displays a listing of all TCP and UDP QoS classifiers cur-
rently in the running-config file.