03-26-2012 02:31 AM
Has anyone use EMM as a nice friendly interface for their terminal server (ie router with NM-16A and octal cables)?
when I ask the framework to run the following command it gets stuck will a blinking cursor and clear screen
<IOSExecCommand>"connect 10.1.1.1 2000"</IOSExecCommand>
however removing the port number allows it to connect fine.
<IOSExecCommand>"connect 10.1.1.1"</IOSExecCommand>
same symptom if iI were to replace connect with telnet
<IOSExecCommand>"telnet 10.1.1.1 2000"</IOSExecCommand>
even setting up an iphost does the same ie:
ip host R1 2000 10.1.1.1
<IOSExecCommand>"connect R1"</IOSExecCommand>
All of these commands work fine from the # prompt
03-26-2012 09:59 PM
I'm suprised any of these work as they are all interactive commands. You must be running an earlier version of IOS. You can only run EXEC commands that will return you to a prompt without user intervention. Using EMM as a terminal server menu is not going to work. However, what you could do is have a classic IOS menu call the emm command when one option is selected. That could take you to a guided menu that allows one to perform additional commands other than connect to device consoles.
03-27-2012 04:59 PM
thanks for the info Joseph, seems odd however that I can use emm to telnet on port 23, but not on any other port.
running IOS 15
03-27-2012 09:50 PM
In newer IOSes, neither work. Interactive commands and tclsh don't really mix.
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