area stub (OSPFv2)
-
- Last UpdatedFeb 08, 2018
- 1 minute read
area stub (OSPFv2)
Creates or deletes a stub area or modifies its parameters.
No areas are created.
A.B.C.D
| Area address in IP address format.
|
decimal
| Area address In decimal format.
|
metric
| Additional cost for using a route to or from this area. Valid values range from 1 through 6777215.
|
no-summary
| When configured on the ABR, this parameter prevents any Type 3 and Type 4 summary LSAs from being injected into the area. The only exception is that a default route is injected into the stub/totally stubby area by the ABR as a Type 3 LSA. Enabling this parameter makes the area a so-called totally stubby area, which can only have Types 1 and 2. This parameter is disabled by default.
|
OSPF router configuration mode
OSPF router VRF configuration mode
Once created, the type of the area cannot be changed. The only exception to this rule is that a NSSA or stub area can be changed to a totally NSSA or a totally stub area, respectively.
The no form of the command deletes a stub area.
The following example sets an additional cost of 5 on a stub area called 2.
device# configure terminal
device(config)# router ospf
device(config-ospf-router)# area 2 stub 5