H3C Technologies H3C S6300 Series Switches User Manual

Page 81

Advertising
background image

68

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

3.

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

<DeviceC> system-view

[DeviceC] ptp profile 1588v2

# Specify the clock node type as OC.

[DeviceC] ptp mode oc

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

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

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

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

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

4.

Verify the configuration:
When the network is stable, display PTP clock information by using the display ptp clock command,
and display brief PTP statistics on an interface by using the display ptp interface brief command.
# 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 2011

# Display brief PTP statistics on Device A.

[DeviceA] display ptp interface brief

Name State Delay mechanism Clock step Asymmetry correction

XGE1/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

Advertising