427
[SwitchC] interface vlan-interface 102
[SwitchC-Vlan-interface102] ipv6 pim sm
[SwitchC-Vlan-interface102] quit
[SwitchC] interface vlan-interface 103
[SwitchC-Vlan-interface103] ipv6 pim sm
[SwitchC-Vlan-interface103] quit
[SwitchC] interface loopback 0
[SwitchC-LoopBack0] ipv6 pim sm
[SwitchC-LoopBack0] quit
[SwitchC] ipv6 pim
[SwitchC-pim6] bidir-pim enable
# On Switch D, enable IPv6 multicast routing.
<SwitchD> system-view
[SwitchD] ipv6 multicast routing
[SwitchD-mrib6] quit
# Enable MLD on the receiver-side interface (VLAN-interface 300).
[SwitchD] interface vlan-interface 300
[SwitchD-Vlan-interface300] mld enable
[SwitchD-Vlan-interface300] quit
# Enable IPv6 PIM-SM on the other interfaces.
[SwitchD] interface vlan-interface 400
[SwitchD-Vlan-interface400] ipv6 pim sm
[SwitchD-Vlan-interface400] quit
# Enable IPv6 BIDIR-PIM.
[SwitchD] interface vlan-interface 103
[SwitchD-Vlan-interface103] ipv6 pim sm
[SwitchD-Vlan-interface103] quit
[SwitchD] ipv6 pim
[SwitchD-pim6] bidir-pim enable
[SwitchD-pim6] quit
4.
On Switch C, configure VLAN interface 102 as a C-BSR, and loopback interface 0 as a C-RP for
the entire IPv6 BIDIR-PIM domain.
[SwitchC-pim6] c-bsr 2002::2
[SwitchC-pim6] c-rp 6001::1 bidir
[SwitchC-pim6] quit
Verifying the configuration
1.
Display IPv6 BIDIR-PIM DF information:
# Display IPv6 BIDIR-PIM DF information on Switch A.
[SwitchA] display ipv6 pim df-info
RP address: 6001::1
Interface State DF-Pref DF-Metric DF-Uptime DF-Address
Vlan100 Win 100 2 01:08:50 FE80::200:5EFF:
FE71:2800 (local)
Vlan101 Lose 100 1 01:07:49 FE80::20F:E2FF:
FE38:4E01
# Display IPv6 BIDIR-PIM DF information on Switch B.
[SwitchB] display ipv6 pim df-info