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...
Lock the current user interface
Specify to send messages to all
user interfaces/a specified user
interface
Disconnect a specified user
interface
Enter system view
Set the banner
Set a system name for the
switch
Enter user interface view
Define a shortcut key for
aborting tasks
Set the history command buffer
size
Set the timeout time for the
user interface
Use the command...
lock
send { all | number | type
number }
free user-interface [ type ]
number
system-view
header { incoming | legal |
login | shell | motd } text
sysname string
user-interface [ type ]
first-number [ last-number ]
escape-key { default |
character }
history-command max-size
value
idle-timeout minutes
[ seconds ]
1-2
Remarks
Optional
Execute this command in user
view.
A user interface is not locked by
default.
Optional
Execute this command in user
view.
Optional
Execute this command in user
view.
—
Optional
Optional
—
Optional
The default shortcut key
combination for aborting tasks
is < Ctrl + C >.
Optional
The default history command
buffer size is 10. That is, a
history command buffer can
store up to 10 commands by
default.
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.