cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
367
Views
1
Helpful
1
Replies

EVPN All-Active multihomed not working when both members are up

Hej
I am trying to configure a EVPN E-LAN solution with A/A setup. I followed the xrdocs.io

NCS540s in the diagram have EVPN E-LAN with each other. Port towards Host-1, LinkA/B are in the same EVPN instance

Host-1 can not ping Host-2 while Link B is up.
If I take down Link B, then the ping works.
If I take down Link A, and leave Link B up, ping doesn't work again.

I am not sure what I am missing exactly, help appreciated

NCS540-1 Config

 

Spoiler
l2vpn
 bridge group 8
  bridge-domain bd_8
   interface Bundle-Ether1.8
   !
   interface GigabitEthernet0/0/0/2.8
   !
   evi 8
   !
  !
 !
 
 
evpn
 evi 8
  bgp
   rd 18.18.18.18:8
   route-target import 8989:8
   route-target export 8989:8
  !
  advertise-mac
  !
 !
 interface Bundle-Ether1
  ethernet-segment
   identifier type 0 11.00.00.00.00.00.00.00.11
  !
 !
!


interface Bundle-Ether1
 description TO-SWITCH
 lacp system mac 8989.8989.8989
!
interface Bundle-Ether1.8 l2transport
 encapsulation dot1q 8
!
interface GigabitEthernet0/0/0/2.8 l2transport
 description TO HOST-1
 encapsulation dot1q 8
!


NCS540-2 Config

 

 

Spoiler
l2vpn
 bridge group 8
  bridge-domain bd_8
   interface Bundle-Ether1.8
   !
   interface GigabitEthernet0/0/0/2.8
   !
   evi 8
   !
  !
 !


evpn
 evi 8
  bgp
   rd 199.199.199.199:8
   route-target import 8989:8
   route-target export 8989:8
  !
  advertise-mac
  !
 !
 interface Bundle-Ether1
  ethernet-segment
   identifier type 0 11.00.00.00.00.00.00.00.11
  !
 !
!


interface Bundle-Ether1
 description TO-SWITCH
 lacp system mac 8989.8989.8989
!
interface Bundle-Ether1.8 l2transport
 encapsulation dot1q 8
!
interface GigabitEthernet0/0/0/2.8 l2transport
 description TO HOST-1
 encapsulation dot1q 8
!

 

NCS504-1 Show outputs

 

Spoiler
 RP/0/RP0/CPU0:sw01-tgl-cph#show l2vpn forwarding bridge-domain 8:bd_8 mac-address location 0/0/CPU0 
Mac Address    Type    Learned from/Filtered on    LC learned Resync Age/Last Change Mapped to       
-------------- ------- --------------------------- ---------- ---------------------- --------------  
4014.82d5.2aad dynamic Gi0/0/0/2.8                 N/A        14 Dec 10:28:02        N/A             
5254.0012.3f88 dynamic BE1.8                       N/A        14 Dec 10:28:02        N/A         

###############################################
###############################################

RP/0/RP0/CPU0:sw01-tgl-cph#show l2route evpn mac all
Thu Dec 14 10:29:53.287 UTC
Topo ID  Mac Address    Producer    Next Hop(s)                             
-------- -------------- ----------- ----------------------------------------
0        4014.82d5.2aad LOCAL       GigabitEthernet0/0/0/2.8, N/A           
0        5254.0012.3f88 LOCAL       Bundle-Ether1.8, N/A                    
0        5254.0012.3f88 L2VPN       Bundle-Ether1.8, N/A  

###############################################
###############################################

RP/0/RP0/CPU0:sw01-tgl-cph# show bundle bundle-ether 1
Bundle-Ether1
  Status:                                    Up
  Local links <active/standby/configured>:   1 / 0 / 1
  Local bandwidth <effective/available>:     10000000 (10000000) kbps
  MAC address (source):                      c08b.2a79.04dc (Chassis pool)
  Inter-chassis link:                        No
  Minimum active links / bandwidth:          1 / 1 kbps
  Maximum active links:                      64
  Wait while timer:                          2000 ms
  Load balancing:                            
    Link order signaling:                    Not configured
    Hash type:                               Default
    Locality threshold:                      None
  LACP:                                      Operational
    Flap suppression timer:                  Off
    Cisco extensions:                        Disabled
    Non-revertive:                           Disabled
  mLACP:                                     Not configured
  IPv4 BFD:                                  Not configured
  IPv6 BFD:                                  Not configured

  Port                  Device           State        Port ID         B/W, kbps
  --------------------  ---------------  -----------  --------------  ----------
  Te0/0/0/1             Local            Active       0x8000, 0x0001    10000000
      Link is Active


