clock clear

Function

The clock clear command restores the default automatic clock source selection mode.

By default, the automatic clock source selection mode is enabled.

Format

clock clear [ 2msync-1 ]

Parameters

Parameter Description Value
2msync-1

Clears the manual or forcible clock source selection mode of 2M synchronous PLL-1 clocks.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
clksync write

Usage Guidelines

Usage Scenario

The device supports three clock source selection modes: automatic clock source selection, manual clock source selection, and forcible clock source selection. The default clock source selection mode is automatic clock source selection.

If you have configured the manual or forcible clock source selection mode, run this command to restore the default automatic clock source selection mode.

Configuration Impact

The clock clear command configuration is not saved in the configuration file. After the device is restarted, the clock clear command configuration is not restored, and the system uses the default automatic clock source selection mode. After the device is upgraded to this version from an earlier version, the clock clear command run in the earlier version no longer takes effect, and the system uses the default automatic clock source selection mode.

In VS mode, this command is supported only by the admin VS.

Example

# Restore the default automatic clock source selection mode.
<HUAWEI> system-view
[~HUAWEI] clock clear
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >