Reset Search



How to remove private AS Numberl from BGP route updates?

« Go Back


TitleHow to remove private AS Numberl from BGP route updates?
How to remove private AS Numberl from BGP route updates from BGP neighbors or BGP peer groups?
  • BGP
  • EXOS
  • Summit & BlackDiamond
Remove Private AS Numbers from Route Updates
• To configure private AS numbers to be removed from updates for neighbors or peer groups, use the following commands:
enable bgp neighbor [remoteaddr | all] remove-private-AS-numbers
enable bgp peer-group peer-group-name remove-private-AS-numbers

• To disable this feature, use the following commands:
disable bgp neighbor [remoteaddr | all] remove-private-AS-numbers
disable bgp peer-group peer-group-name remove-private-AS-numbers

Additional notes
Private AS numbers are AS numbers in the range 64512 through 65534. You can remove private AS numbers from the AS path attribute in updates that are sent to external BGP (EBGP) neighbors.Possible reasons for using private AS numbers include:
• The remote AS does not have officially allocated AS numbers.
• You want to conserve AS numbers if you are multihomed to the local AS.
Private AS numbers should not be advertised on the Internet. Private AS numbers can be used only locally within an administrative domain. Therefore, when routes are advertised out to the Internet, the routes can be stripped out from the AS paths of the advertised routes using this feature.



Was this article helpful?



Please tell us how we can make this article more useful.

Characters Remaining: 255