< Home

display ptp utc

Function

The display ptp utc command displays the Universal Time Coordinated (UTC) time.

Format

display ptp utc [ slot slot-id ]

Parameters

Parameter

Description

Value

slot slot-id Displays the UTC time based on a slot ID. The value range depends on the device configuration.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

UTC is also called the Greenwich Mean Time (GMT). The time displayed on the PTP device must be the UTC time.

The command is used to view the synchronization status of the UTC time. After two devices are synchronized, the UTC time should be the same.

The PTP supports two types of time scales: ARB and PTP.
  • When the ARB time scale is used, the time can start from any time point and be reset by the management process. The slave clock obtains only the offset between the UTC time and TAI time in seconds. Therefore, the ARB time scale is used only to transmit the offset of the PTP time.
  • When the PTP time scale is used, the system time is the UTC time adjusted according to utc-offset.

    The origin of the PTP time scale is 00:00:00 of January 1, 1970. The formula for converting the TAI time to the UTC time is: UTC = TAI - utc-offset. The utc-offset parameter indicates the accumulated offset between the current UTC and the TAI.

Example

# Display the UTC time.

<HUAWEI> display ptp utc
Non-UTC Time:2009-12-30  20:43:39 
Table 1 Description of the display ptp utc command output

Item

Description

Non-UTC Time

Non-standard UTC time converted according to the ARB time.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >