El conjunto de documentos para este producto aspira al uso de un lenguaje no discriminatorio. A los fines de esta documentación, "no discriminatorio" se refiere al lenguaje que no implica discriminación por motivos de edad, discapacidad, género, identidad de raza, identidad étnica, orientación sexual, nivel socioeconómico e interseccionalidad. Puede haber excepciones en la documentación debido al lenguaje que se encuentra ya en las interfaces de usuario del software del producto, el lenguaje utilizado en función de la documentación de la RFP o el lenguaje utilizado por un producto de terceros al que se hace referencia. Obtenga más información sobre cómo Cisco utiliza el lenguaje inclusivo.
Cisco ha traducido este documento combinando la traducción automática y los recursos humanos a fin de ofrecer a nuestros usuarios en todo el mundo contenido en su propio idioma. Tenga en cuenta que incluso la mejor traducción automática podría no ser tan precisa como la proporcionada por un traductor profesional. Cisco Systems, Inc. no asume ninguna responsabilidad por la precisión de estas traducciones y recomienda remitirse siempre al documento original escrito en inglés (insertar vínculo URL).
Este documento describe diferentes modos de balanceo de carga del identificador de segmento Ethernet (ESI), que son esenciales para optimizar la distribución del tráfico y mantener la confiabilidad de la red.
Requirements
Cisco recomienda que tenga conocimientos básicos de:
Componentes Utilizados
Uso del diagrama de topología de red de la figura 1 para ilustrar el funcionamiento de los diferentes modos de equilibrio de carga.
Figura 1 Topología de red
Figura 2 Modo de redundancia activo en el puerto
La Figura 2 Modo de Redundancia Activo de Puerto describe un modo de redundancia en el que la redundancia activa/en espera se configura en el nivel de interfaz. En esta configuración, el tráfico para una instancia virtual Ethernet (EVI), como EVI 100, se reenvía solamente a través de la interfaz activa (en este caso, la interfaz conectada a Provider Edge -PE3). Todo el tráfico destinado a EVI 100 se trocea en el router activo (PE3), mientras que el router o routers en espera (PE2) permanecen listos para asumir el control en caso de que la interfaz activa falle.
evpn
interface Bundle-Ether23
ethernet-segment
identifier type 0 00.23.23.23.23.23.23.23.23
load-balancing-mode port-active >> configuration required to enable this mode
RP/0/RSP1/CPU0:ASR-9904-5-PE2#show interfaces BE23
Bundle-Ether23 is down, line protocol is down
Nota: En el PE en espera (PE2), el estado de la interfaz Bundle Ether (BE) es inactivo.
RP/0/RSP0/CPU0:ASR9910-3-PE3#show interfaces BE23
Bundle-Ether23 is up, line protocol is up
RP/0/RSP1/CPU0:ASR-9904-5-PE2#show bundle bundle-ether 23
Bundle-Ether23
Status: LACP OOS (out of service)
<snip>
Port Device State Port ID B/W, kbps
-------------------- --------------- ----------- -------------- ----------
Hu0/1/0/7 Local Standby 0x8000, 0x0001 100000000
Link is in standby due to bundle out of service state
Nota:
RP/0/RSP0/CPU0:ASR9910-3-PE3#show bundle bundle-ether 23
Bundle-Ether23
Status: Up
<snip>
Port Device State Port ID B/W, kbps
-------------------- --------------- ----------- -------------- ----------
Hu0/1/0/7 Local Active 0x8000, 0x0001 100000000
Link is Active
La interfaz activa en la que todo el tráfico debe ser troceado desde Customer Edge (CE) 23.
RP/0/RSP1/CPU0:ASR-9904-5-PE2#show evpn ethernet-segment carving detail
Ethernet Segment Id Interface Nexthops
------------------------ ---------------------------------- --------------------
0000.2323.2323.2323.2323 BE23 10.10.22.22
10.10.33.33
ES to BGP Gates : Ready
ES to L2FIB Gates : Ready
Main port :
Interface name : Bundle-Ether23
Interface MAC : 08ec.f50e.6af6
IfHandle : 0x040001a0
State : Standby
Redundancy : Not Defined
ESI type : 0
Value : 0000.2323.2323.2323.2323
ES Import RT : 0023.2323.2323 (from ESI)
Source MAC : 0000.0000.0000 (N/A)
Topology :
Operational : MH
Configured : Port-Active
<snip>
Service Carving Results:
Forwarders : 2
Elected : 0
Not Elected : 2
EVI NE : 100, 200
<snip>
Local SHG label : 24003
Remote SHG labels : 1
24003 : nexthop 10.10.33.33
Access signal mode: Bundle OOS
PE2 - El router de reenvío no designado implementa un bloqueo direccional para todo el tráfico que viene de y hacia el CE23.
RP/0/RSP0/CPU0:ASR9910-3-PE3#show evpn ethernet-segment carving detail
Ethernet Segment Id Interface Nexthops
------------------------ ---------------------------------- --------------------
0000.2323.2323.2323.2323 BE23 10.10.22.22
10.10.33.33
Main port :
Interface name : Bundle-Ether23
Interface MAC : 08ec.f52e.55b5
IfHandle : 0x000001a0
State : Up
Redundancy : Not Defined
<snip>
Topology :
Operational : MH
Configured : Port-Active
<snip>
Service Carving Results:
Forwarders : 2
Elected : 2
EVI E : 100, 200
Not Elected : 0
<snip>
HRW Reset timer : 5 sec [not running]
Local SHG label : 24003
Remote SHG labels : 1
24003 : nexthop 10.10.22.22
Access signal mode: Bundle OOS (Default)
Nota: PE3 se elige como el reenviador designado (DF) para este segmento Ethernet , todo el tráfico hacia CE23 se envía y recibe a través de PE3.
Rutas anunciadas al router remoto PE1 desde PE2 y PE3
RP/0/RSP1/CPU0:ASR9906-1-PE1#show bgp l2vpn evpn
Route Distinguisher: 10.10.11.11:100 (default for vrf EVPN-ELAN-1)
*>i[1][0000.2323.2323.2323.2323][0]/120 >>>>>>>>>>>>>>>>>>>>>>>>> per ESI route
10.10.22.22 100 0 i
* i 10.10.33.33 100 0 i
*>i[1][0000.2323.2323.2323.2323][4294967295]/120 >>>>>>>>>>>>>>>> per EVI route
10.10.22.22 100 0 i
* i 10.10.33.33 100 0 i
*>i[2][0][48][6c03.093e.7213][0]/104 >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Route-Type 2 for the CE23 mac address is only advertised by PE3
10.10.33.33 100 0 i
*> [2][0][48][ecce.13e7.d85c][0]/104
0.0.0.0 0 i
RP/0/RSP1/CPU0:ASR9906-1-PE1#show evpn internal-label vpn-id 100 detail
VPN-ID Encap Ethernet Segment Id EtherTag Label
---------- ------ --------------------------- ---------- --------
100 MPLS 0000.2323.2323.2323.2323 0 24010
Multi-paths resolved: TRUE (Remote single-active)
Multi-paths Internal label: 24010
MAC 10.10.33.33 24001
EAD/ES 10.10.22.22 0
10.10.33.33 0
EAD/EVI 10.10.22.22 24001
10.10.33.33 24001
Summary pathlist:
0x02000002 (P) 10.10.33.33 24001
0x00000000 (B) 10.10.22.22 24001
Nota: El tipo de ruta 2 de CE23 sólo es anunciado por PE3, por lo tanto PE3 se establece como primario para este segmento Ethernet y PE2 como secundario .
L2VPN
RP/0/RSP1/CPU0:ASR9906-1-PE1#show l2vpn forwarding bridge-domain EVPN-ELAN-1:EVPN-ELAN-1 mac-address location 0/0/CPU0
Mac Address Type Learned from/Filtered on LC learned Resync Age/Last Change Mapped to
-------------- ------- --------------------------- ---------- ---------------------- --------------
ecce.13e7.d85c dynamic Hu0/1/0/2.100 N/A 24 Dec 08:58:17 N/A
6c03.093e.7213 EVPN BD id: 1 N/A N/A N/A
RP/0/RSP1/CPU0:ASR-9904-5-PE2#show l2vpn forwarding bridge-domain EVPN-ELAN:EVPN-ELAN mac-address location 0/1/CPU0
Mac Address Type Learned from/Filtered on LC learned Resync Age/Last Change Mapped to
-------------- ------- --------------------------- ---------- ---------------------- --------------
6c03.093e.7213 EVPN BD id: 0 N/A N/A N/A
ecce.13e7.d85c EVPN BD id: 0 N/A N/A N/A
PE2 aprende las direcciones MAC de CE1 y CE23 como rutas EVPN de PE1 y PE3 .
RP/0/RSP0/CPU0:ASR9910-3-PE3#show l2vpn forwarding bridge-domain EVPN-ELAN:EVPN-ELAN mac-address location 0/1/CPU0
Mac Address Type Learned from/Filtered on LC learned Resync Age/Last Change Mapped to
-------------- ------- --------------------------- ---------- ---------------------- --------------
ecce.13e7.d85c EVPN BD id: 0 N/A N/A N/A
6c03.093e.7213 dynamic BE23.100 N/A 24 Dec 07:26:58 N/A
L2rib
RP/0/RSP1/CPU0:ASR9906-1-PE1#show l2route evpn mac all
Topo ID Mac Address Producer Next Hop(s)
-------- -------------- ----------- ----------------------------------------
1 6c03.093e.7213 L2VPN 24010/I/ME, N/A
1 ecce.13e7.d85c LOCAL HundredGigE0/1/0/2.100, N/A
EVPN:
RP/0/RSP1/CPU0:ASR9906-1-PE1#show evpn evi vpn-id 100 mac
VPN-ID Encap MAC address IP address Nexthop Label SID
---------- ---------- -------------- ---------------------------------------- --------------------------------------- -------- ---------------------------------------
100 MPLS 6c03.093e.7213 :: 10.10.33.33 24001
100 MPLS ecce.13e7.d85c :: HundredGigE0/1/0/2.100 24002
BGP:
RP/0/RSP1/CPU0:ASR9906-1-PE1#show bgp l2vpn evpn rd 10.10.11.11:100 [2][0][48][6c03.093e.7213][0]/104
Local
10.10.33.33 (metric 10) from 10.10.33.33 (10.10.33.33)
Received Label 24001
Origin IGP, localpref 100, valid, internal, best, group-best, import-candidate, imported, rib-install
Received Path ID 0, Local Path ID 1, version 1321
Extended community: SoO:10.10.33.33:100 0x060e:0000.0000.0064 RT:100:100
EVPN ESI: 0000.2323.2323.2323.2323
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 10.10.33.33:100
En este modo, cuando el tráfico de CE1 debe enviarse a CE23, desde PE1 sólo se le asigna un alias a PE3, ya que recibimos el tipo de ruta 2 solamente de PE3 . Cuando el sistema BE23 se desactiva en PE3, el tráfico se desplaza a PE2 .
Figura 3 Modo de redundancia de un solo activo
Como se observa en la Figura 3 Single-Active Redundancy Mode , En este modo de redundancia, ambas interfaces de acceso PE permanecen activas, a cada link hacia el PE se le asigna una interfaz Ethernet Bundle única en el CE23, con VLAN 100 y 200 permitidas en ambas interfaces . Dado que estos links pertenecen a paquetes Ethernet separados, CE23 inicialmente inunda el tráfico a ambos PE. Sin embargo, solo el reenviador designado (DF) del segmento Ethernet reenvía el tráfico hacia el núcleo. En consecuencia, el CE mantiene una única interfaz Ethernet Bundle en su tabla de reenvío, lo que garantiza una conexión múltiple por VLAN de una sola actividad.
interface Bundle-Ether23
ethernet-segment
identifier type 0 00.23.23.23.23.23.23.23.23
load-balancing-mode single-active >> configuration required to enable this mode
RP/0/RSP1/CPU0:ASR-9904-5-PE2#show interfaces bundle-ether 23
Bundle-Ether23 is up, line protocol is up
RP/0/RSP0/CPU0:ASR9910-3-PE3#show interfaces bundle-ether 23
Bundle-Ether23 is up, line protocol is up
Nota: El estado físico y el estado de agrupamiento de BE23 en PE2 y PE3 están activos y activos.
RP/0/RSP1/CPU0:ASR-9904-5-PE2#show evpn ethernet-segment carving detail
Ethernet Segment Id Interface Nexthops
------------------------ ---------------------------------- --------------------
0000.2323.2323.2323.2323 BE23 10.10.22.22
10.10.33.33
<snip>
Topology :
Operational : MH, Single-active
Configured : Single-active (AApS)
<snip>
Service Carving Results:
Forwarders : 2
Elected : 1
EVI E : 200
Not Elected : 1
<snip>
Local SHG label : 24003
Remote SHG labels : 1
24003 : nexthop 10.10.33.33
Access signal mode: Bundle OOS
RP/0/RSP0/CPU0:ASR9910-3-PE3#show evpn ethernet-segment carving detail
Ethernet Segment Id Interface Nexthops
------------------------ ---------------------------------- --------------------
0000.2323.2323.2323.2323 BE23 10.10.22.22
10.10.33.33
<snip>
Topology :
Operational : MH, Single-active
Configured : Single-active (AApS)
<snip>
Service Carving Results:
Forwarders : 2
Elected : 1
EVI E : 100
Not Elected : 1
<snip>
Local SHG label : 24003
Remote SHG labels : 1
24003 : nexthop 10.10.22.22
Access signal mode: Bundle OOS (Default)
Nota:
Rutas anunciadas a PE1 por PE2 y PE3
RP/0/RSP1/CPU0:ASR9906-1-PE1#show bgp l2vpn evpn
Route Distinguisher: 10.10.11.11:100 (default for vrf EVPN-ELAN-1)
*>i[1][0000.2323.2323.2323.2323][0]/120>>>>>>>>>>>>>>>>>>>>>>>>>>> Per EVI route
10.10.22.22 100 0 i
* i 10.10.33.33 100 0 i
*>i[1][0000.2323.2323.2323.2323][4294967295]/120>>>>>>>>>>>>>>>>>> per ESI route
10.10.22.22 100 0 i
* i 10.10.33.33 100 0 i
*>i[2][0][48][6c03.093e.7213][0]/104>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Route-type 2 Advertised only by PE3 for vlan 100
10.10.33.33 100 0 i
En el modo de balanceo de carga activo único utiliza la interfaz de acceso PE1 y PE2 , el tráfico EVI 100 con hash a PE3 y el tráfico EVI 200 con hash a PE2 . La dirección mac CE23 en EVI 100 es accesible solamente a través de PE3 , ya que este PE3 es el reenviador designado para EVI 100 que anuncia la ruta Mac/IP asociada, PE3 se denomina PE primario en PE1.
El aprendizaje y la propagación de direcciones MAC a través de varios componentes siguen siendo los mismos que el modo de redundancia activa de puerto.
Figura 4 Modo de redundancia activo
Como se ilustra en la Figura 4 All-Active Redundancy Mode , en el modo de redundancia all-active para un EVI tanto PE2 como PE3 pueden enviar y recibir tráfico unicast conocido, el tráfico se trocea por flujo en ambos PE.
Evpn
interface Bundle-Ether23
ethernet-segment
identifier type 0 00.23.23.23.23.23.23.23.23
Nota: El modo predeterminado es all-active .
RP/0/RSP1/CPU0:ASR-9904-5-PE2#show interfaces Be23
Bundle-Ether23 is up, line protocol is up
RP/0/RSP0/CPU0:ASR9910-3-PE3#show interfaces BE23
Bundle-Ether23 is up, line protocol is up
Nota: El estado físico y el estado de agrupamiento de BE23 en PE2 y PE3 están activos .
RP/0/RSP1/CPU0:ASR-9904-5-PE2#show evpn ethernet-segment carving detail
Ethernet Segment Id Interface Nexthops
------------------------ ---------------------------------- --------------------
0000.2323.2323.2323.2323 BE23 10.10.22.22
10.10.33.33
<snip>
Topology :
Operational : MH, All-active
Configured : All-active (AApF) (default)
Service Carving : Auto-selection
<snip>
Service Carving Results:
Forwarders : 2
Elected : 2
EVI E : 100, 200
Not Elected : 0
<snip>
Local SHG label : 24003
Remote SHG labels : 1
24003 : nexthop 10.10.33.33
Access signal mode: Bundle OOS
RP/0/RSP0/CPU0:ASR9910-3-PE3#show evpn ethernet-segment carving detail
Ethernet Segment Id Interface Nexthops
------------------------ ---------------------------------- --------------------
0000.2323.2323.2323.2323 BE23 10.10.22.22
10.10.33.33
<snip>
Topology :
Operational : MH, All-active
Configured : All-active (AApF) (default)
Service Carving : Auto-selection
<snip>
Service Carving Results:
Forwarders : 2
Elected : 0
Not Elected : 2
EVI NE : 100, 200
<snip>
Local SHG label : 24003
Remote SHG labels : 1
24003 : nexthop 10.10.22.22
Access signal mode: Bundle OOS (Default)
Nota:
Rutas anunciadas a PE1 por PE2 y PE3
RP/0/RSP1/CPU0:ASR9906-1-PE1#show bgp l2vpn evpn
Route Distinguisher: 10.10.11.11:100 (default for vrf EVPN-ELAN-1)
*>i[1][0000.2323.2323.2323.2323][0]/120 >>>>>>>>>>>>>>>>>>>>>> Per EVI
10.10.22.22 100 0 i
* i 10.10.33.33 100 0 i
*>i[1][0000.2323.2323.2323.2323][4294967295]/120>>>>>>>>>>>>> Per ESI
10.10.22.22 100 0 i
* i 10.10.33.33 100 0 i
*>i[2][0][48][6c03.093e.7213][0]/104 >>>>>>>>>>>>>>>>>>>>>>>>> Route-Type2 is advertised by both PE2 and PE3
10.10.22.22 100 0 i
* i 10.10.33.33 100 0 i
RP/0/RSP1/CPU0:ASR9906-1-PE1#show evpn internal-label detail
VPN-ID Encap Ethernet Segment Id EtherTag Label
---------- ------ --------------------------- ---------- --------
100 MPLS 0000.2323.2323.2323.2323 0 24010
Multi-paths resolved: TRUE (Remote all-active)
Multi-paths Internal label: 24010
MAC 10.10.22.22 24001
10.10.33.33 24001
EAD/ES 10.10.22.22 0
10.10.33.33 0
EAD/EVI 10.10.22.22 24001
10.10.33.33 24001
Summary pathlist:
0x02000001 (P) 10.10.22.22 24001
0x02000002 (P) 10.10.33.33 24001
A partir de la salida, podemos observar que para alcanzar CE23 en PE1 , PE2 y PE3 se consideran como ruta principal y el tráfico se trocea tanto en PE2 como en PE3
RP/0/RSP1/CPU0:ASR9906-1-PE1#show mpls forwarding labels 24010 detail
Local Outgoing Prefix Outgoing Next Hop Bytes
Label Label or ID Interface Switched
------ ----------- ------------------ ------------ --------------- ------------
24010 24001 EVPN:100 10.10.22.22 0
Updated: Dec 29 12:19:20.649
Version: 333, Priority: 3
Label Stack (Top -> Bottom): { 24001 }
NHID: 0x0, Encap-ID: N/A, Path idx: 0, Backup path idx: 0, Weight: 0
MAC/Encaps: 0/4, MTU: 0
Packets Switched: 0
24001 EVPN:100 10.10.33.33 0
Updated: Dec 29 12:19:20.649
Version: 333, Priority: 3
Label Stack (Top -> Bottom): { 24001 }
NHID: 0x0, Encap-ID: N/A, Path idx: 1, Backup path idx: 0, Weight: 0
MAC/Encaps: 0/4, MTU: 0
Packets Switched: 0
L2vpn:
RP/0/RSP1/CPU0:ASR-9904-5-PE2#show l2vpn forwarding bridge-domain EVPN-ELAN:EVPN-ELAN mac-address location 0/1/CPU0
Mac Address Type Learned from/Filtered on LC learned Resync Age/Last Change Mapped to
-------------- ------- --------------------------- ---------- ---------------------- --------------
ecce.13e7.d85c EVPN BD id: 0 N/A N/A N/A
6c03.093e.7213 static BE23.100 N/A N/A N/A
RP/0/RSP0/CPU0:ASR9910-3-PE3#show l2vpn forwarding bridge-domain EVPN-ELAN:EVPN-ELAN mac-address location 0/1/CPU0
Mac Address Type Learned from/Filtered on LC learned Resync Age/Last Change Mapped to
-------------- ------- --------------------------- ---------- ---------------------- --------------
ecce.13e7.d85c EVPN BD id: 0 N/A N/A N/A
6c03.093e.7213 dynamic BE23.100 N/A 30 Dec 06:49:50 N/A
De CE23 solo se inició 1 flujo, se troceó con PE3, por lo que el aprendizaje es dinámico en PE3 , en PE2 la dirección MAC se sincronizó para este ESI y la entrada es estática en PE2.
L2RIB:
RP/0/RSP1/CPU0:ASR-9904-5-PE2#show l2route evpn mac all
Topo ID Mac Address Producer Next Hop(s)
-------- -------------- ----------- ----------------------------------------
0 6c03.093e.7213 L2VPN Bundle-Ether23.100, N/A
RP/0/RSP0/CPU0:ASR9910-3-PE3#show l2route evpn mac all
Topo ID Mac Address Producer Next Hop(s)
-------- -------------- ----------- ----------------------------------------
0 6c03.093e.7213 LOCAL Bundle-Ether23.100, N/A
EVPN:
RP/0/RSP1/CPU0:ASR-9904-5-PE2#show evpn evi vpn-id 100 mac
VPN-ID Encap MAC address IP address Nexthop Label SID
---------- ---------- -------------- ---------------------------------------- --------------------------------------- -------- ---------------------------------------
100 MPLS 6c03.093e.7213 :: 10.10.33.33 24001
RP/0/RSP0/CPU0:ASR9910-3-PE3#show evpn evi vpn-id 100 mac
VPN-ID Encap MAC address IP address Nexthop Label SID
---------- ---------- -------------- ---------------------------------------- --------------------------------------- -------- ---------------------------------------
100 MPLS 6c03.093e.7213 :: Bundle-Ether23.100 24001
Este resultado en el nivel de componente EVPN muestra claramente que PE3 aprendió dinámicamente la dirección mac de CE23 y anunció el tipo de ruta 2 hacia PE2 y PE1 .
PE2 importó este Route-Type2 con el indicador de sincronización configurado y vuelve a anunciar que el Route-Type 2 para la dirección mac de CE23 con PE2 tiene el Next-Hop.
Los seguimientos L2RIB de PE2 muestran este comportamiento :
[12/29/24 11:14:07.763 UTC 225f 7879] Received MAC ROUTE msg: addr: (0, 6c03.093e.7213) vni: 0 admin_dist: 0 seq_num: 0 rt_flags: S soo: 0 dg_count: 0 res: 0 esi: (F) >>> sync flag is set
[12/29/24 11:14:07.763 UTC 2262 7879] (0,6c03.093e.7213,9):Updated recv attrs seq:0 flags:S NH-type:2 NH:Bundle-Ether23.100 NH2-type:0 NH2:N/A >>> the NH is updated to the ESI interface
[12/29/24 11:14:07.763 UTC 2264 7879] (0,6c03.093e.7213,9):set route flags: BEST
[12/29/24 11:14:07.763 UTC 2265 7879] (0,6c03.093e.7213,9):MAC route created seq num:0 flags:BS (Rcv) rcv_seq:0 rcv_flags:S slot_id:0 >>>>>>>>> the mac route is created with PE2 has the NH
[12/29/24 11:14:07.763 UTC 2266 7879] (0,6c03.093e.7213,9):MAC route created BR:9 Dup Moves:0 NH-type:2 NH:Bundle-Ether23.100 NH2-type:0 NH2:N/A
[12/29/24 11:14:07.765 UTC 2267 7879] (0,6c03.093e.7213,9):Encoding MAC BR (ADD) Client = 3 BR = 0x56487439e9a0 SBRD = 0 PROD_CHANGED = 0 RLDP 0
BGP:
RP/0/RSP1/CPU0:ASR9906-1-PE1#show bgp l2vpn evpn rd 10.10.11.11:100 [2][0][48][6c03.093e.7213][0]/104
Local
10.10.22.22 (metric 10) from 10.10.22.22 (10.10.22.22)
Received Label 24001
Origin IGP, localpref 100, valid, internal, best, group-best, import-candidate, imported, rib-install
Received Path ID 0, Local Path ID 1, version 1699
Extended community: SoO:10.10.33.33:100 0x060e:0000.0000.0064 RT:100:100
EVPN ESI: 0000.2323.2323.2323.2323
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 10.10.22.22:100
Path #2: Received by speaker 0
Not advertised to any peer
Local
10.10.33.33 (metric 10) from 10.10.33.33 (10.10.33.33)
Received Label 24001
Origin IGP, localpref 100, valid, internal, import-candidate, imported, rib-install
Received Path ID 0, Local Path ID 0, version 0
Extended community: SoO:10.10.33.33:100 0x060e:0000.0000.0064 RT:100:100
EVPN ESI: 0000.2323.2323.2323.2323
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 10.10.33.33:100
El Atributo de Origen muestra que este Route-Type 2 fue originado por PE3 , pero el Route Distinguisher indica claramente que PE2 volvió a anunciar este Route-Type 2 .
Nota: Cuando el tráfico se recibe en PE3 y PE2 desde CE23, ya que varios flujos se trocean en ambos links, tanto PE2 como PE3 pueden aprender dinámicamente la dirección mac y el Route-Type2 anunciado .
En este modo de redundancia, una VLAN puede estar activa en todos los PE del grupo de redundancia, pero cada flujo L2 único de esa VLAN puede estar activo en sólo uno de los PE del grupo de redundancia a la vez .
Evpn
interface Bundle-Ether23
ethernet-segment
identifier type 0 00.23.23.23.23.23.23.23.23
load-balancing-mode single-flow-active >>> this command enables SFA redundancy mode
RP/0/RSP1/CPU0:ASR-9904-5-PE2#show interfaces BE23
Bundle-Ether23 is up, line protocol is up
RP/0/RSP0/CPU0:ASR9910-3-PE3#show interfaces BE23
Bundle-Ether23 is up, line protocol is up
Nota: El estado físico y el estado de agrupamiento de BE23 en PE2 y PE3 están activos y activos.
RP/0/RSP1/CPU0:ASR-9904-5-PE2#show evpn ethernet-segment carving detail
Ethernet Segment Id Interface Nexthops
------------------------ ---------------------------------- --------------------
0000.2323.2323.2323.2323 BE23 10.10.22.22
10.10.33.33
<snip>
Topology :
Operational : MH, Single-flow-active
Configured : Single-flow-active
Service Carving : Auto-selection
<snip>
Service Carving Results:
Forwarders : 2
Elected : 0
Not Elected : 0
<snip>
Local SHG label : 24003
Remote SHG labels : 1
24003 : nexthop 10.10.33.33
Access signal mode: Bundle OOS
RP/0/RSP0/CPU0:ASR9910-3-PE3#show evpn ethernet-segment carving detail
Ethernet Segment Id Interface Nexthops
------------------------ ---------------------------------- --------------------
0000.2323.2323.2323.2323 BE23 10.10.22.22
10.10.33.33
<snip>
Topology :
Operational : MH, Single-flow-active
Configured : Single-flow-active
Service Carving : Auto-selection
<snip>
Service Carving Results:
Forwarders : 2
Elected : 0
Not Elected : 0
<snip>
Local SHG label : 24003
Remote SHG labels : 1
24003 : nexthop 10.10.22.22
Access signal mode: Bundle OOS (Default)
Nota:
Rutas anunciadas a PE1 por PE2 y PE3 .
Por ruta ESI:
RP/0/RSP1/CPU0:ASR9906-1-PE1#show bgp l2vpn evpn rd 10.10.11.11:100 [1][0000.2323.2323.2323.2323][4294967295]/120
Local
10.10.22.22 (metric 10) from 10.10.22.22 (10.10.22.22)
Received Label 0
Extended community: EVPN ESI Label:0x02:24003 RT:100:100 RT:200:200
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 10.10.22.22:1
Path #2: Received by speaker 0
Not advertised to any peer
Local
10.10.33.33 (metric 10) from 10.10.33.33 (10.10.33.33)
Received Label 0
Extended community: EVPN ESI Label:0x02:24003 RT:100:100 RT:200:200
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 10.10.33.33:1
Nota:
L2VPN
RP/0/RSP1/CPU0:ASR-9904-5-PE2#show l2vpn forwarding bridge-domain EVPN-ELAN-200:EVPN-ELAN-200 mac-address location 0/1/CPU0
Mac Address Type Learned from/Filtered on LC learned Resync Age/Last Change Mapped to
-------------- ------- --------------------------- ---------- ---------------------- --------------
ecce.13e7.d85c EVPN BD id: 1 N/A N/A N/A
6c03.093e.7213 dynamic BE23.200 N/A 30 Dec 10:05:07 N/A
RP/0/RSP0/CPU0:ASR9910-3-PE3#show l2vpn forwarding bridge-domain EVPN-ELAN-200:EVPN-ELAN-200 mac-address location 0/1/CPU0
Mac Address Type Learned from/Filtered on LC learned Resync Age/Last Change Mapped to
-------------- ------- --------------------------- ---------- ---------------------- --------------
6c03.093e.7213 EVPN BD id: 1 N/A N/A N/A
ecce.13e7.d85c EVPN BD id: 1 N/A N/A N/A
Nota: En PE2 Mac se aprende dinámicamente y en PE3 Mac se aprende a través de EVPN .
ARP:
RP/0/RSP1/CPU0:ASR-9904-5-PE2#show arp vrf TEST
192.168.200.23 00:03:37 6c03.093e.7213 Dynamic ARPA BVI200
RP/0/RSP0/CPU0:ASR9910-3-PE3#show arp vrf TEST
192.168.200.23 - 6c03.093e.7213 EVPN_SYNC ARPA BVI200
L2rib:
RP/0/RSP1/CPU0:ASR-9904-5-PE2#show l2route evpn mac-ip all detail
1 6c03.093e.7213 192.168.200.23 L2VPN Bundle-Ether23.200, 24006/I/ME 1 SSfa
RP/0/RSP0/CPU0:ASR9910-3-PE3#show l2route evpn mac-ip all detail
1 6c03.093e.7213 192.168.200.23 L2VPN Bundle-Ether23.200, 24010/I/ME 2 BSSfa
Nota: BSSfa >> para este mac la mejor ruta es la ruta remota con el indicador de sincronización configurado .
EVPN:
RP/0/RSP1/CPU0:ASR-9904-5-PE2#show evpn evi vpn-id 200 mac ipv4 192.168.200.23
VPN-ID Encap MAC address IP address Nexthop Label SID
---------- ---------- -------------- ---------------------------------------- --------------------------------------- -------- ---------------------------------------
200 MPLS 6c03.093e.7213 192.168.200.23 Bundle-Ether23.200 24007
RP/0/RSP0/CPU0:ASR9910-3-PE3#show evpn evi vpn-id 200 mac ipv4 192.168.200.23
VPN-ID Encap MAC address IP address Nexthop Label SID
---------- ---------- -------------- ---------------------------------------- --------------------------------------- -------- ---------------------------------------
200 MPLS 6c03.093e.7213 192.168.200.23 10.10.22.22 24007
Nota: Desde PE3 para alcanzar 192.168.200.23, el Next-Hop es PE2 y no la interfaz local .
RP/0/RSP1/CPU0:ASR-9904-5-PE2#show bgp l2vpn evpn rd 10.10.22.22:200 [2][0][48][6c03.093e.7213][32][192.168.200.23]/136
BGP routing table entry for [2][0][48][6c03.093e.7213][32][192.168.200.23]/136, Route Distinguisher: 10.10.22.22:200
<snip>
Local
0.0.0.0 from 0.0.0.0 (10.10.22.22)
Second Label 24012
Origin IGP, localpref 100, valid, redistributed, best, group-best, import-candidate, rib-install
Received Path ID 0, Local Path ID 1, version 2022
Extended community: Flags 0xe: SoO:10.10.22.22:200 EVPN MAC Mobility:0x00:2 0x060e:0000.0000.00c:200:200
EVPN ESI: 0000.2323.2323.2323.2323
Path #2: Received by speaker 0
Not advertised to any peer
Local
10.10.33.33 (metric 10) from 10.10.33.33 (10.10.33.33)
Received Label 24006, Second Label 24008
Origin IGP, localpref 80, valid, internal, import-candidate, imported, rib-install
Received Path ID 0, Local Path ID 0, version 0
Extended community: SoO:10.10.22.22:200 EVPN MAC Mobility:0x00:2 0x060e:0000.0000.00c8 RT:200:200
EVPN ESI: 0000.2323.2323.2323.2323
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 10.10.33.33:200
Nota:
En PE3, cuando el tipo de ruta 2 para CE23 se sincroniza y vuelve a anunciar por PE3, se anuncia con la preferencia local 100, que cambia por la política de salida BGP en PE3, este comportamiento se puede observar en las salidas subsiguientes .
RP/0/RSP0/CPU0:ASR9910-3-PE3# show bgp l2vpn evpn rd 10.10.33.33:200 [2][0][48][6c03.093e.7213][32][192.168.200.23]/136
<snip>
Local
0.0.0.0 from 0.0.0.0 (10.10.33.33)
Second Label 24008
Origin IGP, localpref 100, valid, redistributed, best, group-best, import-candidate, rib-install
Received Path ID 0, Local Path ID 1, version 1365
Extended community: Flags 0xe: SoO:10.10.22.22:200 EVPN MAC Mobility:0x00:2 0x060e:0000.0000.00c8 RT:200:200
EVPN ESI: 0000.2323.2323.2323.2323
Esta preferencia local se cambia en PE3 cuando BGP aplica la política de salida antes de anunciar Route-Type2 a otros PE remotos
RP/0/RSP0/CPU0:ASR9910-3-PE3#show evpn evi vpn-id 200 mac ipv4 192.168.200.23 private
VPN-ID Encap MAC address IP address Nexthop Label SID
---------- ---------- -------------- ---------------------------------------- --------------------------------------- -------- ---------------------------------------
200 MPLS 6c03.093e.7213 192.168.200.23 10.10.22.22 24007
Ethernet Tag : 0
Multi-paths Resolved : True
Multi-paths Internal label : 24010
<snip>
Ext Flags : 0x00000510 (Lcl Spec,Pref-Rib,LP-80,)
Nota:
este documento también se aplica a otros productos XR como NCS 5500 , NCS 5700 .
Los modos EVPN Ethernet Segment Identifier (ESI) proporcionan sólidos mecanismos de redundancia y distribución del tráfico, lo que garantiza una alta disponibilidad y una utilización eficiente de los recursos en las arquitecturas de red modernas. Al aprovechar funciones como los modos de redundancia Activo Único y Activo Todo, EVPN permite una conmutación por fallo sin problemas, equilibrio de carga y resistencia operativa. Comprender e implementar el modo ESI adecuado para los requisitos específicos de la red es crucial para optimizar el rendimiento y mantener la fiabilidad de la red.
Revisión | Fecha de publicación | Comentarios |
---|---|---|
1.0 |
19-Mar-2025 |
Versión inicial |