291
<RouterB> system-view
[RouterB] bgp 65002
[RouterB-bgp] router-id 2.2.2.2
[RouterB-bgp] confederation id 200
[RouterB-bgp] confederation peer-as 65001 65003
[RouterB-bgp] peer 10.1.1.1 as-number 65001
[RouterB-bgp] address-family ipv4 unicast
[RouterB-bgp-ipv4] peer 10.1.1.1 enable
[RouterB-bgp-ipv4] quit
[RouterB-bgp] quit
# Configure Router C.
<RouterC> system-view
[RouterC] bgp 65003
[RouterC-bgp] router-id 3.3.3.3
[RouterC-bgp] confederation id 200
[RouterC-bgp] confederation peer-as 65001 65002
[RouterC-bgp] peer 10.1.2.1 as-number 65001
[RouterC-bgp] address-family ipv4 unicast
[RouterC-bgp-ipv4] peer 10.1.2.1 enable
[RouterC-bgp-ipv4] quit
[RouterC-bgp] quit
3.
Configure IBGP connections in AS65001:
# Configure Router A.
[RouterA] bgp 65001
[RouterA-bgp] peer 10.1.3.2 as-number 65001
[RouterA-bgp] peer 10.1.4.2 as-number 65001
[RouterA-bgp] address-family ipv4 unicast
[RouterA-bgp-ipv4] peer 10.1.3.2 enable
[RouterA-bgp-ipv4] peer 10.1.4.2 enable
[RouterA-bgp-ipv4] peer 10.1.3.2 next-hop-local
[RouterA-bgp-ipv4] peer 10.1.4.2 next-hop-local
[RouterA-bgp-ipv4] quit
[RouterA-bgp] quit
# Configure Router D.
<RouterD> system-view
[RouterD] bgp 65001
[RouterD-bgp] router-id 4.4.4.4
[RouterD-bgp] confederation id 200
[RouterD-bgp] peer 10.1.3.1 as-number 65001
[RouterD-bgp] peer 10.1.5.2 as-number 65001
[RouterD-bgp] address-family ipv4 unicast
[RouterD-bgp-ipv4] peer 10.1.3.1 enable
[RouterD-bgp-ipv4] peer 10.1.5.2 enable
[RouterD-bgp-ipv4] quit
[RouterD-bgp] quit
# Configure Router E.
<RouterE> system-view