3.2.3 QoS control settings for TCP/UDP port-number
The following shows an example of setting QoS control based on specification of a range of UDP port numbers as the flow detection condition.
- Points to note
-
When frames are received, flow detection for QoS control is performed based on the range of destination port numbers in the UDP header.
Command examples
-
(config)# ip qos-flow-list QOS-LIST1
Creates an IPv4 QoS flow list (QOS-LIST1), and then switches to IPv4 QoS flow list mode. By creating this list, IPv4 QoS flow list mode is entered.
-
(config-ip-qos)# qos udp any any range 10 20 action cos 6
Set QoS flow list with CoS = 6 with the destination port number from 10 to 20 in UDP header as the flow detection condition.
-
(config-ip-qos)# exit
Returns to global configuration mode from IPv4 QoS flow list mode.
-
(config)# interface gigabitethernet 1/0/1
Moves to port 1/0/1 interface mode.
-
(config-if)# ip qos-flow-group QOS-LIST1 in
Enables the IPv4 QoS flow list on the receiving side.