Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

default routes via routing protocol

Hi all, if I wanted to advertise a default route into ospf and also my other static routes, would i use default information originate and redistribute static both together ?

3 REPLIES

Re: default routes via routing protocol

Carl,

If you have a static default route and want it to get redistributed into OSPF, then you would need both of the above commands.

The default-information-originate command check for the existence of defaut route in the routing table before it injects into OSPF. When you use the Always keyword along wth the above command, then it will inject a default route irrespective of whether a defaut route exists in the routing table

HTH, rate if it does

Narayan

New Member

Re: default routes via routing protocol

could i just not use the redistribute static command to get out all my routes including the default ?

Re: default routes via routing protocol

You cannot with OSPF

regards

Narayan

111
Views
0
Helpful
3
Replies