08-03-2018 04:54 AM
In a lab I was comparing Cisco's BGP implementation to some other vendors.
If We have a customer with 2 locations (New York and Arizona), connected via a L3 IPVPN (MPLS service provider) we would be running BGP from the customer AS (at each location) to the Service provider's AS.
You see the problem, both locations use the same BGP AS number so routes will be rejected by each customer router because they have come from the same AS, BGP thinks its a loop. Ofcourse we can fix this by doing a "neighbour x.x.x.x allowas-in 2" as an example.
Can this actually be done on the service providers equipment instead so the customer wont have to put the command in? I know some vendors have an alternative solution which allows for the customer not needing the allowas-in command but have not managed to find anything for cisco.
I have attached a basic topology, ofcourse the CE AS is common and runs BGP to the PE.
Thanks
Solved! Go to Solution.
08-03-2018 06:10 AM
You can use the "neighbor <neighbor address> as-override" command on the PE in order to achieve what you want.
Regards,
08-03-2018 05:04 AM
Hello,
is this a theoretical, lab scenario ? In real life, an ISP would not give out the same AS to two different customers...
The ISP could configure local-as, which is a feature that 'tricks' the neighbor in believing it is peering with a different AS
neighbor x.x.x.x local-as local-AS-number
Unless an ISP has a need for that, which usually is only the case when two ISPs merge, I doubt they will do that.
08-03-2018 06:10 AM
You can use the "neighbor <neighbor address> as-override" command on the PE in order to achieve what you want.
Regards,
08-04-2018 07:15 AM
Perfect,
Thanks that worked!!
Rated!
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