28 CHAPTER 1: LOGGING IN TO AN ETHERNET SWITCH
Common User Interface
Configuration
To do… Use the command… Remarks
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.
Disconnect a specified 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 | motd } text
Optional
Set a system name for the
switch
sysname string Optional
Enter user interface view user-interface [ type ]
first-number [ last-number ]
-
Define a shortcut key for
aborting tasks
escape-key { default |
character }
Optional
The default shortcut key
combination for aborting tasks is
< Ctrl+C >.
Set the history command
buffer size
history-command
max-size value
Optional
The default history command
buffer size is 10. That is, a
history command buffer can
store up to 10 commands by
default.
Set the timeout time for the
user interface
idle-timeout minutes
[
seconds ]
Optional
The default timeout time of a
user interface is 10 minutes.
With the timeout time being 10
minutes, the connection to a
user interface is terminated if no
operation is performed in the
user interface within 10 minutes.
You can use the idle-timeout 0
command to disable the timeout
function.
Set the maximum number of
lines the screen can contain
screen-length
screen-length
Optional
By default, the screen can
contain up to 24 lines.
You can use the screen-length
0 command to disable the
function to display information
in pages.
Make terminal services
available
shell Optional
By default, terminal services are
available in all user interfaces.