protocols ospf area <area-id> area-type nssa <action>
Designates an OSPF area as an NSSA.
By default, summary routes are generated into the area, and only Type 7 LSAs from the candidate NSSA ABR are translated.
- process pid
- Specifies the PID of an IPv4 OSPF process.
- area-id
- The ID of the OSPF area being configured, expressed as an IP address or a decimal value.
- default-cost cost
- Sets the administrative cost, or metric, that applies to the default route in the specified OSPF area. The cost ranges from 0 through 6777215.
- default-information-originate
- Distributes the default route into an NSSA area.
metric: The OSPF default metric.
metric-type: Specifies the OSPF metric type on how cost is calculated for default routes. The metric type is either of the following:
1: Adds internal cost to external cost.
2: Uses only external cost.
The default type is 2.
- no-summary
- Prevents route summaries from being generated into the area.
- translate
- Directs the NSSA ABR when to translate Type 7 LSAs into Type 5 AS-External-LSAs. The direction is either of the following:
always: Always translates Type 7 LSAs into Type 5 AS-External-LSAs.
candidate: Translates only Type 7 LSAs from the candidate NSSA ABR.
Configuration mode
protocols {
ospf {
process pid {
area area-id {
area-type {
nssa {
default-cost cost
default-information-originate
metric 0-16777214
metric-type 1-2
no-summary
translate {
always
candidate
}
}
}
}
}
}
}
Use this command to designate an OSPF area as a not-so-stubby area.
Type 5 AS-External-LSAs are not allowed in stubby areas, but Type 7 LSAs may be translated into Type 5 LSAs by the not-so-stubby (NSSA) area border router and may traverse the NSSA in this manner. Interarea routes are not allowed.
Use the set form of this command to set the OSPF area type to not-so-stubby.
Use the delete form of this command to designate an OSPF are.
Use the show form of this command to display an area type configuration.