290
Figure 68
Network diagram
Table 12
Interface and IP address assignment
Device Interface
IP
address
Device
Interface IP
address
Router A
GE1/0
10.1.2.1/24
Router D
GE1/0
10.1.5.1/24
GE2/0
10.1.3.1/24
GE2/0
10.1.3.2/24
GE3/0
10.1.4.1/24
Router
E
GE1/0
10.1.5.2/24
GE4/0
200.1.1.1/24
GE2/0
10.1.4.2/24
GE5/0
10.1.1.1/24
Router
F
GE1/0
9.1.1.1/24
Router B
GE1/0
10.1.1.2/24
GE2/0
200.1.1.2/24
Router
C
GE1/0
10.1.2.2/24
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown.)
2.
Configure the BGP confederation:
# Configure Router A.
<RouterA> system-view
[RouterA] bgp 65001
[RouterA-bgp] router-id 1.1.1.1
[RouterA-bgp] confederation id 200
[RouterA-bgp] confederation peer-as 65002 65003
[RouterA-bgp] peer 10.1.1.2 as-number 65002
[RouterA-bgp] peer 10.1.2.2 as-number 65003
[RouterA-bgp] address-family ipv4 unicast
[RouterA-bgp-ipv4] peer 10.1.1.2 enable
[RouterA-bgp-ipv4] peer 10.1.2.2 enable
[RouterA-bgp-ipv4] peer 10.1.1.2 next-hop-local
[RouterA-bgp-ipv4] peer 10.1.2.2 next-hop-local
[RouterA-bgp-ipv4] quit
[RouterA-bgp] quit
# Configure Router B.