C
HAPTER
30
| Interface Commands
– 777 –
RELATED COMMANDS
negotiation (774)
capabilities (771)
switchport packet-
rate
This command configures broadcast storm control. Use the no form to
restore the default setting.
SYNTAX
switchport broadcast packet-rate rate
no switchport broadcast
rate - Threshold level as a rate; i.e., packets per second.
(Range: 500-262143)
DEFAULT SETTING
Enabled, packet-rate limit: 500 pps
COMMAND MODE
Interface Configuration (Ethernet)
COMMAND USAGE
â—† When traffic exceeds the threshold specified for broadcast traffic,
packets exceeding the threshold are dropped until the rate falls back
down beneath the threshold.
â—† Using both rate limiting and storm control on the same interface may
lead to unexpected results. For example, suppose broadcast storm
control is set to 500 pps by the command “switchport broadcast
packet-rate 500" and the rate limit is set to 200 Mbps by the command
“rate-limit input 20" on a port. Since 200 Mbps is 1/5 of line speed
(1000 Mbps), the received rate will actually be 100 pps, or 1/5 of the
500 pps limit set by the storm control command. It is therefore not
advisable to use both of these commands on the same interface.
EXAMPLE
The following shows how to configure broadcast storm control at 600
packets per second:
Console(config)#interface ethernet 1/5
Console(config-if)#switchport broadcast packet-rate 600
Console(config-if)#