2468 CHAPTER 164: USER INTERFACE CONFIGURATION COMMANDS

redirect return-deal from-terminal

Syntax

redirect return-deal from-terminal

 

undo redirect return-deal from-terminal

View

User interface view

Parameter

None

Description

Use the redirect return-dealfrom-telnetcommand to let the device that

 

redirects Telnet connection process the carriage returns received from the terminal

 

(a PC connected to the console port for example), meaning to substitute 0x0d for

 

0x0d 0x0a and 0x0d 0x00.

 

Use the undo redirect return-deal from-terminal command to disable the

 

device that redirects Telnet connection from processing the carriage returns.

 

By default, the carriage returns received from the terminal are not processed.

n

The redirect commands are supported on the AUX and TTY user interfaces

only.

 

Execute other redirect commands after using the redirect enable command

 

to enable redirection on the user interface.

Example

# Enable the device that redirects Telnet connection to process the carriage returns

 

received from the terminal.

 

<Sysname> system-view

 

[Sysname] user-interface tty 1

 

[Sysname-ui-tty1] redirect return-deal from-terminal

 

 

redirect timeout

 

Syntax

redirect timeout time

 

undo redirect timeout

View

User interface view

Parameter

time: Idle timeout in the range 30 to 86400 seconds.

Description

Use the redirect timeout command to set the idle timeout for the redirected

 

telnet connection. After that, the connection is terminated.

 

Use the undo redirect timeout command to allow the system to maintain an

 

always-on redirected telnet connection.

 

By default, the idle timeout is 360 seconds.

Page 2468
Image 2468
3Com MSR 30, MSR 50 manual Redirect return-deal from-terminal, Redirect timeout