Manoj Reddy's Reference Guide

area stub

To define an area as a stub area, use thearea stub router configuration command. To disable this function, use the no form of this command.

area area-id stub [no-summary ]

no area area-id stub

no area area-id

Syntax Description

area-id 

Identifier for the stub area; either a decimal value or an IP address.

no-summary

(Optional) Prevents an ABR from sending summary link advertisements into the stub area.

Defaults

No stub area is defined.

Command Modes

Router configuration

Command History

ReleaseModification
10.0

This command was introduced.

Usage Guidelines

You must configure the area stub command on all routers and access servers in the stub area. Use the arearouter configuration command with the default-cost option to specify the cost of a default internal router sent into a stub area by an area border router.

There are two stub area router configuration commands: the stub and default-cost options of the arearouter configuration command. In all routers attached to the stub area, the area should be configured as a stub area using the stub option of the area command. Use the default-cost option only on an ABR attached to the stub area. Thedefault-cost option provides the metric for the summary default route generated by the area border router into the stub area.

To further reduce the number of link state advertisements (LSA) sent into a stub area, you can configure no-summary on the ABR to prevent it from sending summary LSAs (LSA type 3) into the stub area.

To remove the specified area from the software configuration, use the command no area area-id (with no other keywords). That is, no areaarea-id removes all area options, such as area authentication, area default-cost, area nssa, area range, area stub , and area virtual-link.

Examples

The following example assigns a default cost of 20 to stub network 36.0.0.0:

interface ethernet 0
 ip address 36.56.0.201 255.255.0.0
!
router ospf 201
 network 36.0.0.0 0.255.255.255 area 36.0.0.0
 area 36.0.0.0 stub
 area 36.0.0.0 default-cost 20

Related Commands

CommandDescription
area authentication Enables authentication for an OSPF area.
area default-cost Specifies a cost for the default summary route sent into a stub area.

Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003

All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.