2466 CHAPTER 164: USER INTERFACE CONFIGURATION COMMANDS

Related command: telnet, display tcp statistics on page 793.

Example # Enable redirection on user interface TTY 7.

<Sysname> system-view [Sysname] user-interface tty 7 [Sysname-ui-tty7] redirect enable

redirect listen-port

Syntax

redirect listen-port port-number

 

undo redirect listen-port

View

User interface view

Parameter

port-number: Number of the listening port, in the range 2000 to 50000.

Description

Use the redirect listen-portcommand to specify a listening port for redirected

 

Telnet connections.

 

Use the undo redirect listen-portcommand to restore the default listening

 

port.

 

The default number of the listening port for redirected Telnet connections equals

 

absolute user interface number plus 2000.

n

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

only.

 

Execute the command after using the redirect enable command to enable

 

redirection on the user interface.

Example

# Set the number of the listening port for the redirected Telnet connections to

 

3000.

 

<Sysname> system-view

 

[Sysname] user-interface tty 1

 

[Sysname-ui-tty1] redirect listen-port 3000

redirect refuse-negotiation

Syntax redirect refuse-negotiation

undo redirect refuse-negotiation

View User interface view

Parameter None

Page 2466
Image 2466
3Com MSR 30, MSR 50 Redirect listen-port, Redirect refuse-negotiation, Related command telnet, display tcp statistics on