area-type

Configures a particular OSPF area as STUB, Totally STUB, NSSA or Totally NSSA. Areas can defined as:

Supported in the following platforms:

Syntax

area-type [nssa|stub]
area-type nssa {default-cost|no-summary|translate-always|translate-candidate|
translate-never}
area-type nssa {default-cost <0-16777215> {no-summary}|no-summary 
{default-cost <0-16777215>}}
area-type nssa {translate-always|translate-candidate|translate-never} 
{(default-cost <0-16777215>|no-summary)}
area-type stub {default-cost <0-16777215> {no-summary}|no-summary 
{default-cost <0-16777215>}}

Parameters

area-type nssa {default-cost|no-summary|translate-always|translate-candidate|
translate-never}
area-type Configures a particular OSPF area type as STUB, Totally STUB, NSSA or Totally NSSA
nssa Configures the OSPF area as NSSA
stub Configures the OSPF area as STUB Stubby Area
default-cost <0-16777215> Specifies the default summary cost advertised, if the OSPF area is a STUB or NSSA
  • <0-16777215> – Specify the default summary cost value from 0 - 16777215.
no-summary Configures the OSPF area as totally STUB if the area-type is STUB or totally NSSA if the area-type is NSSA
translate-always Always translates type-7 LSAs (Link State Advertisements) into type-5 LSAs
translate-candidate Defines it as default behavior
translate-never Never translates type-7 LSAs into type-5 LSAs

Examples

nx9500-6C8809(config-profile default-nx5500-router-ospf-area-0.0.0.1)#area-type stub default-cost 1
nx9500-6C8809(config-profile default-nx5500-router-ospf-area-0.0.0.1)#show context
  area 0.0.0.1
   area-type stub default-cost 1
nx9500-6C8809(config-profile default-nx5500-router-ospf-area-0.0.0.1)#

Related Commands

no (area-config-mode-command) Removes configured area-type settings