10-28-2001 06:03 PM - edited 03-01-2019 07:05 PM
hi,
our is a ISP setup, and our netwrok centrally controlled. for logging into router we have username and password , which are Ist auth. from TACACS server and then we r permkitted to log into he router, so every time u have to enter user name and password. my question is that can logging can be done with the help of sripting so that i needn't have to give all the time username and password and can save my time in critical conditions. if some buddy have ne idea of this pz let me know.
thanx,
tripat
10-28-2001 07:52 PM
You can use some telnet software like "CRT 3.3"
"AUTO LOGIN" can be done.
10-29-2001 06:08 AM
From a Unix box create a script.
telnet 156.4.4.4 << EOF
cisco
enable
cisco
EOF
after running this script you are in enable mode on the 156.4.4.4
you can also use this to get your config automatically.
11-19-2001 02:17 AM
Hello,
I tried your solution and It doesn't work for my equipments.
I get the following message on my unix host:
skyrock:[/] #telnet -8 192.168.212.253 << EOF
> ***
> enable
> ***
> EOF
Trying 192.168.212.253...
Connected to 192.168.212.253.
Escape character is '^]'.
Connection closed by foreign host.
Is there something special to do in the configuration of the device ( currently a 2924XL-NM switch ) or on my unix host ?
I would like to use this to automatically save the configurations of my network devices.
10-29-2001 07:31 AM
Secure CRT or CRT has example scripts which I modified and do exactly what your wanting. Check out www.vandyke.com
11-19-2001 02:28 AM
Use "expect", is excellent.
11-19-2001 10:01 AM
if the matter is just typing login and passwd you can define local users in Cisco so that everytime you do not need to run to look a username and passwd,
The other best way is to use the CERT Terminal, Expect is best option but you need to learn that.
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