PREV NEXT INDEX

Avici Systems Inc.


default-information originate


Enables OSPF default route origination on this router.

[no] default-information originate [always] [metric metricVal] [metric-type type] [route-map map-tag]

always

Always advertise the default route whether the default route is present or not in the routing table. If used with the no form of the command, the default route will be originated only when the default route is present in the routing table. Default Value: disabled.

metricVal

Metric used for generating the default route. If the no form of the command is used with the metric keyword, the default metric value is restored. Valid Values: 0 - 4294967295. Default Value: 10

type

External link type associated with the default route. If the no form of the command is used with the metric-type keyword, the default metric type is restored. Valid Values: 1 = type 1 external route or 2 = type 2 external route. Default Value: 2.

map-tag

Specifies the route-map name containing the criteria that must be satisfied for the default route to be generated. Default Value: No route-map specified.

Description: OSPF default route origination enables the router to generate default route advertisement (0/0) in its external LSA. It generates a default route if manually configured default route exists or the always keyword is specified."

If the router receives an LSA with the default route, it will install the default route based upon a metric criterion if multiple default route entries exist. In the event of a default route being redistributed from other routing protocols, default route origination will take the precedence and replace the export entry.

Use the default-information originate command to enable default route origination on this router. A default route will only be generated if a default route has been manually configured.

Use the default-information originate always command to always generate a default route into the OSPF domain.

Use the default-information originate metric command to specify a metric used when generating the default route. If the metric is also set in the set clause of the route-map specified using the route-map keyword, the metric corresponding to the route-map will be used.

Use the default-information originate metric-type command

Use the no default-information originate command to disable default route origination on this router. Specifying any Option with the no command only changes the option to its default value leaving the remainder of the configuration unchanged.

Factory Default: Disabled

Command Mode: Router OSPF

Example 1: The following example forces the generation of a default route into the OSPF domain if the metric and route-map criteria are met and a default route is configured:

router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

router(config)#router ospf 1

router(config-router)#default-information originate metric 50 metric-type 1 route-map r1

router(config-router)#show

!

router ospf 1

default-information originate metric 50 metric-type 1 route-map r1

!

Example 2: The following example removes the route map configured in example 1 from the default route origination configuration:

router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

router(config)#router ospf 1

router(config-router)#no default-information originate route-map r1

router(config-router)#show

!

router ospf 1

default-information originate metric 50 metric-type 1

!

Example 3: The following example removes the default route origination configuration for this router:

router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

router(config)#router ospf 1

router(config-router)#no default-information originate

router(config-router)#show

!

router ospf 1

!

Related Commands: router ospf
show
show ospf
show running-config ospf


PREV NEXT INDEX

Copyright © 2005 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: ospf8.html
    Last Updated: 02/25/05 at 14:55:11

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