1PMC(8)                      System Manager's Manual                     PMC(8)
2
3
4

NAME

6       pmc - PTP management client
7
8

SYNOPSIS

10       pmc  [  -2 | -4 | -6 | -u ] [ -b boundary-hops ] [ -d domain-number ] [
11       -i interface ] [ -s uds-address ] [ -t transport-specific-field ] [  -v
12       ] [ -z ] [ command ] ...
13
14

DESCRIPTION

16       pmc  is a program which implements a PTP management client according to
17       IEEE standard 1588. The program reads from the standard input  or  from
18       the  command  line  actions  specified by name and management ID, sends
19       them over the selected transport and prints any received replies. There
20       are  three  actions supported: GET retrieves the specified information,
21       SET updates the specified information and CMD  (or  COMMAND)  initiates
22       the specified event.
23
24       By default the management commands are addressed to all ports. The TAR‐
25       GET command can be used to select a particular clock and port  for  the
26       subsequent messages.
27
28       Command help can be used to get a list of supported actions and manage‐
29       ment IDs.
30
31

OPTIONS

33       -2     Select the IEEE 802.3 network transport.
34
35       -4     Select the UDP IPv4  network  transport.  This  is  the  default
36              transport.
37
38       -6     Select the UDP IPv6 network transport.
39
40       -u     Select the Unix Domain Socket transport.
41
42       -b boundary-hops
43              Specify the boundary hops value in sent messages. The default is
44              1.
45
46       -d domain-number
47              Specify the domain number in sent messages. The default is 0.
48
49       -i interface
50              Specify the network interface. The default is  /var/run/pmc.$pid
51              for  the  Unix  Domain  Socket  transport and eth0 for the other
52              transports.
53
54       -s uds-address
55              Specifies the address of the server's UNIX domain  socket.   The
56              default is /var/run/ptp4l.
57
58       -t transport-specific-field
59              Specify the transport specific field in sent messages as a hexa‐
60              decimal number.  The default is 0x0.
61
62       -h     Display a help message.
63
64       -v     Prints the software version and exits.
65
66       -z     The official interpretation of the 1588 standard mandates  send‐
67              ing  GET actions with valid (but meaningless) TLV values. There‐
68              fore the pmc program normally sends GET requests  with  properly
69              formed  TLV  values.  This  option  enables the legacy option of
70              sending zero length TLV values instead.
71
72

MANAGEMENT IDS

74       ANNOUNCE_RECEIPT_TIMEOUT
75
76       CLOCK_ACCURACY
77
78       CLOCK_DESCRIPTION
79
80       CURRENT_DATA_SET
81
82       DEFAULT_DATA_SET
83
84       DELAY_MECHANISM
85
86       DOMAIN
87
88       GRANDMASTER_SETTINGS_NP
89
90       LOG_ANNOUNCE_INTERVAL
91
92       LOG_MIN_PDELAY_REQ_INTERVAL
93
94       LOG_SYNC_INTERVAL
95
96       NULL_MANAGEMENT
97
98       PARENT_DATA_SET
99
100       PORT_DATA_SET
101
102       PORT_DATA_SET_NP
103
104       PRIORITY1
105
106       PRIORITY2
107
108       SLAVE_ONLY
109
110       TIMESCALE_PROPERTIES
111
112       TIME_PROPERTIES_DATA_SET
113
114       TIME_STATUS_NP
115
116       TRACEABILITY_PROPERTIES
117
118       USER_DESCRIPTION
119
120       VERSION_NUMBER
121
122

SEE ALSO

124       ptp4l(8)
125
126
127
128linuxptp                         October 2013                           PMC(8)
Impressum