H3C S6850&S9850&S9820-64H Config Examples-Release 655x-6W100

HomeSupportResource CenterH3C S6850&S9850&S9820-64H Config Examples-Release 655x-6W100
Table of Contents
Related Documents
74-PTP Configuration Examples
Title Size Download
74-PTP Configuration Examples 147.40 KB

 

H3C S6850 & S9850 & S9820-64H

PTP Configuration Examples

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Copyright © 2020 New H3C Technologies Co., Ltd. All rights reserved.

No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of New H3C Technologies Co., Ltd.

Except for the trademarks of New H3C Technologies Co., Ltd., any trademarks that may be mentioned in this document are the property of their respective owners.

The information in this document is subject to change without notice.



Introduction

This document provides PTP configuration examples.

Prerequisites

This document is not restricted to specific software or hardware versions.

The configuration examples in this document were created and verified in a lab environment, and all the devices were started with the factory default configuration. When you are working on a live network, make sure you understand the potential impact of every command on your network.

This document assumes that you have basic knowledge of PTP.

Example: Configuring Layer 2 IEEE 1588v2 PTP

Network configuration

As shown in Figure 1, a PTP domain contains Device A, Device B, and Device C. Configure Layer 2 IEEE 1588v2 PTP as follows for time synchronization:

·           Specify the IEEE 1588v2 PTP profile for the devices.

·           Specify the OC clock node type for Device A and Device C, and E2ETC clock node type for Device B. These clock nodes elect a GM through BMC based on their respective default GM attributes.

Figure 1 Network diagram

 

Applicable hardware and software versions

The following matrix shows the hardware and software versions to which this configuration example is applicable:

 

Hardware

Software version

S6850 switch series

S9850 switch series

Release 6555P01

S9820-64H switch

Release 6555P01

 

Procedures

Configuring Device A

# Specify the IEEE 1588v2 PTP profile.

<DeviceA> system-view

[DeviceA] ptp profile 1588v2

# Specify the OC clock node type.

[DeviceA] ptp mode oc

# Specify a PTP domain.

[DeviceA] ptp domain 0

# Specify PTP for obtaining the time.

[DeviceA] clock protocol ptp

# Enable PTP on HundredGigE 1/0/1.

[DeviceA] interface HundredGigE 1/0/1

[DeviceA-HundredGigE1/0/1] ptp enable

[DeviceA-HundredGigE1/0/1] quit

Configuring Device B

# Specify the IEEE 1588v2 PTP profile.

<DeviceB> system-view

[DeviceB] ptp profile 1588v2

# Specify the E2ETC clock node type.

[DeviceB] ptp mode e2etc

# Specify a PTP domain.

[DeviceB] ptp domain 0

# Specify PTP for obtaining the time.

[DeviceB] clock protocol ptp

# Enable PTP on HundredGigE 1/0/1.

[DeviceB] interface HundredGigE 1/0/1

[DeviceB-HundredGigE1/0/1] ptp enable

[DeviceB-HundredGigE1/0/1] quit

# Enable PTP on HundredGigE 1/0/2.

[DeviceB] interface HundredGigE 1/0/2

[DeviceB-HundredGigE1/0/2] ptp enable

[DeviceB-HundredGigE1/0/2] quit

Configuring Device C

# Specify the IEEE 1588v2 PTP profile.

<DeviceC> system-view

[DeviceC] ptp profile 1588v2

# Specify the OC clock node type.

[DeviceC] ptp mode oc

# Specify a PTP domain.

[DeviceC] ptp domain 0

# Specify PTP for obtaining the time.

[DeviceC] clock protocol ptp

# Enable PTP on HundredGigE 1/0/1.

[DeviceC] interface HundredGigE 1/0/1

[DeviceC-HundredGigE1/0/1] ptp enable

[DeviceC-HundredGigE1/0/1] quit

Verifying the configuration

When the network topology is stable, perform the following tasks to verify the PTP configuration:

·           Use the display ptp clock command to display PTP clock information.

·           Use the display ptp interface brief command to display brief PTP information.

