3.5.6 Configuring Bandwidth Violation Notification
Specifies that maximum bandwidth control is to be performed for a given flow, and that operation messaging and SNMP notification are to be sent when bandwidth is violated.
- Points to note
-
When a frame is received, a flow is detected by the destination IP address, and bandwidth monitoring and bandwidth violation notification for maximum bandwidth control are set.
Command examples
-
(config)# ip qos-flow-list QOS-LIST4
Creates a IPv4 QoS flow list (QOS-LIST4). By creating this list, IPv4 QoS flow list mode is entered.
-
(config-ip-qos)# qos ip any host 192.168.130.10 action max-rate 5M max-rate-burst 512 log trap
For a flow whose destination IP is 192.168.130.10, sets the maximum bandwidth control monitoring bandwidth =5Mbit/s, maximum bandwidth control burst size =512kbyte, bandwidth violation notification and sends operation messages and SNMP notifications.
-
(config-ip-qos)# exit
Returns to global configuration mode from IPv4 QoS flow list mode.
-
(config)# flow rate-alarm exceed-count 3 100
Enables bandwidth violation notification. Also, set the bandwidth violation count to 3 and the monitoring count to 100 in the bandwidth compliance state.
-
(config)# interface gigabitethernet 1/0/7
Switches to the interface mode of port 1/0/7.
-
(config-if)# ip qos-flow-group QOS-LIST4 in
Enables the IPv4 QoS flow list (QOS-LIST4) on the receiving side.