Platform: Nexus 9300/9000v ยท NX-OS 9.3(9) command model Independent clean lab; not cumulative with other lessons. === SPINE1 === hostname SPINE1 feature ospf router ospf UNDERLAY router-id 10.255.0.1 interface loopback0 ip address 10.255.0.1/32 ip router ospf UNDERLAY area 0.0.0.0 interface Ethernet1/1 no switchport mtu 9216 ip address 192.0.2.0/31 ip ospf network point-to-point ip ospf cost 40 ip router ospf UNDERLAY area 0.0.0.0 no shutdown interface Ethernet1/2 no switchport mtu 9216 ip address 192.0.2.2/31 ip ospf network point-to-point ip ospf cost 40 ip router ospf UNDERLAY area 0.0.0.0 no shutdown interface Ethernet1/3 no switchport mtu 9216 ip address 192.0.2.4/31 ip ospf network point-to-point ip ospf cost 40 ip router ospf UNDERLAY area 0.0.0.0 no shutdown interface Ethernet1/4 no switchport mtu 9216 ip address 192.0.2.6/31 ip ospf network point-to-point ip ospf cost 40 ip router ospf UNDERLAY area 0.0.0.0 no shutdown feature bgp nv overlay evpn router bgp 65000 router-id 10.255.0.1 address-family l2vpn evpn neighbor 10.255.0.3 remote-as 65000 update-source loopback0 address-family l2vpn evpn send-community send-community extended route-reflector-client neighbor 10.255.0.4 remote-as 65000 update-source loopback0 address-family l2vpn evpn send-community send-community extended route-reflector-client neighbor 10.255.0.5 remote-as 65000 update-source loopback0 address-family l2vpn evpn send-community send-community extended route-reflector-client neighbor 10.255.0.6 remote-as 65000 update-source loopback0 address-family l2vpn evpn send-community send-community extended route-reflector-client === SPINE2 === hostname SPINE2 feature ospf router ospf UNDERLAY router-id 10.255.0.2 interface loopback0 ip address 10.255.0.2/32 ip router ospf UNDERLAY area 0.0.0.0 interface Ethernet1/1 no switchport mtu 9216 ip address 192.0.2.8/31 ip ospf network point-to-point ip ospf cost 40 ip router ospf UNDERLAY area 0.0.0.0 no shutdown interface Ethernet1/2 no switchport mtu 9216 ip address 192.0.2.10/31 ip ospf network point-to-point ip ospf cost 40 ip router ospf UNDERLAY area 0.0.0.0 no shutdown interface Ethernet1/3 no switchport mtu 9216 ip address 192.0.2.12/31 ip ospf network point-to-point ip ospf cost 40 ip router ospf UNDERLAY area 0.0.0.0 no shutdown interface Ethernet1/4 no switchport mtu 9216 ip address 192.0.2.14/31 ip ospf network point-to-point ip ospf cost 40 ip router ospf UNDERLAY area 0.0.0.0 no shutdown feature bgp nv overlay evpn router bgp 65000 router-id 10.255.0.2 address-family l2vpn evpn neighbor 10.255.0.3 remote-as 65000 update-source loopback0 address-family l2vpn evpn send-community send-community extended route-reflector-client neighbor 10.255.0.4 remote-as 65000 update-source loopback0 address-family l2vpn evpn send-community send-community extended route-reflector-client neighbor 10.255.0.5 remote-as 65000 update-source loopback0 address-family l2vpn evpn send-community send-community extended route-reflector-client neighbor 10.255.0.6 remote-as 65000 update-source loopback0 address-family l2vpn evpn send-community send-community extended route-reflector-client === LEAF1 === hostname LEAF1 feature ospf router ospf UNDERLAY router-id 10.255.0.3 interface loopback0 ip address 10.255.0.3/32 ip router ospf UNDERLAY area 0.0.0.0 interface Ethernet1/1 no switchport mtu 9216 ip address 192.0.2.1/31 ip ospf network point-to-point ip ospf cost 40 ip router ospf UNDERLAY area 0.0.0.0 no shutdown interface Ethernet1/2 no switchport mtu 9216 ip address 192.0.2.9/31 ip ospf network point-to-point ip ospf cost 40 ip router ospf UNDERLAY area 0.0.0.0 no shutdown feature bgp nv overlay evpn router bgp 65000 router-id 10.255.0.3 address-family l2vpn evpn neighbor 10.255.0.1 remote-as 65000 update-source loopback0 address-family l2vpn evpn send-community send-community extended neighbor 10.255.0.2 remote-as 65000 update-source loopback0 address-family l2vpn evpn send-community send-community extended feature nv overlay feature vn-segment-vlan-based vlan 10 vn-segment 10010 interface Ethernet1/3 switchport switchport mode access switchport access vlan 10 spanning-tree port type edge no shutdown interface nve1 no shutdown source-interface loopback0 host-reachability protocol bgp member vni 10010 ingress-replication protocol bgp evpn vni 10010 l2 rd auto route-target import 65000:10010 route-target export 65000:10010 === LEAF2 === hostname LEAF2 feature ospf router ospf UNDERLAY router-id 10.255.0.4 interface loopback0 ip address 10.255.0.4/32 ip router ospf UNDERLAY area 0.0.0.0 interface Ethernet1/1 no switchport mtu 9216 ip address 192.0.2.3/31 ip ospf network point-to-point ip ospf cost 40 ip router ospf UNDERLAY area 0.0.0.0 no shutdown interface Ethernet1/2 no switchport mtu 9216 ip address 192.0.2.11/31 ip ospf network point-to-point ip ospf cost 40 ip router ospf UNDERLAY area 0.0.0.0 no shutdown feature bgp nv overlay evpn router bgp 65000 router-id 10.255.0.4 address-family l2vpn evpn neighbor 10.255.0.1 remote-as 65000 update-source loopback0 address-family l2vpn evpn send-community send-community extended neighbor 10.255.0.2 remote-as 65000 update-source loopback0 address-family l2vpn evpn send-community send-community extended feature nv overlay feature vn-segment-vlan-based vlan 10 vn-segment 10010 interface Ethernet1/3 switchport switchport mode access switchport access vlan 10 spanning-tree port type edge no shutdown interface nve1 no shutdown source-interface loopback0 host-reachability protocol bgp member vni 10010 ingress-replication protocol bgp evpn vni 10010 l2 rd auto route-target import 65000:10010 route-target export 65000:10010 === LEAF3 === hostname LEAF3 feature ospf router ospf UNDERLAY router-id 10.255.0.5 interface loopback0 ip address 10.255.0.5/32 ip router ospf UNDERLAY area 0.0.0.0 interface Ethernet1/1 no switchport mtu 9216 ip address 192.0.2.5/31 ip ospf network point-to-point ip ospf cost 40 ip router ospf UNDERLAY area 0.0.0.0 no shutdown interface Ethernet1/2 no switchport mtu 9216 ip address 192.0.2.13/31 ip ospf network point-to-point ip ospf cost 40 ip router ospf UNDERLAY area 0.0.0.0 no shutdown feature bgp nv overlay evpn router bgp 65000 router-id 10.255.0.5 address-family l2vpn evpn neighbor 10.255.0.1 remote-as 65000 update-source loopback0 address-family l2vpn evpn send-community send-community extended neighbor 10.255.0.2 remote-as 65000 update-source loopback0 address-family l2vpn evpn send-community send-community extended feature nv overlay feature vn-segment-vlan-based vlan 10 vn-segment 10010 interface Ethernet1/3 switchport switchport mode access switchport access vlan 10 spanning-tree port type edge no shutdown interface nve1 no shutdown source-interface loopback0 host-reachability protocol bgp member vni 10010 ingress-replication protocol bgp evpn vni 10010 l2 rd auto route-target import 65000:10010 route-target export 65000:10010 === LEAF4 === hostname LEAF4 feature ospf router ospf UNDERLAY router-id 10.255.0.6 interface loopback0 ip address 10.255.0.6/32 ip router ospf UNDERLAY area 0.0.0.0 interface Ethernet1/1 no switchport mtu 9216 ip address 192.0.2.7/31 ip ospf network point-to-point ip ospf cost 40 ip router ospf UNDERLAY area 0.0.0.0 no shutdown interface Ethernet1/2 no switchport mtu 9216 ip address 192.0.2.15/31 ip ospf network point-to-point ip ospf cost 40 ip router ospf UNDERLAY area 0.0.0.0 no shutdown feature bgp nv overlay evpn router bgp 65000 router-id 10.255.0.6 address-family l2vpn evpn neighbor 10.255.0.1 remote-as 65000 update-source loopback0 address-family l2vpn evpn send-community send-community extended neighbor 10.255.0.2 remote-as 65000 update-source loopback0 address-family l2vpn evpn send-community send-community extended feature nv overlay feature vn-segment-vlan-based vlan 10 vn-segment 10010 interface Ethernet1/3 switchport switchport mode access switchport access vlan 10 spanning-tree port type edge no shutdown interface nve1 no shutdown source-interface loopback0 host-reachability protocol bgp member vni 10010 ingress-replication protocol bgp evpn vni 10010 l2 rd auto route-target import 65000:10010 route-target export 65000:10010