HP VPN Firewall Appliances Network Management Configuration Guide

513
[Firewall-ospf-1-area-0.0.0.0] network 2.2.2.2 0.0.0.0
[Firewall-ospf-1-area-0.0.0.0] network 9.1.1.0 0.0.0.255
[Firewall-ospf-1-area-0.0.0.0] quit
[Firewall-ospf-1] quit
# Configure Router B.
<RouterB> system-view
[RouterB] ospf 1
[RouterB-ospf-1] import-route direct
[RouterB-ospf-1] area 0
[RouterB-ospf-1-area-0.0.0.0] network 9.1.1.0 0.0.0.255
[RouterB-ospf-1-area-0.0.0.0] quit
[RouterB-ospf-1] quit
3. Configure the EBGP connection:
Configure the EBGP connection and inject network 8.1.1.0/24 to the BGP routing table of Router
A, so Firewall can obtain the route to 8.1.1.0/24.
# Configure Router A.
<RouterA> system-view
[RouterA] bgp 65008
[RouterA-bgp] router-id 1.1.1.1
[RouterA-bgp] peer 3.1.1.1 as-number 65009
[RouterA-bgp] network 8.1.1.0 24
[RouterA-bgp] quit
# Configure Firewall.
[Firewall] bgp 65009
[Firewall-bgp] router-id 2.2.2.2
[Firewall-bgp] peer 3.1.1.2 as-number 65008
4. Configure BGP and IGP synchronization:
# Configure BGP to redistribute routes from OSPF on Firewall.
[Firewall-bgp] import-route ospf 1
[Firewall-bgp] quit
[Firewall] ospf 1
[Firewall-ospf-1] import-route bgp
[Firewall-ospf-1] quit
# Display the BGP routing table on Router A.
[RouterA] display bgp routing-table
Total Number of Routes: 3
BGP Local router ID is 1.1.1.1
Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
*> 3.3.3.3/32 3.1.1.1 1 0 65009?
*> 8.1.1.0/24 0.0.0.0 0 0 i