Table Of Contents
Console Configuration Mode Commands
(config-console) databits
(config-console) parity
(config-console) speed
(config-console) stopbits
Console Configuration Mode Commands
Console configuration mode commands allow you to configure the console interface settings. To access console configuration mode, use the line console command in configuration mode. The CLI prompt changes to (config-console). For information about the commands in console configuration mode, see the commands in this section.
Use the no form of the line console command to reset the console configuration mode parameters to their default settings.
line console
no line console
Syntax Description
There are no keywords or arguments for this command.
Command Modes
Configuration mode
Admin context only
Command History
Release
|
Modification
|
3.0(0)A1(2)
|
This command was introduced.
|
Usage Guidelines
All commands in this mode require the Admin user role. For details about role-based access control (RBAC) and user roles, see the Cisco Application Control Engine Module Virtualization Configuration Guide.
The console port is an asynchronous serial port on the Catalyst 6500 series switch that enables the ACE to be set up for initial configuration through a standard RS-232 port with an RJ-45 connector. Any device connected to this port must be capable of asynchronous transmission. Connection to a terminal requires a terminal emulator to be configured at 9600 baud, 8 data bits, 1 stop bit, and no parity.
Examples
To enter console configuration mode, enter:
host1/Admin(config)# line console
host1/Admin(config-console)#
Related Commands
clear line
show line
(config-console) databits
To specify the number of data bits per character, use the databits command. Use the no form of this command to revert to the default setting of 8 data bits.
databits number
no databits number
Syntax Description
number
|
Number of data bits per character. Enter an integer from 5 to 8. The default is 8 data bits.
|
Command Modes
Console configuration mode
Admin context only
Command History
Release
|
Modification
|
3.0(0)A1(2)
|
This command was introduced.
|
Usage Guidelines
This command has no usage guidelines.
Examples
To set the number of data bits per character to 6, enter:
Enter configuration commands, one per line. End with CNTL/Z
host1/Admin(config)# line console
host1/Admin(config-console)# databits 6
Related Commands
clear line
show line
(config) line console
(config-console) parity
To set the parity for the console connection, use the parity command. Use the no form of this command to revert to the default setting of none.
parity {even | odd | none}
no parity {even | odd | none}
Syntax Description
even
|
Sets the parity for the console connection to even.
|
odd
|
Sets the parity for the console connection to odd.
|
none
|
Sets the parity for the console connection to none. This is the default setting.
|
Command Modes
Console configuration mode
Admin context only
Command History
Release
|
Modification
|
3.0(0)A1(2)
|
This command was introduced.
|
Usage Guidelines
This command has no usage guidelines.
Examples
To set the parity for the console connection to even, enter:
Enter configuration commands, one per line. End with CNTL/Z
host1/Admin(config)# line console
host1/Admin(config-console)# parity even
Related Commands
clear line
show line
(config) line console
(config-console) speed
To set the transmit and receive speeds for the serial console, use the speed command. Use the no form of this command to revert to the default setting of 9600 baud.
speed baud_rate
no speed baud_rate
Syntax Description
baud_rate
|
Transmit and receive speeds. Enter an integer between 110 and 115200 baud (110, 150, 300, 600, 1200, 2400, 4800, 9600, 19200, 28800, 38400, 57600, or 115200). The default is 9600 baud.
|
Command Modes
Console configuration mode
Admin context only
Command History
Release
|
Modification
|
3.0(0)A1(2)
|
This command was introduced.
|
Usage Guidelines
This command has no usage guidelines.
Examples
To set the transmit and receive speeds for the serial console to 19,200 baud, enter:
Enter configuration commands, one per line. End with CNTL/Z
host1/Admin(config)# line console
host1/Admin(config-console)# speed 19200
Related Commands
clear line
show line
(config) line console
(config-console) stopbits
To set the number of stop bits for the console connection, use the stopbits command. Use the no form of this command to revert to the default setting of 1 stop bit.
stopbits {1 | 2}
no stopbits {1 | 2}
Syntax Description
1
|
Sets the stop bit to 1. The default is 1 stop bit.
|
2
|
Sets the stop bit to 2.
|
Command Modes
Console configuration mode
Admin context only
Command History
Release
|
Modification
|
3.0(0)A1(2)
|
This command was introduced.
|
Usage Guidelines
This command has no usage guidelines.
Examples
To set the number of stop bits, enter:
host1/Admin(config)# line console
host1/Admin(config-console)# stopbits 2
Related Commands
clear line
show line
(config) line console