R2511-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V5)

232
Figure 68 Network diagram
Device Interface IP address
Device
Interface IP address
Router A S2/1 200.1.1.1/24 Router D Eth1/1 10.1.5.1/24
Eth1/1 10.1.2.1/24
Eth1/2 10.1.3.2/24
Eth1/2 10.1.3.1/24
Router E
Eth1/1 10.1.5.2/24
Eth1/3 10.1.4.1/24 Eth1/2 10.1.4.2/24
Eth1/4 10.1.1.1/24
Router F
Eth1/1 9.1.1.1/24
Router B Eth1/1 10.1.1.2/24
S2/0
200.1.1.2/24
Router C Eth1/1 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.1.2 next-hop-local
[RouterA-bgp] peer 10.1.2.2 as-number 65003
[RouterA-bgp] peer 10.1.2.2 next-hop-local
[RouterA-bgp] quit
# Configure Router B.
<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] quit
# Configure Router C.
Router F
Router A
Router D
Router E
AS 200
AS 100
Eth1/1
Router B
Router C
AS 65002
AS 65003
S2/0
S2/1
Eth1/4
Eth1/1
Eth1/1
Eth1/1
Eth1/2
Eth1/2
Eth1/2
Eth1/3
Eth1/1
Eth1/1
AS 65001