# Display PTP clock information on Device A.

[DeviceA] display ptp clock

PTP profile         : IEEE 1588 Version 2

PTP mode            : OC

Slave only          : No

Clock ID            : 000FE2-FFFE-FF0000

Clock type          : Local

Clock domain        : 0

Number of PTP ports : 1

Priority1     : 128

Priority2     : 128

Clock quality :

 Class                 : 248

 Accuracy              : 254

 Offset (log variance) : 65535

Offset from master : 0 (ns)

Mean path delay    : 0 (ns)

Steps removed      : 0

Local clock time   : Sun Jan 15 20:57:29 2019

# Display brief PTP information on Device A.

[DeviceA] display ptp interface brief

Name         State         Delay mechanism  Clock step  Asymmetry correction

HGE1/0/1     Master        E2E              Two         0

# Display PTP clock information on Device B.

[DeviceB] display ptp clock

PTP profile         : IEEE 1588 Version 2

PTP mode            : E2ETC

Slave only          : No

Clock ID            : 000FE2-FFFE-FF0001

Clock type          : Local

Clock domain        : 0

Number of PTP ports : 2

Priority1     : 128

Priority2     : 128

Clock quality :

 Class                 : 248

 Accuracy              : 254

 Offset (log variance) : 65535

Offset from master : N/A

Mean path delay    : N/A

Steps removed      : N/A

Local clock time   : Sun Jan 15 20:57:29 2019

# Display brief PTP information on Device B.

[DeviceB] display ptp interface brief

Name         State         Delay mechanism  Clock step  Asymmetry correction

HGE1/0/1     N/A           E2E              Two         0

HGE1/0/2     N/A           E2E              Two         0

# Display PTP clock information on Device C.

[DeviceC] display ptp clock

PTP profile         : IEEE 1588 Version 2

PTP mode            : OC

Slave only          : No

Clock ID            : 000FE2-FFFE-FF0002

Clock type          : Local

Clock domain        : 0

Number of PTP ports : 1

Priority1     : 128

Priority2     : 128

Clock quality :

 Class                 : 248

 Accuracy              : 254

 Offset (log variance) : 65535

Offset from master : 0 (ns)

Mean path delay    : 0 (ns)

Steps removed      : 0

Local clock time   : Sun Jan 15 20:57:29 2019

# Display brief PTP information on Device C.

[DeviceC] display ptp interface brief

Name         State         Delay mechanism  Clock step  Asymmetry correction

HGE1/0/1     Slave         E2E              Two         0

The command outputs show that Device A is elected as the GM and HundredGigE 1/0/1 on Device A is the master port.

Configuration files

·           Device A and Device C:

#

 clock protocol ptp

#

 ptp profile 1588v2

 ptp mode oc

#

interface HundredGigE 1/0/1

 ptp enable

#

·           Device B:

#

 clock protocol ptp

#

 ptp profile 1588v2

 ptp mode e2etc

#

interface HundredGigE 1/0/1

 ptp enable

#

interface HundredGigE 1/0/2

 ptp enable

#

Example: Configuring Layer 3 IEEE 1588v2 PTP in multicast mode

Network configuration

As shown in Figure 2, a PTP domain contains Device A, Device B, and Device C. Configure Layer 3 IEEE 1588v2 PTP in multicast mode as follows for time synchronization:

·           Specify the IEEE 1588v2 PTP profile for the devices.

·           Specify the OC clock node type for Device A and Device C, and the P2PTC clock node type for Device B. These clock nodes elect a GM through BMC based on their respective default GM attributes.

·           Configure the multicast PTP transport mode and UDP (IPv4) transport protocol for the devices.

·           Configure the peer delay measurement mechanism (p2p) for Device A and Device C.

Figure 2 Network diagram

 

Applicable hardware and software versions

The following matrix shows the hardware and software versions to which this configuration example is applicable:

 

Hardware

Software version

S6850 switch series

S9850 switch series

Release 6555P01

S9820-64H switch

Release 6555P01

 

Procedures

Configuring Device A

# Specify the IEEE 1588v2 PTP profile.

