Assigning the routing switch to an OSPF area
Create a Normal, Stub, or Not So Stubby (NSSA) area.
Prerequisites
You must be in the router configuration context, as indicated by the
switch(config-router)#
prompt.
Procedure
Create an OSPF area for the routing switch using one of the following commands:
Create a normal area using the following command:
area <area-id>
. For command details, seearea <AREA-ID>
.Create a stub area using the following command:
area <area-id> stub
. For command details, seearea <AREA-ID> stub
.Create a Not-So-Stubby-Area using the command:
area <area-id> nssa
. For command details, seearea <AREA-ID> nssa
.
For example, the following command creates a normal area with an area identifier of 10.1.1.1. Area identifier could alternatively be entered in decimal format such as 1.
switch(config-ospf-1)# area 10.1.1.1