R3303-HP HSR6800 Routers Fundamentals Command Reference

33
<Sysname> system-view
[Sysname] user-interface aux 0
[Sysname-ui-aux0] redirect disconnect
redirect enable
Use redirect enable to enable Telnet redirect for the current user interface.
Use undo redirect enable to disable this function.
Syntax
redirect enable
undo redirect enable
Default
The redirect function is disabled.
Views
User interface view
Default command level
2: System level
Usage guidelines
This command is supported only on AUX user interfaces.
For example, a user is connected to device A, and can Telnet to device A. Device A is connected to
device B through its serial port. To let device B provide Telnet service to the user, but to not tell the user
device B's IP address, configure the Telnet redirect function on device A. Then, the user can log in to
device B by Telnetting to the IP address of device A and the port number specified by the redirect
listen-port command.
To use the Telnet redirect function, you must also configure the undo shell command on the device, and
configure the same stop bit setting for the user interfaces of the connecting ports between the device and
the target device. Otherwise, Telnet redirect will fail.
Before using the redirect function or configuring redirect service related parameters, use this command to
enable redirect.
The stop bit setting must be the same for the user interfaces of the connecting ports on the device and the
target terminal device for communication.
Examples
# Enable redirect on user interface AUX 0.
<Sysname> system-view
[Sysname] user-interface aux 0
[Sysname-ui-aux0] redirect enable
Related commands
redirect listen-port
shell
stopbits