RE: configure a switch via ssh with a perl program

2016-07-13 Thread Taylor, Trac
July 12, 2016 7:33 PM To: beginners@perl.org Subject: Re: configure a switch via ssh with a perl program Shekar writes: > Hi Lee, > > If you can login to your switch via ssh, run required commands on the > switch and exit out, you should be able to simulate the same via > Ne

Re: configure a switch via ssh with a perl program

2016-07-12 Thread lee
Shekar writes: > Hi Lee, > > If you can login to your switch via ssh, run required commands on the > switch and exit out, you should be able to simulate the same via > Net::OpenSSH or Net::SSH::Perl Yes, that's what I was thinking. Only it takes time to program, that's a problem. -- To unsubs

Re: configure a switch via ssh with a perl program

2016-07-04 Thread Shekar
Hi Lee, If you can login to your switch via ssh, run required commands on the switch and exit out, you should be able to simulate the same via Net::OpenSSH or Net::SSH::Perl Cheers, Shekar On Mon, Jul 4, 2016 at 8:18 PM, lee wrote: > Shlomi Fish writes: > > > Hi lee, > > > > On Mon, 04 Jul 20

Re: configure a switch via ssh with a perl program

2016-07-04 Thread lee
Shlomi Fish writes: > Hi lee, > > On Mon, 04 Jul 2016 04:18:22 +0200 > lee wrote: > >> Hi, >> >> would it be possible to use something like Net::SSH::Perl to >> automatically alter the configuration of a switch into which I can log >> in manually via ssh? > [SNIPPED] >> Once per hour or so, the

Re: configure a switch via ssh with a perl program

2016-07-04 Thread Shlomi Fish
Hi lee, On Mon, 04 Jul 2016 04:18:22 +0200 lee wrote: > Hi, > > would it be possible to use something like Net::SSH::Perl to > automatically alter the configuration of a switch into which I can log > in manually via ssh? [SNIPPED] > Once per hour or so, the connections could be switched again t

configure a switch via ssh with a perl program

2016-07-03 Thread lee
Hi, would it be possible to use something like Net::SSH::Perl to automatically alter the configuration of a switch into which I can log in manually via ssh? I'm looking for a way to automatically switch a network connection between two others. Since there don't seem to be any switches for this p