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

EEM Script if statement using uptime?

smolz
Level 4
Level 4

I have been reading docs and post for a few hours and not having much luck in getting this to work.

I have an EEM script that monitors when an interface goes down and does something on an ASR 1002x.  The only issue is that if the router reboots it will send the syslog message that the intererface is down, right before it comes up.

What I would like to do is have the eem script check to make sure that the router has an uptime of more than a couple of minutes.

action - if uptime is greater than 2 mins

action - do the thing i want to have happen

action - else ? break?

1 Reply 1

arno.streuli
Level 1
Level 1

Hello,

Did you find the solution ?

i have the same needs