[SwitchC-ospf-1] quit
# Display OSPF routing information on Switch C
[SwitchC] display ospf routing
Routing for Network
Destination
0.0.0.0/0
10.2.1.0/24
10.3.1.0/24
10.4.1.0/24
10.5.1.0/24
10.1.1.0/24
Total Nets: 6
Intra Area: 2
The output shows that when Switch C resides in the stub area, a default route takes the place of the
external route.
# Filter Type-3 LSAs out the stub area
[SwitchA] ospf
[SwitchA-ospf-1] area 1
[SwitchA-ospf-1-area-0.0.0.1] stub no-summary
[SwitchA-ospf-1-area-0.0.0.1] quit
# Display OSPF routing information on Switch C.
[SwitchC] display ospf routing
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
After this configuration, routing entries on the stub router are further reduced, containing only one
default external route.
Configuring an OSPF NSSA area
Network requirements
Figure 42
shows an AS is split into three areas, where all switches run OSPF. Switch A and Switch B act
as ABRs to forward routing information between areas.
OSPF Process 1 with Router ID 10.4.1.1
Routing Tables
Cost
4
3
7
3
17
5
Inter Area: 4
OSPF Process 1 with Router ID 10.4.1.1
Routing Tables
Cost
4
3
3
Inter Area: 1
Type
NextHop
Inter
10.2.1.1
Transit 10.2.1.2
Inter
10.2.1.1
Stub
10.4.1.1
Inter
10.2.1.1
Inter
10.2.1.1
ASE: 0
NSSA: 0
Type
NextHop
Inter
10.2.1.1
Transit 10.2.1.2
Stub
10.4.1.1
ASE: 0
NSSA: 0
107
AdvRouter
Area
10.2.1.1
0.0.0.1
10.2.1.1
0.0.0.1
10.2.1.1
0.0.0.1
10.4.1.1
0.0.0.1
10.2.1.1
0.0.0.1
10.2.1.1
0.0.0.1
AdvRouter
Area
10.2.1.1
0.0.0.1
10.4.1.1
0.0.0.1
10.4.1.1
0.0.0.1