Use the line global configuration command to identify a specific line for configuration and enters the line configuration command mode.
Syntax
line {console | telnet | ssh}
consoleConsole terminal line.
telnetVirtual terminal for remote console access (Telnet).
sshVirtual terminal for secured remote console access (SSH).
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration Mode
User Guidelines
There are no user guidelines for this command.
Examples
The following example configures the device as a virtual terminal for remote console access.
Console(config)# line telnet
Console(config-line)#
speed
The speed line configuration command sets the line baud rate. To restore the default setting, use the no form of this command.
Syntax
speed {bps | autobaud}
no speed
bpsBaud rate in bits per second (bps). The options are 2400, 9600, 19200, 38400, 57600 and 115200.
autobaudAutomatic speed synchronization.
Default Configuration
This default speed is autobaud.
Command Mode
Line Configuration (console) Mode
User Guidelines
There are no user guidelines for this command.
Examples
The following example sets the baud rate.
Console (config)# line console
Console(config-line)# speed 115200
exec-timeout
The exec-timeout line configuration command configures the interval that the system waits until user input is detected. To remove the interval definition, use the no form of this command.
Syntax
exec-timeoutminutes [seconds]
no exec-timeout
minutesInteger that specifies the number of minutes (Range: 0-65535).
secondsAdditional time intervals in seconds (Range: 0-59).
Default Configuration
The default configuration is 10 minutes.
Command Mode
Line Configuration Mode
User Guidelines
To specify no timeout, enter the exec-timeout 0 0 command.
Examples
The following example configures the interval that the system waits until user input is detected at 20 minutes.
Console (config)# line console
Console(config-line)# exec-timeout 20
show line
Use the show line user EXEC command to display line parameters.
Syntax
show line [console | telnet | ssh]
consoleConsole terminal line.
telnetVirtual terminal for remote console access (Telnet).
sshVirtual terminal for secured remote console access (SSH).
Default Configuration
This command has no default configuration.
Command Mode
User EXEC Mode
User Guidelines
There are no user guidelines for this command.
Examples
The following example displays the line configuration.