The clock source command configures the clock source selection mode as manual or forcible clock source selection and specifies a clock source to be traced.
The default clock source selection mode is automatic clock source selection.
Parameter | Description | Value |
---|---|---|
manual |
Set manual work mode. |
- |
force |
Force to select source. |
- |
bits0 |
Specifies an external clock source as the master clock source. |
- |
2msync-1 |
2M sync clock1. |
- |
interface interface-number |
Specifies an interface clock source as the master clock source. |
The value is a string of 1 to 49 case-sensitive characters, spaces not supported. |
interface interface-name |
Specifies an interface clock source as the master clock source. |
The value is a string of 1 to 49 case-sensitive characters, spaces not supported. |
interface interface-type |
Specifies an interface clock source as the master clock source. |
The value is a string of 1 to 49 case-sensitive characters, spaces not supported. |
ptp |
Specifies a PTP clock source as the master clock source. |
- |
Usage Scenario
You can run this command to manually or forcibly specify a clock source to be traced.
Configuration Impact
After the clock manual source command is run, this command is not saved in the configuration file. To view the configuration results, run the display clock config command. If the reference clock source fails, the clock selection mode is automatically switched to automatic clock source selection. After a device is restarted, the clock manual source command is not restored, and the default automatic clock source selection mode takes effect.
After a device is upgraded to the target version, the configured clock manual source command fails, and the default automatic clock source selection mode takes effect.Precautions