Joe Clarke

Member Since: Feb 20, 2002

English
Joe Clarke commented on Reloading router 819 series then cellular can't connect. in EEM Scripting 1 day ago

Have a look at How To Introduce Large Delays In EEM Policies  .

Joe Clarke commented on If condition in EEM Script in EEM Scripting 1 day ago

Some thing like this, for example: action 010 if $txload gt 15  action 011 mail from ... action 012...

Joe Clarke commented on Low router memory alert by email in EEM Scripting 1 week ago

EEM doesn't have any magic.  It uses the same interfaces you would use manually to get the data. ...

Joe Clarke commented on tcl scripts to run on syslog event in EEM Scripting 1 week ago

You should look through the Documents tab in this community as this is a fairly basic EEM question...

Joe Clarke commented on tcl or applet for "show platform hardware capacity rewrite-engine drop" in EEM Scripting 1 week ago

This should work. action 001 cli command "enable" action 002 cli command "show platform hardware...

Joe Clarke commented on Exploring EEM/TCL Capabilities in EEM Scripting 2 weeks ago

I meant the latter: use regular expressions to find the pattern in the output you need in order to...

Joe Clarke commented on Exploring EEM/TCL Capabilities in EEM Scripting 3 weeks ago

EEM can absolutely help here.  You can have one applet that initiates the search, then configures...

Joe Clarke commented on TCL Script for monitoring router's interfaces. in EEM Scripting 3 weeks ago

NX-OS does not support Tcl-based EEM.  NX-OS can only do EEM applets.  You could build a Tcl or...

Joe Clarke commented on TCL Script for monitoring router's interfaces. in EEM Scripting 3 weeks ago

You should probably use a watchdog timer as countdown will only run once.  And you've changed your...

Joe Clarke commented on TCL Script for monitoring router's interfaces. in EEM Scripting 4 weeks ago

This is still not proper EEM Tcl.  EEM Tcl does not have an exec command, plus you're missing the...

Joe Clarke commented on TCL Script for monitoring router's interfaces. in EEM Scripting 1 month ago

There are a number of problems here.  First, this is not syntactically correct Tcl.  Second, this...

Joe Clarke commented on Object tracking EEM applet repeat trigger in EEM Scripting 1 month ago

Have a look at How To Introduce Large Delays In EEM Policies .  Essentially, you'll need to have...

Joe Clarke commented on EEM event mat on IE-3000 in EEM Scripting 1 month ago

Then this might be a new bug.  I recommend opening a TAC case on this.

Joe Clarke commented on EEM event mat on IE-3000 in EEM Scripting 1 month ago

How did you test this?  Describe the steps.

Joe Clarke commented on EEM scripting telnet non-ios device in EEM Scripting 1 month ago

The applet with the "cli command" looks fine with the exception of the vertical tab you're sending...

Joe Clarke commented on EEM event mat on IE-3000 in EEM Scripting 1 month ago

I don't know of any bugs specific to the IE-3000.  How did you test it?  Do you see the policy...

Joe Clarke commented on EEM and TCL to Keep Track of Unused Ports in EEM Scripting 1 month ago

