Ospf Stub Area Configuration Example - HP HPE FlexNetwork 7500 series Configuration Manual

Table of Contents

Advertisement

11.2.1.0/24
11.2.1.0/32
11.2.1.2/32
11.2.1.255/32
127.0.0.0/8
127.0.0.0/32
127.0.0.1/32
127.255.255.255/32
224.0.0.0/4
224.0.0.0/24
255.255.255.255/32
The output shows that routes 10.1.1.0/24, 10.2.1.0/24, 10.3.1.0/24 and 10.4.1.0/24 are
summarized into a single route 10.0.0.0/8.

OSPF stub area configuration example

Network requirements
As shown in
Enable OSPF on all switches, and split the AS into three areas.
Configure Switch A and Switch B as ABRs to forward routing information between areas.
Configure Switch D as the ASBR to redistribute static routes.
Configure Area 1 as a stub area to reduce advertised LSAs without influencing reachability.
Figure 27 Network diagram
Switch A
Vlan-int200
10.2.1.1/24
Vlan-int200
Area 1
10.2.1.2/24
Stub
Switch C
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown.)
2.
Enable OSPF (see
3.
Configure route redistribution:
# Configure Switch D to redistribute static routes.
<SwitchD> system-view
[SwitchD] ip route-static 3.1.2.1 24 10.5.1.2
[SwitchD] ospf
[SwitchD-ospf-1] import-route static
[SwitchD-ospf-1] quit
# Display ABR/ASBR information on Switch C.
<SwitchC> display ospf abr-asbr
Direct 0
Direct 0
Direct 0
Direct 0
Direct 0
Direct 0
Direct 0
Direct 0
Direct 0
Direct 0
Direct 0
Figure
27:
Area 0
Vlan-int100
10.1.1.1/24
Vlan-int100
10.1.1.2/24
Vlan-int300
Vlan-int300
10.4.1.1/24
10.5.1.1/24
"Basic OSPF configuration
0
0
0
0
0
0
0
0
0
0
0
Switch B
Vlan-int200
10.3.1.1/24
Vlan-int200
Area 2
10.3.1.2/24
ASBR
Switch D
example").
112
11.2.1.2
Vlan100
11.2.1.2
Vlan100
127.0.0.1
InLoop0
11.2.1.2
Vlan100
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
0.0.0.0
NULL0
0.0.0.0
NULL0
127.0.0.1
InLoop0

Advertisement

Table of Contents
loading

Table of Contents