configure bgp as-number

configure bgp AS-number number

Description

Changes the local AS number used by BGP (Border Gateway Protocol).

Syntax Description

number Specifies a local AS number. The range is 1 to 4294967295.

Default

N/A.

Usage Guidelines

BGP must be disabled before the AS number can be changed.

This command applies to the current VR or VRF context.

The AS number is a 4-byte AS number in either the ASPLAIN or the ASDOT format as described in RFC 5396, Textual Representation of Autonomous System (AS) Numbers.

Example

The following command specifies a local AS number using the ASPLAIN 4-byte AS number format:

configure bgp AS-number 65551

The following command specifies a local AS number using the ASDOT 4-byte AS number format:

configure bgp AS-number 1.15
Note

Note

To remove the configured bgp as-number, assign as-number value as 0, i.e. configure bgp AS-number 0.

The following command configures the BGP router ID:

 configure bgp routerid 
Note

Note

To remove the configured bgp routerid, give routerid value as 0.0.0.0 i.e. configure bgp routerid 0.0.0.0.

History

This command was first available in ExtremeXOS 10.1.

This command required a specific license in ExtremeXOS 11.1.

Support for 4-byte AS numbers was first available in ExtremeXOS 12.4.

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 22.7 Feature License Requirements document.