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) and2
(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 ...
Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.