
65
Configuring an MLD snooping policy
Configuration prerequisites
Before you configure an MLD snooping policy, complete the following tasks:
•
Enable MLD snooping in the VLAN
•
Determine the IPv6 ACL rule for IPv6 multicast group filtering
•
Determine the maximum number of IPv6 multicast groups that can pass the ports
•
Determine the 802.1p precedence for MLD messages
Configuring an IPv6 multicast group filter
On a MLD snooping-enabled switch, the configuration of an IPv6 multicast group filter enables the
service provider to define limits of multicast programs available to different users.
In an actual application, when a user requests a multicast program, the user's host initiates an MLD
report. Upon receiving this report message, the switch compares the report against the configured
ACL rule. If the port that received the report can join this IPv6 multicast group, the switch adds an
entry for this port in the MLD snooping forwarding table. Otherwise the switch drops this report
message. Any IPv6 multicast data that fails the ACL check will not be sent to this port. In this way, the
service provider can control the VOD programs provided for multicast users.
Configuring an IPv6 multicast group filter globally
Follow these steps to configure an IPv6 multicast group globally:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter MLD snooping view
mld-snooping
—
Configure an IPv6 multicast group
filter
group-policy
acl6-number
[
vlan
vlan-list
]
Required
By default, no IPv6 group filter is
globally configured. That is, hosts
in VLANs can join any valid
multicast group.
Configuring an IPv6 multicast group filter on a port or a group of ports
Follow these steps to configure an IPv6 multicast group filer on a port or a group of ports:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter Ethernet interface/Layer 2
aggregate interface view or port
group view
interface
interface-type
interface-number
Required
Use either approach
port-group
manual
port-group-name
Configure an IPv6 multicast group
filter
mld-snooping group-policy
acl6-number
[
vlan
vlan-list
]
Required
By default, no IPv6 group filter is
configured on an interface. That
is, hosts on the interface can join
any valid multicast group.