serial

Required Command-Line Mode = Standard

Use the serial command to configure the serial console port.

The serial command has the following syntax:

serial
   baudrate <9600 | 115200>
   enable

The following table describes the arguments for the serial command:

Argument

Description

baudrate <9600 | 115200>

Specifies the baud rate for the serial console port. The valid values are 9600 or 115200. The default is 115200.

For example:

(config) # serial baudrate 9600

Note:  The following products support only the serial baud rate of 115200:

GigaVUE‑HC3
GigaVUE‑HC1
GigaVUE-TA100
GigaVUE‑TA200
GigaVUE‑TA25

enable

Enables the console port. For example:

(config) # serial enable

Note the following about this CLI command:

■   To apply changes to the console port’s speed, save the active configuration and reload the system.
■   After setting the console port to 9600 or 115,200 bps using the serial baudrate command, the bootloader output will appear correctly on the connected serial console during a system boot provided the client application is set to run at a matching speed.
■   When the serial baudrate is set to 9600 bps, you will need to press the spacebar twice for the CLI login prompt to appear following a reboot.

Related Commands

The following table summarizes other commands related to the serial command:

Task

Command

Displays serial console settings.

# show serial

Disables serial console access.

(config) # no serial enable