R3102-R3103-HP 6600/HSR6600 Routers Fundamentals Command Reference
30
Usage guidelines
For example, a user is connected to device A, and device A is connected to device B through its serial
port. If the redirect enable and redirect listen-port port-number commands are configured on device A,
the user can log in to device B by Telnetting to the IP address of device A and the specified port number.
If you associate device A's IP address with the specified port number by using the ip alias ip-address
port-number command, the user can log in to device B by only Telnetting to the IP address of device A.
Examples
# Associate the Telnet redirect listening port 2000 with the IP address 1.1.1.1.
<Sysname> system-view
[Sysname] ip alias 1.1.1.1 2000
Related commands
• redirect enable
• redirect listen-port
lock
Use lock to lock the current user interface.
Syntax
lock
Default
This function is disabled.
Views
User view
Default command level
3: Manage level
Usage guidelines
This command is not available in FIPS mode.
When you need to leave the device for a while, use this command to lock the current user interface to
prevent unauthorized access.
After you enter this command, you are asked to enter a password (up to 16 characters) and then confirm
it by entering the password again.
To unlock the user interface, press Enter and enter the correct password.
Examples
# Lock the current user interface and then unlock it.
<Sysname> lock
Please input password<1 to 16> to lock current user terminal interface:
Password:










