Рет қаралды 2,790
In this video, we will discuss and configure our simplest topology for VXLAN bridging (intra-subnet) with BGP EVPN from scratch. The configuration will be divided into steps, with verification of each step.
Configured on Cisco Nexus 9K's on EVE-NG.
Contact: ccie.ots@gmail.com
////////////////Configurations////////////////
//////////////Leaf1
nv overlay evpn
feature ospf
feature bgp
feature vn-segment-vlan-based
feature nv overlay
vlan 10
vn-segment 5000
interface nve1
no shutdown
host-reachability protocol bgp
source-interface loopback1
member vni 5000
ingress-replication protocol bgp
interface Ethernet1/1
no switchport
ip address 11.1.1.0/31
ip ospf network point-to-point
ip router ospf 1 area 0.0.0.0
no shutdown
interface Ethernet1/2
switchport access vlan 10
interface loopback0
ip address 100.1.1.1/32
ip router ospf 1 area 0.0.0.0
interface loopback1
ip address 101.1.1.1/32
ip router ospf 1 area 0.0.0.0
router ospf 1
router bgp 65001
router-id 100.1.1.1
address-family l2vpn evpn
retain route-target all
neighbor 100.1.1.3
remote-as 65001
update-source loopback0
address-family l2vpn evpn
send-community
send-community extended
evpn
vni 5000 l2
rd 1:5000
route-target import 5000:5000
route-target export 5000:5000
//////////////Leaf2
nv overlay evpn
feature ospf
feature bgp
feature vn-segment-vlan-based
feature nv overlay
vlan 10
vn-segment 5000
interface nve1
no shutdown
host-reachability protocol bgp
source-interface loopback1
member vni 5000
ingress-replication protocol bgp
interface Ethernet1/1
no switchport
ip address 12.1.1.0/31
ip ospf network point-to-point
ip router ospf 1 area 0.0.0.0
no shutdown
interface Ethernet1/2
switchport access vlan 10
interface loopback0
ip address 100.1.1.2/32
ip router ospf 1 area 0.0.0.0
interface loopback1
ip address 101.1.1.2/32
ip router ospf 1 area 0.0.0.0
router ospf 1
router bgp 65001
router-id 100.1.1.2
address-family l2vpn evpn
retain route-target all
neighbor 100.1.1.3
remote-as 65001
update-source loopback0
address-family l2vpn evpn
send-community
send-community extended
evpn
vni 5000 l2
rd 2:5000
route-target import 5000:5000
route-target export 5000:5000
//////////////Spine1
nv overlay evpn
feature ospf
feature bgp
interface Ethernet1/1
no switchport
ip address 11.1.1.1/31
ip ospf network point-to-point
ip router ospf 1 area 0.0.0.0
no shutdown
interface Ethernet1/2
no switchport
ip address 12.1.1.1/31
ip ospf network point-to-point
ip router ospf 1 area 0.0.0.0
no shutdown
interface loopback0
ip address 100.1.1.3/32
ip router ospf 1 area 0.0.0.0
router ospf 1
router bgp 65001
router-id 100.1.1.3
address-family l2vpn evpn
neighbor 100.1.1.1
remote-as 65001
update-source loopback0
address-family l2vpn evpn
send-community
send-community extended
route-reflector-client
neighbor 100.1.1.2
remote-as 65001
update-source loopback0
address-family l2vpn evpn
send-community
send-community extended
route-reflector-client
////////////////For further study////////////////
Reference Link1:
www.cisco.com/c/en/us/td/docs...
Reference Link2:
support.huawei.com/enterprise...