
70
MLD snooping configuration examples
IPv6 group policy and simulated joining configuration
example
Network requirements
•
As shown in
, Router A connects to the IPv6 multicast source through GigabitEthernet
1/0/2 and to Switch A through GigabitEthernet 1/0/1. Router A is the MLD querier on the subnet.
•
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, attached to Switch A 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.
Figure 23 Network diagram for IPv6 group policy simulated joining configuration
Configuration procedure
1.
Enable IPv6 forwarding and configure IPv6 addresses
Enable IPv6 forwarding and configure an IPv6 address and prefix length for each interface according
to
. The detailed configuration steps are omitted.
2.
Configure Router A
# Enable IPv6 multicast routing, enable IPv6 PIM-DM on each interface, and enable MLDv1 on
GigabitEthernet 1/0/1.
<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