106
•
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.)
2.
Enable OSPF (see "
Basic OSPF configuration example
").
3.
Configure Area 1 as an NSSA area:
# 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
[RouterC-ospf-1] area 1
[RouterC-ospf-1-area-0.0.0.1] nssa
[RouterC-ospf-1-area-0.0.0.1] quit
[RouterC-ospf-1] quit
NOTE:
•
To allow Router C in the NSSA area to reach other areas within the AS, you must provide the
keyword
default-route-advertise
for the
nssa
command on Router A (the ABR) so that Router C can
obtain a default route.
•
Configuring the
nssa
command with the keyword
no-summary
on Router A can reduce the routing
table size on NSSA routers. On other NSSA routers, you only need to configure the
nssa
command.
# Display routing information on Router C.
[RouterC] display ospf routing
OSPF Process 1 with Router ID 10.4.1.1
Routing Tables
Routing for Network