R2511-HP MSR Router Series Fundamentals Command Reference(V5)

44
[Sysname-ui-tty7] redirect enable
Related commands
display tcp status
telnet
redirect listen-port
Use redirect listen-port to specify a Telnet redirect listening port.
Use undo redirect listen-port to restore the default listening port.
Syntax
redirect listen-port port-number
undo redirect listen-port
Default
The port number is the absolute user interface number plus 2000.
Views
User interface view
Default command level
2: System level
Parameters
port-number: Number of the listening port, in the range 2000 to 50000.
Usage guidelines
This command is supported only on AUX and TTY user interfaces.
This command is applicable to user interfaces on which redirect is enabled. To enable redirect on a user
interface, use the redirect enable command.
Examples
# Configure port 3000 as the listening port for the redirected Telnet connections.
<Sysname> system-view
[Sysname] user-interface tty 1
[Sysname-ui-tty1] redirect listen-port 3000
Related commands
ip alias
redirect refuse-negotiation
Use redirect refuse-negotiation to disable Telnet option negotiation during redirecting a Telnet
connection.
Use undo redirect refuse-negotiation to enable Telnet option negotiation during redirecting a Telnet
connection.
Syntax
redirect refuse-negotiation