aspose file tools*
The moose likes Distributed Java and the fly likes Connecting to router or ny network devices... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Connecting to router or ny network devices..." Watch "Connecting to router or ny network devices..." New topic
Author

Connecting to router or ny network devices...

Himanshu Rawat
Ranch Hand

Joined: Nov 27, 2005
Posts: 141
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.!!!


rawat
SCJP 1.4
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
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

Joined: Nov 27, 2005
Posts: 141
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

Joined: Mar 22, 2000
Posts: 12806
    
    5
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

Joined: Nov 27, 2005
Posts: 141
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!!!
 
jQuery in Action, 2nd edition
 
subject: Connecting to router or ny network devices...