312
[RouterC-GigabitEthernet1/0/1] pim ipv6 sm
[RouterC-GigabitEthernet1/0/1] mld enable
[RouterC-GigabitEthernet1/0/1] quit
[RouterC] interface gigabitethernet 1/0/2
[RouterC-GigabitEthernet1/0/2] pim ipv6 sm
5. Configure Router D in the same way as you configure Router C. (Details not shown.)
6. Configure Switch A:
# Enable MLD snooping globally.
<SwitchA> system-view
[SwitchA] mld-snooping
[SwitchA-mld-snooping] quit
# Create VLAN 100, assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/4 to this VLAN,
and enable MLD snooping and IPv6 PIM snooping in the VLAN.
[SwitchA] vlan 100
[SwitchA-vlan100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/4
[SwitchA-vlan100] mld-snooping enable
[SwitchA-vlan100] pim-snooping ipv6 enable
[SwitchA-vlan100] quit
Verifying the configuration
# On Switch A, display the IPv6 PIM snooping neighbor information of VLAN 100.
[SwitchA] display pim-snooping ipv6 neighbor vlan 100
Total number of neighbors: 4
VLAN ID: 100
Total number of neighbors: 4
Neighbor Port Expires Option Flags
FE80::1 GE1/0/1 02:02:23 LAN Prune Delay
FE80::2 GE1/0/2 03:00:05 LAN Prune Delay
FE80::3 GE1/0/3 02:22:13 LAN Prune Delay
FE80::4 GE1/0/4 03:07:22 LAN Prune Delay
The output shows that Router A, Router B, Router C, and Router D are IPv6 PIM snooping neighbors.
# On Switch A, display the IPv6 PIM snooping routing information of VLAN 100.
[SwitchA] display pim-snooping ipv6 routing-table vlan 100 slot 1
Total 2 entry(ies)
FSM Flag: NI-no info, J-join, PP-prune pending
VLAN ID: 100
Total 2 entry(ies)
(*, FF1E::101)
Upstream neighbor: FE80::1
Upstream port: GE1/0/1
Total number of downstream ports: 1
1: GE1/0/3
Expires: 00:03:01, FSM: J
(*, FF2E::101)