cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
292
Views
0
Helpful
3
Replies

default routes via routing protocol

carl_townshend
Spotlight
Spotlight

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 3

royalblues
Level 10
Level 10

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

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

You cannot with OSPF

regards

Narayan

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card