Technical Tip: How to Remove private AS in BGP
| Description | This article describes the way to remove private AS in BGP. |
| Scope | |
| Solution | Private AS numbers should not be advertised into the Internet.
The private AS numbers must be removed from the AS path before the customer BGP routes are advertised to other service providers.
This can be achieved by command 'remove-private-as'.
Sample Configuration:
# config router bgp set as <local-as-value> # config neighbor edit "neighbor-id" set remove-private-as enable set remote-as <remote-as-value> next end |