<DeviceA> system-view

[DeviceA] ptp profile 1588v2

# Specify the OC clock node type.

[DeviceA] ptp mode oc

# Specify a PTP domain.

[DeviceA] ptp domain 0

# Configure the source IP address for multicast PTP transport.

[DeviceA] ptp source 10.10.10.1

# Specify PTP for obtaining the time.

[DeviceA] clock protocol ptp

# On HundredGigE 1/0/1, specify the UDP (IPv4) transport protocol and the peer delay measurement mechanism (p2p) and enable PTP.

[DeviceA] interface HundredGigE 1/0/1

[DeviceA-HundredGigE1/0/1] ptp transport-protocol udp

[DeviceA-HundredGigE1/0/1] ptp delay-mechanism p2p

[DeviceA-HundredGigE1/0/1] ptp enable

[DeviceA-HundredGigE1/0/1] quit

Configuring Device B

# Specify the IEEE 1588v2 PTP profile.

<DeviceB> system-view

[DeviceB] ptp profile 1588v2

# Specify the P2PTC clock node type.

[DeviceB] ptp mode p2ptc

# Specify a PTP domain.

[DeviceB] ptp domain 0

# Configure the source IP address for multicast PTP transport.

[DeviceB] ptp source 10.10.10.2

# Specify PTP for obtaining the time.

[DeviceB] clock protocol ptp

# On HundredGigE 1/0/1, specify the UDP (IPv4) transport protocol and enable PTP.

[DeviceB] interface HundredGigE 1/0/1

[DeviceB-HundredGigE1/0/1] ptp transport-protocol udp

[DeviceB-HundredGigE1/0/1] ptp enable

[DeviceB-HundredGigE1/0/1] quit

# On HundredGigE 1/0/2, specify the UDP transport protocol and enable PTP.

[DeviceB] interface HundredGigE 1/0/2

[DeviceB-HundredGigE1/0/2] ptp transport-protocol udp

[DeviceB-HundredGigE1/0/2] ptp enable

[DeviceB-HundredGigE1/0/2] quit

Configuring Device C

# Specify the IEEE 1588v2 PTP profile.

<DeviceC> system-view

[DeviceC] ptp profile 1588v2

# Specify the OC clock node type.

[DeviceC] ptp mode oc

# Specify a PTP domain.

[DeviceC] ptp domain 0

# Configure the source IP address for multicast PTP transport.

[DeviceC] ptp source 11.10.10.1

# Specify PTP for obtaining the time.

[DeviceC] clock protocol ptp

# On HundredGigE 1/0/1, specify the UDP (IPv4) transport protocol and the peer delay measurement mechanism (p2p) and enable PTP.

[DeviceC] interface HundredGigE 1/0/1

[DeviceC-HundredGigE1/0/1] ptp transport-protocol udp

[DeviceC-HundredGigE1/0/1] ptp delay-mechanism p2p

[DeviceC-HundredGigE1/0/1] ptp enable

[DeviceC-HundredGigE1/0/1] quit

Verifying the configuration

When the network topology is stable, perform the following tasks to verify the PTP configuration:

·           Use the display ptp clock command to display PTP clock information.

·           Use the display ptp interface brief command to display brief PTP information.

# Display PTP clock information on Device A.

[DeviceA] display ptp clock

PTP profile         : IEEE 1588 Version 2

PTP mode            : OC

Slave only          : No

Clock ID            : 000FE2-FFFE-FF0000

Clock type          : Local

Clock domain        : 0

Number of PTP ports : 1

Priority1     : 128

Priority2     : 128

Clock quality :

 Class                 : 248

 Accuracy              : 254

 Offset (log variance) : 65535

Offset from master : 0 (ns)

Mean path delay    : 0 (ns)

Steps removed      : 0

Local clock time   : Sun Jan 15 20:57:29 2019

# Display brief PTP information on Device A.

[DeviceA] display ptp interface brief

Name         State         Delay mechanism  Clock step  Asymmetry correction

HGE1/0/1     Master        P2P              Two         0

# Display PTP clock information on Device B.

