Operation Manual - Getting Started
Quidway S5000 Series Ethernet Switches Chapter 4 User Interface Configuration
4-10
II. auto-execute command
The following command is used to automatically run a command after you log in. After a
command is configured to be run automatically, it will be automatically executed when
you log in again.
This command is usually used to automatically execute telnet command on the
terminal, which will connect the user to a designated device automatically.
Perform the following configuration in user interface view.
Table 4-19 Configure to automatically run the command
Operation Command
Configure to automatically run the command auto-execute command text
Configure not to automatically run the command undo auto-execute command
Note the following points:
z After executing this command, the user interface can no longer be used to carry
out the routine configurations for the local system. Use this command with caution.
z Make sure that you will be able to log in the system in some other way and cancel
the configuration, before you use the auto-execute command command and
save the configuration.
# Telnet 10.110.100.1 after the user logs in through VTY0 automatically.
[Quidway-ui-vty0] auto-execute command telnet 10.110.100.1
When a user logs on via VTY 0, the system will run telnet 10.110.100.1 automatically.
4.3 Display and Debug User Interface
After the above configuration, execute display command in any view to display the
running of the user interface configuration, and to verify the effect of the configuration.
Execute free command in user view to clear a specified user interface.
Table 4-20 Display and debug user interface
Operation Command
Clear a specified user interface free user-interface [ type ] number
Display the user application information of the user interface
display users [ all ]
Display the physical attributes and some configurations of the
user interface
display user-interface [ type number ]
[ number ]