22 CHAPTER 2: LOGGING INTO AN ETHERNET SWITCH
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:
■ AUX user interface is numbered 0.
■ VTY user interfaces are numbered VTY0, VTY1, and so on.
Common User Interface
Configuration
Tabl e 10 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
4210.
Enable copyright
information displaying
copyright-info enable Optional
By default, one word 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 ] Optional
You can execute the display
command in any view.
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