in reply to need help to connect switch 192.168.1.2 using perl script.

Welcome to the monastery. There are several modules on cpan which you could use to connect to the switch, depending on which services it runs, Net::Telnet or Net::SSH2. This isn't a code writing service (see PerlMonks for the Absolute Beginner). There are many posts which already cover this topic. Super search will help track them down.

Update: please don't down vote new users.

  • Comment on Re: need help to connect switch 192.168.1.2 using perl script.