Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Configure a switch with Win32::SerialPort

by Ghostth (Initiate)
on Oct 11, 2015 at 15:58 UTC ( [id://1144436]=perlquestion: print w/replies, xml ) Need Help??

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1144436]
Approved by AppleFritter
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-26 00:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found