< Home

parity

Function

The parity command sets a parity bit for a user interface.

The undo parity command disables the parity check.

By default, no parity check is configured.

Format

parity { even | mark | none | odd | space }

undo parity

Parameters

Parameter

Description

Value

even

Specifies even parity check.

-

mark

Specifies Mark parity check.

-

none

Specifies no parity check.

-

odd

Specifies odd parity check.

-

space

Specifies Space parity check.

-

Views

User interface view

Default Level

3: Management level

Usage Guidelines

The setting is valid only when the serial port is configured to work in asynchronous mode.

If the parity bit for a user interface cannot be set on a device, the system prompts the message "Error: Failed to run this command because of internal causes of system malfunctions."

Example

# Set the transmission parity bit on the console port to odd parity.

<HUAWEI> system-view
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] parity odd
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >