No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 V200R010C00 Configuration Guide - Device Management

This document describes the principles and configurations of the Device Management features, and provides configuration examples of these features.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring PTP Globally

Configuring PTP Globally

Context

In a PTP domain, a PTP device functioning as an OC can synchronize time with an upstream device or send time to a downstream device. To configure a PTP device as an OC, enable PTP globally on the device, configure the device type as OC, and perform OC configurations in the system view.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    ptp enable

    PTP is enabled globally.

    By default, PTP is disabled.

  3. (Optional) Run:

    ptp freq-sync

    Frequency synchronization is enabled.

    By default, time synchronization is enabled and frequency synchronization is disabled after PTP is enabled.

  4. Run:

    ptp device-type oc

    The device type is configured as OC.

    By default, no device type is configured for a PTP device.

  5. (Optional) Run:

    ptp slaveonly

    The OC is configured to work in slave-only mode.

    By default, an OC port can be a master or slave port. When a device functions as an OC to synchronize with other clocks, configure the device to work in slave-only mode. After the device is configured to work in slave-only mode, ports of the device are in slave state. This indicates that the device can only function as a slave clock to receive clock signals from other clocks but cannot function as a master clock to provide clock signals for other clocks.

  6. (Optional) Run:

    ptp domain domain-value

    The PTP domain to which the device belongs is configured.

    By default, a PTP device belongs to domain 0.

    NOTE:
    Devices that perform clock synchronization through PTP messages must belong to the same PTP domain.

  7. (Optional) Run:

    ptp virtual-clock-id clock-id-value

    A virtual clock ID is configured for the device.

    Each device has a virtual clock ID in a PTP domain. By default, no virtual clock ID is configured for a PTP device, and the system generates a clock ID based on the MAC address of the device. You can also configure a virtual clock ID to identify the device.

    NOTE:

    When running the ptp virtual-clock-id command, ensure that the configured virtual clock ID is unique in the entire PTP domain.

  8. (Optional) Run:

    ptp acl enable

    Access control of the clock source is enabled.

    By default, access control of the clock source is disabled.

  9. (Optional) Run:

    ptp acl-permit-clockid clockid-value

    A specified master clock source is added to the clock source whitelist.

    By default, no clock source whitelist is configured.

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000142080

Views: 109877

Downloads: 144

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next