||Using the Jakarta Commons, Part 1|
|Subject:||Telnet Command Execution using Java|
I want to execute several commands like "Show interface",command to change interface's ip address,connect and disconnect from the telnet.
I am able to connect and disconnect but not able to find any command to execute any command.
If anyone please let me know which class to use to execute commands, it would be helpful to me.
I am currently using Apache commons' package http://commons.apache.org/net/ for connecting and disconnecting.
This package has supported classes for telnet conection and disconnection but I am not able to find any function or service that helps me to execute commands programmetically (User do not have to type in anything).
Thanks in advance.