cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2526
Views
0
Helpful
3
Replies

neighbor allowas-in

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

3 Replies 3

Reza Sharifi
Hall of Fame
Hall of Fame

fb_webuser
Level 6
Level 6

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

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

HTH, John *** Please rate all useful posts ***
Getting Started

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:

Review Cisco Networking products for a $25 gift card