Hi folks,
Is it possible to write a script that will send commands to my cisco router from my solaris box using telnet? Something like this.
!#/usr/bin/sh
telnet router<<EOF
passwd
en
passwd
config t
interface eth0
shutdown
EOF
Am I thinking correctly, or am I off key here? How would I accomplish the task?
StickyBit.
Is it possible to write a script that will send commands to my cisco router from my solaris box using telnet? Something like this.
!#/usr/bin/sh
telnet router<<EOF
passwd
en
passwd
config t
interface eth0
shutdown
EOF
Am I thinking correctly, or am I off key here? How would I accomplish the task?
StickyBit.