Now to connect to this switch we need to use SSH and then we can fire a set of commands to perform some operations.
Please provide us with more information, what commands you want to execute, do you require root permission etc.
These are very specific commands which these device can understand. Basically you can think of SMTP or IMAP session which client perform to server.
So in case of SMTP chat session we send a particular command and based on that server can send some response. Again we send more commands and hence forth.
So the task I am working right now is like automating these command to the terminal and then let the script keep running.