beautypg.com

Specifying the source ip address for udp packets, Configuring the delay correction value – H3C Technologies H3C S6300 Series Switches User Manual

Page 77

background image

64

Step Command

Remarks

3.

Configure the protocol for
encapsulating PTP messages

as UDP (IPv4).

ptp transport-protocol udp

By default, PTP messages are
encapsulated in IEEE
802.3/Ethernet packets.

Specifying the source IP address for UDP packets

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

ptp source ip-address

By default, no source IP address is
specified for PTP messages
encapsulated in UDP packets.

Configuring the delay correction value

PTP performs time synchronization based on the assumption that the delays in sending and receiving
messages are the same. However, this is not practical. If you know the offset between the delays in

sending and receiving messages, you can configure the delay correction value for more accurate time

synchronization.
To configure the delay correction value for every clock node:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Layer 2 Ethernet
interface view.

interface interface-type
interface-number

N/A

3.

Configure delay correction

value.

ptp asym-correction { minus |
plus } value

Optional.
The default is 0 nanoseconds,

which means delay correction is
not performed.

Configuring the cumulative offset between the UTC and TAI

The time displayed on a device is based on the Coordinated Universal Time (UTC). There is an offset
between UTC and TAI (International Atomic Time in English), which is made public periodically. This task

allows you to adjust the offset between the UTC and TAI on the device. It is applicable to the GM only.
To configure the cumulative offset between the UTC and TAI:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure the cumulative
offset between the UTC and

TAI.

ptp utc offset utc-offset

The default is 0 seconds.