Skip to main content
Version: 7.26

port


system/ptp/port​

Conditions: !smips
Syscap: ptp
Type: Directory
PTP ports: the interfaces that join a /system/ptp profile instance.

FlagNameDescription
Iinactiveinactive
Xdisableddisabled
ArgumentTypeDescription
ptp ( mandatory )enumThe /system/ptp profile instance this port joins
interface ( mandatory )iface_enumInterface used for PTP (the hardware must support PTP timestamping — see the supported device list in the guide)
roleenum (bmca | master | slave)Port role selection: bmca (best master clock algorithm decides between master and slave), or a fixed master or slave
announce-intervalnumLog2 interval between announce messages in seconds (for example -3...4 for 0.125s-16s)
sync-intervalnumLog2 interval between sync messages in seconds
delay-intervalnumLog2 interval between delay request messages in seconds (E2E mode)
pdelay-intervalnumLog2 interval between peer delay messages in seconds (P2P mode)
vlan-idnumVLAN ID under which the port participates in PTP when the interface carries tagged PTP traffic