448
Figure 129 Network diagram
Device
Interface
IPv6 address
Device
Interface
IPv6 address
Switch A
VLAN-interface 100
1001::1/64
Switch
D
VLAN-interface 300
4001::1/64
VLAN-interface
103
1002::1/64
VLAN-interface
103
1002::2/64
Switch B
VLAN-interface 200
2001::1/64
VLAN-interface
101
2002::2/64
VLAN-interface
101
2002::1/64
VLAN-interface
102
3001::2/64
Switch C VLAN-interface 200
2001::2/64
VLAN-interface
102
3001::1/64
Configuration procedure
1.
Enable IPv6 forwarding on each switch and assign an IPv6 address and prefix length to each
interface according to
. (Details not shown.)
2.
Configure OSPFv3 on the switches in the IPv6 PIM-DM domain to make sure the switches are
interoperable at the network layer. (Details not shown.)
3.
Enable IPv6 multicast routing, MLD and IPv6 PIM-DM:
# On Switch A, enable IPv6 multicast routing, enable MLD on VLAN-interface 100, and enable
IPv6 PIM-DM on each interface.
<SwitchA> system-view
[SwitchA] multicast ipv6 routing-enable
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] mld enable
[SwitchA-Vlan-interface100] pim ipv6 dm
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 103
[SwitchA-Vlan-interface103] pim ipv6 dm
[SwitchA-Vlan-interface103] quit
# Enable IPv6 multicast routing, MLD and IPv6 PIM-DM on Switch B and Switch C in the same
way. (Details not shown.)