400
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VLAN view.
vlan
vlan-id
N/A
3.
Configure the source IPv6
address of MLD reports that
the proxy sends.
mld-snooping report source-ip
{
ipv6-address
|
current-interface
}
The default is
FE80::02FF:FFFF:FE00:0001.
4.
Configure the source IPv6
address of MLD done
messages that the proxy
sends.
mld-snooping done source-ip
{
ipv6-address
|
current-interface
}
The default is
FE80::02FF:FFFF:FE00:0001.
Configuring an MLD snooping policy
This section describes how to configure MLD snooping policies.
Configuration prerequisites
Before you configure an MLD snooping policy, complete the following tasks:
•
Enable MLD snooping for the VLAN.
•
Determine the IPv6 ACL for IPv6 multicast group filtering.
•
Determine the maximum number of IPv6 multicast groups that a port can join.
•
Determine the 802.1p precedence for MLD messages.
Configuring an IPv6 multicast group filter
On a MLD snooping-enabled switch, you can configure an IPv6 multicast group filter to limit multicast
programs available to different users.
In an application, when a user requests a multicast program, the user's host initiates an MLD report. After
receiving this report message, the switch resolves the IPv6 multicast group address in the report and looks
up the ACL. If a match is found to permit the port that received the report can join this IPv6 multicast group,
the switch creates an MLD snooping forwarding entry for the IPv6 multicast group and adds the port to
the entry. Otherwise, the switch drops this report message. In this case, the IPv6 multicast data for the
IPv6 multicast group is not sent to this port, and the user cannot retrieve the program.
Configuring an IPv6 multicast group filter globally
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter MLD-snooping view.
mld-snooping
N/A
3.
Configure an IPv6 multicast
group filter.
group-policy
acl6-number
[
vlan
vlan-list
]
By default, no IPv6 group filter is
globally configured, and the hosts
in a VLAN can join any valid IPv6
multicast group.