R0106-HP MSR Router Series IP Multicast Command Reference(V7)
186
group-policy (MLD-snooping view)
Use group-policy to configure a global IPv6 multicast group filter to control the IPv6 multicast groups that
a host can join.
Use undo group-policy to remove the configured global IPv6 multicast group filter.
Syntax
group-policy acl6-number [ vlan vlan-list ]
undo group-policy [ vlan vlan-list ]
Default
No global IPv6 multicast group filter is configured. A host can join any valid IPv6 multicast group.
Views
MLD-snooping view
Predefined user roles
network-admin
Parameters
acl6-number: Specifies an IPv6 basic or advanced ACL by its number in the range of 2000 to 3999.
Receiver hosts can join only the IPv6 multicast groups that the ACL permits. In an IPv6 basic ACL, the
source keyword matches against the IPv6 multicast group addresses specified in MLD reports. In an IPv6
advanced ACL, the source and destination keywords match against the IPv6 multicast source addresses
and IPv6 multicast group addresses specified in MLD report, respectively. The system considers that the
IPv6 multicast source address is 0.0.0.0 for MLDv1, and MLDv2 IS_EX and TO-EX reports that do not
carry any IPv6 multicast source addresses.
vlan vlan-list: Specifies a space-separated list of up to 10 VLAN items. Each item specifies a VLAN by its
ID or a range of VLANs in the form of start-vlan-id to end-vlan-id. The VLAN ID is in the range of 1 to
4094. If you do not specify any VLAN, the command takes effect for all VLANs.
Usage guidelines
If the specified ACL does not exist or the ACL rule is null, all IPv6 multicast groups are filtered out.
You can configure different ACL rules on a port in different VLANs. However, for a given VLAN, a newly
configured ACL rule overrides the existing one.
This configuration takes effect on the IPv6 multicast groups that the port dynamically joins. If you
configure the port as a static member port for an IPv6 multicast group, this configuration does not take
effect on the IPv6 multicast group.
The global configuration is effective on all ports. It has lower priority than the configuration made on a
specific port.
Examples
# Apply ACL 2000 as an IPv6 multicast group filter globally for VLAN 2 so that the hosts in this VLAN
can join only the multicast group FF03::101.
<Sysname> system-view
[Sysname] acl ipv6 number 2000
[Sysname-acl6-basic-2000] rule permit source ff03::101 128
[Sysname-acl6-basic-2000] quit
[Sysname] mld-snooping