Routing for Network
Destination
0.0.0.0/0
10.2.1.0/24
10.4.1.0/24
Total Nets: 3
Intra Area: 2
The output shows that inter-area routes are removed, and only one external route (a default
route) exists.
Configuring an OSPF NSSA area
Network requirements
•
Configure OSPF on all routers and split AS into three areas.
•
Configure Router A and Router B as ABRs to forward routing information between areas.
•
Configure Area 1 as an NSSA area and configure Router C as an ASBR to redistribute static
routes into the AS.
Figure 26 Network diagram
Configuration procedure
Configure IP addresses for interfaces. (Details not shown.)
1.
Configuring OSPF basic functions (see
2.
Configure Area 1 as an NSSA area:
3.
# Configure Router A.
<RouterA> system-view
[RouterA] ospf
[RouterA-ospf-1] area 1
[RouterA-ospf-1-area-0.0.0.1] nssa
[RouterA-ospf-1-area-0.0.0.1] quit
# Configure Router C.
<RouterC> system-view
[RouterC] ospf
OSPF Process 1 with Router ID 10.4.1.1
Routing Tables
Cost
4
Inter
3
Transit 10.2.1.2
3
Stub
Inter Area: 1
Type
NextHop
10.2.1.1
10.4.1.1
ASE: 0
NSSA: 0
"Configuring OSPF basic
98
AdvRouter
10.2.1.1
0.0.0.1
10.4.1.1
0.0.0.1
10.4.1.1
0.0.0.1
functions").
Area