76
•
ptp
profile
ptp transport-protocol
Use
ptp
transport-protocol
to configure UDP and IPv4 as the transport protocols for PTP
messages.
Use
undo ptp
transport-protocol
to restore the default.
Syntax
ptp
transport-protocol udp
undo
ptp
transport-protocol
Default
PTP messages are transported through IEEE 802.3 and Ethernet.
Views
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view
Predefined user roles
network-admin
Parameters
udp
: Specifies the UDP and IPv4 protocols for PTP messages.
Usage guidelines
This command is available only after you specify a PTP profile and a PTP mode.
If the PTP profile is IEEE 802.1AS, you cannot execute this command.
Examples
# Configure UDP and IPv4 as the transport protocols for PTP messages on FortyGigE 1/0/1.
<Sysname> system-view
[Sysname] ptp profile 1588v2
[Sysname] ptp mode oc
[Sysname] interface fortygige 1/0/1
[Sysname-FortyGigE1/0/1] ptp transport-protocol udp
Related commands
•
ptp
mode
•
ptp
profile
ptp utc
Use
ptp
utc
to configure the correction date of the UTC.
Use
undo
ptp
utc
to restore the default.
Syntax
ptp
utc
{
leap59-date
|
leap61-date
}
date
undo
ptp
utc
{
leap59-date
|
leap61-date
}
Default
No correction date is configured for the UTC.