L Commands

This chapter describes the basic Cisco NX-OS system commands that begin with L.

line console

To specify the console port and enter console port configuration mode, use the line console command.

line console

 
Syntax Description

This command has no arguments or keywords.

 
Command Default

None

 
Command Modes

Interface configuration mode

 
Command History

Release
Modification

5.0(2)N1(1)

This command was introduced.

 
Usage Guidelines

You can configure the console line only from a console port session.

Examples

This example shows how to enter console port configuration mode:

switch# configure terminal
switch(config)# line console
switch(config-console)#
 

 
Related Commands

Command
Description

databits

Configures the number of data bits in a character for a port.

exec-timeout

Configures the inactive terminal timeout for a port.

modem

Configures the modem settings for a port.

parity

Configures the parity settings for a port.

show line

Displays information about the console port configuration.

speed

Configures the transmit and receive speed for a port.

stopbits

Configures the stop bits for a port.

line vty

To specify the virtual terminal and enter line configuration mode, use the line vty command.

line vty

 
Syntax Description

This command has no arguments or keywords.

 
Command Default

None

 
Command Modes

Interface configuration mode

 
Command History

Release
Modification

5.0(2)N1(1)

This command was introduced.

Examples

This example shows how to enter console port configuration mode:

switch# configure terminal
switch(config)# line vty
switch(config-line)#
 

 
Related Commands

Command
Description

access-class

Restricts incoming and outgoing connections in VTY configuration mode.

exec-timeout

Configures the inactive terminal timeout for a port.

session-limit

Configures the maximum number of the concurrent virtual terminal sessions.

show line

Displays information about the console port configuration.