cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

151
Views
5
Helpful
2
Replies
Beginner

MPLS Traffic-engineer Tunnels still stays up with packetloss

Hi!
I have created 2 mpls TE tunnels, which load balances over 2 different links, using explicit-paths, to the same destination. I would like to know, if the one physical link, experiences packet-loss, how do i get the mpls TE tunnel to just go down, so it will then only use the remaining tunnel? I am using ios-XR devices

2 REPLIES 2
Beginner

Re: MPLS Traffic-engineer Tunnels still stays up with packetloss

Configuration should be done using some kind of polling and action mechanism, locally, this could be accomplished using EEM or TCL scripting. Below an example using EEM in XE, the same is supported in XR.

#TE tunnel configuration:

interface Tunnel0
ip unnumbered Loopback0
tunnel source Loopback0
tunnel mode mpls traffic-eng
tunnel destination 2.2.2.2
tunnel mpls traffic-eng autoroute announce
tunnel mpls traffic-eng path-option 1 explicit name PATH-E0
description PATH VIA ETHERNET0
end

.

interface Tunnel1
ip unnumbered Loopback0
tunnel source Loopback0
tunnel mode mpls traffic-eng
tunnel destination 2.2.2.2
tunnel mpls traffic-eng autoroute announce
tunnel mpls traffic-eng path-option 1 explicit name PATH-E1
description PATH VIA ETHERNET1
end

#EEM applet:

In following example if during one second time interval output_packets_dropped counter increases by at least 10 defined action will be executed:

event manager applet TE_ETHERNET0
event interface name Ethernet0/0 parameter output_packets_dropped entry-op ge entry-val 10 entry-type increment exit-op le exit-val 1 exit-type increment poll-interval 10
action 1.0 cli command "enable"
action 2.0 cli command "config t"
action 3.0 cli command "interface tunnel0"
action 4.0 cli command "shutdown"

/

Regards,

Elvin
Beginner

Re: MPLS Traffic-engineer Tunnels still stays up with packetloss

Hi!


the problem is, i dont have the "applet" command option:
this is an:

Cisco IOS XR Software, Version 5.3.4[Default]
Copyright (c) 2017 by Cisco Systems, Inc.

ROM: System Bootstrap, Version 3.04(20160331:102636) [ASR9K ROMMON],
cisco ASR9K Series (P4040) processor with 8388608K bytes of memory.
P4040 processor at 1500MHz, Revision 3.0
ASR-9001 Chassis



(config)#event manager ?
directory Set Embedded Event Manager directory information
environment Set an Embedded Event Manager global variable for policies
policy Register an Event Manager policy
refresh-time Set refresh time (in seconds) for policy username's AAA taskmap
scheduler Set Embedded Event Manager scheduler options
test-client Embedded Event Manager test-client(cisco-support)


CreatePlease to create content
Content for Community-Ad
FusionCharts will render here
This widget could not be displayed.