107
OSPF NSSA area configuration example
Network requirements
• Configure OSPF on all switches and split AS into three areas.
• Configure Switch A and Switch B as ABRs to forward routing information between areas.
• Configure Area 1 as an NSSA area and configure Switch C as an ASBR to redistribute static routes
into the AS.
Figure 26 Network diagram
Configuration procedure
1. Configure IP addresses for interfaces.
2. Enable OSPF (see "Basic OSPF configuration example")
.
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.1] 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