R0106-HP MSR Router Series IP Multicast Command Reference(V7)

195
[Sysname-GigabitEthernet2/1/1] mld-snooping group-limit 10 vlan 2
mld-snooping group-policy
Use mld-snooping group-policy to configure an IPv6 multicast group filter on a port to control the IPv6
multicast groups that the hosts on the port can join.
Use undo mld-snooping group-policy to remove the IPv6 multicast group filter on a port.
Syntax
mld-snooping group-policy acl6-number [ vlan vlan-list ]
undo mld-snooping group-policy [ vlan vlan-list ]
Default
No IPv6 multicast group filter is configured on a port. The hosts attached to the port can join any valid
IPv6 multicast group.
Views
Layer 2 Ethernet interface 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 on all VLANs.
Usage guidelines
If the specified ACL does not exist or the ACL rules are 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 command takes effect on the IPv6 multicast groups that a port dynamically joins. If you configure the
port as a static member port for an IPv6 multicast group, this command does not take effect on the IPv6
multicast group.
The configuration made in interface view is only effective on the current port. It has higher priority than
the global configuration.
Examples
# Apply ACL 2000 as an IPv6 multicast group filter on GigabitEthernet 2/1/1 in VLAN 2 so that hosts
attached to the port 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