L
INE
C
OMMANDS
4-15
line
This command identifies a specific line for configuration, and to process
subsequent line configuration commands.
Syntax
line {console | vty}
• console - Console terminal line.
• vty - Virtual terminal for remote console access (i.e., Telnet).
Default Setting
There is no default line.
Command Mode
Global Configuration
Command Usage
Telnet is considered a virtual terminal connection and will be shown as
“Vty” in screen displays such as show users. However, the serial
communication parameters (e.g., databits) do not affect Telnet
connections.
Example
To enter console line mode, enter the following command:
stopbits* Sets the number of the stop bits transmitted per
byte
LC 4-24
disconnect Terminates a line connection PE 4-24
show line Displays a terminal line's parameters NE,
PE
4-25
Console(config)#line console
Console(config-line)#
Table 4-5 Line Command Syntax (Continued)
Command Function Mode Page
* These commands only apply to the serial port.