The display clock source command displays clock synchronization configurations and clock source information.
Parameter | Description | Value |
---|---|---|
bits0 |
Indicates that the external BITS clock source is a BITS0 interface. |
- |
config |
Specifies the configuration. |
- |
source |
Specifies the source. |
- |
interface interface-name |
Specifies the interface name. |
- |
interface interface-type |
Specifies the interface type. |
- |
interface interface-number |
Specifies the interface number. |
- |
freq-deviation |
Displays the frequency deviation values of clock sources. The frequency deviation value is calculated by comparing the frequency of local oscillator and the frequency of the external clock signal. |
- |
ptp |
Specify precision time protocol configuration. |
- |
Usage Scenario
After you complete clock synchronization configurations on the device, run the display clock config command to view the configuration results.
During routine maintenance, you can run the display clock source command to view information about all clock sources, including the traced clock source. You can run the display clock source freq-deviation command to view the frequency deviation values of clock sources. If the absolute frequency deviation value of a clock source is greater than or equal to 9.2, the frequency deviation detection status is abnormal. If the absolute frequency deviation value is less than 9.2, the frequency deviation detection status is normal.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display clock source interface GigabitEthernet 0/1/8 Pri(sys/2m-1/2m-2) :5 /---/--- SSM Configure/learning :--/esec ClockId Configure/learning :0/0 State :normal SSM code :0x0b Enhanced SSM code :0x22 ClockIdentity :00259e1000013231 Flag :0x01 Number of cascaded eSECs :00 Number of cascaded SECs :01
<HUAWEI> display clock source System trace source State: lock mode into pull-in range Current system trace source: bits0 Current 2M-1 trace source: system PLL Current 2M-2 trace source: system PLL Frequency lock success: yes Master board Source Pri(sys/2m-1/2m-2) In-SSM Out-SSM State Ref -------------------------------------------------------------------------- bits0 1/---/--- sec dnu normal yes GE0/1/0 2/---/--- sec sec normal yes GE0/1/8 3/---/--- sec sec normal yes
<HUAWEI> display clock config clock freq deviation detect :enable clock unk map :dnu system pll run mode :normal bits output threshold :dnu source input threshold :sec tod protocol :ubx switch config sys pll :auto mode 2msync-1 pll :auto mode 2msync-2 pll :auto mode SSM control :off Extend SSM control :off Enhanced SSM control :off internal clockid :0 switch mode :revertive wtr :0min holdoff time :1000ms source config bits0 Sync disable Sa-bit :sa4 Signal-type :2mbps bits1 Sync disable Sa-bit :sa4 Signal-type :2mbps bits2 Sync disable Sa-bit :sa4 Signal-type :2mbps GigabitEthernet0/1/1 Sync disable Pri(sys/2m-1/2m-2) :1/--/-- Esmc send disable GigabitEthernet0/1/2 Sync disable Pri(sys/2m-1/2m-2) :1/--/-- GigabitEthernet0/1/3 Sync enable Pri(sys/2m-1/2m-2) :1/--/-- GigabitEthernet0/1/4 Sync disable Pri(sys/2m-1/2m-2) :1/--/-- Bundle :1 GigabitEthernet0/1/5 Sync disable Pri(sys/2m-1/2m-2) :1/--/-- Bundle :1 ptp Sync enable Pri(sys) :1
<HUAWEI> display clock source freq-deviation Frequency deviation detect: enable Source Freq-deviation-value ---------------------------------------------------------- * bits0 0.26ppm(normal) bits0 --- GE0/1/0 0.31ppm(normal) GE0/1/8 ---
Item | Description |
---|---|
clock freq deviation detect | Whether frequency deviation detection is enabled for clock signals:
|
clock unk map | Mapping level of the clock source with an SSM level of unk. |
source input threshold | output SSM threshold of the clock source.
|
source config | Clock source configuration. |
Pri(sys/2m-1/2m-2) | Priority of the clock source:
|
SSM control | Whether SSM levels are configured to participate in clock source selection:
|
SSM Configure/learning | Input SSM quality level of a port: -configure: specifies the configured input SSM quality level. -learning: indicates the learned input SSM quality level. |
SSM code | Standard SSM value learned by the port. |
ClockId Configure/learning | ID of the extended SSM input clock source: -configure: ID of the configured input clock source. -learning: ID of the learned input clock source. |
State | Status of the clock source:
|
Enhanced SSM control | Whether Enhanced SSM function is enabled:
|
Enhanced SSM code | Enhanced SSM value learned by the port. |
ClockIdentity | Indicates the ID of the enhanced SSM clock source. |
Flag | Bit 0 means mixed SEC/eSEC (i.e., 1 if at least one of the clocks is not an eSEC; 0 if all clocks are eSEC); bit 1 means partial chain (i.e., 1, if the TLV has been generated in the middle of the chain and the count of the SEC/eSEC is incomplete); bits 2-7 reserved for future use. |
Number of cascaded eSECs | Number of cascaded eSECs. |
Number of cascaded SECs | Number Of SECs. |
System trace source State | Status of the system clock:
|
Current system trace source | Clock source for the system clock. |
Current 2M-1 trace source | Clock source for the 2M PLL-1 clock. |
Current 2M-2 trace source | Clock source for the 2M PLL-2 clock. |
system pll run mode | Status of the system PLL. |
Frequency lock success | Whether frequency locking succeeds:
|
Frequency deviation detect | Frequency deviation detect. |
Master board | Master clock board. |
Source | Name of the clock source. |
In-SSM | SSM level received by clock signals or configured SSM level. |
Out-SSM | Output SSM level of clock signals. |
Ref | Indicates whether this clock source participates in clock source selecting.
|
bits output threshold | Lowest output threshold of the external clock source. |
tod protocol | Protocol type that the packets carrying TOD information abide by. |
switch config | Clock selection configuration. |
switch mode | Clock reversion mode:
|
sys pll | System PLL. |
2msync-1 pll | 2msync-1 PLL. |
2msync-2 pll | 2msync-2 PLL. |
Extend SSM control | Whether Extend SSM function is enabled:
|
internal clockid | Clock ID of the internal clock source. |
wtr | WTR time for a status change after a clock source is restored. |
holdoff time | Indicates the holdoff time after clock source signals are lost. |
Sync enable | Status of clock synchronization for the BITS clock source:
|
Sa-bit | Sa timeslot carrying the SSM level. |
Signal-type | Type of the clock signal. |
Bundle | Bundle group ID of the clock source. |
Freq-deviation-value | Frequency deviation value. The format is Symbol (only negative signs are displayed)+Frequency deviation value+Unit (ppm)+Frequency deviation detection status (abnormal or normal). If "---" is displayed, the frequency deviation value of the clock source cannot be detected. |