326
MLD snooping configuration examples
This section describes details about MLD snooping configuration examples.
IPv6 group policy and simulated joining configuration
example (in a VLAN)
Network requirements
As shown in
:
•
MLDv1 runs on Router A, MLDv1 snooping runs on Switch A, and Router A acts as the MLD
querier on the subnet.
•
The receivers (Host A and Host B) can receive IPv6 multicast traffic addressed to IPv6 multicast
group FF1E::101 only.
•
IPv6 multicast data for group FF1E::101 can be forwarded through GigabitEthernet 1/0/3 and
GigabitEthernet 1/0/4 of Switch A even if Host A and Host B accidentally, temporarily stop
receiving IPv6 multicast data, and that Switch A drops unknown IPv6 multicast data and does
not broadcast the data to the VLAN where Switch A resides.
Figure 92 Network diagram
Configuration procedure
1.
Enable IPv6 forwarding and assign an IPv6 address and prefix length to each interface
according to
2.
On Router A, enable IPv6 multicast routing, enable MLD on GigabitEthernet 1/0/1, and enable
IPv6 PIM-DM on each interface.
<RouterA> system-view
[RouterA] multicast ipv6 routing-enable
[RouterA] interface gigabitethernet 1/0/1
[RouterA-GigabitEthernet1/0/1] mld enable
[RouterA-GigabitEthernet1/0/1] pim ipv6 dm
[RouterA-GigabitEthernet1/0/1] quit
[RouterA] interface gigabitethernet 1/0/2