Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

x.25 with perl

by bh_perl (Monk)
on Apr 23, 2013 at 08:18 UTC ( #1030067=perlquestion: print w/ replies, xml ) Need Help??
bh_perl has asked for the wisdom of the Perl Monks concerning the following question:

hi...

I want to develop a perl program to collect files from switches to our system. We are using x.25 protocol to communicate between our system and switch. Any body knows where i can get some reference about this ?

I have search some reference from internet but still not found. Please help me

Thank you

Comment on x.25 with perl
Re: x.25 with perl
by SuicideJunkie (Priest) on Apr 23, 2013 at 13:58 UTC
Re: x.25 with perl
by jmlynesjr (Pilgrim) on Apr 23, 2013 at 20:57 UTC

    A google search for X.25 comes up with lots of information. There are many variations of this protocol since it's been around for decades.

    Are you using a hardware PAD or are you looking to develop a Perl software PAD using something like Device::SerialPort? How many circuits do you need to support? What circuit types are you using?

    Update1: Search also for "IP over X.25". X.25 is a transport protocol and you will still need a higher level protocol to support the file transfer i.e. FTP. So, are you planning to tunnel IP via X.25? Cisco supports X.25 tunnels.

    James

    There's never enough time to do it right, but always enough time to do it over...

      hi

      Thanks for your reply.

      Yes, I am plan to tunnel IP via X.25. As your info, our server will connect into cisco router and the cisco router will connect into X.25 protocol to communicate with the swicthes. So, I plan to develop a perl program to collect files from the swicthes to our server via the connection.

      I have found this package :-

      UCP.pm

      is it work with X.25 ?

      Please guide me...

      Thank you

        Assuming your network guys get the X.25 tunneling set up correctly on the Cisco routers, the packet transport should be transparent to your application. You just need an FTP client. TCP/IP hides the hardware layers from your application which is it's purpose after all.

        Search PerlMonks for FTP. SuperSearch PerlMonks for FTP. Search CPAN for FTP and SFTP. Looks like Net::FTP, Net::FTP::File, or Net::SFTP should do what you need. I have no direct experience with any of these packages.

        These modules should make your application pretty straight forward. There are many posts on this topic and I'm sure this task has been solved many times.

        James

        There's never enough time to do it right, but always enough time to do it over...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1030067]
Approved by kcott
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2014-08-29 20:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (287 votes), past polls