area

To area related configuration of the OSPF router, use the command area in OSPF Router Configuration Mode. The no form of this command deletes the area related configuration or removes OSPF virtual links.

area

area { {<AreaId> } { range } { <Network> } { <Mask> } { {summary } { | Type7} } { [{advertise } { | not-advertise}] } { [tag } { <tag-value>]} }
{ | <area-id> }
{ { } { default-cost } { <cost> }
{ [tos }
{ <value(0-30)>] }
{ | nssa } { [{no-summary } { | default-information-originate } { [metric } { <value } { (0-16777215)>] } { [metric-type } { <Type(1-3)>] } { [tos } { <tos value (0-30)>] } { [no-redistribution]}] }
{ | stability-interval } { <Interval-Value (0 - 0x7fffffff)> }
{ | stub } { [no-summary] }
{ | translation-role } { {always } { | candidate} }
{ | virtual-link } { <router-id> }
{ {[authentication } { {simple } { | message-digest } { | sha-1 } { | sha-224 } { | sha-256 } { | sha384 } { | sha-512 } { |null}] }
{ [authentication-key } { <key (8)> }
{ [message-digest-key } { <Key-id (0-255)> } { {md5 } { | sha-1 } { | sha-224 } { | sha-256 } { | sha-384 } { | sha-512} } { <key(16)>}] }
{ [dead-interval } { <value>] }
{ [hello-interval } { <value (1-65535)>] }
{ [key } { <Key-ID (0-255)> } { {start-accept } { <DD-MON-YEAR,HH:MM> } { | start-generate } { <DD-MON-YEAR,HH:MM> } { | stop-accept } { <DD-MON-YEAR,HH:MM> } { | stop-generate } { <DD-MON-YEAR,HH:MM>} }
{ [retransmit-interval } { <value (1-3600)>] }
{ [transmit-delay } { <value (1-3600)>]} }
{ } }

no area

no area { <AreaId> } { range } { <Network> } { <Mask> } { {summary } { | Type7} }
{ <area-id> }
{ { } { default-cost } { <cost> }
{ [tos }
{ <value(0-30)>] }
{ | nssa } { [{no-summary } { | default-information-originate } { [metric } { <value } { (0-16777215)>] } { [metric-type } { <Type(1-3)>] } { [[no-summary]}] }
{ | stability-interval }
{ | stub } { [no-summary] }
{ | translation-role } { | {stub } { | nssa}] }
{ | virtual-link } { <router-id> }
{ {[authentication] }
{ [authentication-key } { | message-digest-key } { <Key-id (0-255)>] } { [dead-interval] } { [hello-interval] } { [retransmit-interval } { [transmit-delay } { } }
Note:

The no area <area-id> [{stub | nssa}] command removes an area or converts stub/nssa to normal area.The backbone area cannot be set as Stub or NSSA.

Parameters

Parameter Type Description
<AreaId>   Enter either a decimal value or as an IP address to configure the area associated with the OSPF address range and the identifier of the area about which routes are to be summarized.
range   Enter to consolidate and summarize routes at an area boundary which is used only with Area Border Routers (ABRs). As a result, a single summary route is advertised to other areas by the ABR.
Note:

This command executes only if a particular area is configured as NSSA.

<Network>   Enter an IP address to configure the IP address of the network indicated by the range.
<Mask>   Enter the subnet mask that pertains to the range. The mask indicates the range of addresses being described by the particular route. For example, a summary-LSA for the destination 128.185.0.0 with a mask of 0xffff0000 actually is describing a single route to the collection of destinations 128.185.0.0 - 128.185.255.255.
summary   Enter to set the LSA type as summary LSA.
Type7   Enter to set the LSA type as Type-7 LSA.
advertise   Enter to set the address range status to advertise and generates a Type 3 summary link-state advertisement (LSA). When associated area Id is 0.0.0.0, aggregated Type-5 are generated. For associated other than 0.0.0.0 aggregated Type-7 is generated in NSSA x.x.x.x.
not-advertise   Enter to set the address range status to Not Advertise. The Type 3 summary LSA is suppressed, and the component networks remain hidden from other networks When associated area Id is 0.0.0.0, Type-5 is not generated for the specified range, while aggregated Type-7 are generated in all attached NSSA. For associated area Id x.x.x.x which is other than 0.0.0.0, Type-7 are not generated in NSSA x.x.x.x for the specified range.
tag   Enter to configure the Tag Type to describe whether Tags will be generated automatically or manually configured.
<tag-value> Integer Enter a tag value. This value ranges from 0 to 2147483647 with a default value of 2.
<area-id>   Enter either a decimal value or as an IP address to configure the identifier for the stub or NSSA. For example, Area ID 0.0.0.0 is used for the OSPF backbone.
default-cost   Enter to specify a cost for the default summary route sent into a stub or NSSA. This command is used only on an Area Border Router (ABR) attached to a stub or NSSA. This command provides the metric for the summary default route generated by the ABR into the stub area. A default cost can be defined only for a valid area.
<cost> Integer Enter a value for cost of the default summary route used for a stub or NSSA. This value ranges from 0 to 16777215. The default is 1.
tos   Enter to configure the Type of Service of the route being configured. It can be configured only if the code is compiled with TOS Support.
<tos value(0-30)> Integer Enter a value for Type of Service of the route being configured. This value ranges from 0 to 30. The default value for TOS is 0.
nssa   Enter to configure a particular area as not-so-stubby area (NSSA).
no-summary   Enter to allow an area to be a not-so-stubby area but not have summary routes injected into it.
default-information-originate   Enter to configure the default route into OSPF used to generate a Type 7 default into the NSSA area.
metric   Enter to configure the Metric value applied to the route before it is advertised into the OSPF domain.
<value (0-16777215)> Integer Enter a value for the Metric value applied to the route before it is advertised into the OSPF domain. This value ranges from 0 to 16777215. The default is 10.
metric-type   Enter to configure the Metric Type applied to the route before it is advertised into the OSPF domain.
<Type(1-3)> Integer Enter a value for Metric Type applied to the route before it is advertised into the OSPF domain. This value ranges from 1 to 3.The default is 1
tos   Enter to configure the Type of Service of the route being configured. It can be configured only if the code is compiled with TOS Support
<tos value(0-30)> Integer Enter a value for Type of Service of the route being configured. This value ranges from 0 to 30. The default value for TOS is 0.
no-redistribution   Enter to disable redistribution of routes from the given protocol into OSPF.
stability-interval   Enter to configure the stability interval for NSSA where the Information describing the configured parameters and cumulative statistics of one of the router's attached areas.
Note:

This command executes only if NSSA is configured.

<Interval-Value (0 - 0x7fffffff)> Integer Enter a value for are no longer required, that it must continue to perform its translation duties. The interval value ranges between 0-0x7fffffff in seconds. The OSPF Sequence Number is a 32 bit signed integer. It starts with the value '80000001'h, -- or -'7FFFFFFF', and increments until '7FFFFFFF'h. Thus, a typical sequence number will be very negative. The default value is 40 seconds.
stub   Enter to configure an area as a stub area and other parameters related to that area. This command is configured on all routers and access servers in the stub area.
no-summary   Enter to prevent an Area Border Router (ABR) from sending summary link advertisements into the stub area by neither originating nor propagating summary LSA into the stub area.
translation-role   Enter to configure the translation role for the NSSA or the NSSA Border router's ability to perform NSSA Translation of Type-7 to Type-5 LSAs. Type-5 LSAs originate from AS (Autonomous system) boundary routers and flood through and out the AS. Each AS-external-LSA describes a route to a destination in another Autonomous System. Default routes for the AS can also be described by AS-external-LSAs.
always   Enter to set a translator role to where the Type-7 LSAs are always translated into Type-5 LSAs.
candidate   Enter to set translator role where an NSSA border router participates in the translator election process. This is default.
virtual-link   Enter to define an OSPF virtual link and its related parameter. In OSPF, all areas must be connected to a backbone area. If the connection to the backbone is lost, it can be repaired by establishing a virtual link. Hello-interval and dead-interval values must be the same for all routers and access servers on a specific network.
Note:

This command executes only if area is defined using the network command.

<router-id>   Enter a value for the router ID of the virtual neighbor.
authentication   Enter to configure the authentication type.
simple   Enter to set the simple password authentication mechanism.
message-digest   Enter to set the authentication type as message digest authentication mechanism.
sha-1   Enter to set the authentication type as Secure Hash Algorithm 1 (SHA1) authentication. SHA1 generates Authentication digest of length 20 bytes.
sha-224   Enter to set the authentication type as Secure Hash Algorithm 224 (SHA224) authentication. SHA224 generates Authentication digest of length 28 bytes
sha-256   Enter to set the authentication type as Secure Hash Algorithm 256 (SHA256) authentication. SHA256 generates Authentication digest of length 32 bytes.
sha-384   Enter to set the authentication type as Secure Hash Algorithm 384 (SHA384) authentication. SHA384 generates Authentication digest of length 48 bytes
sha-512   Enter to set the authentication type as Secure Hash Algorithm 512 (SHA512) authentication. SHA512 generates Authentication digest of length 64 bytes.
null   Enter to set the no password authentication. This is the default authentication method.
authentication-key   Enter to configure the authentication type.
<key (8)>   Enter to set the simple password authentication mechanism.
message-digest-key   Enter to configure the authentication type.
<Key-id (0-255)>   Enter to set the simple password authentication mechanism.
md5   Enter to set the authentication type as message digest authentication mechanism.
sha-1   Enter to set the authentication type as Secure Hash Algorithm 1 (SHA1) authentication. SHA1 generates Authentication digest of length 20 bytes.
sha-224   Enter to set the authentication type as Secure Hash Algorithm 224 (SHA224) authentication. SHA224 generates Authentication digest of length 28 bytes
sha-256   Enter to set the authentication type as Secure Hash Algorithm 256 (SHA256) authentication. SHA256 generates Authentication digest of length 32 bytes.
sha-384   Enter to set the authentication type as Secure Hash Algorithm 384 (SHA384) authentication. SHA384 generates Authentication digest of length 48 bytes
sha-512   Enter to set the authentication type as Secure Hash Algorithm 512 (SHA512) authentication. SHA512 generates Authentication digest of length 64 bytes.
<key(16)>   Enter a value to configure the cryptographic key value which is used to create the message digest appended to the OSPF packet. All neighboring routers on the same network must have the same key identifier and key to route OSPF traffic. This is a string with maximum 16 characters.
dead-interval   Enter to configure the interval at which hello packets must not be seen before its neighbors declare the router down. As with the hello interval, this value must be the same for all routers and access servers attached to a common network.
<value> Integer Enter a value for the interval at which hello packets must not be seen before its neighbors declare the router down. The default is 40 seconds.
hello-interval   Enter to configure the interval at which hello packets must not be seen before its neighbors declare the router down. As with the hello interval, this value must be the same for all routers and access servers attached to a common network.
<value (1-65535)> Integer Enter a value for the interval at which hello packets must not be seen before its neighbors declare the router down. This value ranges from 1 to 65535 in seconds with a default of 0 seconds.
key   Enter to configure the time the router starts accepting packets that is created with the configured key id.
<Key-ID (0-255)>   Enter a value for the secret key used to create the message digest appended to the OSPF packet. This value ranges from 0 to 255.
start-accept   Enter to configure the time when the router will start accepting packets that have been created with the configured key-id.
Note:
This command executes only if,
  • Area is defined using the network command
  • Authentication key for Message Digest Authentication is configured for the specified area
<DD-MON-YEAR,HH:MM>   Enter a value for the time when the router will start accepting packets that have been created with the configured key-id. This value is the sum of configured time and the system time at which the start-accept value is configured and is configured in 24 hours format.
Note:

For example, Tuesday May 26, 2013 at 1:30 PM should be configured as, 26-May-2013,13:30

start-generate   Enter to configure the time when the router will start generating OSPF packets with the configured key id.
Note:
This command executes only if,
  • Area is defined using the network command
  • Authentication key for Message Digest Authentication is configured for the specified area
<DD-MON-YEAR,HH:MM>   Enter a value for the time when the router will start generating OSPF packets with the configured key id. This value is the sum of the configured time and the system time at which the start-generate value is configured. Start Generate Time value is configured in 24 hours format. Default value is set as current system time.
Note:

For example, Tuesday May 26, 2013 at 1:30 PM should be configured as, 26-May-2013,13:30

stop-generate   Enter to configure the time when the router will stop generating OSPF packets with the configured key id.
Note:
This command executes only if,
  • Area is defined using the network command
  • Authentication key for Message Digest Authentication is configured for the specified area
<DD-MON-YEAR,HH:MM>   Enter a value for the time when the router will stop generating OSPF packets with the configured key id. Stop Generate value is configured in 24 hours format. Default value is set to the current system time.
Note:

For example, Tuesday May 26, 2013 at 1:30 PM should be configured as, 26-May-2013,13:30

stop-accept   Enter to configure the time when the router will stop accepting OSPF packets with specified key id.
Note:
This command executes only if,
  • Area is defined using the network command
  • Authentication key for Message Digest Authentication is configured for the specified area
<DD-MON-YEAR,HH:MM>   Enter a value for the time when the router will stop accepting OSPF packets with specified key id. Stop accept value is configured in 24 hours format.
Note:

For example, Tuesday May 26, 2013 at 1:30 PM should be configured as, 26-May-2013,13:30

retransmit-interval   Enter to configure the time between link-state advertisement (LSA) retransmissions for adjacencies belonging to the OSPF virtual link interface.
<value (1-3600)>   Enter a value for the time between link-state advertisement (LSA) retransmissions for adjacencies belonging to the OSPF virtual link interface. This value ranges from 1 to 3600 in seconds with a default of 5.
transmit-delay   Enter to configure the time in which the router will stop using this key for packets generation. Estimated time required to send a link-state update packet on the interface. Integer value that must be greater than zero. LSAs in the update packet have their age incremented by this amount before transmission
<value (1-3600)>   Enter a value for the time in which the router will stop using this key for packets generation. This value ranges from 1 to 3600 in seconds with a default of 1 second.

Mode

OSPF Router Configuration Mode

Examples

iS5Comm(config)# router ospf

iS5Comm(config-router)# area 10.0.0.1 range 10.0.0.0 255.0.0.0 summary advertise tag 10

iS5Comm(config-router)# area 10.0.0.1 default-cost 5

iS5Comm(config-router)# area 10.0.0.1 nssa

iS5Comm(config-router)# area 10.0.0.1 stub

iS5Comm(config-router)# area 10.0.0.1 stability-interval 10000

iS5Comm(config-router)# area 10.0.0.1 translation-role always

iS5Comm(config-router)# area 1.1 virtual-link 0.0.0.1 authentication simple hello-interval 65 retransmit-interval 654 dead-interval 200 message-digest-key 20 sha-512 key11

iS5Comm(config-router)# area 1.1 virtual-link 0.0.0.1 key 20 start-accept 23-Jun-2014,19:18

iS5Comm(config-router)# area 1.1 virtual-link 0.0.0.1 key 20 start-generate 23-Jun-2014,19:18

iS5Comm(config-router)# area 1.1 virtual-link 0.0.0.1 key 20 stop-generate 26-Jun-2014,19:18

iS5Comm(config-router)# area 1.1 virtual-link 0.0.0.1 key 20 stop-accept 26-Jun-2014,19:18