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

Function

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

The undo broadcast-suppression cir command restores the default configuration.

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

The undo multicast-suppression cir command restores the default configuration.

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

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

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

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

Format

{ unknown-unicast-suppression | broadcast-suppression | multicast-suppression } cir cirVal [ cbs cbsVal ] { inbound | outbound }

unicast-suppression cir cirVal [ cbs cbsVal ] { inbound | outbound }

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

Parameters

Parameter Description Value
cir cirVal

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 cbsVal

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

Indicates that the upstream traffic is suppressed.

-

outbound

Indicates that the downstream traffic is suppressed.

-

Views

400GE Layer 2 sub-interface view, 50GE Layer 2 sub-interface view, Eth-Trunk Layer 2 sub-interface view, FlexE sub-interface view, GE Layer 2 sub-interface view, PW-VE sub-interface view, Layer 2 sub-interface view, Sub-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 a sub-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.

Example

# Set the CIR to 100kbit/s, CBS to 18800 bytes, for upstream multicast traffic on L2 subinterface GE 0/1/0.1.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0.1 mode l2
[*HUAWEI-GigabitEthernet0/1/0.1] bridge-domain 100
[*HUAWEI-GigabitEthernet0/1/0.1] multicast-suppression cir 100 cbs 18800 inbound
# Set the CIR to 100kbit/s, CBS to 18800 bytes, for upstream multicast traffic on GE 0/1/0.1.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi 1 static
[*HUAWEI-vsi-1] pwsignal ldp
[*HUAWEI-vsi-1-ldp] vsi-id 100
[*HUAWEI-vsi-1-ldp] quit
[*HUAWEI-vsi-1] quit
[*HUAWEI] interface GigabitEthernet 0/1/0.1
[*HUAWEI-GigabitEthernet0/1/0.1] vlan-type dot1q 100
[*HUAWEI-GigabitEthernet0/1/0.1] l2 binding vsi 1
[*HUAWEI-GigabitEthernet0/1/0.1] multicast-suppression cir 100 cbs 18800 inbound
# Set the CIR to 100 kbit/s and CBS to 18800 bytes for upstream broadcast traffic on GE 0/1/0.1.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi 1 static
[*HUAWEI-vsi-1] pwsignal ldp
[*HUAWEI-vsi-1-ldp] vsi-id 100
[*HUAWEI-vsi-1-ldp] quit
[*HUAWEI-vsi-1] quit
[*HUAWEI] interface GigabitEthernet 0/1/0.1
[*HUAWEI-GigabitEthernet0/1/0.1] vlan-type dot1q 100
[*HUAWEI-GigabitEthernet0/1/0.1] l2 binding vsi 1
[*HUAWEI-GigabitEthernet0/1/0.1] broadcast-suppression cir 100 cbs 18800 inbound
# Set the CIR to 100 kbit/s and CBS to 18800 bytes for upstream unknown unicast traffic on GE 0/1/0.1.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi 1 static
[*HUAWEI-vsi-1] pwsignal ldp
[*HUAWEI-vsi-1-ldp] vsi-id 100
[*HUAWEI-vsi-1-ldp] quit
[*HUAWEI-vsi-1] quit
[*HUAWEI] interface GigabitEthernet 0/1/0.1
[*HUAWEI-GigabitEthernet0/1/0.1] vlan-type dot1q 100
[*HUAWEI-GigabitEthernet0/1/0.1] l2 binding vsi 1
[*HUAWEI-GigabitEthernet0/1/0.1] unknown-unicast-suppression cir 100 cbs 18800 inbound
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >