70
ptp mode
Use
ptp
mode
to specify a clock node type for the device.
Use
undo
ptp
mode
to restore the default.
Syntax
ptp
mode
{
bc
|
e2etc
|
e2etc-oc
|
oc
|
p2ptc
|
p2ptc-oc
}
undo
ptp
mode
Default
No clock node type is specified.
Views
System view
Predefined user roles
network-admin
Parameters
bc
: Specifies the clock node type as boundary clock (BC).
e2etc
: Specifies the clock node type as end-to-end transparent clock (E2ETC).
e2etc-oc
: Specifies the clock node type as E2ETC+OC.
oc
: Specifies the clock node type as ordinary clock (OC).
p2ptc
: Specifies the clock node type as peer-to-peer transparent clock (P2PTC).
p2ptc-oc
: Specifies the clock node type as P2PTC+OC.
Usage guidelines
This command is available only after you specify a PTP profile.
If the PTP profile is IEEE 802.1AS, you cannot specify the clock node type as E2ETC or E2ETC+OC.
If you change the clock node type for the device, all the configurations except for the PTP profile will
be removed.
Examples
# Specify the clock node type as
OC
for the device.
<Sysname> system-view
[Sysname] ptp profile 1588v2
[Sysname] ptp mode oc
Related commands
ptp
profile
ptp pdelay-req-interval
Use
ptp pdelay-req-interval
to configure the interval for sending peer delay request messages.
Use
undo
ptp
pdelay-req-interval
to restore the default.
Syntax
ptp
pdelay-req-interval
value
undo
ptp
pdelay-req-interval