[DeviceB] display ptp clock

PTP profile         : IEEE 1588 Version 2

PTP mode            : P2PTC

Slave only          : No

Clock ID            : 000FE2-FFFE-FF0001

Clock type          : Local

Clock domain        : 0

Number of PTP ports : 2

Priority1     : 128

Priority2     : 128

Clock quality :

 Class                 : 248

 Accuracy              : 254

 Offset (log variance) : 65535

Offset from master : N/A

Mean path delay    : N/A

Steps removed      : N/A

Local clock time   : Sun Jan 15 20:57:29 2019

# Display brief PTP information on Device B.

[DeviceB] display ptp interface brief

Name         State         Delay mechanism  Clock step  Asymmetry correction

HGE1/0/1     N/A           P2P              Two         0

HGE1/0/2     N/A           P2P              Two         0

# Display PTP clock information on Device C.

[DeviceC] display ptp clock

PTP profile         : IEEE 1588 Version 2

PTP mode            : OC

Slave only          : No

Clock ID            : 000FE2-FFFE-FF0002

Clock type          : Local

Clock domain        : 0

Number of PTP ports : 1

Priority1     : 128

Priority2     : 128

Clock quality :

 Class                 : 248

 Accuracy              : 254

 Offset (log variance) : 65535

Offset from master : 0 (ns)

Mean path delay    : 0 (ns)

Steps removed      : 0

Local clock time   : Sun Jan 15 20:57:29 2019

# Display brief PTP information on Device C.

[DeviceC] display ptp interface brief

Name         State         Delay mechanism  Clock step  Asymmetry correction

HGE1/0/1     Slave         P2P              Two         0

The command outputs show that Device A is elected as the GM and HundredGigE 1/0/1 on Device A is the master port.

Configuration files

·           Device A:

#

 clock protocol ptp

#

 ptp profile 1588v2

 ptp mode oc

 ptp source 10.10.10.1

#

interface HundredGigE 1/0/1

 ptp delay-mechanism p2p

 ptp transport-protocol udp

 ptp enable

#

·           Device B:

#

 clock protocol ptp

#

 ptp profile 1588v2

 ptp mode p2ptc

 ptp source 10.10.10.2

#

interface HundredGigE 1/0/1

 ptp transport-protocol udp

 ptp enable

#

interface HundredGigE 1/0/2

 ptp transport-protocol udp

 ptp enable

#

·           Device C:

#

 clock protocol ptp

#

 ptp profile 1588v2

 ptp mode oc

 ptp source 11.10.10.1

#

interface HundredGigE 1/0/1

 ptp delay-mechanism p2p

 ptp transport-protocol udp

 ptp enable

#

Example: Configuring IEEE 802.1AS PTP

Network configuration

As shown in Figure 3, a PTP domain contains Device A, Device B, and Device C. Configure IEEE 802.1AS PTP as follows for time synchronization:

·           Specify the IEEE 802.1AS PTP profile for the devices.

·           Specify the OC clock node type for Device A and Device C, and the P2PTC clock node type for Device B. These clock nodes elect a GM through BMC based on their respective default GM attributes.

Figure 3 Network diagram

 

Applicable hardware and software versions

The following matrix shows the hardware and software versions to which this configuration example is applicable:

 

Hardware

Software version

S6850 switch series

S9850 switch series

Release 6555P01

S9820-64H switch

Release 6555P01

 

Procedures

Configuring Device A

# Specify the IEEE 802.1AS PTP profile.

<DeviceA> system-view

[DeviceA] ptp profile 802.1AS

# Specify the OC clock node type.

[DeviceA] ptp mode oc

# Specify a PTP domain.

[DeviceA] ptp domain 0

# Specify PTP for obtaining the time.

[DeviceA] clock protocol ptp

# Enable PTP on HundredGigE 1/0/1.

[DeviceA] interface HundredGigE 1/0/1

[DeviceA-HundredGigE1/0/1] ptp enable

[DeviceA-HundredGigE1/0/1] quit

Configuring Device B

# Specify the IEEE 802.1AS PTP profile.

