309
[RouterB-bgp] peer 101::1 as-number 200
[RouterB-bgp] address-family ipv6
[RouterB-bgp-ipv6] peer 100::1 enable
[RouterB-bgp-ipv6] peer 101::1 enable
[RouterB-bgp-ipv6] peer 101::1 next-hop-local
[RouterB-bgp-ipv6] network 100:: 96
[RouterB-bgp-ipv6] network 101:: 96
[RouterB-bgp-ipv6] quit
[RouterB-bgp] quit
# Configure Router C.
<RouterC> system-view
[RouterC] bgp 200
[RouterC-bgp] router-id 3.3.3.3
[RouterC-bgp] peer 101::2 as-number 200
[RouterC-bgp] peer 102::2 as-number 200
[RouterC-bgp] address-family ipv6
[RouterC-bgp-ipv6] peer 101::2 enable
[RouterC-bgp-ipv6] peer 102::2 enable
[RouterC-bgp-ipv6] network 101:: 96
[RouterC-bgp-ipv6] network 102:: 96
# Configure Router D.
<RouterD> system-view
[RouterD] bgp 200
[RouterD-bgp] router-id 4.4.4.4
[RouterD-bgp] peer 102::1 as-number 200
[RouterD-bgp] address-family ipv6
[RouterD-bgp-ipv6] peer 102::1 enable
[RouterD-bgp-ipv6] network 102:: 96
3.
Configure Router C as a route reflector, and configure Router B and Router D as its clients.
[RouterC-bgp-ipv6] peer 101::2 reflect-client
[RouterC-bgp-ipv6] peer 102::2 reflect-client
[RouterC-bgp-ipv6] quit
[RouterC-bgp] quit
Verifying the configuration
# Execute the
display bgp routing-table ipv6
command on Router D.
[RouterD] display bgp routing-table ipv6
Total number of routes: 5
BGP local router ID is 4.4.4.4
Status codes: * - valid, > - best, d - dampened, h - history,
s - suppressed, S - stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
* >i Network : 1:: PrefixLen : 64
NextHop : 101::2 LocPrf : 100
PrefVal : 0 OutLabel : NULL