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.
l2-multicast ipv6 static-group [ source-address source-address ] group-address group-address remote-peer ip-address [ negotiation-vc-id vc-id ]
undo l2-multicast ipv6 static-group [ source-address source-address ] group-address { group-address | all } remote-peer ip-address [ negotiation-vc-id vc-id ]
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. |
remote-peer ip-address |
Specifies a remote peer IP address. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
negotiation-vc-id vc-id |
negotiation-vc-id vc-id and remote-peer ip-address work together to identify a PW. By default, vc-id is the VSI ID. |
The value is an integer ranging from 1 to 4294967295. |
all |
Indicates multicast group addresses of all VSIs. |
- |
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.Prerequisites
MLD snooping has been enabled globally and in the 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] 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] mld-snooping enable [*HUAWEI-vsi-vsi0] l2-multicast ipv6 static-group group-address FF33::1 remote-peer 2001:DB8:1::1