<DeviceB> system-view

[DeviceB] ptp profile 802.1AS

# Specify the P2PTC clock node type.

[DeviceB] ptp mode p2ptc

# Specify a PTP domain.

[DeviceB] ptp domain 0

# Specify PTP for obtaining the time.

[DeviceB] clock protocol ptp

# Enable PTP on HundredGigE 1/0/1.

[DeviceB] interface HundredGigE 1/0/1

[DeviceB-HundredGigE1/0/1] ptp enable

[DeviceB-HundredGigE1/0/1] quit

# Enable PTP on HundredGigE 1/0/2.

[DeviceB] interface HundredGigE 1/0/2

[DeviceB-HundredGigE1/0/2] ptp enable

[DeviceB-HundredGigE1/0/2] quit

Configuring Device C

# Specify the IEEE 1588 802.1AS PTP profile.

<DeviceC> system-view

[DeviceC] ptp profile 802.1AS

# Specify the OC clock node type.

[DeviceC] ptp mode oc

# Specify a PTP domain.

[DeviceC] ptp domain 0

# Specify PTP for obtaining the time.

[DeviceC] clock protocol ptp

# Enable PTP on HundredGigE 1/0/1.

[DeviceC] interface HundredGigE 1/0/1

[DeviceC-HundredGigE1/0/1] ptp enable

[DeviceC-HundredGigE1/0/1] quit

Verifying the configuration

When the network topology is stable, perform the following tasks to verify the PTP configuration:

·           Use the display ptp clock command to display PTP clock information.

·           Use the display ptp interface brief command to display brief PTP information.

# Display PTP clock information on Device A.

[DeviceA] display ptp clock

PTP profile         : IEEE 802.1AS

PTP mode            : OC

Slave only          : No

Clock ID            : 000FE2-FFFE-FF0000

Clock type          : Local

Clock domain        : 0

Number of PTP ports : 1

Priority1     : 246

Priority2     : 248

Clock quality :

 Class                 : 248

 Accuracy              : 254

 Offset (log variance) : 16640

Offset from master : 0 (ns)

Mean path delay    : 0 (ns)

Steps removed      : 0

Local clock time   : Sun Jan 15 20:57:29 2019

# Display brief PTP information on Device A.

[DeviceA] display ptp interface brief

Name         State         Delay mechanism  Clock step  Asymmetry correction

HGE1/0/1     Master        P2P              Two         0

# Display PTP clock information on Device B.

[DeviceB] display ptp clock

PTP profile         : IEEE 802.1AS

PTP mode            : P2PTC

Slave only          : No

Clock ID            : 000FE2-FFFE-FF0001

Clock type          : Local

Clock domain        : 0

Number of PTP ports : 2

Priority1     : 246

Priority2     : 248

Clock quality :

 Class                 : 248

 Accuracy              : 254

 Offset (log variance) : 16640

Offset from master : N/A

Mean path delay    : N/A

Steps removed      : N/A

Local clock time   : Sun Jan 15 20:57:29 2019

# Display brief PTP information on Device B.

[DeviceB] display ptp interface brief

Name         State         Delay mechanism  Clock step  Asymmetry correction

HGE1/0/1     N/A           P2P              Two         0

HGE1/0/2     N/A           P2P              Two         0

# Display PTP clock information on Device C.

[DeviceC] display ptp clock

PTP profile         : IEEE 802.1AS

PTP mode            : OC

Slave only          : No

Clock ID            : 000FE2-FFFE-FF0002

Clock type          : Local

Clock domain        : 0

Number of PTP ports : 1

Priority1     : 128

Priority2     : 128

Clock quality :

 Class                 : 248

 Accuracy              : 254

 Offset (log variance) : 65535

Offset from master : 0 (ns)

Mean path delay    : 0 (ns)

Steps removed      : 0

Local clock time   : Sun Jan 15 20:57:29 2019

# Display brief PTP information on Device C.

[DeviceC] display ptp interface brief

Name         State         Delay mechanism  Clock step  Asymmetry correction

