clock priority

Function

The clock priority command configures a priority for a line clock source.

The undo clock priority command deletes the priority for a line clock source.

The default priority of a line clock source is 0. That is, this line clock source does not participate in clock source selection.

Format

clock priority priority-value

undo clock priority

Parameters

Parameter Description Value
priority-value

Specifies the priority of a line clock source.

The value is an integer ranging from 1 to 255. A smaller value indicates a higher priority.

Views

100GE interface view, 10G LAN interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE interface view, FlexE-100G interface view, FlexE-400G interface view, FlexE-50G interface view, GE optical interface view, GE electrical interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
clksync write

Usage Guidelines

Usage Scenario

When the system selects clock sources from different ports, users need to set the priority for the clock sources to participate in the system clock source selection.

In actual situations, the QL of a clock source is higher than the priority of the clock source.

-If clock source selection based on SSM levels is enabled, the system selects a clock reference source by the QL of a clock source.

-If clock source selection based on SSM levels is disabled or clock source selection based SSM levels is enabled but the QLs are the same, the system selects the clock reference source by the priority of a clock source.

Precautions

If external input clock signals or a 1588 clock source needs to be configured to participate in clock source selection, the level of the external clock source must be specified. Otherwise, the clock signals cannot participate in clock source selection.

This priority takes effect only when the device selects a clock source based on the port inside the device.

Example

# Set the priority of the line clock source to 10 on GigabitEthernet 0/1/1.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/1
[~HUAWEI-GigabitEthernet0/1/1] clock priority 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >