366
Vlan-int104 3001::1/64
Configuration procedure
1. Configure IPv6 addresses for interfaces and configure OSPFv3 (this example uses OSPFv3
process 1) in AS 200 to ensure intra-AS connectivity. (Details not shown.)
2. Enable IPv6 multicast routing, IPv6 PIM-SM, and MLD, and configure BSR boundaries:
# On Switch A, enable IPv6 multicast routing globally, and enable IPv6 PIM-SM on interfaces.
<SwitchA> system-view
[SwitchA] ipv6 multicast routing
[SwitchA-mrib6] quit
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] ipv6 pim sm
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] ipv6 pim sm
[SwitchA-Vlan-interface101] quit
[SwitchA] interface loopback 0
[SwitchA-LoopBack0] ipv6 pim sm
[SwitchA-LoopBack0] quit
# Configure Switch B and Switch D in the same way that Switch A was configured.
# On Switch C, enable IPv6 multicast routing globally.
<SwitchC> system-view
[SwitchC] ipv6 multicast routing
[SwitchC-mrib6] quit
# Enable IPv6 PIM-SM on interfaces, and enable MLD on VLAN-interface 200.
[SwitchC] interface vlan-interface 102
[SwitchC-Vlan-interface102] ipv6 pim sm
[SwitchC-Vlan-interface102] quit
[SwitchC] interface vlan-interface 104
[SwitchC-Vlan-interface104] ipv6 pim sm
[SwitchC-Vlan-interface104] quit
[SwitchC] interface vlan-interface 200
[SwitchC-Vlan-interface200] ipv6 pim sm
[SwitchC-Vlan-interface200] mld enable
[SwitchC-Vlan-interface200] quit
# Configure the BSR boundary on Switch A.
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] ipv6 pim bsr-boundary
[SwitchA-Vlan-interface101] quit
# Configure the BSR boundary on Switch B.
[SwitchB] interface vlan-interface 101
[SwitchB-Vlan-interface101] ipv6 pim bsr-boundary
[SwitchB-Vlan-interface101] quit
3. Enable Anycast RP, and specify C-BSR and C-RP:
# Configure Switch A.
[SwitchA] ipv6 pim