# area stub

#### Syntax

[ no ] area { areaId | areaIdInt } stub [ no-summary ]

#### Release Information

Command introduced before JunosE Release 7.1.0.
no-summary keyword for OSPFv2 added in JunosE Release 7.2.0.

#### Description

Defines an area as a stub area. A stub area is an OSPF area that carries a default route, intra-area routes, and interarea routes, but does not carry AS external routes. This reduces the size of the area's OSPF database and decreases memory usage for external routers in the stub area. The no version disables this function.

#### Options

- areaId—OSPF area ID in IP address format
- areaIdInt—OSPF area ID as a decimal value in the range 0–4294967295
- no-summary—Specifies that the summary LSA not be sent into the stub area

#### Mode

Router Configuration