02-27-2012 11:01 PM
Hello !
There is an Access Server and other devices connected to it via reverse telnet (console cables from access server).
I want to execute TCL command on the Access Server that would run TCL script on the router.
I think the way to achieve this is a TCL script with a send command from the Access Server. The problem is to put that "send" command in the TCL script , because we need to press Ctrl+z at the end (when we want to execute that send command).
Is this possible?
Solved! Go to Solution.
03-17-2012 04:54 PM
I have this Joseph "c2800nm-advsecurityk9-mz.151-4.M3.bin" , is that's ok?
03-17-2012 05:02 PM
No. You need the T train.
03-18-2012 03:13 AM
The newest of the T train is c2800nm-advsecurityk9-mz.151-3.T3.bin . I hope that cisco release new image this month, because these images are released in December of 2011.
03-18-2012 09:24 AM
I do not believe there will be another release for the ISR platform. The new development is being on the ISRG2 line (i.e., 2900 and 3900).
03-25-2012 07:44 AM
Hello!
I want to ask a quuestion again...
Joseph or anyone who can help please take a look.I have a problem now when I try to run EEM TCL script from the menu. Is there any workaround with this? Or this is not possible, to run EEM TCL script from the menu?
For example:
#conf t
#menu Switch command 1 event manager run lab1.tcl
< And when you type 1 on the menu, there is an error:
Menu "Switch" has invalid command "event manager run lab1.tcl"
event manager run lab1.tcl
^
% Invalid input detected at '^' marker.
> ( this command "event manager run lab1.tcl" is working when you type it directly in the exec mode)
All other commands as I know is working, just something different is with EEM TCL
03-25-2012 10:45 AM
You need to be enabled to run "event manager run". Your menu is at privilege 0, so it cannot run.
03-25-2012 12:54 PM
Dear Joseph, Your post is helpful as always Thank you a lot ! Ofcourse, You are right!
04-01-2014 05:02 PM
Evaldus and Joseph.
I have right now a similiar problem, just a little more complicated.
I made a circuit that talks RS-232 and I connected it to an async interface in the router (it can be the AUX port or any async).
I can get communication to the circuit via reverse telnet and async TCP port (telnet xxx.xxx.xxx.xxx 2070). But I want to improve the solution making a fancy menu or HTML interface that runs totally in the router.
I want to use the router as a "bridge" between HTML and an async interface. Actually I can send commands and configuration to the router vía it's web interface, i made an attmept using chat-scripts and debug chat to "talk" to my circuit, but I cannot achieve communication between the web interface and the circuit.
What i need is something like you have done, but bidirectional. I need to send text commands to my circuit (you have already done) and somehow put in HTML it's answer, wheter be trough a buffer, or a message.
Do you have any idea????
04-02-2014 08:33 AM
Please start a new thread for your issue. This thread has been resolved. Thanks.
07-09-2014 06:57 AM
Bonjour EvaldasOu et Joseph Clarke,
Je sais pas si vous êtes disponibles.
Je suis débutant dans ce domaine. Je voudrais vous demander une question. Peut-je boot et config automatiquement router cisco depuis server en utilisant script TCL ?? Si oui, comment fait-il ? Sinon, y-a-il une autre solution pour faire ca ?
Merci bien à vous.
07-09-2014 01:59 PM
Ouais, vous pouvez le faire. Regardez https://supportforums.cisco.com/blog/12218591/automating-cisco-live-2014-san-francisco pour un exemple où Tcl a été utilisé à configurer les switches. La même chose peut travailler pour les routers.
07-18-2014 02:45 AM
Bonjour Joseph,
Je suis très heureux de votre réponse.
Mais mon problème qui me prend plusieurs de temps, est que, par exemple, on a un nouveau routeur dans lequel il n'y a rien, sans flash, sans startup-config. Comment peut-on télécharger le fichier boot ainsi que le fichier configuration depuis TFTP server ??
Je vous attends avec impatience.
Je suis ravis que vous connaissez bien le français.
Merci beaucoup.
Bonne journée.
07-18-2014 11:12 AM
S'il vous plaît commencer une nouvelle discussion afin que nous puissions vous concentrer sur votre problème. Merci.
07-22-2014 01:23 AM
Bonjour,
J'ai déjà créé une nouvelle discussion il y a 13 jours mais il n'y a aucun de commentes. Donc, je suis obligé de vous discuter d'ici.
Merci de votre compréhension et votre aide
Voici le lien:
https://supportforums.cisco.com/discussion/12251946/boot-and-config-router-cisco-automatic-using-tcl-script
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide