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 the Encapsulation Mode for PTP Messages

Configuring the Encapsulation Mode for PTP Messages

Context

You can configure MAC or UDP encapsulation for PTP messages based on the link type used for PTP message transmission:

  • MAC encapsulation: applies to Layer 2 link transmission.
  • UDP encapsulation: applies to Layer 3 link transmission.

By default, the system uses multicast MAC encapsulation.

NOTE:

Devices that perform clock synchronization through PTP messages must use the same encapsulation mode of PTP messages. Otherwise, the devices cannot communicate.

You can configure unicast or multicast encapsulation for PTP messages based on the topology of the master and slave devices:

  • Unicast encapsulation: applies to point-to-point clock signal synchronization. This mode is used when a single device needs to synchronize with the master clock. If the destination MAC address or IP address of PTP messages to be sent is set to a unicast address, PTP messages are encapsulated in unicast encapsulation mode.
  • Multicast encapsulation: applies to point-to-multipoint clock signal synchronization. By default, devices that reside in the same PTP domain and use the same delay measurement mechanism join the same multicast group. Therefore, when multicast encapsulation is used, the destination MAC address or IP address does not need to be configured for PTP messages.

Procedure

  • Configure the MAC encapsulation mode.
    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      interface interface-type interface-number

      The interface view is displayed.

    3. Run:

      ptp mac-egress destination-mac destination-mac

      The PTP messages to be sent from the interface are encapsulated in MAC encapsulation mode, and the destination MAC address is configured.

      By default, the multicast destination MAC address is 01-1B-19-00-00-00 if the delay request-response mechanism is used; the multicast destination MAC address is 01-80-C2-00-00-0E if the Pdelay mechanism is used.

    4. (Optional) Run:

      ptp mac-egress vlan vlan-id [ priority priority-value ]

      The VLAN ID and 802.1p priority are configured for MAC-encapsulated PTP messages.

  • Configure the UDP encapsulation mode.
    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      interface interface-type interface-number

      The interface view is displayed.

    3. Run:

      ptp udp-egress source-ip source-ip [ destination-ip destination-ip ]

      The PTP messages to be sent from the interface are encapsulated in UDP encapsulation mode, and the source and destination IP addresses are configured.

      By default, if UDP encapsulation is configured, the destination IP address is multicast address 224.0.1.129 when the delay request-response mechanism is used; the destination IP address is multicast address 224.0.0.107 when the Pdelay mechanism is used.

    4. (Optional) Run:

      ptp udp-egress destination-mac destination-mac

      The next-hop MAC address of PTP messages is configured.

    5. (Optional) Run:

      ptp udp-egress source-ip source-ip [ dscp dscp ]

      The DSCP priority is configured for UDP-encapsulated PTP messages.

    6. (Optional) Run:

      ptp udp-egress source-ip source-ip vlan vlan-id [ priority priority ]

      The VLAN ID and priority are configured for UDP-encapsulated PTP messages.

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000142080

Views: 115233

Downloads: 149

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