Ghostth has asked for the wisdom of the Perl Monks concerning the following question:

I'm new at Perl and I need a script to configure an Arista Switch connected by a serial port. I installed the Win32::SerialPort module but I don't know exactly how to make the connection and how to configure the switch, e.g. put the username "admin" when the switch ask for it or establish "zero touch cancel" and wait for the reboot to continue with the configuration.

Sorry for my bad inglish, it is not mother language and thank you for reading

  • Comment on Configure a switch with Win32::SerialPort

Replies are listed 'Best First'.
Re: Configure a switch with Win32::SerialPort
by NetWallah (Canon) on Oct 11, 2015 at 16:40 UTC
    Artista's EOS seems to be linux based, so a "Bash" personality along with Net::Appliance::Session should do the job.

    Be prepared for 10 x the learning curve you expected, if you are new to this. But if you will be doing this frequently, it is well worth the investment.

            Software efficiency halves every 18 months, thus compensating for Moore's Law.