From c00571b3ab13792da42a96703e6f0b00d6f6f640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Harald=20Jens=C3=A5s?= Date: Tue, 31 Mar 2026 15:00:14 +0200 Subject: [PATCH] ceos lab fixes ... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Assisted-By: Claude (claude-4.5-sonnet) Signed-off-by: Harald Jensås --- .../devstack-ceos-vxlan/TROUBLESHOOTING.md | 56 ++++++++++++++++++- .../devstack-ceos-vxlan/local.conf.j2 | 4 +- 2 files changed, 58 insertions(+), 2 deletions(-) diff --git a/scenarios/networking-lab/devstack-ceos-vxlan/TROUBLESHOOTING.md b/scenarios/networking-lab/devstack-ceos-vxlan/TROUBLESHOOTING.md index ad740703..a0382415 100644 --- a/scenarios/networking-lab/devstack-ceos-vxlan/TROUBLESHOOTING.md +++ b/scenarios/networking-lab/devstack-ceos-vxlan/TROUBLESHOOTING.md @@ -22,7 +22,61 @@ - Verify BGP is running: `show bgp summary` - Check BGP EVPN neighbors: `show bgp evpn summary` - Verify loopback reachability: `ping 10.255.255.1 source 10.255.255.3` -- Check BGP configuration: `show running-config section bgp` +- Check BGP configuration: `show running-config | section router bgp` +- View all EVPN routes: `show bgp evpn` +- Check EVPN Type 2 routes (MAC-IP): `show bgp evpn route-type mac-ip` +- Check EVPN Type 3 routes (IMET): `show bgp evpn route-type imet` +- View EVPN instance for VLAN: `show bgp evpn instance vlan ` +- Check detailed EVPN routes: `show bgp evpn route-type mac-ip detail` + +## VXLAN/EVPN MAC Learning + +### Check Learned MACs via VXLAN +```bash +# View all MAC addresses learned via VXLAN (Arista equivalent of Cisco's "show l2route evpn mac all") +show vxlan address-table + +# Check MACs for specific VLAN +show vxlan address-table vlan +``` + +### Check EVPN MAC-IP Routes +```bash +# View all EVPN Type 2 routes (MAC-IP advertisements) +show bgp evpn route-type mac-ip + +# Check specific MAC or IP +show bgp evpn route-type mac-ip +show bgp evpn route-type mac-ip + +# View with details (includes route distinguishers, extended communities) +show bgp evpn route-type mac-ip detail +``` + +### Check VXLAN VTEPs +```bash +# List remote VTEPs +show vxlan vtep + +# Check VXLAN interface status +show interface Vxlan1 + +# View VXLAN flood lists for BUM traffic +show vxlan flood vtep + +# Check VXLAN counters +show vxlan counters +``` + +### Verify ARP Learning for EVPN +```bash +# Check if switch has learned IP-to-MAC bindings +show ip arp + +# For MAC+IP to be advertised in EVPN Type 2 routes, the switch must have +# ARP entries. If empty, only MAC-only routes will be advertised. +# ARP suppression/proxy requires MAC+IP routes to function. +``` ## Devstack Deployment Issues - Check network connectivity on trunk0: `ip link show trunk0` diff --git a/scenarios/networking-lab/devstack-ceos-vxlan/local.conf.j2 b/scenarios/networking-lab/devstack-ceos-vxlan/local.conf.j2 index 5dfd438d..d50a3cd9 100644 --- a/scenarios/networking-lab/devstack-ceos-vxlan/local.conf.j2 +++ b/scenarios/networking-lab/devstack-ceos-vxlan/local.conf.j2 @@ -106,7 +106,7 @@ enable_plugin ironic https://opendev.org/openstack/ironic enable_plugin networking-generic-switch https://opendev.org/openstack/networking-generic-switch # Enable networking-baremetal plugin -enable_plugin networking-baremetal https://opendev.org/openstack/networking-baremetal +enable_plugin networking-baremetal https://opendev.org/openstack/networking-baremetal refs/changes/92/981692/2 @@ -150,6 +150,7 @@ ngs_mac_address = 22:57:f8:dd:03:01 ngs_disable_inactive_ports = true ngs_physical_networks = public ngs_nve_interface = Vxlan1 +ngs_bgp_asn = 65001 [genericswitch:leaf02] device_type = netmiko_arista_eos @@ -160,3 +161,4 @@ ngs_mac_address = 22:57:f8:dd:04:01 ngs_disable_inactive_ports = true ngs_physical_networks = public ngs_nve_interface = Vxlan1 +ngs_bgp_asn = 65001