stopbits

To configure the stop bits for the console port, use the stopbits command. To revert to the default, use the no form of this command.

stopbits { 1 | 2 }

no stopbits { 1 | 2 }

Syntax Description

1
Specifies one stop bit.
2
Specifies two stop bits.

Command Default

1 stop bit

Command Modes

Terminal line configuration mode

Command History

Release
Modification
4.0(0)N1(1a)
This command was introduced.

Usage Guidelines

You can configure the console port only from a session on the console port.

Examples

This example shows how to configure the number of stop bits for the console port:

switch# configure terminal
switch(config)# line console
switch(config-console)# stopbits 2
 

This example shows how to revert to the default number of stop bits for the console port:

switch# configure terminal
switch(config)# line console
switch(config-console)# no stopbits 2
 

Related Commands

Command
Description
line console
Enters the console terminal configuration mode.
show running-config
Displays the running configuration.