unixrookie
MIS
I have 32 routers in my company and i need to make sure i have current configs. Can a perl script do something similar to the following
Telnet to a host
type a "password" <cr>
type "enable" <cr>
type a "password <cr>
type "wr" <cr>
type "copy start tftp:" <cr>
type an "ip address" <cr>
type "$var-confg" <cr> (where $var is the name of the router)
type "exit"
I would appreciate any suggestions. Please go easy i'm new to perl and decided to learn it for this task. Thanks in advance.
Telnet to a host
type a "password" <cr>
type "enable" <cr>
type a "password <cr>
type "wr" <cr>
type "copy start tftp:" <cr>
type an "ip address" <cr>
type "$var-confg" <cr> (where $var is the name of the router)
type "exit"
I would appreciate any suggestions. Please go easy i'm new to perl and decided to learn it for this task. Thanks in advance.