308
* >i Network : 50:: PrefixLen : 64
NextHop : 10::2 LocPrf : 100
PrefVal : 0 OutLabel : NULL
MED : 0
Path/Ogn: 65008i
The output shows that Router C has learned the route 50::/64.
# Ping hosts on network 50::/64 on Router C. The ping operations succeed.
IPv6 BGP route reflector configuration example
Network requirements
As shown in
Figure 73
, run EBGP between Router A and Router B, run IBGP between Router C and Router
B, and between Router C and Router D. Router C is a route reflector with clients Router B and D.
Figure 73
Network diagram
Configuration procedure
1.
Configure IPv6 addresses for interfaces and IPv4 addresses for loopback interfaces. (Details not
shown.)
2.
Configure IBGP and EBGP connections and advertise network routes through IPv6 BGP:
# Configure Router A.
<RouterA> system-view
[RouterA] bgp 100
[RouterA-bgp] router-id 1.1.1.1
[RouterA-bgp] peer 100::2 as-number 200
[RouterA-bgp] address-family ipv6
[RouterA-bgp-ipv6] peer 100::2 enable
[RouterA-bgp-ipv6] network 1:: 64
[RouterA-bgp-ipv6] network 100:: 96
[RouterA-bgp-ipv6] quit
[RouterA-bgp] quit
# Configure Router B
<RouterB> system-view
[RouterB] bgp 200
[RouterB-bgp] router-id 2.2.2.2
[RouterB-bgp] peer 100::1 as-number 100