Configure Ospf - HPE FlexNetwork HSR6800 Configuration Manual

Layer 3-ip routing configuration guide
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

Figure 74 Network diagram
Loop0
1.1.1.1/32
GE2/1/1
8.1.1.1/24
Router A
Configuration procedure
Configure IP addresses for interfaces. (Details not shown.)
1.

Configure OSPF:

2.
Enable OSPF in AS 65009, so that 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
Configure the EBGP connection:
3.
Configure the EBGP connection and inject network 8.1.1.0/24 to the BGP routing table of
Router A, so that 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] network 8.1.1.0 24
[RouterA-bgp] quit
# Configure Router B.
[RouterB] bgp 65009
[RouterB-bgp] router-id 2.2.2.2
[RouterB-bgp] peer 3.1.1.2 as-number 65008
Configure BGP and IGP synchronization:
4.
Configure BGP to redistribute routes from OSPF on Router B, so Router A can obtain the route to
9.1.2.0/24.
AS 65009
AS 65008
2.2.2.2/32
EBGP
S2/2/1
S2/2/1
3.1.1.2/24
3.1.1.1/24
Router B
Loop0
OSPF
S2/2/0
S2/2/0
9.1.1.1/24
9.1.1.2/24
240
Loop0
3.3.3.3/32
GE2/1/1
9.1.2.1/24
Router C

Advertisement

Table of Contents
loading

Table of Contents