3.2.3 QoS control setting by TCP/UDP port number
This section explains how to set QoS control using UDP port number as the flow-detection condition.
- Points to note
-
When a frame is received, QoS control is performed by detecting the destination port number in UDP headers.
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 eq 10 action cos 6
Set the destination port number 10 in UDP header as the flow detection condition, and set QoS flow list with CoS = 6.
-
(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.