R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide

103
After the area where Router C resides is configured as a stub area, a default route replaces the AS
external route.
# Configure the area as a totally stub area by filtering Type-3 LSAs out of the Stub area.
[RouterA] ospf
[RouterA-ospf-1] area 1
[RouterA-ospf-1-area-0.0.0.1] stub no-summary
[RouterA-ospf-1-area-0.0.0.1] quit
# Display OSPF routing information on Router C.
[RouterC] display ospf routing
OSPF Process 1 with Router ID 10.4.1.1
Routing Tables
Routing for Network
Destination Cost Type NextHop AdvRouter Area
0.0.0.0/0 4 Inter 10.2.1.1 10.2.1.1 0.0.0.1
10.2.1.0/24 3 Transit 10.2.1.2 10.4.1.1 0.0.0.1
10.4.1.0/24 3 Stub 10.4.1.1 10.4.1.1 0.0.0.1
Total Nets: 3
Intra Area: 2 Inter Area: 1 ASE: 0 NSSA: 0
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
1. Configure IP addresses for interfaces. (Details not shown.)