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-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 ranges from FF00:: to FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF. |
vsi vsi-name | Specifies a VSI name. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
all | Indicates multicast group addresses of all VLANs or VSIs. |
- |
100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE sub-interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, VE sub-interface view
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] 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
<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