< Home

clock priority (interface view)

Function

The clock priority command sets the priority of a clock source.

The undo clock priority command restores the default priority of a clock source.

By default, the priority of a clock source is 0.

Format

clock priority priority-value

undo clock priority

Parameters

Parameter Description Value
priority-value Specifies the priority of a clock source. The value is an integer that ranges from 1 to 255. A smaller value indicates a higher priority.

Views

XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view

Default Level

2: Configuration level

Usage Guidelines

By default, the priority of a clock source is 0, indicating that the clock source does not participate in clock source selection.

In automatic clock source selection mode, a clock source can participate in clock source selection only when a priority is configured. In manual and forcible clock source selection modes, clock source switching can be performed regardless of the clock source priority. In this case, whether a priority is configured does not affect the switching result. To set the priority of a clock source, run the clock priority command.

Example

# Set the priority of the clock source on the interface XGE0/0/1 to 10.

<HUAWEI> system-view
[HUAWEI] interface xgigabitethernet 0/0/1
[HUAWEI-XGigabitEthernet0/0/1] clock priority 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >