Cuando trabaje en bluestarenergy (www.bluestarenergy.com) , fue todo verde, opensuse y cisco...
#!/usr/bin/expect -f
log_file -noappend events
spawn -noecho telnet 192.168.200.1
expect "password:"
send "astronautcisco\r"
expect "RTR.CHICAGO\>"
send "en\r"
expect "password:"
send "9abasw6phexude8A6echuk5P\r"
expect "RTR.CHICAGO\#"
send "copy run tftp\r"
expect "*?"
send "192.168.254.33\r"
expect "*?"
send "rtr.chicago-confg\r"
expect "*copied*\#"
send "exit\r"
expect eof
exit
No hay comentarios.:
Publicar un comentario