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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

When to use public AS number internally?

Good Evening,

I currently peer with two different service providers via EBGP and i want to extend BGP internally.  Will i use my public AS internally and peer via IBGP or is it better to use a private AS number internally?  Also, if i use a private number internally will i need to strip that from the AS path before it hits my provider or is that something they do?

Thank you in Advance.


Re: When to use public AS number internally?


if you are using your public AS number to peer with your providers, they will not be able to strip the private AS numbers from the AS-PATH (it fails in a case of private/public AS number mixture within the AS-PATH).

So you would have to strip before advertising to the providers. (I suppose we are talking about Internet connections, in a case of an enterprise MPLS network without an Internet peering private AS could remain unstripped if not clashing.)

As long as you are able to live with iBGP limits (full-mesh or synchronization, etc.), I'd recommend keep using your public AS number.



Hall of Fame Super Silver

Re: When to use public AS number internally?

Hello Darren,

the use of your own public AS number is common best practice because a router can run only one BGP process.

It is important to be able to discriminate between iBGP sessions and true eBGP sessions.

In a very big scenario like some service providers BGP confederations are used to divide the space iN multiple mini AS, but this is not probably your case.

Hope to help


New Member

Re: When to use public AS number internally?

Got it.  Thanks for the input guys.  So basically i'll have to use my public AS internally and

either use route reflectors or conferderations depending on the number of peers.

Thanks Again.