99
Figure 31
Network diagram
Configuration procedure
1.
Enable IPv6 forwarding on each device, and configure the IPv6 address and address prefix for
each interface as per
. (Details not shown.)
2.
On Router A, enable IPv6 multicast routing, enable IPv6 PIM-DM on each interface, and enable
MLD on the host-side interface Ethernet 1/0/2.
<RouterA> system-view
[RouterA] multicast ipv6 routing-enable
[RouterA] interface ethernet 1/0/1
[RouterA-Ethernet1/0/1] ipv6 pim dm
[RouterA-Ethernet1/0/1] quit
[RouterA] interface ethernet 1/0/2
[RouterA-Ethernet1/0/2] ipv6 pim dm
[RouterA-Ethernet1/0/2] mld enable
3.
Configure Switch A:
# Enable MLD snooping globally.
<SwitchA> system-view
[SwitchA] mld-snooping
[SwitchA-mld-snooping] quit
# Create VLAN 10, assign Ethernet 1/0/1 to VLAN 10, and enable MLD snooping in this VLAN.
[SwitchA] vlan 10
[SwitchA-vlan10] port ethernet 1/0/1
[SwitchA-vlan10] mld-snooping enable
[SwitchA-vlan10] quit
# Create VLAN 2 and enable MLD snooping in the VLAN.
[SwitchA] vlan 2
[SwitchA-vlan2] mld-snooping enable
[SwitchA-vlan2] quit
The configuration for VLAN 3 and VLAN 4 is similar. (Details not shown.)