beautypg.com

Ptp configuration example (ieee 1588 version 2), Network requirements, Configuration procedure – H3C Technologies H3C S6300 Series Switches User Manual

Page 80

background image

67

PTP configuration example (IEEE 1588 Version 2)

Network requirements

As shown in

Figure 22

, a PTP domain comprises Device A, Device B, and Device C.

Configure all devices to use PTP standard IEEE 1588 Version 2.

Configure the clock node type of Device A and Device C as OC, and that of Device B as P2PTC. All
clock nodes elect a GM through BMC based on their respective default GM attributes.

Configure the delay measurement mechanism for Device A and Device C as p2p.

Figure 22 Network diagram

Configuration procedure

1.

Configure Device A:
# Specify the PTP standard as IEEE 1588 Version 2.

system-view

[DeviceA] ptp profile 1588v2

# Specify the clock node type as OC.

[DeviceA] ptp mode oc

# On Ten-GigabitEthernet 1/0/1, specify the delay measurement mechanism as p2p, and enable
PTP.

[DeviceA] interface ten-gigabitethernet 1/0/1

[DeviceA-Ten-GigabitEthernet1/0/1] ptp delay-mechanism p2p

[DeviceA-Ten-GigabitEthernet1/0/1] ptp enable

[DeviceA-Ten-GigabitEthernet1/0/1] quit

2.

Configure Device B:
# Specify the PTP standard as IEEE 1588 Version 2.

system-view

[DeviceB] ptp profile 1588v2

# Specify the clock node type as P2PTC.

[DeviceB] ptp mode p2ptc

# Enable PTP for Ten-GigabitEthernet 1/0/1.

[DeviceB] interface ten-gigabitethernet 1/0/1

[DeviceB-Ten-GigabitEthernet1/0/1] ptp enable

[DeviceB-Ten-GigabitEthernet1/0/1] quit

# Enable PTP for Ten-GigabitEthernet 1/0/2.

[DeviceB] interface ten-gigabitethernet 1/0/2

[DeviceB-Ten-GigabitEthernet1/0/2] ptp enable

XGE1/0/1

Device A

Device B

Device C

XGE1/0/2

XGE1/0/1

XGE1/0/1

OC

OC

P2PTC

PTP domain