Hi,
I need to backup several CISCO switches configuration using telnet from my Unix box. As I don't want to type the same commands for each switch, does anyone know a way to do it with a file containing commands. I've tried something like:
telnet -l user_name IP_address <<EOF
passwd
cmd
EOF
but it doesn't work. Any idea ?
Thanks in advance
I need to backup several CISCO switches configuration using telnet from my Unix box. As I don't want to type the same commands for each switch, does anyone know a way to do it with a file containing commands. I've tried something like:
telnet -l user_name IP_address <<EOF
passwd
cmd
EOF
but it doesn't work. Any idea ?
Thanks in advance