03-22-2023 05:03 AM
I am trying to build an EVPN VPWS service between Cisco ASR9K (XR6.4.2. sp 10) and Сisco NCS540 (XR 7.2.2). I have one ASR9K and two NCS540 for the remote site. On the remote site (NCS540) client switch is connected for each PE, and the interface has configured that single active. I have an issue with this Service. Evpn-VPWS came UP, but ASR 9K doesn`t choose which remote PE is Backup or primary.
Also if we look at the output on NCS 540, we can see that the Backup PE EVPN VPWS service hasn`t neighbor in output.
RP/0/RSP0/CPU0:A9k-PE1-01# sh evpn internal-label vpn-id 4027
EVI Ethernet Segment Id EtherTag Label
----- --------------------------------------- -------- --------
4027 0010.3010.1010.0000.0017 0 None
4027 0010.3010.1010.0000.0017 274027 28357
Summary 10.30.10.101 30293
10.30.10.102 29716
RP/0/RSP0/CPU0:A9k-PE1-01#sh l2vpn xconnect neighbor vpn-id 4027
Legend: ST = State, UP = Up, DN = Down, AD = Admin Down, UR = Unresolved,
SB = Standby, SR = Standby Ready, (PP) = Partially Programmed
XConnect Segment 1 Segment 2
Group Name ST Description ST Description ST
------------------------ ----------------------------- -----------------------------
EVPN-VPWS TEST UP BE5.4027 UP EVPN 4027,274027,28357
UP
----------------------------------------------------------------------------------------
RP/0/RSP0/CPU0:A9k-PE1-01#sh l2vpn xconnect neighbor vpn-id 4027 detail
Group EVPN-VPWS, XC TEST, state is up; Interworking none
AC: Bundle-Ether5.4027, state is up
Type VLAN; Num Ranges: 1
Rewrite Tags: []
VLAN ranges: [4027, 4027]
MTU 9180; XC ID 0xc00006b6; interworking none
Statistics:
packets: received 0, sent 0
bytes: received 0, sent 0
drops: illegal VLAN 0, illegal length 0
EVPN: neighbor 28357, PW ID: evi 4027, ac-id 274027, state is up ( established )
XC ID 0xa0000905
Encapsulation MPLS
Source address 10.30.1.117
Encap type Ethernet, control word enabled
Sequencing not set
LSP : Up
EVPN Local Remote
------------ ------------------------------ -----------------------------
Label 28190 1048577
MTU 9180 9180
Control word enabled enabled
AC ID 285002 274027
EVPN type Ethernet Ethernet
------------ ------------------------------ -----------------------------
Create time: 22/03/2023 14:13:22 (00:29:01 ago)
Last time status changed: 22/03/2023 14:18:39 (00:23:43 ago)
Statistics:
packets: received 0, sent 0
bytes: received 0, sent 0
Primary NCS540
RP/0/RP0/CPU0:NCS-PE10-02#sh l2vpn xconnect neighbor vpn-id 4027
Legend: ST = State, UP = Up, DN = Down, AD = Admin Down, UR = Unresolved,
SB = Standby, SR = Standby Ready, (PP) = Partially Programmed,
LU = Local Up, RU = Remote Up, CO = Connected
XConnect Segment 1 Segment 2
Group Name ST Description ST Description ST
------------------------ ----------------------------- -----------------------------
EVPN_ATS521
TEST UP BE17.4027 UP EVPN 4027,285002,30289
UP
----------------------------------------------------------------------------------------
RP/0/RP0/CPU0:ZAI-RUES-NCS-PE10-02#sh l2vpn xconnect neighbor vpn-id 4027 detail
Group EVPN_ATS521, XC TEST, state is up; Interworking none
AC: Bundle-Ether17.4027, state is up
Type VLAN; Num Ranges: 1
Rewrite Tags: []
VLAN ranges: [4027, 4027]
MTU 9202; XC ID 0xa00003d6; interworking none
Statistics:
packets: received 0, sent 0
bytes: received 0, sent 0
drops: illegal VLAN 0, illegal length 0
EVPN: neighbor 30289, PW ID: evi 4027, ac-id 285002, state is up ( established )
XC ID 0xc0000083
Encapsulation MPLS
Source address 10.30.10.102
Encap type Ethernet, control word enabled
Sequencing not set
Ignore MTU mismatch: Disabled
Transmit MTU zero: Disabled
LSP : Up
Load Balance Hashing: src-dst-mac
EVPN Local Remote
------------ ------------------------------ -----------------------------
Label 29716 1048577
MTU 9202 unknown
Control word enabled enabled
AC ID 274027 285002
EVPN type Ethernet Ethernet
------------ ------------------------------ -----------------------------
Create time: 22/03/2023 14:21:22 (00:16:12 ago)
Last time status changed: 22/03/2023 14:21:30 (00:16:05 ago)
Statistics:
packets: received 0, sent 0
bytes: received 0, sent 0
Backup NCS540
RP/0/RP0/CPU0:NCS-PE10-01#sh l2vpn xconnect neighbor vpn-id 4027
Legend: ST = State, UP = Up, DN = Down, AD = Admin Down, UR = Unresolved,
SB = Standby, SR = Standby Ready, (PP) = Partially Programmed,
LU = Local Up, RU = Remote Up, CO = Connected
XConnect Segment 1 Segment 2
Group Name ST Description ST Description ST
------------------------ ----------------------------- -----------------------------
EVPN_ATS521
TEST DN BE17.4027 UP EVPN 4027,285002,0.0.0.0
SB
----------------------------------------------------------------------------------------
RP/0/RP0/CPU0:NCS-PE10-01#sh l2vpn xconnect neighbor vpn-id 4027 detail
Group EVPN_ATS521, XC TEST, state is down; Interworking none
AC: Bundle-Ether17.4027, state is up
Type VLAN; Num Ranges: 1
Rewrite Tags: []
VLAN ranges: [4027, 4027]
MTU 9202; XC ID 0xa00003d6; interworking none
Statistics:
packets: received 0, sent 0
bytes: received 0, sent 0
drops: illegal VLAN 0, illegal length 0
EVPN: neighbor 0.0.0.0, PW ID: evi 4027, ac-id 285002, state is standby ( local ready )
XC ID 0xc0000083
Encapsulation MPLS
Source address 10.30.10.101
Encap type Ethernet, control word enabled
Sequencing not set
Ignore MTU mismatch: Disabled
Transmit MTU zero: Disabled
LSP : Up
Load Balance Hashing: src-dst-mac
EVPN Local Remote
------------ ------------------------------ -----------------------------
Label 30293 unknown
MTU 9202 unknown
Control word enabled unknown
AC ID 274027 285002
EVPN type Ethernet unknown
------------ ------------------------------ -----------------------------
Create time: 22/03/2023 14:18:39 (00:20:08 ago)
Last time status changed: 22/03/2023 14:18:39 (00:20:08 ago)
Statistics:
packets: received 0, sent 0
bytes: received 0, sent 0
03-22-2023 11:04 PM - edited 03-22-2023 11:10 PM
Hi. Im reproduced this behavior in my lab too. In my lab i have A99 (XR 6.7.3) and NCS 540 (7.2.2).If in this sheme all routers are NCS 540 all outputs fine.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide