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.
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-address1 | 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 ranges from FF00:: to FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF. |
group-address2 | Specifies the address of a multicast group. |
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-id | 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. |
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.
<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
<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
<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