02-08-2024 11:24 AM
Hello,
So I'm new to VXLAN and been trying to set up a VxLAN lab, following the UDEMY course ' CCIE Data Center - VXLAN EVPN '.
I am really at a loss as to why show nve peers shows no peers on SW1 and SW2 despite the fact that I don't see anything else I'm missing.
See my network diagram, configuration and show commands below:
Any ideas?
##############
CONFIG
SW1# sh running-config
!Command: show running-config
!No configuration change since last restart
!Time: Thu Feb 8 16:48:46 2024
version 9.2(3) Bios:version
hostname SW1
nv overlay evpn
feature ospf
feature bgp
feature pim
feature fabric forwarding
feature vn-segment-vlan-based
feature nv overlay
ip pim rp-address 10.4.5.10 group-list 224.0.0.0/4
ip pim ssm range 232.0.0.0/8
vlan 1,10
vlan 10
vn-segment 100010
interface nve1
no shutdown
host-reachability protocol bgp
source-interface loopback0
member vni 100010
suppress-arp
mcast-group 239.0.0.10
interface Ethernet1/3
no switchport
mtu 9216
ip address 10.11.15.1/29
ip ospf network point-to-point
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
no shutdown
interface Ethernet1/5
no switchport
mtu 9216
ip address 10.11.14.1/29
ip ospf network point-to-point
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
no shutdown
interface Ethernet1/7
switchport mode trunk
interface Ethernet1/8
switchport mode trunk
interface loopback0
ip address 10.1.1.11/32
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
router ospf UNDERLAY
router bgp 65000
router-id 1.1.1.1
neighbor 10.0.0.14
remote-as 65000
update-source loopback0
address-family l2vpn evpn
send-community extended
neighbor 10.0.0.15
remote-as 65000
update-source loopback0
address-family l2vpn evpn
send-community extended
evpn
vni 100010 l2
rd auto
route-target import auto
route-target export auto
SW1#
############################################################
SW2#
nv overlay evpn
feature ospf
feature bgp
feature pim
feature fabric forwarding
feature vn-segment-vlan-based
feature nv overlay
ip pim rp-address 10.4.5.10 group-list 224.0.0.0/4
ip pim ssm range 232.0.0.0/8
vlan 1,10,20
vlan 10
vn-segment 100010
vlan 20
vn-segment 100020
interface nve1
no shutdown
host-reachability protocol bgp
source-interface loopback0
member vni 100010
suppress-arp
mcast-group 239.0.0.10
member vni 100020
suppress-arp
mcast-group 239.0.0.20
interface Ethernet1/2
no switchport
mtu 9216
ip address 10.12.15.2/29
ip ospf network point-to-point
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
no shutdown
interface Ethernet1/3
no switchport
mtu 9216
ip address 10.12.14.2/29
ip ospf network point-to-point
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
no shutdown
interface Ethernet1/5
switchport mode trunk
interface Ethernet1/6
switchport mode trunk
interface loopback0
ip address 10.1.1.12/32
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
router ospf UNDERLAY
router bgp 65000
router-id 2.2.2.2
neighbor 10.0.0.14
remote-as 65000
update-source loopback0
address-family l2vpn evpn
send-community extended
neighbor 10.0.0.15
remote-as 65000
update-source loopback0
address-family l2vpn evpn
send-community extended
evpn
vni 100010 l2
rd auto
route-target import auto
route-target export auto
vni 100020 l2
rd auto
route-target import auto
route-target export auto
##################################################################
SW3# sh run
nv overlay evpn
feature ospf
feature bgp
feature pim
feature fabric forwarding
feature vn-segment-vlan-based
feature nv overlay
ip pim rp-address 10.4.5.10 group-list 224.0.0.0/4
ip pim ssm range 232.0.0.0/8
vlan 1,20
vlan 20
vn-segment 100020
interface nve1
no shutdown
host-reachability protocol bgp
source-interface loopback0
member vni 100020
suppress-arp
mcast-group 239.0.0.20
interface Ethernet1/2
no switchport
mtu 9216
ip address 10.13.15.3/29
ip ospf network point-to-point
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
no shutdown
interface Ethernet1/3
no switchport
mtu 9216
ip address 10.13.14.3/29
ip ospf network point-to-point
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
no shutdown
interface Ethernet1/4
switchport mode trunk
interface loopback0
ip address 10.1.1.13/32
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
router ospf UNDERLAY
router bgp 65000
router-id 3.3.3.3
neighbor 10.0.0.14
remote-as 65000
update-source loopback0
address-family l2vpn evpn
send-community extended
neighbor 10.0.0.15
remote-as 65000
update-source loopback0
address-family l2vpn evpn
send-community extended
evpn
vni 100020 l2
rd auto
route-target import auto
route-target export auto
#########################################################################################
SW4# sh run
nv overlay evpn
feature ospf
feature bgp
feature pim
feature nv overlay
ip pim rp-address 10.4.5.10 group-list 224.0.0.0/4
ip pim ssm range 232.0.0.0/8
ip pim anycast-rp 10.4.5.10 10.0.0.14
ip pim anycast-rp 10.4.5.10 10.0.0.15
vlan 1
interface Ethernet1/3
no switchport
mtu 9216
ip address 10.13.14.4/29
ip ospf network point-to-point
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
no shutdown
interface Ethernet1/5
no switchport
mtu 9216
ip address 10.11.14.4/29
ip ospf network point-to-point
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
no shutdown
interface Ethernet1/7
no switchport
mtu 9216
ip address 10.12.14.4/29
ip ospf network point-to-point
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
no shutdown
interface loopback0
ip address 10.0.0.14/32
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
interface loopback1
ip address 10.4.5.10/32
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
router ospf UNDERLAY
router bgp 65000
router-id 4.4.4.4
neighbor 10.1.1.0/24
remote-as 65000
update-source loopback0
address-family l2vpn evpn
send-community extended
route-reflector-client
########################################################################################
SW5# sh run
nv overlay evpn
feature ospf
feature bgp
feature pim
feature nv overlay
ip pim rp-address 10.4.5.10 group-list 224.0.0.0/4
ip pim ssm range 232.0.0.0/8
ip pim anycast-rp 10.4.5.10 10.0.0.14
ip pim anycast-rp 10.4.5.10 10.0.0.15
vlan 1
interface Ethernet1/2
no switchport
mtu 9216
ip address 10.13.15.5/29
ip ospf network point-to-point
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
no shutdown
interface Ethernet1/4
no switchport
mtu 9216
ip address 10.12.15.5/29
ip ospf network point-to-point
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
no shutdown
interface Ethernet1/5
no switchport
mtu 9216
ip address 10.11.15.5/29
ip ospf network point-to-point
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
no shutdown
interface loopback0
ip address 10.0.0.15/32
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
interface loopback1
ip address 10.4.5.10/32
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
router ospf UNDERLAY
router bgp 65000
router-id 5.5.5.5
neighbor 10.1.1.0/24
remote-as 65000
update-source loopback0
address-family l2vpn evpn
send-community extended
route-reflector-client
################################################################
SW1 VERIFICATION
SW1# sh ip ospf neighbors
OSPF Process ID UNDERLAY VRF default
Total number of neighbors: 2
Neighbor ID Pri State Up Time Address Interface
10.0.0.15 1 FULL/ - 00:50:05 10.11.15.5 Eth1/3
10.0.0.14 1 FULL/ - 00:50:04 10.11.14.4 Eth1/5
SW1# ping 10.1.1.12
PING 10.1.1.12 (10.1.1.12): 56 data bytes
64 bytes from 10.1.1.12: icmp_seq=0 ttl=253 time=11.322 ms
64 bytes from 10.1.1.12: icmp_seq=1 ttl=253 time=11.153 ms
64 bytes from 10.1.1.12: icmp_seq=2 ttl=253 time=14.657 ms
64 bytes from 10.1.1.12: icmp_seq=3 ttl=253 time=11.137 ms
64 bytes from 10.1.1.12: icmp_seq=4 ttl=253 time=10.041 ms
--- 10.1.1.12 ping statistics ---
5 packets transmitted, 5 packets received, 0.00% packet loss
round-trip min/avg/max = 10.041/11.661/14.657 ms
SW1# sh ip pim neighbor
PIM Neighbor Status for VRF "default"
Neighbor Interface Uptime Expires DR Bidir- BFD
ECMP Redirect
Priority Capable State
Capable
10.11.15.5 Ethernet1/3 01:30:56 00:01:30 1 yes n/a
no
10.11.14.4 Ethernet1/5 01:30:56 00:01:31 1 yes n/a
no
SW1# ^C
SW1# show bgp l2vpn evpn summary
BGP summary information for VRF default, address family L2VPN EVPN
BGP router identifier 1.1.1.1, local AS number 65000
BGP table version is 4, L2VPN EVPN config peers 2, capable peers 2
0 network entries and 0 paths using 0 bytes of memory
BGP attribute entries [0/0], BGP AS path entries [0/0]
BGP community entries [0/0], BGP clusterlist entries [0/0]
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.0.14 4 65000 108 108 4 0 0 01:40:45 0
10.0.0.15 4 65000 106 108 4 0 0 01:40:35 0
SW1# sh nve vni
Codes: CP - Control Plane DP - Data Plane
UC - Unconfigured SA - Suppress ARP
SU - Suppress Unknown Unicast
Xconn - Crossconnect
MS-IR - Multisite Ingress Replication
Interface VNI Multicast-group State Mode Type [BD/VRF] Flags
--------- -------- ----------------- ----- ---- ------------------ -----
nve1 100010 239.0.0.10 Up CP L2 [10] SA
SW1# show nve interface
Interface: nve1, State: Up, encapsulation: VXLAN
VPC Capability: VPC-VIP-Only [not-notified]
Local Router MAC: 0c3b.b863.0007
Host Learning Mode: Control-Plane
Source-Interface: loopback0 (primary: 10.1.1.11, secondary: 0.0.0.0)
SW1# sh nve peers
SW1# sh nve peers
*******************
SW2 verification
SW2# sh ip pim neighbor
e vni
sh nve peersPIM Neighbor Status for VRF "default"
Neighbor Interface Uptime Expires DR Bidir- BFD
ECMP Redirect
Priority Capable State
Capable
10.12.15.5 Ethernet1/2 01:51:19 00:01:25 1 yes n/a
no
10.12.14.4 Ethernet1/3 01:51:19 00:01:42 1 yes n/a
no
SW2# show bgp l2vpn evpn summary
BGP summary information for VRF default, address family L2VPN EVPN
BGP router identifier 2.2.2.2, local AS number 65000
BGP table version is 4, L2VPN EVPN config peers 2, capable peers 2
0 network entries and 0 paths using 0 bytes of memory
BGP attribute entries [0/0], BGP AS path entries [0/0]
BGP community entries [0/0], BGP clusterlist entries [0/0]
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.0.14 4 65000 118 118 4 0 0 01:50:49 0
10.0.0.15 4 65000 118 118 4 0 0 01:50:47 0
SW2# sh nve vni
Codes: CP - Control Plane DP - Data Plane
UC - Unconfigured SA - Suppress ARP
SU - Suppress Unknown Unicast
Xconn - Crossconnect
MS-IR - Multisite Ingress Replication
Interface VNI Multicast-group State Mode Type [BD/VRF] Flags
--------- -------- ----------------- ----- ---- ------------------ -----
nve1 100010 239.0.0.10 Up CP L2 [10] SA
nve1 100020 239.0.0.20 Up CP L2 [20] SA
SW2# sh nve interface
Interface: nve1, State: Up, encapsulation: VXLAN
VPC Capability: VPC-VIP-Only [not-notified]
Local Router MAC: 0cb6.3ad8.0007
Host Learning Mode: Control-Plane
Source-Interface: loopback0 (primary: 10.1.1.12, secondary: 0.0.0.0)
SW2# sh nve peers
SW2# sh nve peers
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide