HPE FlexNetwork HSR6800 Configuration Manual page 122

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

Advertisement

Figure 31 Network diagram
Configuration procedure
Configure IP addresses for interfaces. (Details not shown.)
1.
Configure OSPF basic functions (see
2.
Configure OSPF to redistribute routes:
3.
# On Router C, configure a static route destined for network 3.1.1.0/24.
<RouterC> system-view
[RouterC] ip route-static 3.1.1.0 24 10.4.1.2
# On Router C, configure a static route destined for network 3.1.2.0/24.
[RouterC] ip route-static 3.1.2.0 24 10.4.1.2
# On Router C, configure a static route destined for network 3.1.3.0/24.
[RouterC] ip route-static 3.1.3.0 24 10.4.1.2
# Configure OSPF to redistribute static routes on Router C.
[RouterC] ospf 1
[RouterC-ospf-1] import-route static
[RouterC-ospf-1] quit
# Display the OSPF routing table of Router A.
<RouterA> display ip routing-table
Routing Tables: Public
Destination/Mask
3.1.1.0/24
3.1.2.0/24
3.1.3.0/24
10.1.1.0/24
10.1.1.1/32
10.2.1.0/24
10.2.1.1/32
10.3.1.0/24
10.4.1.0/24
10.5.1.0/24
127.0.0.0/8
127.0.0.1/32
Configure Router C to filter out the route 3.1.3.0/24:
4.
Destinations : 12
Proto
Pre
O_ASE
150
O_ASE
150
O_ASE
150
Direct 0
Direct 0
Direct 0
Direct 0
OSPF
10
OSPF
10
OSPF
10
Direct 0
Direct 0
"Configuring OSPF basic
Routes : 12
Cost
NextHop
1
10.2.1.2
1
10.2.1.2
1
10.2.1.2
0
10.1.1.1
0
127.0.0.1
0
10.2.1.1
0
127.0.0.1
4
10.1.1.2
13
10.2.1.2
14
10.1.1.2
0
127.0.0.1
0
127.0.0.1
110
functions").
Interface
GE2/1/2
GE2/1/2
GE2/1/2
GE2/1/1
InLoop0
GE2/1/2
InLoop0
GE2/1/1
GE2/1/2
GE2/1/1
InLoop0
InLoop0

Advertisement

Table of Contents
loading

Table of Contents