R0106-HP MSR Router Series Fundamentals Command Reference(V7)
65
Use redirect enable to enable Telnet redirect for a user line.
Use undo redirect enable to restore the default.
Syntax
redirect enable
undo redirect enable
Default
Telnet redirect is disabled for a user line.
Views
AUX line view, TTY line view
Predefined user roles
network-admin
Usage guidelines
To allow users connected to the device (Device A) to Telnet to a second device (Device B) without knowing
the IP address of Device B, do the following:
1. Connect Device A to Device B through its AUX port, asynchronous ports, or serial ports operating
in asynchronous mode.
2. Configure Device A as a redirect server.
3. Specify the Telnet redirect listening port.
After the configuration is completed, users can Telnet to Device B by Telnetting to an IP address of Device
A plus the redirect listening port number.
The user line must use the same transmission rate and number of stop bits as Device B.
Before setting the number of stop bits, use the stopbit-error intolerance command to verify the setting
consistence.
Examples
# Enable Telnet redirect for user line TTY 7.
<Sysname> system-view
[Sysname] line tty 7
[Sysname-line-tty7] redirect enable
Related commands
• display tcp (Layer 3—IP Services Command Reference)
• 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