create auto-peering bgp

create auto-peering bgp vlans vlan_list routerid ipaddress AS-number asNumber

Description

This command creates and enables BGP auto-peering using a range of supplied VLANs, the BGP (Border Gateway Protocol) router ID, and AS number.

Syntax Description

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

Default

N/A

Usage Guidelines

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.

Example

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

History

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.

Platform Availability

This command is available on the Summit X670-G2 and the ExtremeSwitching X465, X590, X690, X870 series switches.

This feature requires the Advanced Edge license. For more information about licenses, see the ExtremeXOS 30.3 Feature License Requirements.