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

Community Helping Community

337
Views
0
Helpful
2
Replies
Cisco Employee

Nexus 7000 Interactive Action with TCL or Python

hello, Team

 

Does anybody know how we can trigger interactive action with EEM?

Cu hope to execute some command sets to another device with specific event.

I've tried to test with TCL/Python with CLI but interactive mode didn't support by CLI/EXEC.

 

    N7K_1-tcl# cli "telnet localhost"
    Cannot run interactive command with cli/exec prefix.
    N7K_1-tcl#
 

 

Is there any idea to work this scenario properly?

Or Anybody guide where is the TCL Library can use inside of N7K?

 

Just it looks simple, but couldn't work it easy in N7K.

Hope to get any clever idea from experts

 

Best Regards

Jaemi Lee

2 REPLIES 2
Beginner

Re: Nexus 7000 Interactive Action with TCL or Python

Did you ever get this figured out?

Highlighted
Hall of Fame Cisco Employee

Re: Nexus 7000 Interactive Action with TCL or Python

NX-OS EEM does not support interactive commands.  However, you can send a trap from an EEM applet to another device.  If that device is an IOS[-XE] device that can intercept traps with its EEM, then you can have it execute the commands based on the reception of that trap.

If the two devices are connected via a direct link, you could momentarily bounce the port to generate a link down syslog and have the peer device react to that.

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards