PREV NEXT INDEX

Avici Systems Inc.


area default-cost


Sets the cost metric for the default advertisement injected into the corresponding stub area.

Syntax: [no] area area-id default-cost [cost | infinity]

area-id

The ID of the area to which to assign this cost. The identifier of the area can be either a decimal number or the corresponding dotted decimal IP address.

cost

The link state cost of the path to the area.Valid values are 0 to 16777215.

Description: The area default cost is the cost for the default route injected into an attached stub area. For all paths except Type 2 external paths, the area default cost describes the cost of the entire path.

For Type 2 external paths, the area default cost describes the cost of the portion of the path internal to the AS. This cost is calculated as the sum of the costs of the path's constituent links.

If the keyword infinity is entered, OSPF will not generate the default summary advertisement for this area in to stub areas.

Use the area area-id default-cost cost command to configure the cost of the default route injected into stub areas as the specified value.

Use the area area-id default-cost infinity command to prevent OSPF from injecting the default advertisement into stub areas.

Use the no area area-id default-cost command to configure the cost of the default route injected into stub areas as the default value of 1.

Factory Default: 1.

Command Mode: Router configuration.

Example: In the following example:

router(config)#router ospf 12

router(config-router)#network 10.1.1.0 0.0.0.255 area 0

router(config-router)#network 192.12.12.0 0.0.0.255 area 1.1.1.1

router(config-router)#area 1.1.1.1 stub

router(config-router)#area 1.1.1.1 default-cost 20

Related Commands: area authentication
area range
network area
area stub
router ospf


PREV NEXT INDEX

Copyright © 2004 Avici Systems Inc.
Avici® and TSR® is a registered trademark of Avici Systems Inc.
IPriori™, Composite Links™, SSR™, QSR, and NSR® are trademarks of Avici Systems Inc.

   Source File Name: ospf.fm
    HTML File Name: ospf3.html
    Last Updated: 05/10/04 at 16:34:58

Please email suggestions and comments to: doc@avici.com