H3C LS-3100-52P-OVS-H3 Operation Manual - page 1548
1-2
z
VTY user interfaces: VTY 0, VTY 1, VTY 2, and so on.
Common User Interface Configuration
Follow these steps to perform 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.