04-03-2007 05:59 AM - edited 03-04-2019 03:10 AM
Hi
Why does the following not work?
router ospf 1
redistribute connected
summary-address 0.0.0.0 0.0.0.0
I expect OSPF to distribute a default route but instead OSPF stops announcing any routes!
Any ideas?
04-03-2007 06:23 AM
The only mean to inject the default route in an OSPF autonomous system is through the use of the command "default-information" originate.
Hope this helps,
04-03-2007 06:38 AM
Dave,
The 'summary-address' command is used in ASBR, router connecting to an external AS, and I am guessing this router may be connected to your ISP.
If that's the case then just like Harold stated configure 'default-information originate' under your OSPF process and the router would continue to inject a default route as long as it has a default route in it's routing table.
HTH
Sundar
04-03-2007 07:10 AM
Sundar
With bgp you will not get a default route from a peer so there is no default route in your routing table in the first place.
I want to summarise all bgp routes into a default route and only inject this default into ospf if the bgp session is up...
04-03-2007 07:07 AM
How would I make a default injection conditional?
04-03-2007 07:11 AM
Can you elaborate what you are trying to do?
04-03-2007 07:25 AM
Sundar
I have two bgp routers, each has a single peering session. I want each bgp router to annouce a default route into ospf but only if the bgp session is up.
Sounds simple but I cannot figure out how!
04-03-2007 07:35 AM
Have a look at the last example in this link titled 'conditional default origination'.
HTH
Sundar
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide