473
Figure 133 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
101
1002::1/64
VLAN-interface
101
1002::2/64
VLAN-interface
102
1003::1/64
VLAN-interface
105
4002::1/64
Switch B
VLAN-interface 200
2001::1/64
Switch E
VLAN-interface 104
3001::2/64
VLAN-interface
103
2002::1/64
VLAN-interface
103
2002::2/64
Switch C
VLAN-interface 200
2001::2/64
VLAN-interface
102
1003::2/64
VLAN-interface
104
3001::1/64
VLAN-interface
105
4002::2/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-SSM domain to make sure the switches are
interoperable at the network layer. (Details not shown.)
3.
Enable IPv6 multicast routing, MLD and IPv6 PIM-SM:
# Enable IPv6 multicast routing on Switch A, enable MLDv2 on VLAN-interface 100, and enable
IPv6 PIM-SM on each interface.
<SwitchA> system-view
[SwitchA] multicast ipv6 routing-enable
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] mld enable
[SwitchA-Vlan-interface100] mld version 2
[SwitchA-Vlan-interface100] pim ipv6 sm
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 101
Ethe
rnet
Ether
net
Eth
ernet
N1
N2
Vl
an-
int101
Vl
an-
int101