2466
C
164: U
HAPTER
SER
Related command:
Example
redirect listen-port
Syntax
View
Parameter
Description
Example
redirect refuse-negotiation
Syntax
View
Parameter
I
C
C
NTERFACE
ONFIGURATION
telnet, display tcp statistics on page 793.
# Enable redirection on user interface TTY 7.
<Sysname> system-view
[Sysname] user-interface tty 7
[Sysname-ui-tty7] redirect enable
redirect listen-port port-number
undo redirect listen-port
User interface view
port-number: Number of the listening port, in the range 2000 to 50000.
Use the
redirect listen-port
Telnet connections.
Use the
undo redirect listen-port
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.
# 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
undo redirect refuse-negotiation
User interface view
None
OMMANDS
command to specify a listening port for redirected
command to restore the default listening