5.4 Using Stub and Totally Stubby Areas
5.4.3 Configuring stub and totally stubby areas
To configure an area as stub or totally stubby, perform the following steps:
  1. Configure OSPF, as described in the "Configuring OSPF ABRs" section.
  2. Define an area as stub/totally stubby by adding the following command to all routers within the area:

router(config-router)#area area-id stub [no-summary]

The area stub command is configured on each router in the stub location, which is essential for the routers to become neighbors and exchange routing information. When this command is configured, the stub routers exchange hello packets with the E bit set to 0. The state of this bit must be agreed upon, otherwise, the routers will not become neighbors.

  1. (Optional for ABRs only) Define the cost of the default route that is injected in the stub/totally stubby area, as follows:

router(config-router)#area area-id default-cost cost

Note To reduce the number of route entries that internal routers maintain, you can define the area as stub, totally stubby, or not so stubby.