cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1289
Views
0
Helpful
9
Replies

tcl

daniscisco
Level 1
Level 1
1 Accepted Solution

Accepted Solutions

Joe Clarke
Cisco Employee
Cisco Employee

You'll need to use tclsh instead of EEM.  Copy the attached Tcl script to flash, then configure:

line vty 0 2

privilege level 15

autocommand tclsh flash:/autocmd.tcl

View solution in original post

9 Replies 9

Joe Clarke
Cisco Employee
Cisco Employee

You'll need to use tclsh instead of EEM.  Copy the attached Tcl script to flash, then configure:

line vty 0 2

privilege level 15

autocommand tclsh flash:/autocmd.tcl

Thanks alot joseph for your reply

the attached config is done on my router , although I am running aaa so privilege level 15 would not be required . Could you Pls let me know step by step process to excute tcl file configuring & exceution both according to my  config which pasted bove

This Tcl script plus this config should work.

line vty 3

autocommand tclsh tftp://10.1.1.1/autocmd.tcl

Hello ,

Joe Clarke
Cisco Employee
Cisco Employee

It looks like you have a space between the "tftp://" and the IP address.  That's invalid.  This exact command will work:

autocommand tclsh tftp://172.21.2.2/cisco/auto1.tcl

Do NOT use quotes.

hello

Joe Clarke
Cisco Employee
Cisco Employee

It looks like you may have a trailing '.' in your script's filename.  Make sure it's named "auto.tcl" on flash.  I tested this myself on a 7606, and it works fine.

yes its work

So the script is working for you?  It looks like you made some edits to the thread.