create auto-peering bgp

create auto-peering bgp routerid ipaddress AS-number asNumber


This command creates and enables BGP auto-peering using specified BGP router ID and AS number.

Syntax Description

routerid Designates a BGP router ID.
ipaddress Specifies the BGP router ID as an IP address in IPv4 format (x.y.z.w).
AS-number Designates unique BGP Autonomous System (AS) number.
asNumber Specifies the AS number (1–4,294,967,295).



Usage Guidelines

This command creates VLANs dynamically. It also creates a loopback VLAN with an IP address of the BGP router ID. Within BGP, the router ID, AS number, and easyBGP capability are configured along with redistribution of host-mobility routes. Dynamic VLANs are created if no VLANs are specified.

A save and reboot is required if ECMP exceeds 16.

To view BGP auto-peering status, use the command show auto-peering {bgp | ospf}.


The following example creates auto-peering using BGP router ID at with AS 52:

# create auto-peering bgp routerid AS-number 52


This command was first available in ExtremeXOS 22.5.

The requirement to specify a VLAN range was made optional in ExtremeXOS 30.3.

Platform Availability

This command is available on the ExtremeSwitching X670-G2, X465, X590, X690, X695, X870, 5320, 5420, 5520 series switches.

This feature requires the Advanced Edge license. For more information about licenses, see the ExtremeXOS and Switch Engine 31.7 Feature License Requirements .