configure bgp neighbor alternate-local-as

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

Description

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).

Default

N/A.

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.

Example

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

# configure bgp neighbor 192.168.99.1 alternate-local-as 50

History

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 Switch Engine 32.2 Feature License Requirements document.