426
Switch C
Vlan-int102
2002::2/64
Receiver 1
—
2001::2/64
Switch C
Vlan-int103
3001::1/64
Receiver 2
—
4001::2/64
Switch C
Loop0
6001::1/128
Configuration procedure
1.
Assign an IPv6 address and prefix length to each interface, as shown in
. (Details not
shown.)
2.
Configure OSPFv3 on the switches in the IPv6 BIDIR-PIM domain. (Details not shown.)
3.
Enable IPv6 multicast routing, IPv6 PIM-SM, IPv6 BIDIR-PIM, and MLD:
# On Switch A, enable IPv6 multicast routing, enable IPv6 PIM-SM on each interface, and
enable IPv6 BIDIR-PIM.
<SwitchA> system-view
[SwitchA] ipv6 multicast routing
[SwitchA-mrib6] quit
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] ipv6 pim sm
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] ipv6 pim sm
[SwitchA-Vlan-interface101] quit
[SwitchA] ipv6 pim
[SwitchA-pim6] bidir-pim enable
[SwitchA-pim6] quit
# On Switch B, enable IPv6 multicast routing.
<SwitchB> system-view
[SwitchB] ipv6 multicast routing
[SwitchB-mrib6] quit
# Enable MLD on the receiver-side interface (VLAN-interface 200).
[SwitchB] interface vlan-interface 200
[SwitchB-Vlan-interface200] mld enable
[SwitchB-Vlan-interface200] quit
# Enable IPv6 PIM-SM on the other interfaces.
[SwitchB] interface vlan-interface 101
[SwitchB-Vlan-interface101] ipv6 pim sm
[SwitchB-Vlan-interface101] quit
[SwitchB] interface vlan-interface 102
[SwitchB-Vlan-interface102] ipv6 pim sm
[SwitchB-Vlan-interface102] quit
# Enable IPv6 BIDIR-PIM.
[SwitchB] ipv6 pim
[SwitchB-pim6] bidir-pim enable
[SwitchB-pim6] quit
# On Switch C, enable IPv6 multicast routing, enable IPv6 PIM-SM on each interface, and
enable IPv6 BIDIR-PIM.
<SwitchC> system-view
[SwitchC] ipv6 multicast routing
[SwitchC-mrib6] quit