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: TCP/UDP port number from 1 to 65535.

range <start end> : Marks a range of TCP/UDP ports. If you specify a range, the minimum port number must precede the maximum port number in the range.

NOTE:

Port range is not supported on switches J9779A, J9780A, J9782A, and J9783A.

priority <0-7>: Marks the specified 802.1p priority in matching TCP or UDP packets.

NOTE:

UDP port priority and TCP port priority are not supported for IPv6 traffic on switches J9779A, J9780A, J9782A, and J9783A.

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.

Syntax:


show qos tcp-udp-port-priority

Displays a listing of all TCP and UDP QoS classifiers currently in the running-config file.