This command creates and enables BGP auto-peering using a range of supplied VLANs, the BGP router ID, and AS number.
vlans | Designates the VLANs that auto-peering uses. If a VLAN range is not specified, VLANs are created dynamically. |
vlan_list | VLAN list (range is 2–4,094). |
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). |
N/A
This command creates the VLAN list, configures the VLANs with an IPv6 link-local address, and enables IPv6 forwarding. 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.
A save and reboot is required if ECMP exceeds 16.
A sufficient number of VLANs must be configured to cover all possible number of BGP links. Estimating too low of a VLAN range might result in unexpected connection issues. Resizing the VLAN range requires deleting the AutoBGP setup and recreating it with an appropriate range (see delete auto-peering). If a VLAN range is not specified, VLANs are created dynamically.
The following example creates auto-peering with VLANs 500 through 505, using BGP router ID at 10.3.4.2 with AS 52:
# create auto-peering bgp vlans 500-505 routerid 10.3.4.2 AS-number 52
This command was first available in ExtremeXOS 22.5.
The requirement to specify a VLAN range (have VLANs created dynamically) was added in ExtremeXOS 30.3.
This command is available on the ExtremeSwitching X670-G2, X465, X590, X690, X870 series switches.
This feature requires the Advanced Edge license. For more information about licenses, see the ExtremeXOS 30.5 Feature License Requirements .