configure bgp neighbor alternate-local-as

configure bgp neighbor [all | remoteaddr] alternate-local-as asNumber


Allows the local router to accept peering sessions intended for the specified alternate local autonomous system (AS).

Syntax Description

bgp Specifies BGP.
neighbor Specifies BGP neighbor.
all Selects configuring all BGP neighbors.
remoteaddr Selects configuring the specified BGP neighbor (IP address).
alternate-local-as Allow alternate local AS number for peering with this neighbor
asNumber AS number (0–4,294,967,295).



Usage Guidelines

This command provides configuration flexibility, particularly when peering with third-party devices that may use a different AS number than the ExtremeXOS device uses for auto-peering.


The following example configures the BPG neighbor at to use an alternate local AS "50":

# configure bgp neighbor alternate-local-as 50


This command was first available in ExtremeXOS 30.2.

Platform Availability

This command is available on platforms that support the appropriate license. For complete information about software licensing, including how to obtain and upgrade your license and which licenses support the BGP feature, see the ExtremeXOS 32.2 Feature License Requirements document.