306
[RouterB-bgp] address-family ipv6
[RouterB-bgp-ipv6] peer 10::2 enable
4.
Inject network routes to the BGP routing table:
# Configure Router A.
[RouterA-bgp-ipv6] network 10:: 64
[RouterA-bgp-ipv6] network 50:: 64
[RouterA-bgp-ipv6] quit
[RouterA-bgp] quit
# Configure Router B.
[RouterB-bgp-ipv6] network 10:: 64
[RouterB-bgp-ipv6] network 9:: 64
[RouterB-bgp-ipv6] quit
[RouterB-bgp] quit
# Configure Router C.
[RouterC-bgp-ipv6] network 9:: 64
[RouterC-bgp-ipv6] quit
[RouterC-bgp] quit
Verifying the configuration
# Display IPv6 BGP peer information on Router B.
[RouterB] display bgp peer ipv6
BGP local router ID: 2.2.2.2
Local AS number: 65009
Total number of peers: 2 Peers in established state: 2
Peer AS MsgRcvd MsgSent OutQ PrefRcv Up/Down State
9::2 65009 41 43 0 1 00:29:00 Established
10::2 65008 38 38 0 2 00:27:20 Established
The output shows that Router A and Router B have established an EBGP connection, and Router B and
Router C have established an IBGP connection.
# Display IPv6 BGP routing table information on Router A.
[RouterA] display bgp routing-table ipv6
Total number of routes: 4
BGP local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - dampened, h - history,
s - suppressed, S - stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
* >e Network : 9:: PrefixLen : 64
NextHop : 10::1 LocPrf :
PrefVal : 0 OutLabel : NULL
MED : 0