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
The following figure 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.
It is required to configure Area 1 as an NSSA area, and configure Router C as the ASBR to redistribute
static routes into the AS.
Figure 4-26 Network diagram for OSPF NSSA area configuration
Configuration procedure
1)
Configure IP addresses for interfaces.
2)
Configure OSPF basic functions (see
3)
Configure Area 1 as an NSSA area.
# Configure Switch A.
<SwitchA> system-view
[SwitchA] ospf
[SwitchA-ospf-1] area 1
[SwitchA-ospf-1-area-0.0.0.1] nssa default-route-advertise no-summary
[SwitchA-ospf-1-area-0.0.0.0] quit
[SwitchA-ospf-1] quit
# Configure Switch C.
<SwitchC> system-view
[SwitchC] ospf
[SwitchC-ospf-1] area 1
[SwitchC-ospf-1-area-0.0.0.1] nssa
[SwitchC-ospf-1-area-0.0.0.1] quit
[SwitchC-ospf-1] quit
Configuring OSPF Basic Functions
4-62
).