75
To enable the PTP functions to operate on the port, you must execute this command, if PTP
messages are transported by UDP and IPv4.
Examples
# Configure the source IP address as
3.5.1.5
for the PTP message.
<Sysname> system-view
[Sysname] ptp profile 1588v2
[Sysname] ptp mode oc
[Sysname] ptp source 3.5.1.5
Related commands
•
ptp
mode
•
ptp
profile
•
ptp
transport-protocol
ptp syn-interval
Use
ptp
syn-interval
to configure the interval for sending Sync messages.
Use
undo ptp
syn-interval
to restore the default.
Syntax
ptp
syn-interval
value
undo
ptp
syn-interval
Default
If the PTP profile is IEEE 1588 version 2, the interval for sending Sync messages is 1 (2
0
) second.
If the PTP profile is IEEE 802.1AS, the interval for sending Sync messages is 1/8 (2
-3
) second.
Views
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view
Predefined user roles
network-admin
Parameters
value
: Specifies the Sync message sending interval (in seconds). The intervals use log base 2
values. If the PTP profile is IEEE 802.1AS, the value range for the
value
argument is -4 to 6. If the
PTP profile is IEEE 1588 version 2, the value range for the
value
argument is -1 to 1.
Usage guidelines
This command is available only after you specify a PTP profile and a PTP mode.
Examples
# Configure the Sync message sending interval on FortyGigE 1/0/1 as 2 (2
1
) seconds.
<Sysname> system-view
[Sysname] ptp profile 1588v2
[Sysname] ptp mode oc
[Sysname] interface fortygige 1/0/1
[Sysname-FortyGigE1/0/1] ptp syn-interval 1
Related commands
•
ptp
mode