Chapter 29
| IP Routing Commands
Open Shortest Path First (OSPFv2)
– 853 –
area stub This command defines a stub area. To remove a stub, use the no form without the
optional keyword. To remove the summary attribute, use the no form with the
summary keyword.
Syntax
[no] area area-id stub [no-summary]
area-id - Identifies the stub area. The area ID can be in the form of an IPv4
address or as a four octet unsigned integer ranging from 0-4294967295.
no-summary - Stops an Area Border Router (ABR) from sending summary
link advertisements into the stub area.
Command Mode
Router Configuration
Default Setting
No stub is configured.
Summary advertisement are sent into the stub.
Command Usage
â—† All routers in a stub must be configured with the same area ID.
â—† Routing table space is saved in a stub by blocking Type-4 AS summary LSAs and
Type 5 external LSAs. The default setting for this command completely isolates
the stub by blocking Type-3 summary LSAs that advertise the default route for
destinations external to the local area or the autonomous system.
â—† Use the no-summary parameter of this command on the ABR attached to the
stub to define a totally stubby area. Define an area as a totally stubby area only
if routers in the area do not require summary LSAs from other areas.
â—† Use the area default-cost command to specify the cost of a default summary
route sent into a stub by an ABR attached to the stub area.
Example
This example creates a stub area 10.2.0.0, and assigns all interfaces with class B
addresses 10.2.x.x to the stub.
Console(config-router)#area 10.2.0.0 stub
Console(config-router)#network 10.2.0.0 0.255.255.255 area 10.2.0.0
Console(config-router)#
Related Commands
area default-cost (844)