Hi Kolya, On Sun, 14 Jul 2013 23:06:00 +0300 Kolya Gromivchuk <gromivchuk.ko...@gmail.com> wrote:
> Hello, > > I need some advice which library or module to use for multiple connection > to network devices. For example change status of ports on the hundred > switches. Assuming I understand you correctly, then I believe an asynchronous framework such as POE, IO::Async or AnyEvent together with an ssh module should do the trick. See: https://metacpan.org/module/Net::SSH::Mechanize Regards, Shlomi Fish > > > 1. commands for switches that must be passed through ssh connection: > ena > interface range gigabitethernet 1/0/1-48 > no switch port-security > no switch maximum address 5 > no switch port-security sticky > no spanning-tree bpduguard > wri me > > 2. The range of ip address assigned to switches: > 192.168.1.0/25 > > 3. Login and password: > admin > admin > enable password admin -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ List of Portability Libraries - http://shlom.in/port-libs Larry Wall *does* know all of Perl. However, he pretends to be wrong or misinformed, so people will underestimate him. Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/