clear console

Use this command to clear the properties set for one or more console ports to its default value.

Syntax

clear console [baud] [bits] [flowcontrol] [parity] [stopbits] [port-string]

Parameters

baud Clears the input/output baud rate.
bits Clears the number of bits per character.
cts-link Sets CTS link detection to the default value of enabled.
flowcontrol Clears the type of flow control.
parity Clears the type of parity.
stopbits Clears the number of stop bits.
vt100 Clears the Device Status Request (DSR) status for the VT100 console.
port-string (Optional) Clears properties for specific console port(s).

Defaults

If no property is specified, all property values are reset to the default value. If port-string is not specified, all or the specified property for all console ports will be cleared.

Mode

All command modes.

Usage

If C2 security mode is enabled, You can not clear a console configuration while in Read-Write user mode.

Example

This example shows how to clear the baud rate on console port com.1.1:

System(rw)->clear console baud com.1.1

This example shows how to clear the bits property on all console ports:

System(rw)->clear console bits

This example shows how to clear the flowcontrol property value console port com.1.1:

System(rw)->clear console flowcontrol com.1.1

This example shows how to clear the parity property value on all ports:

System(rw)->clear console parity

This example shows how to clear the stopbits property value on console ports com.1.1 and com.1.2:

System(rw)->clear console stopbits one com.1.1-2show console