broadcast limit

Configures the maximum number of broadcast packets allowed per second and enables Syslog logging of broadcast packets.
Syntax
broadcast limit num
broadcast limit num kbps log
broadcast limit num kbps threshold num action port-shutdown num
no broadcast limit num
no broadcast limit num kbps log
no broadcast limit num kbps threshold num action port-shutdown num
Command Default

Broadcast rate limiting is disabled.

Parameters
num
Specifies the maximum number of broadcast packets per second. The value can be 1 to 8388607.
kbps
Enables byte-based limiting. The value can be 1 to Max Port Speed.
log
Enables Syslog logging when the broadcast limit exceeds num kbps.
threshold num
Specifies the packet drop count threshold value. Valid values range from 1 through 1048576.
action
Specifies further action must be taken.
port-shutdown
Specifies that port shutdown is the action taken.
Modes

Interface configuration mode

Usage Guidelines

Use 0 or the no form of the command to disable broadcast rate limiting.

Examples

The following example enables a broadcast rate limit of 131072.

device(config)# interface ethernet 9/1/1
device(config-if-e1000-9/1/1)# broadcast limit 131072 kbps

The following example enables broadcast limit logging when the configured broadcast limit exceeds 100 Kbps.

device(config)# interface ethernet 1/2/1
device(config-if-e10000-1/2/1)# broadcast limit 100 kbps log

The following example sets the packet drop count threshold value to 2000 and specifies that the port shutodwn action is taken.

device(config)# interface ethernet 1/2/1
device(config-if-e10000-1/2/1)# broadcast limit 100 kbps threshold 2000 action port-shutdown 7
History
Release version Command history
08.0.10 This command was introduced.
08.0.40a The command was modified to include the log keyword.