IPv6 multicast BGP configuration example
Network requirements
As shown in
MBGP runs between the two ASs to exchange IPv6 unicast routes used for RPF check.
Enable Anycast RP on Switch A and Switch B.
Figure 87 Network diagram
AS 100
Loop0
Switch A
IPv6 PIM-SM 1
IPv6 MBGP peers
Table 22 Interface and IP address assignment
Device
Source
Switch A
Switch C
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
Figure
87, OSPFv3 runs within AS 100 and AS 200 to ensure intra-AS connectivity. IPv6
AS 200
Loop1
Vlan-int101
Vlan-int100
Source
Interface
IP address
-
1002::100/64
Vlan-int100
1002::1/64
Vlan-int101
1001::1/64
Loop0
1:1::1/128
Loop1
1:1::2/128
Vlan-int200
3002::1/64
Vlan-int102
2001::2/64
Vlan-int104
3001::1/64
Loop0
Loop1
Vlan-int101
Switch B
Vlan-int104
Vlan-int104
Switch D
IPv6 PIM-SM 2
Device
Interface
Switch B
Vlan-int101
Vlan-int102
Vlan-int103
Loop0
Loop1
Switch D
Vlan-int103
Vlan-int104
376
Receiver
Switch C
IP address
1001::2/64
2001::1/64
2002::1/64
1:1::1/128
2:2::2/128
2002::2/64
3001::2/64