
285
Default level
2: System level
Parameters
acl6-number
: Specifies a basic or advanced IPv6 ACL, in the range of 2000 to 3999. The source
address or address range specified in the advanced IPv6 ACL rule is the IPv6 multicast source address
or addresses specified in MLDv2 reports, rather than the source address in the IPv6 packets. The system
assumes that an MLDv1 report or an MLDv2 IS_EX or TO_EX report that does not carry an IPv6 multicast
source address carries an IPv6 multicast source address of 0::0.
version-number
: MLD version number, 1 or 2. If you do not specify an MLD version, the configured group
filter is effective for MLD reports of both version 1 and version 2.
Description
Use
mld group-policy
to configure an IPv6 multicast group filter on the current interface to control the IPv6
multicast groups that the hosts on the current interface can join.
Use
undo
mld group-policy
to remove the configured IPv6 multicast group filter.
By default, no IPv6 multicast group filter is configured. That is, a host can join any valid IPv6 multicast
group.
You can also use the
group-policy
(MLD-snooping view) command to control the IPv6 multicast groups
that hosts in a VLAN can join, achieving the same result as
mld group-policy
. If you have configured a
multicast group filter on a VLAN interface to control the multicast groups that the hosts on the interface
can join, HP recommends you to configure the same multicast group filter in the corresponding VLAN.
Related commands:
group-policy
(MLD-snooping view).
Examples
# Configure an IPv6 ACL so that hosts on VLAN-interface 100 can join the IPv6 multicast group
FF03::101 only.
<Sysname> system-view
[Sysname] acl ipv6 number 2005
[Sysname-acl6-basic-2005] rule permit source ff03::101 16
[Sysname-acl6-basic-2005] quit
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld group-policy 2005
mld host-tracking
Syntax
mld host-tracking
undo mld host-tracking
View
Interface view
Default level
2: System level
Parameters
None