The following example shows a leaf/spine topology with VXLAN (Virtual Extensible LAN) with users on VLAN (Virtual LAN) green.
Note
An Advanced Edge license must be installed on all devices.The following commands reserve 10 VLANs.
create auto-peering bgp vlans 200-210 routerid 12.22.2.120 AS-number 345200 create vlan "green" configure vlan green tag 901 configure vlan green add ports 1,28 tagged configure vlan green ipaddress 10.1.1.1 255.255.255.0 disable igmp snooping vlan "green" create vrrp vlan green vrid 151 configure vrrp vlan green vrid 151 host-mobility on configure vrrp vlan green vrid 151 add 10.1.1.254 enable vrrp vlan green vrid 151 configure virtual-network "green" add vlan green configure virtual-network local-endpoint ipaddress 12.22.2.120 create virtual-network "vni1" flooding standard configure virtual-network "vni1" vxlan vni 1 configure virtual-network "vni1" add vlan green
create auto-peering bgp vlans 200-210 routerid 14.33.13.2 AS-number 345201 create vlan "green" configure vlan green tag 901 configure vlan green add ports 15,33 tagged configure vlan green ipaddress 30.1.1.1 255.255.255.0 disable igmp snooping vlan "green" create vrrp vlan green vrid 151 configure vrrp vlan green vrid 151 host-mobility on configure vrrp vlan green vrid 151 add 30.1.1.254 enable vrrp vlan green vrid 151 configure virtual-network "green" add vlan green configure virtual-network local-endpoint ipaddress 14.33.13.2 vr "VR-Default" create virtual-network "vni1" flooding standard configure virtual-network "vni1" vxlan vni 1 configure virtual-network "vni1" add vlan green
# create auto-peering bgp vlans 2001-2064 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 --------------- ----------------------------- --------------- ---------- FBRC_VLAN_2001 fe80::204:96ff:fe97:fcd5 14.33.13.2 345201 FBRC_VLAN_2002 fe80::204:96ff:fe97:fdd5 12.22.2.120 345200 . . . FBRC_VLAN_2064 None
# create auto-peering bgp vlans 2001-2064 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 --------------- ----------------------------- --------------- ---------- FBRC_VLAN_2001 fe80::204:96ff:fe97:fcd5 14.33.13.2 345201 FBRC_VLAN_2002 fe80::204:96ff:fe97:fdd5 12.22.2.120 345200 . . . FBRC_VLAN_2064 None