376
Figure 99 Network diagram for IPv6 PIM-DM configuration
Ethernet
EthernetEthernet
N1N2
Vlan-
int10
2
Vlan-i
nt
102
Vl
a
n-
i
nt1
03
Vl
an-i
nt
103
Device Interface IP address Device Interface IP address
Switch A Vlan-int100 1001::1/64 Switch D Vlan-int300 4001::1/64
Vlan-int103 1002::1/64 Vlan-int103 1002::2/64
Switch B Vlan-int200 2001::1/64 Vlan-int101 2002::2/64
Vlan-int101 2002::1/64 Vlan-int102 3001::2/64
Switch C Vlan-int200 2001::2
64
Vlan-int102 3001::1/64
Configuration procedure
1. Enable IPv6 forwarding, and configure IPv6 addresses and IPv6 unicast routing.
Enable IPv6 forwarding on each switch, and configure the IPv6 address and prefix length for each
interface according to Figure 99 (details not shown).
Configure OSPFv3 on the switches in the IPv6 PIM-DM domain to ensure network-layer reachability
among them (details not shown).
2. Enable IPv6 multicast routing, and enable IPv6 PIM-DM and MLD.
# Enable IPv6 multicast routing on Switch A, enable IPv6 PIM-DM on each interface, and enable MLD on
VLAN-interface 100, which connects Switch A to N1.
<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