
15
Layer 2 Ethernet interface configuration commands
broadcast-suppression
Syntax
broadcast-suppression
{
ratio
|
pps
max-pps
}
undo
broadcast-suppression
View
Layer 2 Ethernet interface view
Default level
2: System level
Parameters
ratio
: Sets the broadcast suppression threshold as a percentage of the transmission capability of an
Ethernet interface, ranging from 1 to 100. The smaller the percentage, the less broadcast traffic is
allowed to pass through.
pps
max-pps
: Specifies the maximum number of broadcast packets that the interface can forward per
second. The
max-pps
argument ranges from 1 to 1,488,100 pps.
•
When the
pps
keyword is specified, and a suppression granularity larger than 1 is specified on the
device, the value of the
pps
keyword must be no smaller than and an integral multiple of the
granularity. The broadcast suppression threshold value configured through this keyword on an
Ethernet interface may not be the one that actually takes effect. To display the actual broadcast
suppression threshold value on an Ethernet interface, you can use the
display interface
command.
•
When the
pps
keyword is not specified, or the suppression granularity is set to 1, the value of the
pps
keyword must be no smaller than 1, and the broadcast suppression threshold value is the one
that actually takes effect on the Ethernet interface.
Description
Use
broadcast-suppression
to set the broadcast suppression threshold on an Ethernet interface.
Use
undo broadcast-suppression
to restore the default.
By default, Ethernet interfaces do not suppress broadcast traffic.
When broadcast traffic exceeds the broadcast suppression threshold, the interface discards broadcast
packets until the broadcast traffic drops below the threshold.
Examples
# Set the broadcast suppression threshold to 20% on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] broadcast-suppression 20
display loopback-detection
Syntax
display loopback-detection
[
|
{
begin
|
exclude
|
include
}
regular-expression
]