Cisco Systems WSC4500X24XIPB Switch User Manual


 
36-3
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter 36 Configuring Storm Control
Enabling Storm Control
Enabling Storm Control
To enable storm control, perform this task:
The following example shows how to enable storm control on interface.
Switch# conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# int fa3/1
Switch(config-if)# storm-control broadcast level 50
Switch(config-if)# end
Switch# write memory
Building configuration...
00:11:06: %SYS-5-CONFIG_I: Configured from console by consoleCompressed configuration from
5394 bytes to 1623 bytes[OK]
Switch#sh stor
Switch#sh storm-control
Interface Filter State Upper Lower Current
--------- ------------- ------- ------- -------
Fa3/1 Forwarding 50.00% 50.00% 0.00%
Switch#
Command Purpose
Step 1
Switch# configure terminal
Enters global configuration mode.
Step 2
Switch(config)# interface
interface-id
Enters interface configuration mode and enter the port to configure.
Step 3
Switch(config-if)# storm-control
broadcast level [
high level
] [
lower
level
]
Configures broadcast storm control.
Specifies the upper threshold levels for broadcast traffic. The storm
control action occurs when traffic utilization reaches this level.
(Optional) Specifies the falling threshold level. The normal
transmission restarts (if the action is filtering) when traffic drops
below this level for interfaces that support software-based
suppression.
Note For ports that perform hardware-based suppression, the
lower threshold is ignored.
Step 4
Switch(config-if)# storm-control
action {shutdown | trap}
Specifies the action to be taken when a storm is detected.
The default is to filter out the broadcast traffic and not to send out
traps.
The shutdown keyword sets the port to error-disable state during a
storm. If the recover interval is not set, the port remains in shutdown
state.
Note The trap keyword generates an SNMP trap when a storm is
detected. This keyword is available but not supported in the
12.1(19)EW release.
Step 5
Switch(config-if)# exit
Returns to configuration mode.
Step 6
Switch(config)# end
Returns to privileged EXEC mode.
Step 7
Switch# show storm-control [interface]
broadcast
Displays the number of packets suppressed.
Step 8
Switch# copy running-config
startup-config
(Optional) Saves your entries in the configuration file.