This command establishes a new outbound Telnet connection to a remote host. The host value must be a valid IP address or host name. Valid values for port should be a valid decimal integer in the range of 0 to 65535, where the default value is 23. If [debug] is used, the current Telnet options enabled is displayed. The optional line parameter sets the outbound Telnet operational mode as linemode where, by default, the operational mode is character mode. The [localecho] option enables local echo.

Format telnet ip-address|hostname port [debug] [line] [localecho]
  • Privileged EXEC
  • User EXEC