cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
170
Views
1
Helpful
3
Replies

Can EEM scripts be only written in Tcl?

Mitrixsen
Level 1
Level 1

Hello, everyone.

I've just started with EEM and my study resource said that you can either configure EEM policies as applets (which are done via the CLI) or by configuring external scripts. It mentioned that these scripts are written in Tcl. Is this the only programming language that EEM scripts support? Would it not be possible to write the scripts in something like Python?

Thank you.
David

2 Accepted Solutions

Accepted Solutions

Hey @Mitrixsen yes historically tcl has been the default scripting language for eem as its lightweight and integration with Cisco platforms (ios, ex etc)

Cisco eem doesn’t natively have support for python for external scripts in most traditional environments. This is when you can use guestshell to trigger python scripts from eem by using the even manager applet to execute a shell cmd which then runs the python script inside the guestshell.

That said, the ios xe platform includes a embedded python interpreter (python cli command), but it really not the same as full python support in eem.

Hope this helps.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

View solution in original post

3 Replies 3

Hey @Mitrixsen yes historically tcl has been the default scripting language for eem as its lightweight and integration with Cisco platforms (ios, ex etc)

Cisco eem doesn’t natively have support for python for external scripts in most traditional environments. This is when you can use guestshell to trigger python scripts from eem by using the even manager applet to execute a shell cmd which then runs the python script inside the guestshell.

That said, the ios xe platform includes a embedded python interpreter (python cli command), but it really not the same as full python support in eem.

Hope this helps.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io