04-08-2020 08:16 AM
Hi Experts,
I am have existing onprem-N7k with BGP with ASN 10 for having Fast connect(private circuit) connectivity to Oracle cloud.Now there is an new requirement to have another private circuit-direct connect connectivity to AWS cloud for another customer. Please advice, if it is possible to have 2 separate BGP with different ASN's configured on same N7k. Kindly suggest and advice with solution.
|-BGP ASN 10------fast connect----------ASN 11-Oracle cloud
|
N7k
|
|-BGP ASN 20-----Direct connect---------ASN 21-AWS Cloud
Thanks
Sreeraj Murali
04-08-2020 08:27 AM
You might be able to achieve what you want using the local-as feature. See this link for information which I hope you will find helpful.
http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a00800949cd.shtml
04-08-2020 08:27 AM
Hi,
You can make use of the "local-as"functionality and pretend to run in AS 20 for your second peering with ASN21.
Regards,
Cristian Matei.
04-09-2020 02:19 AM - edited 04-09-2020 02:24 AM
Hello
The answer is NO you can only have one bgp process running on the switch, however has Richard|Christian suggest you can make the AWS client peer to a different ASN number.
Example:
router bgp bgp 10
nieghbor <fastconnect> remote-as 11
nieghbor <AWS > remote-as 21
nieghbor <AWS > local-as 20 no-prepend
Note:
local-as -This tells the AWS client that its peer is in AS 20 so it can peer with it using AS20, however in the advertising/receiving prefixes of either peers both as numbers will be present in the as sequence
no-prepend - this removes the original AS number for the as sequence of the advertising/receiving prefixes
dual-as - allows AWS to peer with either as 10 or 20)
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