Troubleshooting Commands : telnet

telnet
Description
Use the telnet command to log into another system by using telnet.
Syntax
telnet [<telnet options>] <host> [<port>]
Arguments
 
-8: Specify an 8-bit data path. This causes an attempt to negotiate the TELNET BINARY option on both input and output.
-E: Stop any character from being recognized as an escape character.
-F: Forward a forwardable copy of the local credentials to the remote system.
-K: Specify no automatic login to the remote system.
-L: Specify an 8-bit data path on output. This causes the BINARY option to be negotiated on output.
-S tos: Set the IP type-of-service (TOS) option for the telnet connection to the value tos, which can be a numeric TOS value (in decimal, or a hex value preceded by 0x, or an octal value preceded by a leading 0) or, on systems that support it, a symbolic TOS name found in the /etc/iptos file.
-X atype: Disable the atype type of authentication.
-a: Attempt automatic login. This sends the user name via the USER variable of the ENVIRON option, if supported by the remote system. The name used is that of the current user as returned by getlogin(2) if it agrees with the current user ID; otherwise it is the name associated with the user ID.
-c: Disable the reading of the user’s .telnetrc file.
-d: Set the initial value of the debug flag to TRUE.
-e escape char: Set the initial telnet escape character to escape char. If escape char is omitted, then there will be no escape character.
-f: Forward a copy of the local credentials to the remote system.
-k realm: If Kerberos authentication is being used, request that telnet obtain tickets for the remote host in realm instead of the remote host’s realm, as determined by krb_realmofhost(3).
-l user: If the remote system understands the ENVIRON option, then user will be sent to the remote system as the value for the variable user. This option implies the -a option. This option may also be used with the open command.
-n tracefile: Open tracefile for recording trace information.
-r: Specify a user interface similar to rlogin(1). In this mode, the escape character is set to the tilde (~) character, unless modified by the -e option.
-x: Turn on encryption of the data stream. When this option is turned on, telnet will exit with an error if authentication cannot be negotiated or if encryption cannot be turned on.
Defaults
None.
Command Mode
User EXEC Mode
Privileged EXEC Mode
Global Configuration Mode
See Also
None.
Usage Guidelines
None.
Examples
None.

Please send comments or suggestions regarding user documentation to techpubs@silver-peak.com.