322
# Enable IPv6 multicast routing, MLD and IPv6 PIM-DM on Switch B and Switch C in the same way.
(Details not shown.)
# Enable IPv6 multicast routing on Switch D, and enable IPv6 PIM-DM on each interface.
<SwitchD> system-view
[SwitchD] multicast ipv6 routing-enable
[SwitchD] interface vlan-interface 300
[SwitchD-Vlan-interface300] pim ipv6 dm
[SwitchD-Vlan-interface300] quit
[SwitchD] interface vlan-interface 103
[SwitchD-Vlan-interface103] pim ipv6 dm
[SwitchD-Vlan-interface103] quit
[SwitchD] interface vlan-interface 101
[SwitchD-Vlan-interface101] pim ipv6 dm
[SwitchD-Vlan-interface101] quit
[SwitchD] interface vlan-interface 102
[SwitchD-Vlan-interface102] pim ipv6 dm
[SwitchD-Vlan-interface102] quit
Verifying the configuration
# Display IPv6 PIM information on Switch D.
[SwitchD] display pim ipv6 interface
Interface NbrCnt HelloInt DR-Pri DR-Address
Vlan300 0 30 1 4001::1
(local)
Vlan103 0 30 1 1002::2
(local)
Vlan101 1 30 1 2002::2
(local)
Vlan102 1 30 1 3001::2
(local)
# Display IPv6 PIM neighboring relationships on Switch D.
[SwitchD] display pim ipv6 neighbor
Total Number of Neighbors = 3
Neighbor Interface Uptime Expires Dr-Priority
1002::1 Vlan103 00:04:00 00:01:29 1
2002::1 Vlan101 00:04:16 00:01:29 3
3001::1 Vlan102 00:03:54 00:01:17 5
Assume that Host A needs to receive the information addressed to IPv6 multicast group G FF0E::101.
After IPv6 multicast source S 4001::100/64 sends IPv6 multicast packets to the IPv6 multicast group G,
an SPT is established through traffic flooding. Switches on the SPT path (Switch A and Switch D) have
their (S, G) entries. Host A sends an MLD report to Switch A to join IPv6 multicast group G, and a (*, G)
entry is generated on Switch A. You can use the display pim IPv6 routing-table command to view the
IPv6 PIM routing table information on each switch. For example:
# Display IPv6 PIM multicast routing table information on Switch A.
[SwitchA] display pim ipv6 routing-table
Total 1 (*, G) entry; 1 (S, G) entry