Here is some Tcl code that should do what you want. set total_cnt [llength [split [run_cli [list "...

Joe Clarke commented on How to configure TCL script on IOS XE in EEM Scripting 1 month ago

You probably want: Router#tclsh Router(tcl)#foreach data {0000 1000 8080 ffff 5555} {set output [...

Joe Clarke commented on Conditional reload after shutting & upping an interface in EEM Scripting 1 month ago

If you expect track 3 to transition to down on its own after registering Reload-Applet, then yes. ...

Joe Clarke commented on Conditional reload after shutting & upping an interface in EEM Scripting 1 month ago

The Reload-Applet policy will not run until track 3 transitions from up to down.  Since the shut/no...

Joe Clarke commented on Conditional reload after shutting & upping an interface in EEM Scripting 1 month ago

track read is an action, just like "if" and "cli".  You need to precede "track read" with action...

Joe Clarke commented on Conditional reload after shutting & upping an interface in EEM Scripting 1 month ago

In this case, you should probably just use the watchdog timer event, and add a track read action...

Joe Clarke commented on Conditional reload after shutting & upping an interface in EEM Scripting 1 month ago

The applet will execute either when the tracked object goes down (not if it's already down) or when...

Joe Clarke commented on Conditional reload after shutting & upping an interface in EEM Scripting 1 month ago

Moving the action should not interrupt write mem unless the tracked object goes down the moment you...

Joe Clarke commented on Conditional reload after shutting & upping an interface in EEM Scripting 1 month ago

action 110 is being run when in EXEC mode, so of course it's not going to do anything other than...

Joe Clarke commented on Conditional reload after shutting & upping an interface in EEM Scripting 1 month ago

EEM policies historically have only had one event.  Multiple event support was added in EEM 2.4,...

Joe Clarke commented on EEM Correlate not working when run again. in EEM Scripting 1 month ago

First, you likely do not want to post your mobile phone number in a public forum. Second, when...

Joe Clarke commented on Event Manager applet question in EEM Scripting 1 month ago

Given the way the event fires, it would seem that the default route is quickly bouncing in and out...

Joe Clarke commented on Unable to save config via EEM. in EEM Scripting 1 month ago

Do this: action 6.1 cli command "end" action 7.0 cli command "write mem"

Joe Clarke commented on Unable to save config via EEM. in EEM Scripting 1 month ago

All you do is change Router-Reload's event, remove the trigger, and change action 1.0.  When the...

Joe Clarke commented on Unable to save config via EEM. in EEM Scripting 1 month ago

Hmmm, did you mean for the write mem action to be part of the nested applet?  As it is now, you're...

Joe Clarke commented on Need Tcl script to run show command with piped inc/exc/redir options in EEM Scripting 1 month ago

There have been numerous issues with tclsh and pipes.  These days I do not recommend using tclsh...

Joe Clarke commented on IOS-XR EEM smtp issue in EEM Scripting 1 month ago

Your mail server is returning non-standard reply lines.  Typically, the reply code is separated...

Joe Clarke commented on Saving a variable's content to file in 12.2 in EEM Scripting 1 month ago

Take this applet to https://www.marcuscom.com/convert_applet/ .  You'll need to use Tcl to get this...

Joe Clarke commented on How to monitor link for 30 mins. before switching back in EEM Scripting 1 month ago

Have a look at How To Introduce Large Delays In EEM Policies .

Joe Clarke commented on EEM applet with cli not triggering in EEM Scripting 2 months ago

Chances are your AAA config is not using the local database, so your local user doesn't matter. ...

Joe Clarke commented on turning on/off DHCP in Cisco IE 2000 in EEM Scripting 2 months ago

This type of question would be better asked on a platform-centric forum.  I do not know the answer...

Joe Clarke commented on EEM script timer in EEM Scripting 2 months ago

Yes.

Joe Clarke commented on ASA EEM applet not working with cli command including pipe (|) in EEM Scripting 2 months ago

Seems like a bug to me.  I don't recall seeing where this is a known limitation of ASA EEM.

Joe Clarke commented on EEM script timer in EEM Scripting 2 months ago

Seems like you could add: trigger period 300

Joe Clarke commented on How to Can track the user access info of Cisco Terminal Server with EEM in EEM Scripting 2 months ago

IOS has built-in facilities to do most of what you want.  You could extend them for the TFTP option...

Joe Clarke commented on Validating multi-event nested applet in EEM Scripting 2 months ago

If you really want this last policy to "or" the track events together, then any one of them will...

Joe Clarke commented on Stop running event (manager) in EEM Scripting 2 months ago

The maxrun parameter is an argument to the event detector line.

Joe Clarke commented on Stop running event (manager) in EEM Scripting 2 months ago

First, this applet will not work as written since it will timeout after 20 seconds of waiting.  You...

Joe Clarke commented on Portchannel mode "ON" EEM MAC detection in EEM Scripting 2 months ago

Not sure why you want two applets.  You don't need them, and what you're doing here won't work...

Joe Clarke commented on Setting the source-interface in a tcl script for email. in EEM Scripting 2 months ago

I just checked the code, and Sourceintf is correct.  Unless you have some other code that...

Joe Clarke commented on turning on/off DHCP in Cisco IE 2000 in EEM Scripting 2 months ago

For the I/O alarm provided it generates a syslog or SNMP trap, then yes.  EEM can react to it. For...

Joe Clarke commented on Extending MAXRUN Time in EEM Scripting 2 months ago

event manager applet foo  event bar ... maxrun X

Joe Clarke commented on Running Python Script with EEM on Nexus 9K in EEM Scripting 2 months ago

Yeah, it appears to be all asynchronous on the Nexus.

Joe Clarke commented on Running Python Script with EEM on Nexus 9K in EEM Scripting 2 months ago

What does your applet look like?  This worked for me on 7.3: event manager applet test  event none...

Bio

As a Global TAC engineer, he has contributed to network management products and technologies by finding and fixing bugs, as well as implementing maintenance and troubleshooting components in Cisco Prime, Cisco’s flagship network management suite. Joe helps to support and enhance the embedded automation and programmability technologies, such as the Embedded Event Manager, Tcl, NETCONF/RESTCONF, and ONE Platform Kit (onePK). Joe is a top-rated speaker at Cisco’s annual user conference, CiscoLive!, as well as a certified as a Cisco Certified Internetworking Expert, Certified Java Programmer, and VMware Certified Professional. He has authored numerous technical documents on Cisco network management products and technologies as well as a chapter co-author in the Springer publication, “Network-Embedded Management and Applications: Understanding Programmable Networking Infrastructure”; and he served as one of the technical editors for the Cisco Press book, “Tcl Scripting for Cisco IOS.” Joe is co-author of 14 Cisco patents. He is an alumnus of the University of Miami and holds a Bachelor of Science degree in computer science.

Outside of Cisco, Joe is a member of the FreeBSD project. He is a committer in the project focusing mainly on the GNOME Desktop. He also maintains the FreeBSD ports Tinderbox application, which facilitates the automated packaging a testing of FreeBSD third-party ports. Joe is a certified private pilot for single-engine airplanes with an instrument rating.








  • Hall of Fame

    Founding Member









Joe Clarke's Stats

Points29593
Discussion started 11
Answers marked as Correct 3125
Endorsed 8
Content Rated 265
Website: