65-3
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 65 Configuring Storm Control
Enabling Broadcast Storm Control
This example shows how to enable storm control on an interface and verify configuration:
Switch#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
interface gigabitethernet 2/1
Switch(config-if)#
storm-control broadcast level bps 100k
Switch(config-if)#
end
Switch#
show storm-control gigabitethernet 2/1
Interface Filter State Broadcast Multicast Level
--------- ------------- --------- --------- -----
Command or Action
Purpose
Step 1
Switch#
configure terminal
Enters global configuration mode.
Step 2
Switch(config)#
interface
interface-id
Enters interface configuration mode and enters the port to configure.
Step 3
Switch(config-if)#
storm-control
broadcast level
{
high-level
|
bps
bps
[
k
|
m
|
g
] |
pps
pps
[
k
|
m
|
g
]}
Configures broadcast storm control. The keywords and arguments
are described here.
•
high-level
—Specifies the upper threshold levels for broadcast
traffic as a percentage (up to two decimal places) of the
bandwidth. The port blocks traffic that exceeds this level. The
range is from 0 to 100.
Note
For the Catalyst 4500-X Series Switch, on ports
operating at 1Gigabit, thresholds less than 0.02% are not
supported.
•
bps
bps
—Specifies the threshold level for broadcast traffic in
bits per second (bps) (up to one decimal place). The port blocks
only the traffic that exceeds this level. The range is 0.0 to
10000000000.0.
•
pps
pps
—Specifies the threshold level for broadcast traffic in
packets per second (pps) (up to one decimal place). The port
blocks all traffic when traffic utilization exceeds this level. The
range is 0.0 to 10000000000.0.
•
(Optional) [
k
|
m
|
g
]—Specifies the metric suffixes for large
number thresholds, in bps and pps settings.
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 the error-disable state during
a storm. If the recover interval is not set, the port remains in
shutdown state.
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.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...