HGE1/0/1     Slave         P2P              Two         0

The command outputs show that Device A is elected as the GM and HundredGigE 1/0/1 on Device A is the master port.

Configuration files

·           Device A and Device C:

#

 clock protocol ptp

#

 ptp profile 8021as

 ptp mode oc

#

interface HundredGigE 1/0/1

 ptp enable

#

·           Device B:

#

 clock protocol ptp

#

 ptp profile 8021as

 ptp mode p2ptc

#

interface HundredGigE 1/0/1

 ptp enable

#

interface HundredGigE 1/0/2

 ptp enable

#

Example: Configuring SMPTE ST 2059-2 PTP in multicast mode

Network configuration

As shown in Figure 4, Device A, Device B, and Device C are in a PTP domain. Configure SMPTE ST 2059-2 PTP in multicast mode as follows for time synchronization:

·           Specify the SMPTE ST 2059-2 PTP profile for the devices.

·           Configure the multicast PTP transport mode for the devices.

·           Specify the OC clock node type for Device A and Device C, and the P2PTC clock node type for Device B. All clock nodes elect a GM through BMC based on their respective default GM attributes.

·           Configure the peer delay measurement mechanism (p2p) for Device A and Device C.

Figure 4 Network diagram

 

Applicable hardware and software versions

The following matrix shows the hardware and software versions to which this configuration example is applicable:

 

Hardware

Software version

S6850 switch series

S9850 switch series

Release 6555P01

S9820-64H switch

Release 6555P01

 

Procedures

Configuring Device A

# Specify the SMPTE ST 2059-2 PTP profile.

<DeviceA> system-view

[DeviceA] ptp profile st2059-2

# Specify the OC clock node type.

[DeviceA] ptp mode oc

# Specify a PTP domain.

[DeviceA] ptp domain 0

# Configure the source IP address for multicast PTP transport.

[DeviceA] ptp source 10.10.10.1

# Specify PTP for obtaining the time.

[DeviceA] clock protocol ptp

# On HundredGigE 1/0/1, specify the peer delay measurement mechanism (p2p) and enable PTP.

[DeviceA] interface HundredGigE 1/0/1

[DeviceA-HundredGigE1/0/1] ptp delay-mechanism p2p

[DeviceA-HundredGigE1/0/1] ptp enable

[DeviceA-HundredGigE1/0/1] quit

Configuring Device B

# Specify the SMPTE ST 2059-2 PTP profile.

<DeviceB> system-view

[DeviceB] ptp profile st2059-2

# Specify the P2PTC clock node type.

[DeviceB] ptp mode p2ptc

# Specify a PTP domain.

[DeviceB] ptp domain 0

# Configure the source IP address for multicast PTP transport.

[DeviceB] ptp source 10.10.10.2

# Specify PTP for obtaining the time.

[DeviceB] clock protocol ptp

# Enable PTP on HundredGigE 1/0/1.

[DeviceB] interface HundredGigE 1/0/1

[DeviceB-HundredGigE1/0/1] ptp enable

[DeviceB-HundredGigE1/0/1] quit

# Enable PTP on HundredGigE 1/0/2.

[DeviceB] interface HundredGigE 1/0/2

[DeviceB-HundredGigE1/0/2] ptp enable

[DeviceB-HundredGigE1/0/2] quit

Configuring Device C

# Specify the SMPTE ST 2059-2 PTP profile.

<DeviceC> system-view

[DeviceC] ptp profile st2059-2

# Specify the OC clock node type.

[DeviceC] ptp mode oc

# Specify a PTP domain.

[DeviceC] ptp domain 0

# Configure the source IP address for multicast PTP transport.

[DeviceC] ptp source 11.10.10.

# Specify PTP for obtaining the time.

[DeviceC] clock protocol ptp

# On HundredGigE 1/0/1, specify the peer delay measurement mechanism (p2p) and enable PTP.

[DeviceC] interface HundredGigE 1/0/1

[DeviceC-HundredGigE1/0/1] ptp delay-mechanism p2p

[DeviceC-HundredGigE1/0/1] ptp enable

