Example: Configuring MLD proxying
Network configuration
As shown in Figure 105:
IPv6 PIM-DM runs on the core network.
Host A and Host C on the stub network receive VOD information destined to IPv6 multicast group FF3E::101.
Configure the MLD proxying feature on Switch B so that Switch B can maintain group memberships and forward IPv6 multicast traffic without running IPv6 PIM-DM.
Figure 105: Network diagram
Procedure
Assign an IPv6 address and prefix length to each interface, as shown in Figure 105. (Details not shown.)
Enable IPv6 multicast routing, IPv6 PIM-DM, MLD, and MLD proxying:
# On Switch A, enable IPv6 multicast routing.
<SwitchA> system-view [SwitchA] ipv6 multicast routing [SwitchA-mrib6] quit
# Enable IPv6 PIM-DM on VLAN-interface 101.
[SwitchA] interface vlan-interface 101 [SwitchA-Vlan-interface101] ipv6 pim dm [SwitchA-Vlan-interface101] quit
# Enable MLD on VLAN-interface 100.
[SwitchA] interface vlan-interface 100 [SwitchA-Vlan-interface100] mld enable [SwitchA-Vlan-interface100] quit
# On Switch B, enable IPv6 multicast routing.
<SwitchB> system-view [SwitchB] multicast ipv6 routing-enable [SwitchB-mrib6] quit
# Enable MLD proxying on VLAN-interface 100.
[SwitchB] interface vlan-interface 100 [SwitchB-Vlan-interface100] mld proxying enable [SwitchB-Vlan-interface100] quit
# Enable MLD on VLAN-interface 200.
[SwitchB] interface vlan-interface 200 [SwitchB-Vlan-interface200] mld enable [SwitchB-Vlan-interface200] quit
Verifying the configuration
# Display IPv6 multicast group membership information maintained by the MLD proxy on Switch B.
[SwitchB] display mld proxy group MLD proxy group records in total: 1 Vlan-interface100(FE80::16:1): MLD proxy group records in total: 1 Group address: FF1E::1 Member state: Delay Expires: 00:00:02