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

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).
Configuring an Encapsulation Mode for 1588v2 Messages

Configuring an Encapsulation Mode for 1588v2 Messages

Prerequisites

The type of the link used to transmit 1588v2 messages has been determined. An encapsulation mode matches a specific link type:
  • 1588v2 messages are transmitted on Layer 2 links in MAC encapsulation mode.
  • 1588v2 messages are transmitted on Layer 3 links in UDP encapsulation mode.

Perform the following steps on a 1588v2 device.

Context

1588v2 messages can be encapsulated in Layer 2 and Layer 3 packets for transmission. You can configure an encapsulation type for 1588v2 messages based on network requirements and set the source address, destination address, and transmission priority for 1588v2 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 encapsulation mode of 1588v2 messages to be sent from the interface is set to unicast MAC encapsulation, and the destination MAC address is configured.

      By default, no destination MAC address is configured.
      NOTE:

      If the encapsulation mode of 1588v2 packets sent by an interface has been set to UDP encapsulation, you need to clear the UDP encapsulation mode configured on the interface before running this command to change the encapsulation mode of 1588v2 packets.

      Specify a destination MAC address as needed:
      • If unicast MAC encapsulation is used, specify a destination MAC address.

      • If multicast MAC encapsulation is used, do not need to specify a destination MAC address because 1588v2 defines the default multicast destination MAC address. The default multicast destination MAC address varies depending on the delay measurement mechanism. Table 6-3 lists default multicast destination MAC addresses used in different delay measurement mechanisms.
        Table 6-3 Default multicast destination MAC addresses used in different delay measurement mechanisms

        Delay Measurement Mechanism

        MAC Address

        Delay

        01-1B-19-00-00-00

        Pdelay

        01-80-C2-00-00-0E

    4. (Optional) Run ptp mac-egress vlan vlan-id [ priority priority ]

      A VLAN ID and 802.1p value are set.

      By default, no VLAN ID is configured, and the 802.1p value is 7.

      1588v2 services require higher priority than other services. A high transmission priority minimizes the delay or congestion impact on clock signal recovery. The default highest priority is recommended.

    5. Run commit

      The configuration is committed.

  • 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 encapsulation mode of 1588v2 messages to be sent from the interface is set to unicast UDP encapsulation, and the source and destination IP addresses are configured for the 1588v2 messages.

      By default, no source and destination IP addresses are configured for 1588v2 messages.

      Specify a destination IP address as required:
      • Specify a destination IP address if unicast UDP encapsulation is used.

      • The destination-ip destination-ip parameter does not need to be specified because 1588v2 defines the default multicast destination IP address. Table 6-4 lists the mapping between default multicast destination IP addresses and delay measurement mechanisms.
        Table 6-4 Mapping between default multicast destination IP addresses and delay measurement mechanisms

        Delay Measurement Mechanism

        IP Address

        Pdelay

        224.0.0.107

        Delay

        224.0.1.129

    4. Run ptp udp-egress destination-mac destination-mac

      A next-hop MAC address is specified.

      By default, no next-hop MAC address is specified for 1588v2 messages to be sent by an interface.

    5. (Optional) Run ptp udp-egress source-ip source-ip [ dscp dscp ]

      A DSCP value is set for UDP 1588v2 messages to be sent.

      By default, the DSCP value of UDP-encapsulated 1588v2 messages to be sent is 56.

      Clock services require a higher DSCP because a higher packet priority indicates that packets can be forwarded in a timely manner, reducing the impact of packet delay and congestion on clock recovery performance. The default DSCP value is 56, which does not need to be changed in most situations.

    6. (Optional) Run ptp udp-egress source-ip source-ip vlan vlan-id [ priority priority ]

      A VLAN ID and a priority value are set for 1588v2 messages.

      By default, no VLAN ID is configured for 1588v2 messages, and the priority is 7 for 1588v2 messages.

      Clock services require a higher priority because a higher packet priority indicates that packets can be forwarded in a timely manner, reducing the impact of packet delay and congestion on clock recovery performance. The default priority value is 7, which does not need to be changed in most situations.

    7. Run commit

      The configuration is committed.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100075362

Views: 27821

Downloads: 103

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