Cisco Nexus EVPN VXLAN Fabric GNS3 Setup

These are the base configs I have used in my lab for all the Nexus switches. It’s enough for me to get SSH access and to use the API.

Spine1

hostname Spine1

feature nxapi
cfs eth distribute

no password strength-check
username admin password 5 $5$QDwTbb5f$OCKK.qhqrVz//MtyaZ4fqPLR9/i.f6D8vpD.fGooh9
2  role network-admin
ssh key rsa 2048
no ip domain-lookup
copp profile strict
snmp-server user admin network-admin auth md5 0xcdcfc90136e8b28ad99067d84b2b8a9b
 priv 0xcdcfc90136e8b28ad99067d84b2b8a9b localizedkey


vlan 1

vrf context management
  ip route 0.0.0.0/0 172.16.1.254

interface mgmt0
  vrf member management
  ip address 172.16.1.101/24
line console
line vty

Spine2

hostname Spine2

feature nxapi
cfs eth distribute

no password strength-check
username admin password 5 $5$gSLV65HY$bEJq/lmE6pRDXdgRGIvRRe7Ryi/PuIZbI2QDqN6aaJ
5  role network-admin
no ip domain-lookup
ip domain-name ansible.lab
crypto key param rsa label DC2.ansible.lab modulus 2048
copp profile strict

vlan 1

vrf context management
  ip route 0.0.0.0/0 172.16.1.254

interface mgmt0
  vrf member management
  ip address 172.16.1.102/24
line console
line vty

Leaf1

hostname Leaf1

feature nxapi

no password strength-check
username admin password 5 $5$XBbGp.7c$6WfsTS5FsIDzhp.ks/H45DWg584mh/6g9WodoyR2vu
7  role network-admin
no ip domain-lookup
ip domain-name ansible.lab
crypto key param rsa label DC3.ansible.lab modulus 2048
copp profile strict
snmp-server user admin network-admin auth md5 0x09e9cc1f8de03ad855f6ebce0b990acf
 priv 0x09e9cc1f8de03ad855f6ebce0b990acf localizedkey


vlan 1

vrf context management
  ip route 0.0.0.0/0 172.16.1.254

interface mgmt0
  vrf member management
  ip address 172.16.1.103/24
line console
line vty

Leaf2

hostname Leaf2

feature nxapi

no password strength-check
username admin password 5 $5$I1zLnHIU$DPsGNg43XxL5rq2oiGOuUyzOxKmGlzOp2EOLEXOAF7
3  role network-admin
no ip domain-lookup
ip domain-name ansible.lab
crypto key param rsa label DC4.ansible.lab modulus 2048
copp profile strict
snmp-server user admin network-admin auth md5 0x3c1e293961b1a29af1c41ce25233ebfa
 priv 0x3c1e293961b1a29af1c41ce25233ebfa localizedkey

vlan 1

vrf context management
  ip route 0.0.0.0/0 172.16.1.254

interface mgmt0
  vrf member management
  ip address 172.16.1.104/24
line console
line vty

Leave a Comment

Your email address will not be published. Required fields are marked *