R
R
rdntw2013-04-29 11:19:52
Perl
rdntw, 2013-04-29 11:19:52

Bulk hardware configuration?

Good afternoon!
again I raise a subject about mass configuring of pieces of iron. ( D-link)
actually did not work with scripts.
share, please, ways of mass configuration of the equipment on a telnet on Windows.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
rdntw, 2013-04-29
@rdntw

found a solution in the form of the SecureCRT program and the
def main() script:
crt.Screen.Synchronous = True
# connect to host on port 23 (the default telnet port)
#
crt.Session.Connect("/TELNET login.myhost.com 23" )
crt.Screen.WaitForString("ogin:")
crt.Screen.Send("myusername\r")
crt.Screen.WaitForString("assword:")
crt.Screen.Send("mypassword\r")
crt.Screen .Synchronous = False
main()

A
ansl, 2013-04-29
@ansl

sh+expect. But this is for *nix. However, with cygwin installed, this solution is also suitable.

A
Alexey, 2013-04-29
@Night_Snake

perl+snmp. Either perl + net::telnet

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question