1-2
z VTY user interface indexes follow AUX user interface indexes. The first absolute VTY user
interface is numbered 1, the second is 2, and so on.
2) A relative user interface index can be obtained by appending a number to the identifier of a user
interface type. It is generated by user interface type. The relative user interface indexes are as
follows:
z AUX user interfaces is numbered 0.
z VTY user interfaces are numbered VTY0, VTY1, and so on.
Common User Interface Configuration
Table 1-2 Common user interface configuration
Operation Command Description
Lock the current user interface
lock
Optional
Execute this command in user view.
A user interface is not locked by default.
Specify to send messages to all
user interfaces/a specified user
interface
send
{
all
| number | type
number }
Optional
Execute this command in user view.
Free a user interface
free user-interface
[ type ]
number
Optional
Execute this command in user view.
Enter system view
system-view
—
Set the banner
header
[
incoming
|
legal
|
login
|
shell
]
text
Optional
By default, no banner is configured
Set a system name for the
switch
sysname
string
Optional
By default, the system name is
H3C.
Enable copyright information
displaying
copyright-info enable
Optional
By default, copyright displaying is
enabled. That is, the copy right
information is displayed on the terminal
after a user logs in successfully.
Enter user interface view
user-interface
[ type ]
first-number [ last-number ]
—
Display the information about
the current user interface/all
user interfaces
display users
[
all
]
Display the physical attributes
and configuration of the
current/a specified user
interface
display user-interface
[ type
number | number ]
Display the information about
the current web users
display web users
Optional
You can execute the
display
command
in any view.