qos dscp-map af11 priority 3
qos dscp-map 13 priority 3
qos dscp-map af13 priority 3
...
3. Assign the DSCP policies to the selected TCP/UDP port applications and display the result.
switch(config)# qos udp-port 23 dscp 000111
switch(config)# qos tcp-port 80 dscp 000101
switch(config)# qos tcp-port 914 dscp 000010
switch(config)# qos udp-port range 1001 2000 dscp 000010
TCP/UDP port based priorities
| IP Packet Application |
Protocol | Type Port Apply rule | DSCP Priority
-------- + --------- ----------- ---------- + ------ -----------
UDP | IPV4 23 DSCP | 8 7
TCP | IPV4 80 DSCP | 6 5
TCP | IPV4 914 DSCP | 3 1
UDP | IPV4 1001-2000 DSCP | 3 1
The switch applies the DSCP policies in the above output to IP packets with the specified TCP/UDP port
applications that are received in the switch. The switch manages the packets as follows:
• Overwrites the original DSCPs in the selected packets with the new DSCPs specified in the above
policies.
• Assigns the 802.1p priorities in the above policies to the selected packets.
Global IP-device classifier
Global QoS classifier precedence: 2
The global IP-device classifier enables you to configure up to 250 IP addresses to select IP packets according
to source or destination address.
NOTE: QoS IP-device restriction: The switch does not allow a QoS IP-device priority for the
Management VLAN IP address (if configured). If no Management VLAN is configured, then the
switch does not allow configuring a QoS IP-device priority for the default VLAN IP address.
Options for assigning priority
The packet-marking options for global IP-device classifiers include:
• 802.1p priority
• DSCP policy: Assigning a new DSCP and 802.1p priority
For a given IP address or subnet mask, you can assign only one of the above options at a time. However, for
different IP addresses, you can use different options.
QoS IP Type-of-Service (ToS) policy and priority
Global QoS classifier precedence: 3
You can assign a maximum of 64 ToS rules. This feature applies only to IPv4 traffic and performs either of
the following:
Chapter 8 Quality of Service (QoS): Managing bandwidth
effectively
183