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


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


Configuration Guide - Device Management

CloudEngine 8800, 7800, 6800, and 5800 V200R005C10

This document describes the configurations of Device Management, including device status query, hardware management, Information Center Configuration, NTP, Synchronous Ethernet Configuration, Fault Management Configuration, Energy-Saving Management Configuration, Performance Management Configuration, Maintenance Assistant Configuration, and OPS Configuration.
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).
Specifying the 1588v2 Interface Status

Specifying the 1588v2 Interface Status


A 1588v2 interface works in a specific state:
  • slave: A slave interface only traces external time information. Each 1588v2 device has a single slave interface.
  • uncalibrated: An uncalibrated interface has detected one or more master interfaces in the same clock domain. The uncalibrated interface selects an appropriate master interface as a time source to synchronize with. The uncalibrated state is a temporary state and is seldom used when static 1588v2 is used.
  • passive: A passive interface does not trace or advertise time information. Passive interfaces can send Delay_Req, Pdelay_Resp, Delay_Resp_Follow_Up, Signaling, and Management messages. If multiple 1588v2 interfaces of a device detect remote master interfaces in the same clock domain, this device selects the device with the highest priority as the master clock, sets the local interface connected to the master clock as the slave interface, and sets the other local interfaces as passive interfaces, which function as backup of the slave interface.
  • master: A master interface only advertises time information.
  • premaster: A premaster interface does not trace or advertise time information. Premaster interfaces can send Pdelay_Req, Pdelay_Resp, Delay_Resp_Follow_Up, Signaling, and Management messages.
  • listening: A listening interface does not trace or advertise time information. An OC working in slave-only mode changes from the master state to the listening state if the OC fails.
  • faulty: A faulty interface only responds to some Management messages and does not send 1588v2 messages.
  • disabled: A disabled interface is prohibited from sending 1588v2 messages and discards all received 1588v2 messages except some Management messages. Setting a 1588v2 interface to the disabled state is equivalent to disabling 1588v2 on the interface.
  • initializing: An initializing interface does not send or receive 1588v2 messages.

After 1588v2 is enabled in the system and interface views, specify the 1588v2 interface status to ensure that the master-slave hierarchy can be established as planned on the entire 1588v2 network. By default, all 1588v2 interfaces work in initializing state.

Perform the following steps on each 1588v2 device.


  1. Run system-view

    The system view is displayed.

  2. Run ptp set-port-state enable

    Statically specifying the 1588v2 interface status is enabled.

    By default, statically specifying the 1588v2 interface status is disabled.

  3. Run interface interface-type interface-number

    The interface view is displayed.

  4. Run ptp port-state { slave | uncalibrated | passive | master | premaster | listening | faulty | disabled | initializing }

    The 1588v2 interface is configured to work in a specified state.

    After statically specifying the 1588v2 interface status is enabled, by default, a 1588v2 interface works in initializing state.

  5. Run commit

    The configuration is committed.

Updated: 2019-04-20

Document ID: EDOC1100075362

Views: 24948

Downloads: 102

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