###############################################
###############################################


RP/0/RP0/CPU0:sw01-tgl-cph#show evpn ethernet-segment detail 	  
Ethernet Segment Id      Interface                          Nexthops            
------------------------ ---------------------------------- --------------------
0011.0000.0000.0000.0011 BE1                                18.18.18.18
                                                            19.19.19.19
  ES to BGP Gates   : Ready
  ES to L2FIB Gates : Ready
  Main port         :
     Interface name : Bundle-Ether1
     Interface MAC  : c08b.2a79.04dc
     IfHandle       : 0x20008014
     State          : Up
     Redundancy     : Not Defined
  ESI type          : 0
     Value          : 0011.0000.0000.0000.0011
  ES Import RT      : 1100.0000.0000 (from ESI)
  Source MAC        : 0000.0000.0000 (N/A)
  Topology          :
     Operational    : MH, All-active
     Configured     : All-active (AApF) (default)
  Service Carving   : Auto-selection
     Multicast      : Disabled
  Convergence       : 
  Peering Details   : 2 Nexthops
     18.18.18.18 [MOD:P:7fff:T]
     19.19.19.19 [MOD:P:00:T]
  Service Carving Synchronization:
     Mode           : NONE
     Peer Updates   :
             18.18.18.18 [SCT: N/A]
             19.19.19.19 [SCT: N/A]
  Service Carving Results:
     Forwarders     : 2
     Elected        : 1
     Not Elected    : 1
	 
	 
###############################################
###############################################
RP/0/RP0/CPU0:sw01-tgl-cph#show bgp l2vpn evpn rd 199.199.199.199:8  
Route Distinguisher: 199.199.199.199:8

*>i[1][0011.0000.0000.0000.0011][0]/120
                      19.19.19.19                   100      0 i
*>i[2][0][48][0050.5688.10d9][0]/104
                      19.19.19.19                   100      0 i
*>i[3][0][32][19.19.19.19]/80
                      19.19.19.19                   100      0 i


NCS540-2 Show outputs

Spoiler
RP/0/RP0/CPU0:sw02-tgl-cph#show l2vpn forwarding bridge-domain 8:bd_8 mac-address location 0/0/CPU0 
Mac Address    Type    Learned from/Filtered on    LC learned Resync Age/Last Change Mapped to       
-------------- ------- --------------------------- ---------- ---------------------- --------------  
5254.0012.3f88 dynamic BE1.8                       N/A        14 Dec 10:30:39        N/A 

##############################################
############################################## 

RP/0/RP0/CPU0:sw02-tgl-cph#show l2route evpn mac all 
Thu Dec 14 10:31:09.053 UTC
Topo ID  Mac Address    Producer    Next Hop(s)                             
-------- -------------- ----------- ----------------------------------------
0        4014.82d5.2aad L2VPN       26054/I/ME, N/A                         
0        5254.0012.3f88 LOCAL       Bundle-Ether1.8, N/A                    
0        5254.0012.3f88 L2VPN       Bundle-Ether1.8, N/A     

##############################################
##############################################

RP/0/RP0/CPU0:sw02-tgl-cph#show bundle bundle-ether 1
Thu Dec 14 09:58:18.279 UTC

