Controls distribution of default information to an OSPFv2 device.
The default route is not advertised into the OSPFv2 domain.
OSPF router configuration mode
OSPF router VRF configuration mode
This configuration provides criteria for the redistribution of any default routes found in the route table manager (RTM),whether static or learned from another protocol, to its neighbors.
The corresponding route-map should be created before configuring the route-map option, along with the default-information-originate command. If the corresponding route-map is not created beforehand, an error message is displayed stating that the route-map must be created.
The route-map option cannot be used with a non-default address in the match conditions. The default route LSA is not generated if a default route is not present in the routing table and a match ip address condition for an existing non-default route is configured in the route-map. The match ip address command in the route-map is a no-op operation for the default information originate command.
The no form of the command disables default route origination.
The following example creates and advertises a default route with a metric of 30 and a type 1 external route.
device# configure terminal device(config)# router ospf device(config-router-ospf-vrf-default-vrf)# default-information-originate metric 30 metric-type type1