CCNP CIT Exam Cram 2 (Exam Cram 642-831)

The telnet Command

The telnet command is another client tool for terminal emulation, remotely connecting or managing a remote computer or device through the use of a telnet daemon that must be running on the remote computer. The following line shows the general syntaxes of this command:

telnet host [ port ]

The host syntax specifies the host name or IP address of the remote computer. The port specifies the TCP port to which the remote computer connects. The default value for this port is 23.

You can identify alternate port numbers with the telnet command to connect to special services running on a remote computer at the specified port address. This allows you to verify that a particular port on a remote device is listening and available.

The following output shows the telnet command used to connect to a Cisco 1720 at Digital Crawl Spaces.

C:\> telnet 207.212.78.111 User Access Verification Password: ******* RTR1>enable Password: ******* RTR1#

You can also use telnet to connect to another Cisco router or switch from a Privilege Mode prompt. In the output, telnet is connecting from the Cisco 1720 to a Cisco 4506 switch.

RTR1# telnet 10.1.10.1 Trying 10.1.10.1 ... Open User Access Verification Password: **** DCS-SW1> enable Password: ****

Категории