03-22-2012 08:53 AM - edited 03-07-2019 05:43 AM
Hi,
I have a doubt about the use of the "default-information originate" command in BGP.
Imagine I have in a BGP AS. I don't receive default route from outside.
So I configure a static route to go out of my AS (ip route 0.0.0.0 0.0.0.0 10.0.0.1), then I redistribute this route in my BGP process through the "redistribute static" command.
My question in this cas is: do I need the command "default-information originate" to announce the default route to other routers?
router bgp 65400
[...]
redistribute static
default-information originate
!
ip route 0.0.0.0 0.0.0.0 10.0.0.1
Thanks by advance.
F.
Solved! Go to Solution.
03-22-2012 09:56 AM
Hi,
You are not allowed to redistribute network 0.0.0.0, so redistribute statc will not include the route 0.0.0.0
You need to use
default-information originate
The way you are configured is correct
See this link
http://www.cisco.com/en/US/docs/ios/11_3/np1/configuration/guide/1cbgp.html#wp3631
Regards
Alex
03-22-2012 09:56 AM
Hi,
You are not allowed to redistribute network 0.0.0.0, so redistribute statc will not include the route 0.0.0.0
You need to use
default-information originate
The way you are configured is correct
See this link
http://www.cisco.com/en/US/docs/ios/11_3/np1/configuration/guide/1cbgp.html#wp3631
Regards
Alex
03-23-2012 12:58 AM
Great! Thanks Alex.
03-23-2012 01:21 AM
03-23-2012 08:56 AM
Hi,
redistributing static does not work.
But
router bgp 65400
network 0.0.0.0
!
ip route 0.0.0.0 0.0.0.0 10.0.0.1
does.
Read this nice discussion:
https://supportforums.cisco.com/message/3456816#3456816
HTH,
Milan
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