315
Device Interface
IPv6 address
Switch C VLAN-interface 200 2001::2/64
Switch C VLAN-interface 104 192.168.3.1/24
Switch D VLAN-interface 300 4001::1/64
Switch D VLAN-interface 101 1002::2/64
Switch D VLAN-interface 105 4002::1/64
Switch E VLAN-interface 104 3001::2/64
Switch E VLAN-interface 103 2002::2/64
Switch E VLAN-interface 102 1003::2/64
Switch E VLAN-interface 105 192.168.4.1/24
Configuration procedure
1. Assign an IPv6 address and prefix length to each interface according to Figure 99. (Details not
shown.)
2. Enable OSPFv3 on all switches on the IPv6 PIM-SM network to meet the following requirements:
(Details not shown.)
{ The switches are interoperable at the network layer.
{ The switches can dynamically update their routing information.
3. Enable IPv6 multicast routing, MLD, and IPv6 PIM-SM:
# On Switch A, enable IPv6 multicast routing.
<SwitchA> system-view
[SwitchA] ipv6 multicast routing
[SwitchA-mrib6] quit
# Enable MLD on VLAN-interface 100 (the interface that connects to the stub network).
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] mld enable
[SwitchA-Vlan-interface100] quit
# Enable IPv6 PIM-SM on the other interfaces.
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] ipv6 pim sm
[SwitchA-Vlan-interface101] quit
[SwitchA] interface vlan-interface 102
[SwitchA-Vlan-interface102] ipv6 pim sm
[SwitchA-Vlan-interface102] quit
# Enable IPv6 multicast routing, MLD, and IPv6 PIM-SM on Switch B and Switch C in the same way
Switch A is configured. (Details not shown.)
# Enable IPv6 multicast routing and IPv6 PIM-SM on Switch D and Switch E in the same way Switch
A is configured. (Details not shown.)
4. Configure C-BSRs, C-RPs, and the static RP:
# On Switch E, configure the service scope of RP advertisements.
<SwitchE> system-view
[SwitchE] acl ipv6 number 2005