{ unknown-unicast-suppression | broadcast-suppression | multicast-suppression | unicast-suppression } cir (interface view)

Function

The broadcast-suppression cir command configures the maximum volume of broadcast traffic that an interface forwards.

The undo broadcast-suppression command restores the default configuration.

The multicast-suppression command cir configures the maximum volume of multicast traffic that an interface forwards.

The undo multicast-suppression command restores the default configuration.

The unknown-unicast-suppression cir command configures the maximum volume of unknown unicast traffic that an interface forwards.

The undo unknown-unicast-suppression command restores the default configuration.

The unicast-suppression command configures the maximum volume of unicast traffic that an interface forwards.

By default, unknown unicast, broadcast, unicast, and multicast traffic are not suppressed on interfaces.

Format

{ unknown-unicast-suppression | broadcast-suppression | multicast-suppression } cir cir-value [ cbs cbs-value ] { inbound | outbound } { vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> }

{ unknown-unicast-suppression | broadcast-suppression | multicast-suppression } { percent-value | value bw-value } { inbound | outbound }

unicast-suppression cir cir-value [ cbs cbs-value ] { inbound | outbound } { vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> }

unicast-suppression { percent-value | value bw-value } { inbound | outbound }

undo { unknown-unicast-suppression | broadcast-suppression | multicast-suppression } { inbound | outbound } [ vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> ]

undo { unknown-unicast-suppression | broadcast-suppression | multicast-suppression } { percent-value | value bw-value } { inbound | outbound }

Parameters

Parameter Description Value
cir cir-value

Specifies the committed information rate (CIR), namely, maximum rate at which multicast traffic is forwarded.

The value is an integer ranging from 0 to 4294967295, in kbit/s.

cbs cbs-value

Specifies the Committed Burst Size (CBS), which is the depth of the first token bucket.

The value is an integer ranging from 0 to 4294967295, in bytes.

The default value is determined by cir-value:

  • If cir-value is less than 100000 kbit/s, the default value of cbs-value equals cir-value x (1500/8), in bytes.
  • If cir-value is greater than or equal to 100000 kbit/s, the default value of cbs-value equals 100000 x (1500/8), in bytes.
inbound

Inbound.

-

outbound

Outbound.

-

vlan vlan-id1

Specifies the ID of the start VLAN.

The value is an integer ranging from 1 to 4094.

to vlan-id2

Specifies the ID of the end VLAN.

The value is an integer ranging from 1 to 4094.

percent-value

Specifies the percentage of the set rate of the broadcast traffic to the total interface bandwidth.

The value ranges from 0 to 100.

value bw-value

Specifies the rate limit on broadcast traffic on the interface.

The value is an integer ranging from 0 to 1000 in Mbit/s.

Views

Layer 2 100GE interface view, Layer 2 10GE interface view, 25GE-L2 view, 400GE-L2 view, Layer 2 40GE interface view, Layer 2 50GE interface view, Eth-Trunk interface view, Layer 2 GE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mac write

Usage Guidelines

Usage Scenario

If unknown unicast, broadcast, unicast, or multicast traffic mounts on a network, the traffic consumes a great amount of network bandwidth, deteriorating network performance.

To prevent an unknown unicast, broadcast, unicast, or multicast traffic storm, run the { unknown-unicast-suppression | broadcast-suppression | unicast-suppression | multicast-suppression } cir command to suppress unknown unicast, broadcast, unicast, or multicast traffic on an interface. If the unknown unicast, broadcast, unicast, or multicast traffic volume exceeds the cirVal, the system discards the excessive unknown unicast, broadcast, unicast, or multicast traffic.

Precautions

The command can be run only on Ethernet interfaces, GE interfaces, and Eth-Trunk interfaces that work in Layer 2 mode. If these interfaces work in Layer 3 mode, run the portswitch command to switch the working mode to Layer 2.

The { unknown-unicast-suppression | broadcast-suppression | unicast-suppression | multicast-suppression } value command configures unknown unicast, broadcast, unicast, or multicast traffic suppression based on the interface bandwidth.

The { unknown-unicast-suppression | broadcast-suppression | unicast-suppression | multicast-suppression } cir command configures unknown unicast, broadcast, unicast, or multicast traffic suppression on an interface that is added to a VLAN.

If you configure unknown unicast, broadcast, unicast, or multicast traffic suppression on an interface for several times, the last configuration overrides the previous ones. Before you reconfigure unknown unicast, broadcast, unicast, or multicast traffic suppression on an interface that is added to a VLAN, delete the first configuration.

Example

# Set the CIR to 100kbit/s, CBS to 18800 bytes, for upstream multicast traffic on GE 0/1/0 of VLAN 1.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] portswitch
[*HUAWEI-GigabitEthernet0/1/0] vlan 1
[*HUAWEI-vlan1] port GigabitEthernet 0/1/0
[*HUAWEI-vlan1] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] multicast-suppression cir 100 cbs 18800 inbound vlan 1
# Set the CIR to 100kbit/s, CBS to 18800 bytes, for upstream broadcast traffic on GE 0/1/0 of VLAN 1.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] portswitch
[*HUAWEI-GigabitEthernet0/1/0] vlan 1
[*HUAWEI-vlan1] port GigabitEthernet 0/1/0
[*HUAWEI-vlan1] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] broadcast-suppression cir 100 cbs 18800 inbound vlan 1
# Set the CIR to 100kbit/s, CBS to 18800 bytes, for upstream unknown unicast traffic on GE 0/1/0 of VLAN 1.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] portswitch
[*HUAWEI-GigabitEthernet0/1/0] vlan 1
[*HUAWEI-vlan1] port GigabitEthernet 0/1/0
[*HUAWEI-vlan1] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] unknown-unicast-suppression cir 100 cbs 18800 inbound vlan 1
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >