06-07-2012 10:29 AM - edited 03-07-2019 07:07 AM
Hi All,
I would like to know about the usage of the command "neighbor allowas-in". We using the command on CE for the neighbour to PE.
What does this command do the prefixes learned from PE?
What is the reason to use this command ?
Regards,
Thiyagu
06-07-2012 10:43 AM
Hi,
Have a look at this doc for explanation and example:
http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a0080b59d08.shtml
HTH
06-07-2012 12:32 PM
This is done if the AS numbers are duplicated, to allow the readvertisement of all prefixes that contain duplicate ASNs
---
Posted by WebUser Neeraj Jagga from Cisco Support Community App
06-07-2012 12:44 PM
By default, BGP will drop a route if it sees it's own AS in the advertisement. Allowas-in allows this to happen. You'll see this mainly when MPLS LSP is between you and another site you own. If you want to run BGP between the 2 locations, your location will not allow the traffic inbound. Some providers will override your AS and put theirs in its place so you will get the update. If you know for a fact that you won't get a routing loop, you can use the "allowas-in" with no worries, but it pretty much disables BGP's protection that I stated above.
HTH,
John
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: