beautypg.com

Speed 4-52 stopbits 4-52 – LevelOne FGL-2870 User Manual

Page 418

background image

Command Line Interface

4-52

4

speed

This command sets the terminal line’s baud rate. This command sets both the
transmit (to terminal) and receive (from terminal) speeds. Use the no form to restore
the default setting.

Syntax

speed bps
no speed

bps - Baud rate in bits per second.
(Options: 9600, 19200, 38400 bps)

Default Setting

9600

Command Mode

Line Configuration

Command Usage

Set the speed to match the baud rate of the device connected to the serial
port. Some baud rates available on devices connected to the port might not be
supported. The system indicates if the speed you selected is not supported.

Example
To specify 38400 bps, enter this command:

stopbits

This command sets the number of the stop bits transmitted per byte. Use the no
form to restore the default setting.

Syntax

stopbits {1 | 2}

• 1 - One stop bit
• 2 - Two stop bits

Default Setting

1 stop bit

Command Mode

Line Configuration

Example
To specify 2 stop bits, enter this command:

Console(config-line)#speed 38400
Console(config-line)#

Console(config-line)#stopbits 2
Console(config-line)#