Product guide

IP Routing Features
Configuring OSPF
Configuring a Stub or NSSA Area.
Syntax: area < ospf-area-id > stub < 0-16777215 > [no-summary]
area < ospf-area-id > < nssa > < 0-16777215 > [no-summary]
[metric-type < type1 | type2 >]
no area < ospf-area-id >
After using router ospf to globally enable OSPF and enter the
global OSPF context, execute this command to assign the
routing switch to a stub area or NSSA. (Does not apply to
backbone and normal OSPF area ABRs.)
The no form of the command removes the routing switch from
the specified area.
Default: No areas. Range: 1-16 areas (of all types)
< ospf-area-id >: Same area ID as on page 5-60 except you cannot
assign a backbone area number (0 or 0.0.0.0) to a stub or NSSA
area.
< stub | nssa > Designates the area identified by < ospf-area-id >
as a stub area or NSSA.
< 0-16777215 >: If the routing switch is used as an ABR for the
designated area, assigns the cost of the default route (to the
backbone) that is injected into the area.
Notes: If the routing switch is not an ABR for the stub area or
NSSA, the above cost setting is still required by the CLI,
but is not used.
In the default configuration, a routing switch acting as an
ABR for a stub area or NSSA injects type-3 summary routes
into the area. For an NSSA, the routing switch also injects a
type-7 default route into the area.
5-61