7.10 Default-information Originate Command

default-information originate

This command is used to inject a default route into the OSPF process as a Type 5 (external) LSA.

Command arguments:

always – By default, OSPF will not inject the default route unless there is already one resident in the local routing table. By using the always command argument, the router will inject the default route regardless of whether it is resident in the local table or not.

metric – Use the metric command argument to control the cost associated with the route injection.

metric-type – (E1/E2): A type 1 metric will ensure all routers in a given path add up the costs incrementally for each hop to arrive at the total cost, whereas a type 2 metric will set a static metric that does not change as it is propagated throughout the OSPF process.

route-map – Used to provide granular control over what traffic should be associated with the command. It matches conditions and identifies resulting actions.

Note: Whenever you use the redistribute or default-information originate commands, the router automatically becomes an ASBR.