292
[RouterE] bgp 65001
[RouterE-bgp] router-id 5.5.5.5
[RouterE-bgp] confederation id 200
[RouterE-bgp] peer 10.1.4.1 as-number 65001
[RouterE-bgp] peer 10.1.5.1 as-number 65001
[RouterE-bgp] address-family ipv4 unicast
[RouterE-bgp-ipv4] peer 10.1.4.1 enable
[RouterE-bgp-ipv4] peer 10.1.5.1 enable
[RouterE-bgp-ipv4] quit
[RouterE-bgp] quit
4.
Configure the EBGP connection between AS 100 and AS 200:
# Configure Router A.
[RouterA] bgp 65001
[RouterA-bgp] peer 200.1.1.2 as-number 100
[RouterA-bgp] address-family ipv4 unicast
[RouterA-bgp-ipv4] peer 200.1.1.2 enable
[RouterA-bgp-ipv4] quit
[RouterA-bgp] quit
# Configure Router F.
<RouterF> system-view
[RouterF] bgp 100
[RouterF-bgp] router-id 6.6.6.6
[RouterF-bgp] peer 200.1.1.1 as-number 200
[RouterF-bgp] address-family ipv4 unicast
[RouterF-bgp-ipv4] peer 200.1.1.1 enable
[RouterF-bgp-ipv4] network 9.1.1.0 255.255.255.0
[RouterF-bgp-ipv4] quit
[RouterF-bgp] quit
Verifying the configuration
# Display the BGP routing table on Router B.
[RouterB] display bgp routing-table ipv4
Total number of routes: 1
BGP local router ID is 2.2.2.2
Status codes: * - valid, > - best, d - dampened, h - history,
s - suppressed, S - stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
* >i 9.1.1.0/24 10.1.1.1 0 100 0 (65001)
100i
[RouterB] display bgp routing-table ipv4 9.1.1.0
BGP local router ID: 2.2.2.2