l2-multicast ipv6 static-group group-address vlan

Function

The l2-multicast ipv6 static-group command configures static member interfaces for a multicast group.

The undo l2-multicast ipv6 static-group command cancels the configuration.

By default, no static member interfaces are configured for a multicast group.

Format

l2-multicast ipv6 static-group [ source-address source-address ] group-address group-address vlan { vlan-id1 [ to vlan-id2 ] } &<1-10>

undo l2-multicast ipv6 static-group [ source-address source-address ] group-address { all | group-address } vlan { all | { vlan-id1 [ to vlan-id2 ] } &<1-10> }

Parameters

Parameter Description Value
source-address source-address

Specifies a multicast source address.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

group-address group-address

Specifies a multicast group address.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. The value range is FF00::-FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF.

vlan vlan-id1

Specifies a VLAN ID.

The value is an integer that ranges from 1 to 4094.

to vlan-id2

Specifies a VLAN ID. The value of vlan-id2 must be greater than that of vlan-id1.

The value is an integer ranging from 1 to 4094.

all

Indicates multicast group addresses of all VLANs or VSIs.

-

all

Specifies all VLANs.

-

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
l2mc write

Usage Guidelines

Usage Scenario

If hosts need to regularly receive the data of a multicast group (including source-specific group) on an interface, run the l2-multicast ipv6 static-group command to configure the interface as a static member interface of the multicast group.

Static member interfaces can be configured on different positions on a network to enable users to receive data for multicast groups regularly. Run one or more of the following commands listed in Table 1.

Prerequisites

MLD snooping has been enabled globally and in the VLAN/VSI view.

Configuration Impact

A static member interface does not respond to MLD Query messages. After the undo l2-multicast ipv6 static-group command is run on a static member interface, the interface does not initiate MLD Done messages any more.

If the l2-multicast ipv6 static-group command is run more than once, all configurations take effect.

Precautions

If the number of (S, G) entries of a group has reached the maximum value (128), no static entry will be created after the l2-multicast ipv6 static-group command is run. No entry containing this group address will be generated even after the reset mld-snooping group all command is run in the system view to refresh entries.

Example

# Configure GE 0/1/1 in VLAN 2 as a static member interface of multicast group FF33::1.
<HUAWEI> system-view
[~HUAWEI] mld-snooping enable
[*HUAWEI] interface GigabitEthernet 0/1/1
[~HUAWEI-GigabitEthernet0/1/1] portswitch
[~HUAWEI-GigabitEthernet0/1/1] l2-multicast ipv6 static-group group-address FF33::1 vlan 2
# Configure GE 0/1/1 in VSI vsi0 as a static member interface of multicast group FF33::1.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi vsi0
[*HUAWEI-vsi-vsi0] pwsignal ldp
[*HUAWEI-vsi-vsi0-ldp] vsi-id 1
[*HUAWEI-vsi-vsi0-ldp] quit
[*HUAWEI-vsi-vsi0] quit
[*HUAWEI] mld-snooping enable
[*HUAWEI] interface GigabitEthernet 0/1/1
[*HUAWEI-GigabitEthernet0/1/1] l2-multicast ipv6 static-group group-address FF33::1 vsi vsi0
# Configure GE 0/1/1.1 as a static member interface of multicast group FF33::1.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi vsi0
[*HUAWEI-vsi-vsi0] pwsignal ldp
[*HUAWEI-vsi-vsi0-ldp] vsi-id 1
[*HUAWEI-vsi-vsi0-ldp] quit
[*HUAWEI-vsi-vsi0] quit
[*HUAWEI] mld-snooping enable
[*HUAWEI] interface GigabitEthernet 0/1/1.1
[*HUAWEI-GigabitEthernet0/1/1.1] l2-multicast ipv6 static-group group-address ff33::1 vsi vsi0
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >