Purpose
Command or Action
If you set the threshold to the maximum value (100 percent), no limit is
placed on the traffic. If you set the threshold to 0.0, all broadcast, multicast,
and unicast traffic on that port is blocked.
•
For
bps bps
, specifies the rising threshold level for broadcast, multicast, or
unicast traffic in bits per second (up to one decimal place). The port blocks
traffic when the rising threshold is reached. The range is 0.0 to
10000000000.0.
•
(Optional) For
bps-low
, specifies the falling threshold level in bits per second
(up to one decimal place). It can be less than or equal to the rising threshold
level. The port forwards traffic when traffic drops below this level. The
range is 0.0 to 10000000000.0.
•
For
pps pps
, specifies the rising threshold level for broadcast, multicast, or
unicast traffic in packets per second (up to one decimal place). The port
blocks traffic when the rising threshold is reached. The range is 0.0 to
10000000000.0.
•
(Optional) For
pps-low
, specifies the falling threshold level in packets per
second (up to one decimal place). It can be less than or equal to the rising
threshold level. The port forwards traffic when traffic drops below this level.
The range is
0.0 to
10000000000.0.
For BPS and PPS settings, you can use metric suffixes such as k, m, and g for
large number thresholds.
Specifies the action to be taken when a storm is detected. The default is to filter
out the traffic and not to send traps.
storm-control action
{
shutdown
|
trap
}
Step 5
Example:
Switch(config-if)#
storm-control
action trap
•
Select the
shutdown
keyword to error-disable the port during a storm.
•
Select the
trap
keyword to generate an SNMP trap when a storm is detected.
Returns to privileged EXEC mode.
end
Example:
Switch(config-if)#
end
Step 6
Verifies the storm control suppression levels set on the interface for the specified
traffic type. If you do not enter a traffic type, broadcast storm control settings are
displayed.
show storm-control
[
interface-id
]
[
broadcast
|
multicast
|
unicast
]
Example:
Switch#
show storm-control
gigabitethernet1/0/1 unicast
Step 7
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
394
OL-29048-01
Configuring Port-Based Traffic Control
Configuring Storm Control and Threshold Levels