l2-multicast limit per-trunk-member bandwidth

Function

The l2-multicast limit per-trunk-member bandwidth command limits the bandwidth to a specific value for each Eth-Trunk member interface.

The undo l2-multicast limit per-trunk-member bandwidth command cancels the configuration.

By default, the bandwidth is not limited to a specific value for any Eth-Trunk member interface.

Format

l2-multicast limit per-trunk-member bandwidth bandwidth dot1q vid { vid1 [ to vid2 ] } &<1-10>

undo l2-multicast limit per-trunk-member bandwidth [ bandwidth ] dot1q vid { vid1 [ to vid2 ] } &<1-10>

Parameters

Parameter Description Value
bandwidth

Sets a bandwidth limit.

The value is an integer ranging from 1 to 4194304, in kbit/s.

dot1q

Sets the dot1q termination mode.

-

vid

Indicates a VLAN ID.

-

vid1

Sets a start VLAN ID.

The value is an integer ranging from 1 to 4094.

to vid2

Sets an end VLAN ID.

The value is an integer ranging from 1 to 4094.

Views

Eth-Trunk sub-interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2mc write

Usage Guidelines

Usage Scenario

An Eth-Trunk interface's member interfaces may change dynamically. To implement refined bandwidth control, you can run the l2-multicast per-trunk-member limit bandwidth command to limit the bandwidth to a specific value for each Eth-Trunk member interface.

After the l2-multicast per-trunk-member limit bandwidth command is run, the total bandwidth limit for an Eth-Trunk interface is calculated using the following formula: Total bandwidth limit for an Eth-Trunk interface = Number of this Eth-Trunk interface's Up member interfaces x Bandwidth limit for each member interface.

Prerequisites

A sub-interface has been configured as a dot1q termination sub-interface, and the sub-interface has been bound to an LDP-based VSI.

Example

# Limit the bandwidth to 1000 kbit/s for each Eth-Trunk member interface.
<HUAWEI> system-view
[~HUAWEI] interface Eth-Trunk 3
[*HUAWEI-Eth-Trunk3] quit
[*HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi vsi1
[*HUAWEI-vsi-vsi1] pwsignal ldp
[*HUAWEI-vsi-vsi1-ldp] vsi-id 1
[*HUAWEI-vsi-vsi1-ldp] quit
[*HUAWEI-vsi-vsi1] quit
[*HUAWEI] interface Eth-Trunk 3.1
[*HUAWEI-Eth-Trunk3.1] encapsulation dot1q-termination
[*HUAWEI-Eth-Trunk3.1] dot1q termination vid 1
[*HUAWEI-Eth-Trunk3.1] l2 binding vsi vsi1
[*HUAWEI-Eth-Trunk3.1] l2-multicast limit per-trunk-member bandwidth 1000 dot1q vid 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >