Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

BGP config "local-as" possible issues

Greetings All,

Someone had mentioned to me before that using the config "local-as" to mask the real AS number could bring up some issues specially when dealing with multiple ISP's. Can someone enlighten on what it is? or Can someone tell me what are the possible issues that i might face when masking my "real" as number.

Thanks in Advance

Hall of Fame Super Silver

Re: BGP config "local-as" possible issues

Hello Merrylle,

the local-as feature has been introduced to help in migration after two ISPs merge.

With this feature you don't need to ask to your eBGP neighbors to update their config because AS number is changed.

the feature is neighbor oriented and can be used only on a real eBGP session ( no confederation support)

the default behaviour is to add the local-as, prepend it on advertisements without hiding the real AS number.

However a number of options are possible.

the replace-as allows to hide your real AS number.


You shouldn't try to advertise the same ip prefix to different eBGP peers as it was originated in different AS numbers because this would be an inconsistency.

So you should care to be consistent with what is registered with the RIRs (ARIN, RIPE, etc) about IP prefixes and AS numbers.

Then if later the registrations are updated you can move the prefixes to the new/real AS number.

Hope to help


CreatePlease to create content