Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connecting to router or ny network devices...

 
Himanshu Rawat
Ranch Hand
Posts: 141
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i am supposed to connect 2 router having some ip address and then i have to show details on the basis of tat..bascially i have to communicate with ny network devices.....having SNMP string....through java....

so anybody know or have some related links or tutorials where i can get help....plzz tell me....

its really urgent.!!!
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13047
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont know about your routers but my router can be configured through telnet. Therefore if I had to write a Java program to talk to it I would investigate open source telnet libraries such as this one.
Bill
 
Himanshu Rawat
Ranch Hand
Posts: 141
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanx for replying...i have many doubts which are..

1) We have SNMP V2 router and to connect to it, it requires some attributes/objects .Are these attributes specifice to router ??

2) Should we use some middleware library to connect to it from java??

Router <------> Middileware <------ > Java program

3) Can u give me some idea on library i shd u use??

Waiting for reply!!!
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13047
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it requires some attributes/objects .Are these attributes specifice to router ??

Now how in the world would I know that? You need to dig into the documentation for your specific hardware.
When you have figured out what protocol the router uses, then you can hunt for a library. Surely you can find some documentation - try the manufacturer's web site.
Bill
 
Himanshu Rawat
Ranch Hand
Posts: 141
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Attributes and objects are specific to each router that i managed to confirm and get but now i m nt able to find library which can be used as middleware...

Even i am nt able to get tutorials or sample programs.....

help plzz!!!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic