10-06-2006 07:10 AM - edited 03-03-2019 02:15 PM
hi guys,
how can i advertised only default routes to my peer?
tnx
10-06-2006 07:16 AM
Hi,
it can be done with:
neighbor 1.1.1.1 default-originate
In case this should be the only route sent, add a prefix-list permitting only 0.0.0.0/0
neighbor 1.1.1.1 prefix-list DefOnly out
prefix-list DefOnly permit 0.0.0.0/0
Hope this helps! Please rate all posts.
Regards, Martin
10-06-2006 07:26 AM
Hi Martin,
Got it already. Lazy me. tnx for all the help.
jeff
10-06-2006 07:31 AM
:-)
Probably took longer to post and reply than to use CCO search ;-)
Anyhow, this is what the forum is here for ... I mean to help, not to support lazyness.
Have fun, Martin
10-06-2006 07:46 AM
hi martin,
I already tried it before posting, i just forgot to "clear ip bgp", thats why it took me awhile to see the effects. anyways, tnx a lot. =0)
jeff
10-06-2006 09:36 AM
Some other ways to inject the default in BGP:
1-
router bgp x
network 0.0.0.0
Make sure you have the default route in the RIB.
2-
router bgp x
redistribute
default-information originate /* to allow redistribution of the default route in BGP*/
Make sure you have the default route in the RIB (either static or from the specific routing protocol).
Hope this helps,
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: