User Guide 652
Configuring QoS Bandwidth Control Configuration
Step 7 storm-control exceed {drop | shutdown} [recover-time
time
]
Specify the action and the recover time. The switch will perform the action when the traffic
exceeds its corresponding limit. By default, it is drop.
drop: Set the Action as Drop. The port will drop the subsequent packets when the traffic
exceeds the limit.
shutdown: Set the Action as Shutdown. The port will be shutdown when the traffic exceeds the
limit.
time
: Specify the recover time for the port. It takes effect only when the action is set as
shutdown. The valid values are from 0 to 3600 and the default value is 0. When the port is
shutdown, it can recover to its normal state after the recover time passed. If the recover time
is specified as 0, which means the port will not recover to its normal state automatically and
you can recover the port manually.
Step 8 storm-control recover
(Optional) Recover the port manually. When the recover time is specified as 0, the port will not
recover to its normal state automatically. In this condition, you need to use this command to
recover the port manually.
Step 9 show storm-control interface [fastEthernet
port
| gigabitEthernet
port
| ten-gigabitEthernet
port
| port-channel
port-channel-id
]
Verify the storm control configurations of the port or LAG. If no port or LAG is specified, it
displays the storm control configuration for all ports or LAGs.
Step 10 end
Return to privileged EXEC mode.
Step 11 copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to configure the upper rate limit of broadcast packets as
148800 pps, Specify the action as shutdown and set the recover time as 10 for port 1/0/5:
Switch#configure
Switch(config)#interface gigabitEthernet 1/0/5
T2600G-28TS(config-if)#storm-control rate-mode pps
T2600G-28TS(config-if)#storm-control broadcast 148800
T2600G-28TS(config-if)#storm-control exceed shutdown recover-time 10
T2600G-28TS(config-if)#show storm-control interface gigabitEthernet 1/0/5
Port Rate Mode BcRate McRate UlRate Exceed Recover Time LAG
------- ---------- -------- -------- -------- --------- -------- ------
Gi1/0/5 pps 148800 0 0 shutdown 10 N/A
Switch(config-if)#end
Switch#copy running-config startup-config