449
# On Switch D, enable IPv6 multicast routing, 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 the IPv6 PIM configuration information on Switch D.
[SwitchD] display pim ipv6 interface
VPN-Instance: public net
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 the IPv6 PIM neighboring relationships on Switch D.
[SwitchD] display pim ipv6 neighbor
VPN-Instance: public net
Total Number of Neighbors = 3
Neighbor Interface Uptime Expires Dr-Priority
FE80::A01:101:1 Vlan103 00:04:00 00:01:29 1
FE80::A01:101:2 Vlan101 00:04:16 00:01:29 3
FE80::A01:101:3 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
VPN-Instance: public net
Total 1 (*, G) entry; 1 (S, G) entry