22-5
Catalyst 2928 Switch Software Configuration Guide
OL-23389-01
Chapter 22 Configuring Port-Based Traffic Control
Configuring Storm Control
To disable storm control, use the
no storm-control
{
broadcast
|
multicast
|
unicast
}
level
interface
configuration command.
This example shows how to enable unicast storm control on a port with an 87-percent rising suppression
level and a 65-percent falling suppression level:
Switch#
configure terminal
Switch(config)#
interface gigabitethernet0/1
Switch(config-if)#
storm-control unicast level 87 65
This example shows how to enable broadcast address storm control on a port to a level of 20 percent.
When the broadcast traffic exceeds the configured level of 20 percent of the total available bandwidth of
the port within the traffic-storm-control interval, the switch drops all broadcast traffic until the end of
the traffic-storm-control interval:
Switch#
configure terminal
Switch(config)#
interface gigabitethernet0/1
Switch(config-if)#
storm-control broadcast level 20
Configuring Small-Frame Arrival Rate
Incoming VLAN-tagged packets smaller than 67 bytes are considered
small frames
. They are forwarded
by the switch, but they do not cause the switch storm-control counters to increment.You can configure a
port to be error disabled if small frames arrive at a specified rate (threshold).
You globally enable the small-frame arrival feature on the switch and then configure the small-frame
threshold for packets on each interface. Packets smaller than the minimum size and arriving at a specified
rate (the threshold) are dropped since the port is error disabled.
If the
errdisable recovery cause small-frame
global configuration command is entered, the port is
re-enabled after a specified time. (You specify the recovery time by using
errdisable recovery
global
configuration command.)
Beginning in privileged EXEC mode, follow these steps to configure the threshold level for each
interface:
Step 6
show storm-control
[
interface-id
] [
broadcast
|
multicast
|
unicast
]
Verify 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.
Step 7
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
errdisable detect cause small-frame
Enable the small-frame rate-arrival feature on the switch.
Step 3
errdisable recovery interval
interval
(Optional) Specify the time to recover from the specified
error-disabled state.
Step 4
errdisable recovery cause small-frame
(Optional) Configure the recovery time for error-disabled ports to
be automatically re-enabled after they are error disabled by the
arrival of small frames
Step 5
interface
interface-id
Enter interface configuration mode, and specify the interface to be
configured.