EasyManua.ls Logo

HP 5500 EI series - Page 264

HP 5500 EI series
424 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
253
Figure 63 Network diagram
Configuration considerations
Configure BGP to redistribute routes from OSPF on Router B, so Router A can obtain the route to
9.1.2.0/24. Configure OSPF to redistribute routes from BGP on Router B, so that Router C can obtain the
ro u t e t o 8 .1.1.0 / 24 .
Configuration procedure
1. Configure IP addresses for interfaces. (Details not shown.)
2. Configure OSPF:
Enable OSPF in AS 65009, so Router B can obtain the route to 9.1.2.0/24.
# Configure Router B.
<RouterB> system-view
[RouterB] ospf 1
[RouterB-ospf-1] area 0
[RouterB-ospf-1-area-0.0.0.0] network 2.2.2.2 0.0.0.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
# Configure Router C.
<RouterC> system-view
[RouterC] ospf 1
[RouterC-ospf-1] import-route direct
[RouterC-ospf-1] area 0
[RouterC-ospf-1-area-0.0.0.0] network 9.1.1.0 0.0.0.255
[RouterC-ospf-1-area-0.0.0.0] quit
[RouterC-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 Router B 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] address-family ipv4 unicast
[RouterA-bgp-ipv4] peer 3.1.1.1 enable
[RouterA-bgp-ipv4] network 8.1.1.0 24
[RouterA-bgp-ipv4] quit
[RouterA-bgp] quit
Router A
AS 65008
Eth1/1
3.1.1.1/24
Router CRouter B
AS 65009
Eth1/1
8.1.1.1/24
Eth1/2
3.1.1.2/24
Eth1/2
9.1.1.1/24
Eth1/1
9.1.1.2/24
Loop0
1.1.1.1/32
Loop0
2.2.2.2/32
Loop0
3.3.3.3/32
EBGP OSPF
Eth1/2
9.1.2.1/24

Table of Contents

Other manuals for HP 5500 EI series

Related product manuals