1
Ethernet interface configuration commands
broadcast-suppression
Syntax
broadcast-suppression
{
ratio |
pps
max-pps |
kbps
max-kbps
}
undo
broadcast-suppression
View
Ethernet interface view, port group view
Default level
2: System level
Parameters
ratio
: Sets the broadcast suppression threshold as a percentage of the port transmission capability, in the
range 1 to 100. The smaller the percentage, the less broadcast traffic is allowed to pass through.
pps
max-pps
: Sets the broadcast suppression threshold in pps to limit the number of broadcast packets
passing through the Ethernet port per second, the value range is 1 to 1488100.
kbps
max-bps
: Sets the broadcast suppression threshold in kbps to limit the number of kilobits of
broadcast traffic passing through the Ethernet port per second, the value range is 1 to 1024000.
Description
Use the
broadcast-suppression
command to set the broadcast suppression threshold on one or multiple
Ethernet interfaces.
Use the
undo broadcast-suppression
command to restore the default.
By default, Ethernet interfaces do not suppress broadcast traffic.
If you execute this command in Ethernet interface, the configuration takes effect only on the current
interface. If you execute this command in port-group view, the configuration takes effect on all the ports
in the port group.
When broadcast traffic exceeds the broadcast suppression threshold, the interface discards broadcast
packets until the broadcast traffic drops below the threshold.
NOTE:
•
If you set different broadcast suppression thresholds in Ethernet interface view or port-group view
multiple times, the one configured last takes effect.
•
For a particular type of traffic, configure either storm suppression or storm control, but not both. If both
of them are configured, you may fail to achieve the expected storm control effect.
Examples
# Set the broadcast suppression threshold to 20% on Ethernet interface GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] broadcast-suppression 20