Bundle-Ether1
  Status:                                    Up
  Local links <active/standby/configured>:   1 / 0 / 1
  Local bandwidth <effective/available>:     10000000 (10000000) kbps
  MAC address (source):                      c08b.2a79.c4dc (Chassis pool)
  Inter-chassis link:                        No
  Minimum active links / bandwidth:          1 / 1 kbps
  Maximum active links:                      64
  Wait while timer:                          2000 ms
  Load balancing:                            
    Link order signaling:                    Not configured
    Hash type:                               Default
    Locality threshold:                      None
  LACP:                                      Operational
    Flap suppression timer:                  Off
    Cisco extensions:                        Disabled
    Non-revertive:                           Disabled
  mLACP:                                     Not configured
  IPv4 BFD:                                  Not configured
  IPv6 BFD:                                  Not configured

  Port                  Device           State        Port ID         B/W, kbps
  --------------------  ---------------  -----------  --------------  ----------
  Te0/0/0/1             Local            Active       0x8000, 0x0001    10000000
      Link is Active
	  
###############################################
###############################################  
	  
	  
RP/0/RP0/CPU0:sw02-tgl-cph#show evpn ethernet-segment detail 
Ethernet Segment Id      Interface                          Nexthops            
------------------------ ---------------------------------- --------------------
0011.0000.0000.0000.0011 BE1                                18.18.18.18
                                                            19.19.19.19
  ES to BGP Gates   : Ready
  ES to L2FIB Gates : Ready
  Main port         :
     Interface name : Bundle-Ether1
     Interface MAC  : c08b.2a79.c4dc
     IfHandle       : 0x20008014
     State          : Up
     Redundancy     : Not Defined
  ESI type          : 0
     Value          : 0011.0000.0000.0000.0011
  ES Import RT      : 1100.0000.0000 (from ESI)
  Source MAC        : 0000.0000.0000 (N/A)
  Topology          :
     Operational    : MH, All-active
     Configured     : All-active (AApF) (default)
  Service Carving   : Auto-selection
     Multicast      : Disabled
  Convergence       : 
  Peering Details   : 2 Nexthops
     18.18.18.18 [MOD:P:00:T]
     19.19.19.19 [MOD:P:7fff:T]
  Service Carving Synchronization:
     Mode           : NONE
     Peer Updates   :
             18.18.18.18 [SCT: N/A]
             19.19.19.19 [SCT: N/A]
			 
###############################################
###############################################  

RP/0/RP0/CPU0:sw02-tgl-cph#show bgp l2vpn evpn rd 18.18.18.18:8
Route Distinguisher: 18.18.18.18:8

*>i[1][0011.0000.0000.0000.0011][0]/120
                      18.18.18.18                   100      0 i
*>i[2][0][48][0050.5688.10d9][0]/104
                      18.18.18.18                   100      0 i
*>i[2][0][48][4014.82d5.2aad][0]/104
                      18.18.18.18                   100      0 i
*>i[3][0][32][18.18.18.18]/80
                      18.18.18.18                   100      0 i

 

SWITCH Show outputs

Spoiler
RP/0/RP0/CPU0:switch#show l2vpn forwarding bridge-domain 8:bd_8 mac-address location 0/0/CPU0 
Mac Address    Type    Learned from/Filtered on    LC learned Resync Age/Last Change Mapped to       
-------------- ------- --------------------------- ---------- ---------------------- --------------  
5254.0012.3f88 dynamic Te0/0/0/20.8                N/A        14 Dec 10:30:31        N/A             
4014.82d5.2aad dynamic BE101.8                     N/A        14 Dec 10:30:31        N/A  



EVPN-AA.PNG




1 Accepted Solution

Accepted Solutions

I have fixed the issue. I had to enable "explicit null" between the 2 NCS540 devices. Since most EVPN examples are in Leaf/Spine setup this is normally not needed I think. But in this scenario since NCS devices are connected to each other directly, they needed to keep the label for processing

router isis core
interface Loopback0
passive
address-family ipv4 unicast
prefix-sid absolute 16018 explicit-null

View solution in original post

1 Reply 1

I have fixed the issue. I had to enable "explicit null" between the 2 NCS540 devices. Since most EVPN examples are in Leaf/Spine setup this is normally not needed I think. But in this scenario since NCS devices are connected to each other directly, they needed to keep the label for processing

router isis core
interface Loopback0
passive
address-family ipv4 unicast
prefix-sid absolute 16018 explicit-null

Review Cisco Networking for a $25 gift card