298
MLD snooping proxying configuration example
Network requirements
As shown in Figure 73, MLDv1 runs on Router A and MLDv1 snooping runs on Switch A. Router A acts
as the MLD querier.
Configure MLD snooping proxying on Switch A. This enables the switch to forward MLD reports and
done messages on behalf of the attached hosts and to respond to MLD queries from Router A and then
forward the queries to the hosts on behalf of Router A.
Figure 73 Network diagram
Configuration procedure
1. Configure an IP address and prefix length for each interface as per Figure 73. (Details not shown.)
2. On Router A, enable IPv6 multicast routing, enable IPv6 PIM-DM on each interface, and enable
MLD on port 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
[RouterA-GigabitEthernet1/0/2] pim ipv6 dm
[RouterA-GigabitEthernet1/0/2] quit
3. Configure Switch A:
# Enable MLD snooping globally.
<SwitchA> system-view
[SwitchA] mld-snooping