O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

default-information originate — router, BGP, OSPF

Synopsis

default-information originate [route-map map]
no default information originate

BGP:

default-information originate
no default-information originate

OSPF:

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

Configures

Redistribution of the default route

Default

Disabled

Description

This command allows the protocol to propagate the default route (0.0.0.0). The use of a route map, map, tells the router to inject the default route if the route map’s conditions are met.

For OSPF, this command tells an Autonomous System Border Router (ASBR) to inject a default route into the OSPF domain. When used with OSPF, this command has the following additional parameters.

always

Optional. Specifies to advertise the route even if the software does not have a default route.

metric metric-value

Optional. The metric value of the default route. The default metric is 10.

metric-type metric-type

Optional. Defines the link type associated with the default route. Possible values are 1 (Type-1 external route) and 2 (Type-2 external route; the default).

route-map map

Optional. Defines the route map to use for the default route. The route is advertised only if the route map is successful. This option can be used to set a different default metric depending on the host to which the route is sent.

Example

! BGP router bgp ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required