64CHAPTER 4: TERMINAL SERVICE

Table 46 Establish Telnet Server or Telnet Client connection

Operation

Command

 

 

Enable the Telnet Client connection service

telnet host-ip-address [

 

service-port ]

 

 

By default, Telnet Server starts automatically. The default value of service-portis 23.

To terminate Telnet service, enter Ctrl+] at Telnet Client side.

Setup Reverse Telnet Connection

Please use async mode flow and undo modem commands in asynchronous interface view, use telnet and terminal telnet refuse-negotiationcommands in system view, use reverse-telnet disconnect, reverse-telnet timeout, reverse-telnet listenport and reverse-telnetreturn-dealcommands in interface view.

Table 47 Enable Reverse Telnet connection

Operation

Command

 

 

Forbid the modem to dial in or dial out

undo modem

 

 

Set the router to flow mode

async mode flow

 

 

Log onto the router at specified port and

telnet host-ip-address

connect to corresponding async port

service-port

 

 

Disable/Enable the option negotiation towards

terminal telnet

the Telnet client

refuse-negotiation

 

 

Configure the timeout of Reverse Telnet

terminal telnet timeout

 

 

Configure the Reverse Telnet timeout of the

reverse-telnet timeout time

interface

 

 

 

Disconnect the Reverse Telnet of the interface

reverse-telnet disconnect

 

 

Do not send the carriage return received from

reverse-telnet return-deal

the telnet end to the terminal

from-telnet

 

 

Do not send the carriage return received from

reverse-telnet return-deal

the terminal to the telnet end

from-dumb

 

 

By default, the option for negotiation towards the Telnet client is enabled, and Reverse Telnet will expire in 600 seconds. Reverse Telnet transparently transmits all data. The interface use the default listen port number.

Reverse Telnet timeout ensures that if no data is transmitted during a specified time, the established Reverse Telnet will disconnect automatically. By default, no timeout is configured for the Reverse Telnet, that is, as long as the Reverse Telnet is connected, even if there is no data being transmitted, the Reverse Telnet will not be disconnected.

The Reverse Telnet can be disconnected in interface view.

The undo modem command must be used to disable modem calling-in and calling-out before the Reverse Telnet timeout of the configuration interface is configured.

On the 3Com Router series, the maximum number of Reverse Telnet connections is related to the interface card and the maximum number of tasks supported by the router.

Page 68
Image 68
3Com 10014299 Setup Reverse Telnet Connection, Establish Telnet Server or Telnet Client connection, Telnet host-ip-address