broadcast-suppression

Syntax

broadcast-suppression { ratio | 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 maximum interface rate, ranging from 1 to 100. The smaller the percentage, the less broadcast traffic is allowed to pass through.

kbps max-kbps: Specifies the maximum number of kilobits of broadcast traffic that the Ethernet interface can forward per second.

Description

Use broadcast-suppression to set the broadcast suppression threshold on one or multiple Ethernet interfaces.

Use undo broadcast-suppression to restore the default.

By default, Ethernet interfaces do not suppress broadcast traffic.

If you execute this command in Ethernet interface view, the configuration takes effect only on the interface. If you execute this command in port group view, the configuration takes effect on all ports in the port group.

When you configure the suppression threshold in kbps, the actual suppression threshold might be different from the configured one as follows:

When broadcast traffic exceeds the broadcast suppression threshold, the system discards broadcast packets until the broadcast traffic drops below the threshold.


[NOTE: ]

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 1/0/1.

    <Sysname> system-view
    [Sysname] interface ethernet 1/0/1
    [Sysname-Ethernet1/0/1] broadcast-suppression 20
    

    # Set the broadcast suppression threshold to 20% on all ports in the manual port group named group1.

    <Sysname> system-view
    [Sysname] port-group manual group1
    [Sysname-port-group-manual-group1] group-member ethernet 1/0/1
    [Sysname-port-group-manual-group1] group-member ethernet 1/0/2
    [Sysname-port-group-manual-group1] broadcast-suppression 20
    

    # Set the broadcast suppression threshold to 10000 kbps on Ethernet 1/0/1.

    <Sysname> system-view
    [Sysname] interface ethernet 1/0/1
    [Sysname-Ethernet1/0/1] broadcast-suppression kbps 10000
    Info: The actual value is 10048 on this port currently.