[RouterC-bgp] ipv6-family
[RouterC-bgp-af-ipv6] peer 101::2 as-number 200
[RouterC-bgp-af-ipv6] peer 102::2 as-number 200
# Configure Router D.
<RouterD> system-view
[RouterD] ipv6
[RouterD] bgp 200
[RouterD-bgp] router-id 4.4.4.4
[RouterD-bgp] ipv6-family
[RouterD-bgp-af-ipv6] peer 102::1 as-number 200
Configure route reflector:
3.
# Configure Router C as a route reflector, and configure Router B and Router D as its clients.
[RouterC-bgp-af-ipv6] peer 101::2 reflect-client
[RouterC-bgp-af-ipv6] peer 102::2 reflect-client
Verify the configuration:
4.
Execute the display bgp ipv6 routing-table command on Router B and Router D. Both have
learned the network 1::/64.
6PE configuration
Network requirements
As shown in the following figure:
•
Routers PE 1 and PE 2 support 6PE.
•
Routers CE 1 and CE 2 support IPv6.
•
Between the PE routers is the IPv4/MPLS network of an ISP. The two PEs establish an IPv4
IBGP connection in between, and the IGP used is OSPF.
•
The CEs reside in IPv6 networks. A CE and a PE exchange IPv6 packets through a static route
•
Connect the two IPv6 networks through the IPv4/MPLS network with the 6PE feature.
Figure 110 Network diagram
Configuration procedure
Configure CE 1:
1.
# Enable IPv6 packet forwarding.
379