[DeviceC-HundredGigE1/0/1] quit

Verifying the configuration

When the network topology is stable, perform the following tasks to verify the PTP configuration:

·           Use the display ptp clock command to display PTP clock information.

·           Use the display ptp interface brief command to display brief PTP information.

# Display PTP clock information on Device A.

[DeviceA] display ptp clock

PTP profile         : SMPTE ST 2059-2

PTP mode            : OC

Slave only          : No

Clock ID            : 000FE2-FFFE-FF0000

Clock type          : Local

Clock domain        : 0

Number of PTP ports : 1

Priority1     : 128

Priority2     : 128

Clock quality :

 Class                 : 248

 Accuracy              : 254

 Offset (log variance) : 65535

Offset from master : 0 (ns)

Mean path delay    : 0 (ns)

Steps removed      : 0

Local clock time   : Sun Jan 15 20:57:29 2019

# Display brief PTP information on Device A.

[DeviceA] display ptp interface brief

Name         State         Delay mechanism  Clock step  Asymmetry correction

HGE1/0/1     Master        P2P              Two         0

# Display PTP clock information on Device B.

[DeviceB] display ptp clock

PTP profile         : SMPTE ST 2059-2

PTP mode            : P2PTC

Slave only          : No

Clock ID            : 000FE2-FFFE-FF0001

Clock type          : Local

Clock domain        : 0

Number of PTP ports : 2

Priority1     : 128

Priority2     : 128

Clock quality :

 Class                 : 248

 Accuracy              : 254

 Offset (log variance) : 65535

Offset from master : N/A

Mean path delay    : N/A

Steps removed      : N/A

Local clock time   : Sun Jan 15 20:57:29 2019

# Display brief PTP information on Device B.

[DeviceB] display ptp interface brief

Name         State         Delay mechanism  Clock step  Asymmetry correction

HGE1/0/1     N/A           P2P              Two         0

HGE1/0/2     N/A           P2P              Two         0

# Display PTP clock information on Device C.

[DeviceC] display ptp clock

PTP profile         : SMPTE ST 2059-2

PTP mode            : OC

Slave only          : No

Clock ID            : 000FE2-FFFE-FF0002

Clock type          : Local

Clock domain        : 0

Number of PTP ports : 1

Priority1     : 128

Priority2     : 128

Clock quality :

 Class                 : 248

 Accuracy              : 254

 Offset (log variance) : 65535

Offset from master : 0 (ns)

Mean path delay    : 0 (ns)

Steps removed      : 0

Local clock time   : Sun Jan 15 20:57:29 2019

# Display brief PTP information on Device C.

[DeviceC] display ptp interface brief

Name         State         Delay mechanism  Clock step  Asymmetry correction

HGE1/0/1     Slave         P2P              Two         0

The output shows that Device A is elected as the GM and HundredGigE 1/0/1 on Device A is the master port.

Configuration files

·           Device A:

#

 clock protocol ptp

#

 ptp profile st2059-2

 ptp mode oc

 ptp source 10.10.10.1

#

interface HundredGigE 1/0/1

 ptp delay-mechanism p2p

 ptp enable

#

·           Device B:

#

 clock protocol ptp

#

 ptp profile st2059-2

 ptp mode p2ptc

 ptp source 10.10.10.2

#

interface HundredGigE 1/0/1

 ptp enable

#

interface HundredGigE 1/0/2

 ptp enable

#

·           Device C:

#

 clock protocol ptp

#

 ptp profile st2059-2

 ptp mode oc

 ptp source 11.10.10.1

#

interface HundredGigE 1/0/1

 ptp delay-mechanism p2p

 ptp enable

#

Related documentation

·           H3C S6850 & S9850 Switch Series Network Management and Monitoring Configuration Guide-Release 655x

·           H3C S6850 & S9850 Switch Series Network Management and Monitoring Command Reference-Release 655x

·           H3C S9820-64H Switch Network Management and Monitoring Configuration Guide-Release 655x

·           H3C S9820-64H Switch Network Management and Monitoring Command Reference-Release 655x