C
HAPTER
30
| Congestion Control Commands
Storm Control Commands
– 1030 –
switchport
packet-rate
This command configures broadcast, multicast and unknown unicast storm
control. Use the no form to restore the default setting.
SYNTAX
switchport {broadcast | multicast | unicast} packet-rate rate
no switchport {broadcast | multicast | unicast}
broadcast - Specifies storm control for broadcast traffic.
multicast - Specifies storm control for multicast traffic.
unicast - Specifies storm control for unknown unicast traffic.
rate - Threshold level as a rate; i.e., packets per second (pps) or
kilobits per second (kbps). (Range: 64-1488100 pps/kbps)
N
OTE
:
kbps for octet based storm control and pps for packet based storm
control is toggled using command: storm-sample-type.
DEFAULT SETTING
Disabled
COMMAND MODE
Interface Configuration (Ethernet, Port Channel)
COMMAND USAGE
â—† When traffic exceeds the threshold specified for broadcast and
multicast or unknown unicast traffic, packets exceeding the threshold
are dropped until the rate falls back down beneath the threshold.
â—† Traffic storms can be controlled at the hardware level using this
command or at the software level using the auto-traffic-control
command. However, only one of these control types can be applied to a
port. Enabling hardware-level storm control on a port will disable
automatic storm control on that port.
â—† The rate limits set by this command are also used by automatic storm
control when the control response is set to rate limiting by the auto-
traffic-control action command.
â—† Using both rate limiting and storm control on the same interface may
lead to unexpected results. 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)#