This section describes the commands you use to configure the console port. You can use a serial cable to connect a management host directly to the console port of the switch.
configure
This command gives you access to the Global Config mode. From the Global Config mode, you can configure a variety of system settings, including user accounts. From the Global Config mode, you can enter other command modes, including Line Config mode.
Format: configure
Mode: Privileged EXEC
line
This command gives you access to the Line Console mode, which allows you to configure various Telnet settings and the console port, as well as to configure console login/enable authentication.
Format: line {console | telnet | ssh}
Mode: Global Config
console: Console terminal line.
telnet: Virtual terminal for remote console access (Telnet).
ssh: Virtual terminal for secured remote console access (SSH).
serial baudrate
This command specifies the communication rate of the terminal interface. The supported rates are 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200.
This command sets the communication rate of the terminal interface.
Format: no serial baudrate
Mode: Line Config
serial timeout
This command specifies the maximum connect time (in minutes) without console activity. A value of 0 indicates that a console can be connected indefinitely. The time range is 0 to 160.
Default: 5
Format: serial timeout <0-160>
Mode: Line Config
no serial timeout
This command sets the maximum connect time (in minutes) without console activity.
Format: no serial timeout
Mode: Line Config
show serial
This command displays serial communication settings for the switch.
Format: show serial
Modes:
Privileged EXEC
User EXEC
The display parameters for above command are:
Serial Port Login Timeout (minutes): The time, in minutes, of inactivity on a Serial port connection, after which the Switch will close the connection. Any numeric value between 0 and 160 is allowed, the factory default is 5. A value of 0 disables the timeout.
Baud Rate (bps): The default baud rate at which the serial port will try to connect. The available values are 1200, 2400, 4800, 9600, 19200, 38400,57600, and 115200 baud. The factory default is 9600 baud.
Character Size (bits): The number of bits in a character. The number of bits is always 8.
Flow Control: Whether Hardware Flow-Control is enabled or disabled. Hardware Flow Control is always disabled.
Stop Bits: The number of Stop bits per character. The number of Stop bits is always 1.
Parity Type: The Parity Method used on the Serial Port. The Parity Method is always None.