clock source clock-id

Function

The clock source clock-id command configures a clock ID for a clock source.

The undo source clock-id command restores the clock ID for a clock source.

By default, the clock ID is 0.

Format

clock source bits0 clock-id clockid-value

undo clock source bits0 clock-id

clock source ptp clock-id clockid-value

undo clock source ptp clock-id

Parameters

Parameter Description Value
bits0

Specifies the bits clock source.

-

clock-id clockid-value

Clock ID of a clock source.

The value is an integer ranging from 1 to 15.

ptp

Specifies the ptp clock source.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
clksync write

Usage Guidelines

Usage Scenario

The default clock ID is 0. If you have enabled the extended SSM function for a clock source, this clock source cannot participate in clock source selection.

To enable clock IDs to participate in clock source selection, configure clock IDs for a clock sources. The participation of clock IDs prevents clock loops.

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

Example

# Set the clock ID to 10 for the clock source.
<HUAWEI> system-view
[~HUAWEI] clock source ptp clock-id 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >