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. |
dot1q vid vid | Specifies a VLAN ID for a dot1q termination sub-interface. |
The value is an integer ranging from 1 to 4094. |
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. |
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