Fortinet white logo
Fortinet white logo

CLI Reference

telnettest

telnettest

Use this command to test Telnet connectivity to a specified host.

Syntax

execute telnettest {<fqdn_str> | <host_ipv4>}[:<port_int>]

Variable

Description

Default

{<fqdn_str> | <host_ipv4>}

Enter the IP address or fully qualified domain name (FQDN) of the Telnet server.

[:<port_int>]

If the Telnet server listens on a port number other than port 23, enter a colon (:) followed by the port number.

:23

Example

This example tests the connection to an Telnet server at 192.168.1.10 on port 2323.

execute telnettest 192.168.1.10:2323

The CLI displays the following:

(using 192.168.1.20 to connect)

Remote Output(hex):

FF FD 18 FF FD 20 FF FD

23 FF FD 27

Connection Status:

Connecting to remote host succeeded.

Related topics

smtptest

traceroute

ping

system dns

telnettest

telnettest

Use this command to test Telnet connectivity to a specified host.

Syntax

execute telnettest {<fqdn_str> | <host_ipv4>}[:<port_int>]

Variable

Description

Default

{<fqdn_str> | <host_ipv4>}

Enter the IP address or fully qualified domain name (FQDN) of the Telnet server.

[:<port_int>]

If the Telnet server listens on a port number other than port 23, enter a colon (:) followed by the port number.

:23

Example

This example tests the connection to an Telnet server at 192.168.1.10 on port 2323.

execute telnettest 192.168.1.10:2323

The CLI displays the following:

(using 192.168.1.20 to connect)

Remote Output(hex):

FF FD 18 FF FD 20 FF FD

23 FF FD 27

Connection Status:

Connecting to remote host succeeded.

Related topics

smtptest

traceroute

ping

system dns