4 Command Line Interface

Table 4-5 Line Commands (Continued)

Command

Function

Mode

Page

 

 

 

 

parity*

Defines the generation of a parity bit

LC

4-16

speed*

Sets the terminal baud rate

LC

4-16

stopbits*

Sets the number of the stop bits transmitted per byte

LC

4-17

disconnect

Terminates a line connection

PE

4-17

 

 

 

 

show line

Displays a terminal line's parameters

NE, PE

4-18

 

 

 

 

* These commands only apply to the serial port.

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:

Console(config)#line console

Console(config-line)#

Related Commands

show line (4-18) show users (4-61)

4-10