The user-interface command displays only one user interface view.
By default, there is no user interface view displayed.
Parameter | Description | Value |
---|---|---|
ui-type |
Specifies the type of user interface. |
The value of ui-type can be console, vty, or maximum-vty. |
first-ui-number |
Specifies the first user interface to be configured. |
|
last-ui-number |
Specifies the last user interface to be configured. |
|
Usage Scenario
If a user logs in to a device through an vty port, the system automatically allocates an idle user interface with the smallest number and a specified type to the user based on the login mode. The user interface helps manage and monitor the session between the device and the user. Each user interface has a corresponding user interface view where you can set a series of parameters, such as whether user authentication is required during the login and the user level after login. These parameters restrict the users that log in through this user interface, achieving unified session management.
Follow-up Procedure
After logging in to the device as a network administrator, run the display user-interface command to view user interfaces currently supported and the absolute and relative numbers of these user interfaces.
Precautions
In VS mode, this command is supported only by the admin VS.
<HUAWEI> system-view [~HUAWEI] user-interface vty 0 [~HUAWEI-ui-vty0] authentication-mode aaa [~HUAWEI-ui-vty0] user privilege level 3 [~HUAWEI-ui-vty0] idle-timeout 0 0 Warning: Idle time-out is configured as 0, so session will never be disconnected because of timeout. [~HUAWEI-ui-vty0] screen-length 0