unicast-suppression

Syntax

unicast-suppression { ratio | kbps max-kbps }

undo unicast-suppression

View

Ethernet interface view, port group view

Default level

2: System level

Parameters

ratio: Sets the unknown unicast suppression threshold as a percentage of the maximum interface rate, ranging from 1 to 100. The smaller the percentage, the less unknown unicast traffic is allowed to pass through.

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

Description

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

Use undo unicast-suppression to restore the default.

By default, Ethernet interfaces do not suppress unknown unicast traffic.

If you execute this command in Ethernet interface view, the configurations take effect only on the interface. If you execute this command in port group view, the configurations take 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 unknown unicast traffic exceeds the threshold you configure, the system discards unknown unicast packets until the unknown unicast traffic drops below the threshold.


[NOTE: ]

NOTE:

  • If you set different unknown unicast 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 unknown unicast threshold to 20% on Ethernet 1/0/1.

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

    # Set the unknown unicast threshold to 20% on all ports of port group 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] unicast-suppression 20
    

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

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