312
# On Switch A, enable IPv6 multicast routing.
<SwitchA> system-view
[SwitchA] ipv6 multicast routing
[SwitchA-mrib6] quit
# Enable MLD on VLAN-interface 100 (the interface that connects to the stub network).
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] mld enable
[SwitchA-Vlan-interface100] quit
# Enable IPv6 PIM-DM on VLAN-interface 103.
[SwitchA] interface vlan-interface 103
[SwitchA-Vlan-interface103] ipv6 pim dm
[SwitchA-Vlan-interface103] quit
# Enable IPv6 multicast routing, MLD, and IPv6 PIM-DM on Switch B and Switch C in the same way
Switch A is configured. (Details not shown.)
# On Switch D, enable IPv6 multicast routing, and enable IPv6 PIM-DM on each interface.
<SwitchD> system-view
[SwitchD] ipv6 multicast routing
[SwitchD-mrib6] quit
[SwitchD] interface vlan-interface 300
[SwitchD-Vlan-interface300] ipv6 pim dm
[SwitchD-Vlan-interface300] quit
[SwitchD] interface vlan-interface 103
[SwitchD-Vlan-interface103] ipv6 pim dm
[SwitchD-Vlan-interface103] quit
[SwitchD] interface vlan-interface 101
[SwitchD-Vlan-interface101] ipv6 pim dm
[SwitchD-Vlan-interface101] quit
[SwitchD] interface vlan-interface 102
[SwitchD-Vlan-interface102] ipv6 pim dm
[SwitchD-Vlan-interface102] quit
Verifying the configuration
# Display IPv6 PIM information on Switch D.
[SwitchD] display ipv6 pim interface
Interface NbrCnt HelloInt DR-Pri DR-Address
Vlan300 0 30 1 FE80::A01:201:1
(local)
Vlan103 0 30 1 FE80::A01:201:2
(local)
Vlan101 1 30 1 FE80::A01:201:3
(local)
Vlan102 1 30 1 FE80::A01:201:4
(local)
# Display IPv6 PIM neighboring relationship on Switch D.
[SwitchD] display ipv6 pim neighbor
Total Number of Neighbors = 3