Line Configuration Mode Commands
Line configuration mode commands allow you to configure the virtual terminal line settings. To configure the virtual terminal line settings and access line configuration mode, use the line vty command in configuration mode. The CLI prompt changes to (config-line). For information about the commands in line configuration mode, see the following commands.
Use the no form of the line vty command to reset the line configuration mode parameter to its default setting.
line vty
no line vty
Syntax Description
This command has no keywords or arguments.
Command Modes
Configuration mode
Admin context only
Command History
|
|
3.0(0)A1(2) |
This command was introduced. |
|
|
A1(7) |
This command was introduced. |
Usage Guidelines
The commands in this mode have no user role feature restrictions. For details about role-based access control (RBAC) and user roles, see the Virtualization Guide, Cisco ACE Application Control Engine.
Examples
To enter the line configuration mode, enter:
host1/Admin(config)# line vty
host1/Admin(config-line)#
Related Commands
clear line
show line
(config-line) session-limit
T o configure the maximum number of terminal sessions per line, use the session-limit command. Use the no form of this command to disable a setting for the configured virtual terminal line.
session-limit number
no session-limit number
Syntax Description
number |
Maximum number of terminal sessions per line. Enter an integer from 1 to 251. |
Command Modes
Line configuration mode
Admin context only
Command History
|
|
3.0(0)A1(2) |
This command was introduced. |
|
|
A1(7) |
This command was introduced. |
Usage Guidelines
This command has no usage guidelines.
Examples
For example, to configure a virtual terminal line, enter:
Enter configuration commands, one per line. End with CNTL/Z
host1/Admin(config)# line vty
host1/Admin(config-line)# session-limit 23
To disable a setting for the configured virtual terminal line, enter:
host1/Admin(config-line)# no session-limit 23
Related Commands
clear line
show line
(config) line vty