cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
869
Views
10
Helpful
3
Replies

vxlan evpn with dual AS

mikelee4356
Level 1
Level 1

hello, team:

I am trying to test vxlan evp ebgp with dual AS, but I could not get nve peers up, if just use ibgp for spine and leefs, everything works fine. maybe someone could help and look from different view.

cisco reference

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/92x/vxlan-92x/configuration/guide/b-cisco-nexus-9000-series-nx-os-vxlan-configuration-guide-92x/b_Cisco_Nexus_9000_Series_NX-OS_VXLAN_Configuration_Guide_9x_chapter_0100.html

https://learningnetwork.cisco.com/s/blogs/a0D3i000002eebCEAQ/vxlan-ebgp-evpn-the-incarnation-of-a-hybrid-guest-post

loopback routes from both leafs shown up in sp1, sp2, but from sp1, sp2 does not advertise those loopback routes to neighbor leafs, I thought that is related to allowas in and disable-peer-as-check, but it still failed, any suggestions?

thanks

~Mike

 

 

1 Accepted Solution

Accepted Solutions

got it working, bgp address family is killing me, I would suggest to use exit-family instead.

 

LEAF1# show ip bgp all
BGP routing table information for VRF default, address family IPv4 Unicast
BGP table version is 41, Local Router ID is 10.255.255.1
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid, >-best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup, 2 - best2

Network Next Hop Metric LocPrf Weight Path
*>r10.1.1.1/32 0.0.0.0 0 100 32768 ?
*>e10.1.1.2/32 10.255.255.4 0 65000 65001 ?
*>e10.1.1.4/32 10.255.255.4 0 0 65000 ?
*>r10.255.255.1/32 0.0.0.0 0 100 32768 ?
*>e10.255.255.2/32 10.255.255.4 0 65000 65001 ?
*>e10.255.255.4/32 10.255.255.4 0 0 65000 ?

BGP routing table information for VRF default, address family L2VPN EVPN
BGP table version is 33, Local Router ID is 10.255.255.1
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid, >-best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup, 2 - best2

Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 10.255.255.1:32777 (L2VNI 1000)
*>l[2]:[0]:[0]:[48]:[5254.0004.6eb4]:[0]:[0.0.0.0]/216
10.1.1.1 100 32768 i
*>e[2]:[0]:[0]:[48]:[5254.0013.cb6c]:[0]:[0.0.0.0]/216
10.1.1.2 0 65000 65001 i
*>l[2]:[0]:[0]:[48]:[5254.0004.6eb4]:[32]:[192.168.1.2]/248
10.1.1.1 100 32768 i
*>e[2]:[0]:[0]:[48]:[5254.0013.cb6c]:[32]:[192.168.1.4]/248
10.1.1.2 0 65000 65001 i
*>l[3]:[0]:[32]:[10.1.1.1]/88
10.1.1.1 100 32768 i
*>e[3]:[0]:[32]:[10.1.1.2]/88
10.1.1.2 0 65000 65001 i

Route Distinguisher: 10.255.255.2:32777
*>e[2]:[0]:[0]:[48]:[5254.0013.cb6c]:[0]:[0.0.0.0]/216
10.1.1.2 0 65000 65001 i
*>e[2]:[0]:[0]:[48]:[5254.0013.cb6c]:[32]:[192.168.1.4]/248
10.1.1.2 0 65000 65001 i
*>e[3]:[0]:[32]:[10.1.1.2]/88
10.1.1.2 0 65000 65001 i

LEAF1# show nve peers
Interface Peer-IP State LearnType Uptime Router-Mac
--------- -------------------------------------- ----- --------- -------- -----------------
nve1 10.1.1.2 Up CP 00:14:05 n/a

LEAF1#

View solution in original post

3 Replies 3

mikelee4356
Level 1
Level 1

attached CML yaml file

got it working, bgp address family is killing me, I would suggest to use exit-family instead.

 

LEAF1# show ip bgp all
BGP routing table information for VRF default, address family IPv4 Unicast
BGP table version is 41, Local Router ID is 10.255.255.1
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid, >-best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup, 2 - best2

Network Next Hop Metric LocPrf Weight Path
*>r10.1.1.1/32 0.0.0.0 0 100 32768 ?
*>e10.1.1.2/32 10.255.255.4 0 65000 65001 ?
*>e10.1.1.4/32 10.255.255.4 0 0 65000 ?
*>r10.255.255.1/32 0.0.0.0 0 100 32768 ?
*>e10.255.255.2/32 10.255.255.4 0 65000 65001 ?
*>e10.255.255.4/32 10.255.255.4 0 0 65000 ?

BGP routing table information for VRF default, address family L2VPN EVPN
BGP table version is 33, Local Router ID is 10.255.255.1
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid, >-best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup, 2 - best2

Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 10.255.255.1:32777 (L2VNI 1000)
*>l[2]:[0]:[0]:[48]:[5254.0004.6eb4]:[0]:[0.0.0.0]/216
10.1.1.1 100 32768 i
*>e[2]:[0]:[0]:[48]:[5254.0013.cb6c]:[0]:[0.0.0.0]/216
10.1.1.2 0 65000 65001 i
*>l[2]:[0]:[0]:[48]:[5254.0004.6eb4]:[32]:[192.168.1.2]/248
10.1.1.1 100 32768 i
*>e[2]:[0]:[0]:[48]:[5254.0013.cb6c]:[32]:[192.168.1.4]/248
10.1.1.2 0 65000 65001 i
*>l[3]:[0]:[32]:[10.1.1.1]/88
10.1.1.1 100 32768 i
*>e[3]:[0]:[32]:[10.1.1.2]/88
10.1.1.2 0 65000 65001 i

Route Distinguisher: 10.255.255.2:32777
*>e[2]:[0]:[0]:[48]:[5254.0013.cb6c]:[0]:[0.0.0.0]/216
10.1.1.2 0 65000 65001 i
*>e[2]:[0]:[0]:[48]:[5254.0013.cb6c]:[32]:[192.168.1.4]/248
10.1.1.2 0 65000 65001 i
*>e[3]:[0]:[32]:[10.1.1.2]/88
10.1.1.2 0 65000 65001 i

LEAF1# show nve peers
Interface Peer-IP State LearnType Uptime Router-Mac
--------- -------------------------------------- ----- --------- -------- -----------------
nve1 10.1.1.2 Up CP 00:14:05 n/a

LEAF1#

Thanks for Cisco devsandbox!