cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
679
Views
2
Helpful
2
Replies

L2VPN-bring down interface when xconnect down

ez9
Level 3
Level 3

Hello,

I have a p2p xconnect on asr 9000 platform configured as following:

l2vpn

xconnect group L2_TEST
p2p TEST_XCON
interface TenGigE0/0/2/2
neighbor ipv4 10.100.100.66 pw-id 1234

Is there any way to bring down the line protocol on interface TenGigE0/0/2/2 when the xConnect state goes down?

I have tried using the propagate remote-status command in interface level, but it seems to only take effect when one of the physical interfaces goes down and not when the xConnect itself fails.

 

2 Replies 2

M02@rt37
VIP
VIP

Hello @ez9 

Based on log notification (syslog event pattern) when your xConnect state goes down, you could build an EEM script to shut inter TenGigE0/0/2/2 when this syslog event pattern appear ...

As concerned propagate remote-status command, I already see the equivalent on IOS-XE: remote link failure notification.

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Albertt
Level 2
Level 2

Hello @ez9 , I had this issue in the past and also tried using EEM scripting, but it had some limitations if some interlink goes down.
The most reliable and way I found with ASR9k by using Ethernet CFM (MEPs + CCMs + AIS) together with propagate remote-status

if it helps you, feel free to rate the post so it can help others facing the same problem.

Router A:

interface TenGigE0/0/2/2
description CE-UNI
mtu 9190
ethernet cfm
mep domain L2TEST service SVC-TEST mep-id 1001
ais transmission up interval 1s
!
l2transport
propagate remote-status
!
!

ethernet cfm
domain L2TEST level 3
service SVC-TEST xconnect group L2_TEST p2p TEST_XCON
continuity-check interval 10s
mep crosscheck
mep-id 1002
!
ais transmission interval 1s
!
!
!

l2vpn
xconnect group L2_TEST
p2p TEST_XCON
interface TenGigE0/0/2/2
neighbor ipv4 10.100.100.66 pw-id 1234
!
!
!

Router B:

interface TenGigE0/0/2/1
description CE-UNI
mtu 9190
ethernet cfm
mep domain L2TEST service SVC-TEST mep-id 1002
ais transmission up interval 1s
!
l2transport
propagate remote-status
!
!

ethernet cfm
domain L2TEST level 3
service SVC-TEST xconnect group L2_TEST p2p TEST_XCON
continuity-check interval 10s
mep crosscheck
mep-id 1001
!
ais transmission interval 1s
!
!
!

l2vpn
xconnect group L2_TEST
p2p TEST_XCON
interface TenGigE0/0/2/1
neighbor ipv4 10.100.100.65 pw-id 1234
!

Best regards,