I need to design an application to interact with the router to get the information about itself and it neigbour routers please help me...
In java it will be good for me...
You are re-inventing the wheel. Stuffs like talking to routers from different vendors, discoveries of neighbors are significantly more complicated than you think. Why don't you use existing ones like nmap's zen gui frontend? If you still want it, go search for a similar project in sourceforge.