Serial Interface Commands

Use these M4500 CLI commands to configure the serial console line, including baud rate, timeout, password threshold, silent time, and terminal length.

show line console

This command displays serial communication settings for the switch.

Default None
Format show line console
Mode Privileged Exec

Display Message

Parameter Definition
Serial Port Login Timeout (minutes) Specifies 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 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 bauds.
Character Size 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 The Parity Method used on the Serial Port. The Parity Method is always None.
Password Threshold When the logon attempt threshold is reached on the console port, the system interface becomes silent for a specified amount of time before allowing the next logon attempt. (Use the silent time command to set this interval.) When this threshold is reached for Telnet, the Telnet logon interface closes.
Silent Time (sec) Use this command to set the amount of time the management console is inaccessible after the number of unsuccessful logon attempts exceeds the threshold set by the password threshold command.
Terminal Length The columns per page for terminal serial port.

line console

This command is used to enter Line configuration mode

Default None
Format line console
Mode Global Config

baudrate

This command specifies the communication rate of the terminal interface. The supported rates are 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200.

Default 115200
Format baudrate {1200 | 2400 | 4800 | 9600 | 19200 | 38400 | 57600 | 115200}
Mode Line Config

no baudrate

This command sets the communication rate of the terminal interface to 115200.

Format line console
Mode Line Config

exec-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 exec-timeout <0-160>
Mode Line Config

no exec-timeout

This command sets the maximum connect time (in minutes) without console activity to 5.

Format no exec-timeout
Mode Line Config

password-threshold

This command is used to set the password instruction threshold limiting the number of failed login attempts.

Default 3
Format password-threshold <0-120>
Mode Line Config

no password-threshold

This command sets the maximum value to the default.

Format no password-threshold
Mode Line Config

silent-time

This command uses to set the amount of time the management console is inaccessible after the number of unsuccessful logon tries exceeds the threshold value.

Default 0
Format silent-time <0-65535>
Mode Line Config

no silent-time

This command sets the maximum value to the default.

Format no silent-time
Mode Line Config

terminal length

This command uses to configure the columns per page for the management console.

Default 24
Format terminal length <10-100>
Mode Privileged Exec

line password

This command is used to specify the password for the line mode.

Default None
Format password [<password>]
Mode Line Config

no password (Line Config)

This command set the password for the line mode to default.

Format no password
Mode Line Config