protocol ptp
protocol ptp Enables PTP on the switch. | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | config | |
History | 3.6.4110 | |
Example | switch (config) # protocol ptp | |
Related Commands | ||
Notes |
ptp amt
ptp amt <clock-id> Adds an acceptable master table entry. | ||
Syntax Description | clock-id | Clock ID |
Default | N/A | |
Configuration Mode | config | |
History | 3.6.8100 | |
Example | switch (config) # ptp amt 00:11:22:FF:FE:33:44:55:66 | |
Related Commands | show ptp amt | |
Notes |
ptp announce interval
ptp announce interval <interval> Configures PTP announce interval. | ||
Syntax Description | interval | Range: -3 to 1 |
Default | N/A | |
Configuration Mode | config interface port-channel | |
History | 3.6.4110 | |
3.6.8008 | Added “interface vlan” configuration mode | |
3.6.8100 | Added "interface port-channel" configuration mode | |
Example | switch (config 1/1) # ptp announce interval -2 | |
Related Commands | show ptp interface | |
Notes |
ptp announce timeout
ptp announce timeout <timeout> Configures PTP announce timeout. | ||
Syntax Description | timeout | Range: 2-10 |
Default | N/A | |
Configuration Mode | config interface port-channel | |
History | 3.6.4110 | |
3.6.8008 | Added “interface vlan” configuration mode | |
3.6.8100 | Added "interface port-channel" configuration mode | |
Example | switch (config 1/1) # ptp announce timeout 3 | |
Related Commands | show ptp interface | |
Notes |
ptp delay-req interval
ptp delay-req interval <interval> Configures PTP delay-req interval. | ||
Syntax Description | interval | Range: 0-5 Default: 0 |
Default | N/A | |
Configuration Mode | config interface port-channel | |
History | 3.6.4110 | |
3.6.8008 | Added “interface vlan” configuration mode | |
3.8.8100 | "interface port-channel" configuration mode | |
3.9.0600 | Updated example and added note | |
Example | switch (config 1/1) # ptp delay-req interval 0 | |
Related Commands | show ptp interface | |
Notes | IEEE 1588 defines delay-request as an offset from Sync Interval (logSyncInt). A value of 0 therefore matches the defined logSyncInt value. |
ptp domain
ptp domain <domain number> Inserts the number of ptp domain. | ||
Syntax Description | domain number | Range: 0-127 |
Default | 127 | |
Configuration Mode | config | |
History | 3.6.4110 | |
Example | switch (config) # ptp domain | |
Related Commands | show ptp clock | |
Notes |
ptp enable
ptp enable Enables PTP per interface. | ||
Syntax Description | N/A | |
Default | no ptp enable | |
Configuration Mode | config interface ethernet | |
History | 3.6.4110 | |
3.6.8008 | Added “config interface vlan” configuration mode | |
3.6.8100 | Added “config interface port-channel” configuration mode | |
Example | switch (config interface ethernet 1/1) # ptp enable | |
Related Commands | show ptp | |
Notes |
ptp enable forced-master
ptp enable forced-master Configures PTP interfaces to forced master state. The command allows dropping both announce and mgmt PTP messages from other PTP peers in the network. | ||
Syntax Description | N/A | |
Default | no ptp enable forced-master | |
Configuration Mode | config interface ethernet | |
History | 3.6.8100 | |
3.9.2300 | Added note and modified command description. | |
Example | switch (config interface ethernet 1/1) # ptp enable forced-master | |
Related Commands | show ptp | |
Notes | In order to enable forced-master on the VLAN/LAG, it should be enabled on the VLAN/LAG members as well as on the VLAN/LAG itself. |
ptp enable forced-master allow-mgmt
ptp enable forced-master allow-mgmt Configures PTP interfaces to forced master state. The command drops only announce PTP messages and allows passing mgmt PTP messages from other PTP peers in the network. | ||
Syntax Description | N/A | |
Default | no ptp enable forced-master allow-mgmt | |
Configuration Mode | config interface ethernet | |
History | 3.9.2300 | |
Example | switch (config 1/1) # ptp enable forced-master allow-mgmt | |
Related Commands | ptp enable forced-master | |
Notes | In order to enable forced-master allow-mgmt on the VLAN/LAG, it should be enabled on the VLAN/LAG members as well as on the VLAN/LAG itself. |
ptp enable ipv6
ptp enable [forced-master] [ipv6 [mcast-scope link-local]] no ptp enable [forced-master] [ipv6 [mcast-scope link-local]] Configures PTP on the ethernet interface and enables the forced-master and support of IPv6 with a specified scope. | ||
Syntax Description | mcast-scope link-local | Sets the IPv6 multicast scope to link-local. |
Default | no ptp enable ipv6 | |
Configuration Mode | config interface ethernet | |
History | 3.8.2000 | |
Example | switch (config interface ethernet 1/1) # ptp enable ipv6 mcast-scope link-local | |
Related Commands | show ptp | |
Notes | When configuring PTP IPv6, the "global" multicast scope is the default. |
ptp mean-path-delay
ptp mean-path-delay <value> Enables logging of the mean path delay value if it exceeds the specified threshold. | ||
Syntax Description | value | 10-1000000000 (ns). Default 1000000000 |
Default | Enabled | |
Configuration Mode | config | |
History | 3.8.2100 | |
Example | switch (config) # ptp mean-path-delay 10000000 | |
Logging Examples | Example of ptp mean-path-delay 10: Nov 11 16:18:04 arc-switch142 ptp4l: [3083.530] PTP [Debuggability]: PTP Grandmaster clock has changed from ec0d9a.fffe.603848 to 248a07.fffe.9e9adc | |
Related Commands | show ptp clock | |
Notes | If the mean path delay exceeds the threshold, the following ptp4l log message will appear: “Oct 11 19:04:41 arc-switch142 ptp4l: [242.721] PTP slave port Eth1/10 High Mean Path Delay 65536 (ns)” |
ptp message-format
ptp message-format {mixed | multicast} Configures PTP delay request messages format. | ||
Syntax Description | mixed | Sends unicast delay request packets |
multicast | Sends multicast delay request packets | |
Default | mixed | |
Configuration Mode | config | |
History | 3.6.8008 | |
Example | switch (config) # ptp message-format mixed | |
Related Commands | ||
Notes |
ptp monitor interval
| ptp monitor interval <interval> Configure the time interval in which summary statistics of the clock are printed. It is specified as a power of two in seconds. | |
Syntax Description | interval | Range: 0 to 20, power of two in seconds. For example, when configuring the interval to 3, the time interval will be configured to 8 seconds (23= 8 seconds). |
Default | ptp monitor interval 0 | |
Configuration Mode | config | |
History | 3.10.2000 | |
Example | switch (config) # ptp monitor interval 1 switch (config) # ptp monitor interval 3 Eth1/13 2022/03/02 18:37:28.305 1 2 +23 3 104 0 | |
Related Commands | ptp monitor interval phc | |
Notes | Configure the time interval in which summary statistics of the clock are printed both in the ‘show ptp monitor’ output and into the debug log from ptp4l process (if ‘ptp monitor logging enable’ is configured). |
ptp monitor interval phc
| ptp monitor interval phc <interval> Configure the time interval in which summary statistics of the PHC clock are printed. It is specified in seconds. | |
Syntax Description | interval | Range: 0.0 to 100000.0 seconds |
Default | ptp monitor interval phc 1.0 | |
Configuration Mode | config | |
History | 3.10.2000 | |
Example | switch (config) # ptp monitor interval phc 10 Eth1/13 2022/03/02 18:37:22.506 5 5 +33 3 111 0 switch (config) # ptp monitor interval phc 0.5 Eth1/13 2022/03/02 18:37:22.906 4 4 +13 4 101 1 | |
Related Commands | ptp monitor interval | |
Notes | Configure the time interval in which summary statistics of the clock are printed both in the ‘show ptp monitor phc’ output and into the debug log from phc2sys process (if ‘ptp monitor logging enable’ is configured). |
ptp monitor logging enable
ptp monitor logging enable Enables PTP monitor logging into ‘/var/log/debug’ file. | ||
Syntax Description | N/A | |
Default | Disabled | |
Configuration Mode | config interface ethernet | |
History | 3.10.2000 | |
Example | switch (config) # ptp monitor logging enable | |
Related Commands | ptp monitor interval | |
Notes | PTP monitor logs include such parameters for ptp4l and phc2sys clock: RMS: offset root mean square |
ptp offset-from-master
ptp offset-from-master <value> <value> Enables logging of the offset from master value if it exceeds the specified threshold. | ||
Syntax Description | values | [-1000000000; -10] [10; 1000000000]. Default [-100000; -10] [10; 100000] |
Default | Enabled | |
Configuration Mode | config | |
History | 3.8.2100 | |
Example | switch (config) # ptp offset-from-master -100 2345 | |
Logging Example | Example of ptp offset-from-master -10 10: | |
Related Commands | show log | |
Notes | If the mean path delay exceeds the threshold, the following ptp4l log message will appear: “Oct 11 19:04:41 arc-switch142 ptp4l: [242.721] PTP slave port Eth1/10 High offset from Master 36766720739 (ns)” |
ptp priority
ptp priority{1 | 2} <priority> Configures PTP primary priority. | ||
Syntax Description | priority | Range: 0-255 |
Default | 128 | |
Configuration Mode | config | |
History | 3.6.4110 | |
Example | switch (config) # ptp priority1 128 | |
Related Commands | show ptp clock | |
Notes |
ptp sync interval
ptp sync interval <interval> Configures PTP sync interval. | ||
Syntax Description | interval | Range: -7 to -1 |
Default | N/A | |
Configuration Mode | config interface port-channel | |
History | 3.6.4110 | |
3.6.8008 | Added “interface vlan” configuration mode | |
3.6.8100 | Added "interface port-channel" configuration mode | |
Example | switch (config 1/1) # ptp sync interval -3 | |
Related Commands | show ptp interface | |
Notes |
ptp tll
ptp ttl <ttl_value> Sets the TTL value of the PTP messages. | ||
Syntax Description | ttl_value | 1-255 |
Default | PTP TTL is 1 by default. | |
Configuration Mode | config | |
History | 3.9.2000 | |
Example | switch (config) # ptp ttl 10 | |
Related Commands | show ptp | |
Notes |
clear ptp amt log
clear ptp amt log Clears log of received clock IDs outside of acceptable master table. | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.8100 | |
Example | switch (config) # clear ptp amt log | |
Related Commands | show ptp amt | |
Notes |
clear ptp forced-master log
clear ptp forced-master log Clears log of received clock IDs on forced master interface. | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.8100 | |
Example | switch (config) # clear ptp forced-master log | |
Related Commands | show ptp forced-master | |
Notes |
clear ptp interface counters
clear ptp interface [vlan <id>] [port-channel <id>] [ethernet <slot>/<port>[/<subport>]] counters Clears PTP counters for specified VLAN member interface. | ||
Syntax Description | id | VLAN or LAG ID |
<slot>/<port>/<subport> | Ethernet port ID (e.g. 1/3/1) | |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.8008 | |
3.8.2000 | Added example | |
Example | switch (config 1/1) # clear ptp interface vlan 2 ethernet 1/1 counters | |
Related Commands | show ptp interface <ethernet | port-channel | vlan> counters | |
Notes |
clear ptp timeout counters
clear ptp timeout counters Clears global PTP timeout counters. | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.10.2000 | |
Example | switch (config) # clear ptp timeout counters | |
Related Commands | show ptp timeout counters | |
Notes |
clear ptp vrf counters
clear ptp vrf <vrf-name> counters Clears the PTP VRF counters. | ||
Syntax Description | vrf-name | Name of PTP enabled VRF |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.7.1000 | |
Example | switch (config) # clear ptp vrf cust1 counters | |
Related Commands | show ptp vrf counters | |
Notes | This command clears interface statistics on all PTP enabled interfaces in a specific PTP enabled VRF. |
ptp vrf enable
ptp vrf <vrf-name> enable [forced-master] This command enables PTP in VRF. | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | Configure terminal | |
History | 3.7.1000 | |
Example | switch (config) # ptp vrf cust1 enable forced-master | |
Related Commands | show ptp show ptp vrf show ptp forced-master show ptp vrf counters clear ptp vrf counters ptp vrf announce interval ptp vrf announce timeout ptp vrf delay-req interval ptp vrf sync interval | |
Related Commands | PTP needs to be enabled on interfaces in VRF as well. |
show ptp
show ptp Displays PTP configuration and operation data. | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.4110 | |
3.6.8008 | Updated example | |
3.6.8100 | Updated example | |
3.8.2000 | Updated example | |
3.9.2000 | Updated example, adding TTL field | |
Example | switch (config) # show ptp PTP mode : Boundary Clock Message format : Mixed Acceptable Master Table : Disabled Domain : 127 PTP enabled interfaces: -------------------------------------------------------------------- Port Po VLAN VRF Transport State Forced Master -------------------------------------------------------------------- Eth1/1 N/A N/A default IPv4 SLAVE no Eth1/2 N/A N/A default IPv6 MASTER no | |
Related Commands | ||
Notes |
show ptp monitor
show ptp monitor Displays last 100 entries of the PTP clock monitor data from ptp4l process. | ||
Syntax Description | N/A | |
Default | By default, 1 entry with clock monitor data is printed per 1 second. | |
Configuration Mode | Any command mode | |
History | 3.10.2000 | |
Example | switch (config) # show ptp monitor | |
Related Commands | ptp monitor logging enable | |
Notes | PTP monitor logs include such clock parameters from ptp4l process: RMS: offset root mean square |
show ptp monitor phc
show ptp monitor phc Displays last 100 entries of the PTP clock monitor data from phc2sys process. | ||
Syntax Description | N/A | |
Default | By default, 1 entry with clock monitor data is printed per 1 second. | |
Configuration Mode | Any command mode | |
History | 3.10.2000 | |
Example | switch (config) # show ptp monitor phc Eth1/13 2022/03/02 18:37:09.906 2 2 +33 2 109 0 | |
Related Commands | ptp monitor logging enable | |
Notes | PTP monitor logs include such clock parameters from phc2sys process: RMS: offset root mean square |
show ptp timeout counters
show ptp timeout counters Displays global PTP timeout counters. | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.10.2000 | |
Example | switch (config) # show ptp timeout counters | |
Related Commands | clear ptp timeout counters | |
Notes |
|
show ptp vrf
show ptp vrf <vrf_name> Displays interfaces in VRF PTP related data. | ||
Syntax Description | vrf-name | Name of PTP enabled VRF |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.7.1000 | |
3.8.2000 | Updated example | |
Example | switch (config) # show ptp vrf Interface name: Eth1/1 Channel group ID: N/A VRF: cust1 IP Address: 1.1.1.1 Port Clock identity: E4:1D:2D:FF:FE:44:65:C8 PTP Port number: 1 Interface name: Eth1/2 Channel group ID: N/A VRF: default IP Address: 2.2.2.2 Port Clock identity: E4:1D:2D:FF:FE:44:65:C8 PTP Port number: 1 PTP interface state: SLAVE Interface name: Eth1/1 Channel group ID: N/A VRF: cust1 IP Address: 1.1.1.1 Port Clock identity E4:1D:2D:FF:FE:44:65:C8 PTP Port number: 1 PTP interface state: MASTER Forced Master: no Delay request interval(log mean): 0 Announce receipt time out: 3 Announce interval(log mean): -2 Sync interval(log mean): -3 Delay Mechanism: End to End Transport protocol: UDP IPv4 | |
Related Commands | ||
Notes | Displays ptp state of all PTP-enabled interfaces in all PTP-enabled VRFs. |
show ptp vrf counters
show ptp vrf <vrf-name> counters Displays port statistics on interfaces in VRF. | ||
Syntax Description | vrf-name | Name of PTP enabled VRF |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.7.1000 | |
Example | switch (config) # show ptp vrf cust1 counters VRF: cust1 Eth1/1 RX 0 Sync message count 0 Delay request message count 0 PDelay request message count 0 PDelay response message count 0 Follow Up message count 0 Delay response message count 0 PDelay response follow Up message count 0 Announce message count 0 Signalling message count 0 Management message count TX 0 Sync message count 0 Delay request message count 0 PDelay request message count 0 PDelay response message count 0 Follow Up message count 0 Delay response message count 0 PDelay response follow Up message count 0 Announce message count 0 Signalling message count 0 Management message count 0 Forwarded Management message count Eth1/2 RX 0 Sync message count 0 Delay request message count 0 PDelay request message count 0 PDelay response message count 0 Follow Up message count 0 Delay response message count 0 PDelay response follow Up message count 0 Announce message count 0 Signalling message count 0 Management message count TX 0 Sync message count 0 Delay request message count 0 PDelay request message count 0 PDelay response message count 0 Follow Up message count 0 Delay response message count 0 PDelay response follow Up message count 0 Announce message count 0 Signalling message count 0 Management message count 0 Forwarded Management message count | |
Related Commands | ||
Notes | Display ptp counters of all PTP enabled interfaces in specific PTP enabled VRF. |
show ptp amt
show ptp amt Displays acceptable master table. | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.8100 | |
Example | switch (config) # show ptp amt | |
Related Commands | show ptp amt log | |
Notes |
show ptp interface port-channel
show ptp interface port-channel <po-id> Displays LAG member interfaces PTP related data. | ||
Syntax Description | po-id | LAG ID |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.7.1000 | |
3.8.2000 | Updated example | |
Example | switch (config) # show ptp interface port-channel 3 VRF: default IP Address: 1111:0:0:0:0:0:0:0/64 Port Clock identity: ec:0D:9a:ff:fe:60:37:c8 PTP Port number: 1 PTP interface state: MASTER Interface name: Eth1/11 (Po 3) Channel group ID: 3 VRF: default IP Address: 1111:0:0:0:0:0:0:0/64 Port Clock identity: ec:0D:9a:ff:fe:60:37:c8 PTP Port number: 1 PTP interface state: MASTER | |
Related Commands | ||
Notes |
show ptp interface port-channel counters
show ptp interface port-channel <po-id> counters Displays port statistics on LAG member interfaces. | ||
Syntax Description | po-id | LAG ID |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.7.1000 | |
Example | switch (config) # show ptp interface port-channel 3 counters Eth1/10 RX 0 Sync message count 0 Delay request message count 0 PDelay request message count 0 PDelay response message count 0 Follow Up message count 0 Delay response message count 0 PDelay response follow Up message count 0 Announce message count 0 Signalling message count 0 Management message count TX 0 Sync message count 0 Delay request message count 0 PDelay request message count 0 PDelay response message count 0 Follow Up message count 0 Delay response message count 0 PDelay response follow Up message count 0 Announce message count 0 Signalling message count 1 Management message count 0 Forwarded Management message count Eth1/11 (Po 3) RX 0 Sync message count 0 Delay request message count 0 PDelay request message count 0 PDelay response message count 0 Follow Up message count 0 Delay response message count 0 PDelay response follow Up message count 0 Announce message count 0 Signalling message count 0 Management message count TX 0 Sync message count 0 Delay request message count 0 PDelay request message count 0 PDelay response message count 0 Follow Up message count 0 Delay response message count 0 PDelay response follow Up message count 0 Announce message count 0 Signalling message count 2 Management message count 0 Forwarded Management message count | |
Related Commands | ||
Notes |
show ptp amt log
show ptp amt log Displays received GMC clock IDs outside of acceptable master table. | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.8100 | |
Example | ||
switch (config) # show ptp amt log ------------------------------------------------------------------------------- Clock Identity Interface VLAN IP Address Last Occurrence ------------------------------------------------------------------------------- 04:1D:2D:FF:FE:A5:F3:94 Eth1/2 N/A 192.168.66.7 2018/07/17 19:44:09 03:1D:2D:FF:FE:A5:F3:94 Eth1/2 N/A 192.168.66.7 2018/07/17 19:44:09 | ||
Related Commands | show ptp amt | |
Notes |
show ptp clock
show ptp clock Displays configuration and operation data of PTP clock. | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.4110 | |
Example | switch (config) # show ptp clock Domain: 127 Number of PTP ports: 1 Priority1: 128 Priority2: 128 Clock identity: e41d2d.fffe.46f801 Offset From Master (ns): 65535 Mean path delay (ns): 13303808 Clock Quality Class: 248 Accuracy: 254 Offset (log variance): 65535 Steps Removed from GMC: 1 Local clock time: 13:59:27 Etc/UTC 2017/05/23 ... | |
Related Commands | ||
Notes |
show ptp clock parent
show ptp clock parent Displays configuration and operation data of parent PTP clock. | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.4110 | |
3.8.2100 | Updated example | |
Example | switch (config) # show ptp clock parent Parent Clock Parent Clock identity: ec:46:70:ff:fe:0c:e4:82 Parent Port number: 1 GMC GMC Identity: ec:46:70:ff:fe:0c:e4:82 GMC Clock Quality Priority1: 128 Priority2: 128 Class: 6 Accuracy: 33 Offset (log variance): 13563 Time Traceable : 1 (True) | |
Related Commands | ||
Notes |
show ptp forced-master
show ptp forced-master Displays forced master PTP interfaces. | ||
Syntax Description | N/A | |
Default | N/A | |
onfiguration ode | Any command mode | |
History | 3.6.8100 | |
Example | switch (config) # show ptp forced-master ---------------------------------------------- Port Po VLAN VRF ---------------------------------------------- Eth1/10 3 N/A default Eth1/11 3 N/A default | |
Related Commands | show ptp | |
Notes |
show ptp
show ptp <slot>/<port>[/<subport>] Displays PTP configuration and operation data per Ethernet port. | ||
Syntax Description | <slot>/<port>/<subport> | Ethernet port ID (e.g. 1/3/1) |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.4110 | |
3.6.8100 | Updated example | |
3.8.2000 | Updated example | |
Example | switch (config) # show ptp 1/1 Interface name: Eth1/1 Channel group ID: N/A VRF: default IP Address: 1111:0:0:0:0:0:0:0/64 Port Clock identity: ec:0D:9a:ff:fe:60:37:c8 PTP Port number: 1 PTP interface state: MASTER Forced Master: no Delay request interval(log mean): 0 Announce receipt time out: 3 Announce interval(log mean): -2 Sync interval(log mean): -3 Delay Mechanism: End to End Transport protocol: UDP IPv6 | |
Related Commands | ||
Notes |
show ptp clock foreign-masters
show ptp clock foreign-masters Displays all PTP foreign masters per each PTP port. | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | config | |
History | 3.8.2100 | |
Example | show ptp clock foreign-masters -------------------------------------------------------------- | |
Related Commands | show ptp | |
Notes |
show ptp interface ethernet counters
show ptp interface ethernet <slot>/<port>[/<subport>] counters Displays PTP counters per Ethernet port. | ||
Syntax Description | <slot>/<port>/<subport> | Ethernet port ID (e.g. 1/3/1) |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.4110 | |
3.6.8008 | Added VLAN parameter | |
Example | switch (config) # show ptp interface ethernet 1/5 counters Eth1/5 RX 108 Sync message count 0 Delay request message count 0 PDelay request message count 0 PDelay response message count 108 Follow Up message count 17 Delay response message count 0 PDelay response follow Up message count 54 Announce message count 0 Signaling message count 0 Management message count TX 74188 Sync message count 17 Delay request message count 0 PDelay request message count 0 PDelay response message count 74188 Follow Up message count 0 Delay response message count 0 PDelay response follow Up message count 37117 Announce message count 0 Signaling message count 57 Management message count ... | |
Related Commands | ||
Notes |
show ptp interface
show ptp interface Displays PTP configuration and operation data for all PTP-enabled interfaces. | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.8.2000 | |
Example | switch (config) # show ptp interface Interface name: Eth1/4 Channel group ID: N/A VRF: default IP Address: 4.4.4.4/24 Port Clock identity: 7c:fe:90:ff:fe:fa:22:08 PTP Port number: 1 PTP interface state: MASTER PTP operational state: UP Forced Master: no Delay request interval(log mean): 0 Announce receipt time out: 3 Announce interval(log mean): -2 Sync interval(log mean): -3 Delay Mechanism: End to End Transport protocol: UDP IPv4 IPv6 Multicast scope ID: N/A Interface name: Eth1/12 (VLAN 12) Channel group ID: 12 VRF: default IP Address: 12.8.8.8/24 Port Clock identity: 7c:fe:90:ff:fe:fa:22:08 PTP Port number: 2 PTP interface state: SLAVE PTP operational state: UP Forced Master: no Delay request interval(log mean): 0 Announce receipt time out: 3 Announce interval(log mean): -2 Sync interval(log mean): -3 Delay Mechanism: End to End Transport protocol: UDP IPv4 IPv6 Multicast scope ID: N/A | |
Related Commands | show ptp interface ethernet show ptp interface vlan | |
Notes |
show ptp interface ethernet
show ptp interface ethernet <id> Displays PTP configuration and operation data for the ethernet interface. | ||
Syntax Description | id | Ethernet ID |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.8.2000 | |
Example | switch (config) # show ptp interface ethernet 1/12 Interface name: Eth1/12 (VLAN 12) Channel group ID: 12 VRF: default IP Address: 12.8.8.8/24 Port Clock identity: 7c:fe:90:ff:fe:fa:22:08 PTP Port number: 2 PTP interface state: SLAVE PTP operational state: UP Forced Master: no Delay request interval(log mean): 0 Announce receipt time out: 3 Announce interval(log mean): -2 Sync interval(log mean): -3 Delay Mechanism: End to End Transport protocol: UDP IPv4 IPv6 Multicast scope ID: N/A | |
Related Commands | ||
Notes |
show ptp interface vlan
show ptp interface vlan <vid> Displays PTP configuration and operation data per VLAN. | ||
Syntax Description | vid | VLAN ID |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.8008 | |
3.6.8100 | Updated example | |
3.8.2000 | Updated example | |
Example | switch (config) # show ptp interface vlan 1 Interface name: Eth1/15/1 (VLAN 1) Port Clock identity: 7cfe90.fffe.fa2388 PTP Port number: 1 PTP interface state: SLAVE | |
Related Commands | ||
Notes |
show ptp interface vlan ethernet
show ptp interface vlan <vid> ethernet <slot>/<port>[/<subport>] Displays PTP configuration and operation data for specified VLAN member interface for a specified Ethernet port. | ||
Syntax Description | vid | VLAN ID |
<slot>/<port>/<subport> | Ethernet port ID (e.g. 1/3/1) | |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.8008 | |
3.8.2000 | Updated example | |
Example | switch (config) # show ptp interface vlan 1 ethernet 1/15/1 Interface name: Eth1/15/1 (VLAN 1) Port Clock identity: 7cfe90.fffe.fa2388 PTP Port number: 1 PTP interface state: FAULTY | |
Related Commands | ||
Notes |
show ptp interface vlan counters
show ptp interface vlan <vid> counters Displays PTP counters per VLAN. | ||
Syntax Description | vid | VLAN ID |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.8008 | |
3.8.2000 | Added example | |
Example | switch (config) # show ptp interface vlan 3 counters Eth1/3 (VLAN 3) RX 0 Sync message count 0 Delay request message count 0 PDelay request message count 0 PDelay response message count 0 Follow Up message count 0 Delay response message count 0 PDelay response follow Up message count 0 Announce message count 0 Signalling message count 0 Management message count TX 19851 Sync message count 0 Delay request message count 0 PDelay request message count 0 PDelay response message count 19851 Follow Up message count 0 Delay response message count 0 PDelay response follow Up message count 9928 Announce message count 0 Signalling message count 2 Management message count 0 Forwarded Management message count | |
Related Commands | ||
Notes |
show ptp interface vlan ethernet counters
show ptp interface vlan <vid> ethernet <slot>/<port>[/<subport>] counters Displays PTP counters per VLAN for a specified Ethernet port. | ||
Syntax Description | vid | VLAN ID |
<slot>/<port>/<subport> | Ethernet port ID (e.g. 1/3/1) | |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.8008 | |
Example | switch (config) # show ptp interface vlan 1 ethernet 1/15/1 counters Eth1/15/1 (VLAN 1) RX 0 Sync message count 0 Delay request message count 0 PDelay request message count 0 PDelay response message count 0 Follow Up message count 0 Delay response message count 0 PDelay response follow Up message count 0 Announce message count 0 Signaling message count 0 Management message count TX 0 Sync message count 0 Delay request message count 0 PDelay request message count 0 PDelay response message count 0 Follow Up message count 0 Delay response message count 0 PDelay response follow Up message count 0 Announce message count 0 Signaling message count 0 Management message count | |
Related Commands | ||
Notes |
show ptp time-property
show ptp time-property Displays PTP time-property parameters (time source, current utc offset etc). | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.8.2100 | |
Example | switch (config) # show ptp time-property Current UTC Offset valid: 1 (True) Current UTC Offset : 37 Leap59 : 0 (False) Leap61 : 0 (False) Time Traceable : 1 (True) Frequency Traceable : 1 (True) PTP Timescale : 1 (True) Time Source : 0x20 (GPS) | |
Related Commands | ||
Notes |
show ptp status
show ptp status Displays the last 100 entries for Offset from Master and Mean Path Delay values. | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | Any configuration mode | |
History | 3.8.2100 | |
Example | switch (config) # show ptp status PTP mode : Boundary Clock Interface Time Offset from Master (ns) Mean Path Delay (ns) Eth1/15 2019/11/13 16:32:00.774 -21 424 | |
Related Commands | ||
Notes |
PTP Debuggability Logging Examples
Change of the State of Particular PTP Port
Nov 11 15:33:09 arc-switch142 ptp4l: [351.341] PTP [Debuggability]: PTP Grandmaster clock has changed from 000000.0000.000000 to ec0d9a.fffe.603848 |
Change of Grandmaster Clock
Nov 11 15:33:09 arc-switch142 ptp4l: [351.341] PTP [Debuggability]: PTP Grandmaster clock has changed from 000000.0000.000000 to ec0d9a.fffe.603848 |
Announce Interval Mismatch Notification
Nov 11 15:41:10 arc-switch142 ptp4l: [869.220] PTP [Debuggability]: PTP Grandmaster clock has changed from 000000.0000.000000 to ec0d9a.fffe.603848 |
Sync Interval Mismatch Notification
Nov 11 16:05:34 arc-switch142 ptp4l: [2332.929] PTP [Debuggability]: PTP Grandmaster clock has changed from ec0d9a.fffe.603848 to ec0d9a.fffe.6037c8 |