Navigation:  Actions > Network > Telnet >

Telnet Action Telnet Tab

Previous pageReturn to chapter overviewNext page

This tab of the Telnet action specifies server and script information.

 

Telnet

 

Server: The Telnet server name or IP address (required).

 

Port: The port to connect on (required, default is 23).

 

Timeout: How long (in seconds) to wait for a connection or response before timing out (required).  Enter 0 to wait indefinitely.

 

Delay: Specifies an amount of time (in milliseconds) to wait for a server response for each sent command.  If 0 (the default), the action will wait until there is nothing to read from the server.

 

Username: User to login as (optional).  If not provided, the script must manually login.

 

Password: Password for user logging in (optional).

 

Note: If a username and password are provided, the action will attempt to login to the remote server automatically.  It is specifically designed to work with most UNIX based servers, and may work with other servers that use a similar login process.  It scans the response text for a username prompt and then replies with the specified username.  If that is successful, it will then scan for a password prompt and provide the specified password.  The next response to be checked by the first Script response match will return any welcome message from the server (this is typically also followed by a command prompt).  Because it is designed for UNIX based systems, it may not work with servers running on other operating system platforms such as Windows or VMS.  In this case, leave the username and password fields blank and provide the necessary login commands in the Script field.

 

Script: A script to execute, with one response match or send string per line (required) in the form:

 

[!]<initial server string to match>

<send string>

[!]<response string to match>

<send string>

[!]<response string to match>

...

 

If the response string to match is found anywhere in the server response, the next send string will be sent until the entire script has been performed.  If the response string is not found, an error occurs.  To perform a negative match (anything except the response string), prefix the response string with an exclamation point (!).

 

Logging: Level of logging to perform on network communications (none, all, errors, errors/warning, all+hex dump, or text).  Text (the default) logs all text sent and received from the server.