466
Figure 110 Network diagram
Device Interface IP address
Device
Interface
IP address
Source N/A 1002::100/64 Switch C Vlan-int200 3002::1/64
Switch A Vlan-int100 1002::1/64
Vlan-int102 2001::2
64
Vlan-int101 1001::1/64
Vlan-int104 3001::1
64
Switch B Vlan-int101 1001::2/64 Switch D Vlan-int103 2002::2/64
Vlan-int102 2001::1
64
Vlan-int104 3001::2
64
Vlan-int103 2002::1
64
Configuration procedure
1. Enable IPv6 and configure IPv6 addresses for interfaces. (Details not shown.)
2. Configure OSPFv3. (Details not shown.)
3. Enable IPv6 multicast routing, IPv6 PIM-SM and MLD, and configure an IPv6 PIM-SM domain
border:
# Enable IPv6 multicast routing on Switch A, and enable IPv6 PIM-SM on each interface.
<SwitchA> system-view
[SwitchA] multicast ipv6 routing-enable
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] pim ipv6 sm
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] pim ipv6 sm
[SwitchA-Vlan-interface101] quit
The configuration on Switch B and Switch D is similar to the configuration on Switch A.
# Enable IPv6 multicast routing on Switch C, enable IPv6 PIM-SM on each interface, and enable
MLD on the host-side interface VLAN-interface 200.
<SwitchC> system-view
[SwitchC] multicast ipv6 routing-enable
[SwitchC] interface vlan-interface 102
[SwitchC-Vlan-interface102] pim ipv6 sm
V
l
a
n
-
i
n
t
1
0
2
V
l
a
n
-
i
n
t
1
0
3
V
l
a
n
-i
n
t
1
0
3
V
l
a
n
-
i
n
t
1
0
2
V
l
a
n
-
i
n
t
2
0
0