08-29-2013 07:30 AM - edited 03-07-2019 03:12 PM
Hi,
I am trying to configure BGP on a Nexus 7000 to distribute a default route to several VRFs, however I am unable to find a command to do this. Any ideas would be greatly appreciated.
08-29-2013 07:54 AM
Hi,
You can try the following:
Regards
08-30-2013 12:03 AM
Thanks for your reply.
The issue is I do not have the option to enter the default-information originate in BGP...this command is not present. We are running version 6.1(2) and have several VDCs configured...if that makes a difference (I doubt it). Any ideas as to why this command is not present? perhaps I need to enable another feature?
Thanks
08-30-2013 12:28 AM
Also we have several VRFs configured, which are the ones I am trying to have the configured default route advertised for each of those VRFs.
08-30-2013 10:47 AM
Hi,
It looks like the only way to generate the default route in a VRF in this version of nx-os is to use a networ statement (network 0.0.0.0/0). You will obviously need to have a default route present in the RIB for the specific VRF.
Regards
08-30-2013 12:20 PM
Hi thanks again.
I found the command to distribute the default route:
router bgp 10
neighbor 10.10.10.10
address-family ipv4 unicast
default-originate
However this distributes the global default route and not for the individual VRFs. I had originally configured static default routes under the VRF process on the edge switches, but that did not work. I removed the bgp process and added it again and things worked. so not sure why it did not work the first time...guess I will never know.
Thanks for your replies
08-30-2013 12:26 PM
Hi,
The command you found is for the global context and is not available in a VRF context. Did you try using a network statement as I suggested?
Regards
09-03-2013 03:09 AM
No I did not try the network statement. I did however remove and then add the default route I had configured under the VRF context and then the route was added to the routing table. I am not sure why it was not added the first time. Anyway, things are working now. thanks for your replies.
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