As I said in the other thread, you can't use EEM libraries as-is in tclsh scripts. If you want to make use of EEM constructs, your best bet is to convert the tclsh script to an EEM TCL Policy. In this case, it would be:
namespace import ::cisco::eem::*
namespace import ::cisco::lib::*
action_syslog priority info msg "This is a test"
Then to run this script, create a directory on flash called eem_policies, then copy this script into the eem_policies directory. Then add the following configuration commands:
event manager directory user policy flash:/eem_policies
event manager policy eemsample.tcl type user
Then to run the policy, run the following command from EXEC mode:
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...