R3721-F3210-F3171-HP High-End Firewalls Network Management Configuration Guide-6PW101

Table Of Contents
462
[FirewallB-ospf-1-area-0.0.0.0] quit
[FirewallB-ospf-1] quit
# Configure Firewall C.
<FirewallC> system-view
[FirewallC] ospf 1
[FirewallC-ospf-1] import-route direct
[FirewallC-ospf-1] area 0
[FirewallC-ospf-1-area-0.0.0.0] network 9.1.1.0 0.0.0.255
[FirewallC-ospf-1-area-0.0.0.0] quit
[FirewallC-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
Firewall A, so that Firewall B can obtain the route to 8.1.1.0/24.
# Configure Firewall A.
<FirewallA> system-view
[FirewallA] bgp 65008
[FirewallA-bgp] router-id 1.1.1.1
[FirewallA-bgp] peer 3.1.1.1 as-number 65009
[FirewallA-bgp] network 8.1.1.0 24
[FirewallA-bgp] quit
# Configure Firewall B.
[FirewallB] bgp 65009
[FirewallB-bgp] router-id 2.2.2.2
[FirewallB-bgp] peer 3.1.1.2 as-number 65008
4. Configure BGP and IGP synchronization:
{ Configure BGP to redistribute routes from OSPF on Firewall B, so that Firewall A can obtain the
route to 9.1.2.0/24.
{ Configure OSPF to redistribute routes from BGP on Firewall B, so that Firewall C can obtain the
ro u t e t o 8 .1.1.0 / 24 .
# Configure BGP to redistribute routes from OSPF on Firewall B.
[FirewallB-bgp] import-route ospf 1
[FirewallB-bgp] quit
[FirewallB] ospf 1
[FirewallB-ospf-1] import-route bgp
[FirewallB-ospf-1] quit
# Display the BGP routing table on Firewall A.
[FirewallA] 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