R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101

367
Figure 187 Network diagram for BGP confederation configuration
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 Firewall GE0/0 10.1.5.2/24
Eth1/3 10.1.4.1/24
GE0/1 10.1.4.2/24
Eth1/4 10.1.1.1/24
Router E
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 (omitted).
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 E
Router A
Router D
Firewall
AS 200
AS 100
Eth 1/1
Router B
Router C
AS 65002
AS 65003
S2/0
S2/1
Eth1/4
Eth1/1
Eth 1/1
Eth1/1
Eth1/2
Eth 1/2
GE 0/1
Eth1/3
GE0 /0
Eth1/1
AS 65001