BGP Auto-peering Simple Leaf/Spine Example

The following example shows a simple leaf/spine topology with users on VLANs, red and blue, noted as 1 and 2.

Note

Note

An Advanced Edge license must be installed on all devices.

Devices labeled with router IDs 10.255.x.y:

Leaf 1

configure vlan default delete ports 1-2
create vlan “red" tag 100
configure vlan red add ports 1 untagged
configure vlan "red" ipaddress 10.1.1.1/24
enable ipforwarding vlan "red"

create vrrp vlan "red" vrid 1
configure vrrp vlan "red" vrid 1 priority 255
configure vrrp vlan "red" vrid 1 host-mobility on
configure vrrp vlan "red" vrid 1 add 10.1.1.254
enable vrrp vlan "red" vrid 1

create vlan "blue" tag 200
configure vlan "blue" ipaddress 10.1.2.1/24
configure vlan blue add ports 2 untagged
enable ipforwarding vlan "blue"

create vrrp vlan "blue" vrid 1
configure vrrp vlan "blue" vrid 1 priority 255
configure vrrp vlan "blue" vrid 1 host-mobility on
configure vrrp vlan "blue" vrid 1 add 10.1.2.254
enable vrrp vlan "blue" vrid 1

create auto-peering bgp vlans routerid 10.255.1.1 AS-number 4278124801

Leaf 2

configure vlan default delete ports 1-2
create vlan “red" tag 100
configure vlan red add ports 1 untagged
configure vlan "red" ipaddress 10.1.1.1/24
enable ipforwarding vlan "red"

create vrrp vlan "red" vrid 1
configure vrrp vlan "red" vrid 1 priority 255
configure vrrp vlan "red" vrid 1 host-mobility on
configure vrrp vlan "red" vrid 1 add 10.1.1.1
enable vrrp vlan "red" vrid 1

create vlan “blue" tag 200
configure vlan "blue" ipaddress 10.1.2.1/24
configure vlan blue add ports 2 untagged
enable ipforwarding vlan "blue"

create vrrp vlan “blue" vrid 1
configure vrrp vlan "blue" vrid 1 priority 255
configure vrrp vlan "blue" vrid 1 host-mobility on
configure vrrp vlan "blue" vrid 1 add 10.1.2.1
enable vrrp vlan "blue" vrid 1
create auto-peering bgp routerid 10.255.1.2 AS-number 4278124802

Spine 1

# create auto-peering bgp routerid 10.255.2.1 AS-number 4278125057
# show auto-peering

ISSU     : In Service
Router ID: 10.255.2.1
AS       : 4278125057
 
VLAN            Neighbor IP Address           Router ID       Remote AS
--------------- ----------------------------- --------------- ----------
SYS_BGP_0001   fe80::204:96ff:fe97:fcd5      10.1.1.1        4278124801
SYS_BGP_0002   fe80::204:96ff:fe97:fdd5      10.1.1.2        4278124802
. . . 
FBRC_VLAN_2064  None

Spine 2

# create auto-peering bgp routerid 10.255.2.2 AS-number 4278125058
# show auto-peering
 
ISSU     : In Service
Router ID: 10.255.2.2
AS       : 4278125058
 
VLAN            Neighbor IP Address           Router ID       Remote AS
--------------- ----------------------------- --------------- ----------
SYS_BGP_0001  fe80::204:96ff:fe97:fcd5      10.1.1.1        4278124801
SYS_BGP_0002  fe80::204:96ff:fe97:fdd5      10.1.1.2        4278124802
. . . 
FBRC_VLAN_2064  None