< Home

user-interface

Function

The user-interface command displays one or multiple administrator interface views.

Format

user-interface [ ui-type ] first-ui-number [ last-ui-number ]

Parameters

Parameter Description Value
ui-type Specifies the type of an administrator interface. The value can be console or VTY. If this parameter is specified, specify a relative number. If this parameter is not specified, specify an absolute number.
first-ui-number Specifies the number of the start administrator interface. The range depends on the interface type.
last-ui-number Specifies the number of the end administrator interface. The last-ui-number value must be greater than the first-ui-number value.

Views

System view

Default Level

3: Management level

Usage Guidelines

You can run the user-interface command to access the view of an administrator interface before configuring interface attributes.

Example

# Access to the Console interface view.

<sysname> system-view
[sysname] user-interface console 0
[sysname-ui-console0]

# Access to VTY0 view.

<sysname> system-view
[sysname] user-interface vty 0
[sysname-ui-vty0]

# Access to the views of VTY0 and VTY3.

<sysname> system-view
[sysname] user-interface vty 0 3
[sysname-ui-vty0-3]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >