Parameter |
Description |
Value |
---|---|---|
acl6-number |
Specifies the number of an IPv6 ACL that defines a range of multicast groups. A basic or advanced ACL can be used in an IPv6 multicast group policy. |
The value is an integer that ranges from 2000 to 3999. |
mld-version | Applies the multicast group policy only to the MLD messages of the specified version. If this parameter is not specified, the multicast group policy applies to all MLD messages. |
The value is 1 or 3.
|
default-permit |
Configures the multicast group policy to permit all groups by default. That is, if the referenced ACL has no rules, the multicast group policy allows hosts in the VLAN to join all groups. |
- |
This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.
# Prevent MLDv2 hosts in VLAN 4 from joining IPv6 multicast group ff1e::1/32.
<HUAWEI> system-view [HUAWEI] acl ipv6 number 2001 [HUAWEI-acl6-basic-2001] rule deny source ff1e::1/32 [HUAWEI-acl6-basic-2001] quit [HUAWEI] mld-snooping enable [HUAWEI] vlan 4 [HUAWEI-vlan4] mld-snooping enable [HUAWEI-vlan4] mld-snooping group-policy 2001 2 default-permit