HP VPN Firewall Appliances Network Management Configuration Guide

521
Configuration procedure
1. Configure IP addresses for interfaces. (Details not shown.)
2. Configure EBGP connections:
# Configure Firewall.
<Firewall> system-view
[Firewall] bgp 10
[Firewall-bgp] router-id 1.1.1.1
[Firewall-bgp] peer 200.1.2.2 as-number 20
[Firewall-bgp] network 9.1.1.0 255.255.255.0
[Firewall-bgp] quit
# Configure Router B.
<RouterB> system-view
[RouterB] bgp 20
[RouterB-bgp] router-id 2.2.2.2
[RouterB-bgp] peer 200.1.2.1 as-number 10
[RouterB-bgp] peer 200.1.3.2 as-number 30
[RouterB-bgp] quit
# Configure Router A.
<RouterA> system-view
[RouterA] bgp 30
[RouterA-bgp] router-id 3.3.3.3
[RouterA-bgp] peer 200.1.3.1 as-number 20
[RouterA-bgp] quit
# Display BGP routing table information on Router B.
[RouterB] display bgp routing-table 9.1.1.0
BGP local router ID : 2.2.2.2
Local AS number : 20
Paths: 1 available, 1 best
BGP routing table entry information of 9.1.1.0/24:
From : 200.1.2.1 (1.1.1.1)
Original nexthop: 200.1.2.1
AS-path : 10
Origin : igp
Attribute value : MED 0, pref-val 0, pre 255
State : valid, external, best,
Advertised to such 1 peers:
200.1.3.2
Router B has advertised the route to Router A in AS 30.
# Display BGP routing table information on Router A.
[RouterA] display bgp routing-table
Total Number of Routes: 1
BGP Local router ID is 3.3.3.3