R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
948
Related commands: mld static-group and reset mld group.
Examples
# Allow GigabitEthernet 0/1 to join up to 128 IPv6 multicast groups.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] mld group-limit 128
mld group-policy
Syntax
mld group-policy acl6-number [ version-number ]
undo mld group-policy
View
Interface view
Default level
2: System level
Parameters
acl6-number: Number of 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 a 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 will be 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.
Examples
# Configure an IPv6 ACL so that hosts on GigabitEthernet 0/1 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 gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] mld group-policy 2005