Setting the Delay Request Interval
To set the time for the slave devices to send delay request messages, use the ptp delay-req interval command.
Example
switch(config-if-Et5)# ptp delay-request interval 3
switch(config-if-Et5)#
To set the time for the slave devices to send delay request messages, use the ptp delay-req interval command.
Example
switch(config-if-Et5)# ptp delay-request interval 3
switch(config-if-Et5)#
To set the minimum interval between the PTP peer delay-request messages, use the ptp pdelay-req interval command.
Example
switch(config-if-Et5)# ptp pdelay-request interval 3
switch(config-if-Et5)#
To set the delay threshold for which the peer will be considered unable to run generalized Precision Time Protocol (gPTP), use the ptp pdelay-neighbor-threshold command.
Example
switch(config-if-Et5)# ptp pdelay-neighbor-threshold 200000
switch(config-if-Et5)#
To set the interval (in log seconds) for sending synchronization messages, use the ptp sync-message interval command. Value ranges and defaults vary based on the PTP mode of the switch.
Example
switch(config-if-Et5)# ptp sync-message interval 3
switch(config-if-Et5)#
switch(config-if-Et5)# ptp transport ipv4
switch(config-if-Et5)#
switch(config-if)# ptp transport ipv6
switch(config-if)#
switch(config)# ptp local-priority 1
switch(config-if)# ptp local-priority 255
Each interface may be configured with a candidate grantor IP address to send requests and potentially become slave to another PTP device. Once configured, the switch starts negotiating with the IP and depending on the Announce messages it receives, it may start requesting Sync and Delay Response to sync its clock. Each grantor may be associated with a unicast negotiation profile. If the profile is omitted, the default interval of one second and duration of 60 seconds for all message types is used. If the profile does not exist, the switch uses the default values until the profile gets added.
switch(config-if)# ptp unicast-negotiation candidate-grantor 10.0.0.1
switch(config-if)# ptp unicast-negotiation candidate-grantor 10.0.0.1 profile fastProfile
Each interface may be configured with a range of IP addresses of remote grantees to grant incoming requests and potentially become a master to another PTP device. By default, incoming requests outside the configured range of IP addresses will be denied. Each grantee may be associated with a unicast negotiation profile. If the profile is omitted, incoming requests with interval of 0 or longer for all message types are granted. If a profile is specified, it will compare with the configured interval. If the profile does not exist, the switch uses the default values until the profile gets added.
switch(config-if)# ptp unicast-negotiation remote-grantee 10.0.0.1/24
switch(config-if)# ptp unicast-negotiation remote-grantee 10.0.0.1/24 profile fastProfile
switch(config-if)# ptp role master
A Unicast negotiation profile may be configured to change message rates and durations. The default value and the configurable range of each value are shown in the table below.
Field | Range | Default |
Announce interval | [-3, 0] | 0 |
Announce duration | [60, 1000] | 60 |
Sync interval | [-7, 0] | 0 |
Sync duration | [60, 1000] | 60 |
Delay Response interval | [-7, 0] | 0 |
Delay Response duration | [60, 1000] | 60 |
When a profile is applied to a remote grantee on a Grant port, it will use the values to determine whether the given request should be granted or denied. If the requested interval is shorter than the profile, it will be denied; otherwise, it will be granted. When a profile is applied to a candidate grantor on a Request port, it will be requested to the candidate grantor using the values in the profile.
switch(config)# ptp unicast-negotiation profile fastProfile
switch(config-unicast-negotiation-profile-fastProfile)# announce interval -2
switch(config-unicast-negotiation-profile-fastProfile)# announce duration 500
switch(config-unicast-negotiation-profile-fastProfile)# sync interval -3
switch(config-unicast-negotiation-profile-fastProfile)# sync duration 300
switch(config-unicast-negotiation-profile-fastProfile)# delay-resp interval -3
switch(config-unicast-negotiation-profile-fastProfile)# delay-resp duration 300
(switch)# show ptp unicast-negotiation profile
Unicast Negotiation Profile fastProfile
Announce interval: 0.25 seconds
Announce duration: 500 seconds
Sync interval: 0.125 seconds
Sync duration: 300 seconds
Delay Response interval: 0.125 seconds
Delay Response duration: 300 seconds
(switch)# show ptp unicast-negotiation candidate-grantor
Interface Address Profile Grantor Status
----------- ---------- -------------- ------------------
Ethernet1 4::1 fastProfile Master
Ethernet1 4::2 fastProfile Candidate Master
Ethernet2 4::2 fastProfile Blacklisted
(switch)# show ptp unicast-negotiation remote-grantee
Interface Address Profile
------------ ---------- -------------
Ethernet1 4::1/96 fastProfile
Ethernet1 4::2/96 fastProfile
Ethernet2 4::2/96 fastProfile
(switch)# show ptp unicast-negotiation granted
Interface Address Message Interval Duration Expires In
----------- ---------- ------------ -------------- -------------- -------------
Ethernet2 4::1 Announce 0.25 seconds 300 seconds 30 seconds
Ethernet2 4::1 Sync 2.0 seconds 300 seconds 30 seconds
(switch)# show ptp unicast-negotiation requested
Interface Address Message Interval Duration Expires In
------------ --------- ----------- --------------- -------------- -------------
Ethernet2 4::2 Announce 0.25 seconds 600 seconds 250 seconds
Ethernet2 4::2 Sync 2.0 seconds 300 seconds denied
(switch)# show ptp local-clock
PTP Mode: Boundary Clock
Clock Identity: 0x00:1c:73:ff:ff:00:72:40
Clock Domain: 44
Number of PTP ports: 64
Priority1: 128
Priority2: 128
Local Priority: 128
Clock Quality:
Class: 248
Accuracy: 0x30
OffsetScaledLogVariance: 0xffff
Offset From Master: -5
Mean Path Delay: 416 nanoseconds
Steps Removed: 1
Skew: 1.00000006399
Last Sync Time: 23:42:33 UTC Nov 01 2018
Current PTP System Time: 23:42:33 UTC Nov 01 2018
The show ptp interface command displays the interface local priority in G8275.2 mode.
(switch)# show ptp interface Ethernet 42 | nz Interface Ethernet42
PTP: Enabled
Port state: Slave
Sync interval: 1.0 seconds
Announce interval: 2.0 seconds
Announce interval timeout multiplier: 3
Delay mechanism: end to end
Delay request message interval: 0.25 seconds
Local Priority: 128
Transport mode: ipv4
Announce messages received: 2964
Sync messages received: 2558
Follow up messages received: 2558
Delay request messages sent: 2540
Delay response messages received: 2540
Signaling messages sent: 98
Signaling messages received: 101
To display general Precision Time Protocol (PTP) information, use the show ptp command.
switch# show ptp
PTP Mode: gptp - Generalized PTP Clock
Clock Identity: 2001:0DB8:73:ff:ff:26:fd:90
Grandmaster Clock Identity: 2001:0DB8:96:ff:fe:6c:ed:02
Number of slave ports: 1
Number of master ports: 6
Slave port: Ethernet33
Mean Path Delay (nanoseconds): 718
Steps Removed: 1
Neighbor Rate Ratio: 1.00000007883
Rate Ratio: 1.00000007883
Interface State ASTime Since LastNeighbor Mean Path Residence
Capable Changed Rate Ratio Delay (ns) Time (ms)
--------- -------- ------- ------------------ ----------- ----------- ---------
Et1 Disabled No Never 1.0 00
Et2 Disabled No Never 1.0 00
Et3 Disabled No Never 1.0 00
Et4 Disabled No Never 1.0 00
Et5 Disabled No Never 1.0 00
Et6 Disabled No Never 1.0 00
Et7 Master Yes 0:21:08 1.000000094200
To display PTP clock properties, use the Displaying PTP Clock Properties command.
switch# show local-clock time-properties
Current UTC offset valid: False
Current UTC offset: 0
Leap 59: False
Leap 61: False
Time Traceable: False
Frequency Traceable: False
PTP Timescale: False
Time Source: 0x0
switch#
To display information about foreign masters (PTP sources not designated as the switchs master from which the switch has received sync packets), use the show ptp foreign-master-record command.
switch# show ptp foreign-master-record
No Foreign Master Records
switch#
To display PTP information for specified interfaces, use the show ptp interface command.
switch# show ptp interface
Interface Ethernet1
PTP: Disabled
Port state: Disabled
Sync interval: 1.0 seconds
Announce interval: 2.0 seconds
Announce interval timeout multiplier: 3
Delay mechanism: end to end
Delay request message interval: 32.0 seconds
Transport mode: ipv4
Interface Ethernet5
PTP: Disabled
Port state: Disabled
Sync interval: 8.0 seconds
Announce interval: 2.0 seconds
Announce interval timeout multiplier: 5
Delay mechanism: peer to peer
Peer delay request message interval: 8.0 seconds
Peer Mean Path Delay: 0
Transport mode: ipv4
switch#
To display PTP interface counters for specified interfaces, use the show ptp interface counters command.
switch# show ptp interface ethernet 5 counters
Interface Ethernet5
Announce messages sent: 0
Announce messages received: 0
Sync messages sent: 0
Sync messages received: 0
Follow up messages sent: 0
Follow up messages received: 0
Delay request messages sent: 0
Delay request messages received: 0
Delay response messages sent: 0
Delay response messages received: 0
Peer delay request messages sent: 0
Peer delay request messages received: 0
Peer delay response messages sent: 0
Peer delay response messages received: 0
Peer delay response follow up messages sent: 0
Peer delay response follow up messages received: 0
switch#
To display the local PTP clock and offset, use the show ptp local-clock command.
switch# show ptp local-clock
PTP Mode: Boundary Clock
Clock Identity: 0x00:1c:73:ff:ff:1e:83:24
Clock Domain: 1
Number of PTP ports: 24
Priority1: 128
Priority2: 128
Clock Quality:
Class: 248
Accuracy: 0x30
OffsetScaledLogVariance: 0xffff
Offset From Master: 0
Mean Path Delay: 0
Steps Removed: 0
switch#
To display the PTP clocks master and grandmaster identity and configuration, use the show ptp masters command.
switch# show ptp masters
Parent Clock:
Parent Clock Identity: 0x00:1c:73:ff:ff:00:72:40
Parent Port Number: 0
Parent IP Address: N/A
Observed Parent Offset (log variance): N/A
Observed Parent Clock Phase Change Rate: N/A
Grandmaster Clock:
Grandmaster Clock Identity: 0x00:1c:73:ff:ff:00:72:40
Grandmaster Clock Quality:
Class: 248
Accuracy: 0x30
OffsetScaledLogVariance: 0xffff
Priority1: 128
Priority2: 128
switch#
To display the list of up to 100 recorded entries of offset from master, mean path delay and skew values, the current PTP mode, whether or not the feature is enabled, the number of entries displayed, and the configured thresholds for each metric, use the show ptp monitor command. Entries are sorted by the system time at which the value was calculated, starting with the most recent data at the top.
switch# show ptp monitor
PTP Mode: Boundary Clock
Ptp monitoring: enabled
Number of entries: 5
Offset from master threshold: 1500
Mean path delay threshold: not configured
Skew threshold: 0.5
Interface Time Offset from Mean Path Skew
Master (ns) Delay (ns)
---------- ----------------------------- ------------ ------------- -----------
Et8 21:23:12.901 UTC Feb 22 2018 71 5849 1.003159918
Et1 21:23:12.901 UTC Feb 22 2018 113 3672 1.004990621
Et2 21:23:12.901 UTC Feb 22 2018 706 7799 1.002744199
Et1 21:23:12.901 UTC Feb 22 2018 803 5861 1.003432049
Et1 21:23:12.901 UTC Feb 22 2018 610 3415 0.998974658
To display PTP IP source information, use the show ptp source ip command.
switch# show ptp source ip
PTP source IP: 10.0.2.1
switch#
The ptp announce interval command configures the interval at which the configuration mode interface sends PTP announce messages. The no ptp announce interval command resets the announce interval to its default of 1 (2 seconds).
Command Mode
Interface-Ethernet Configuration
Interface-Port Channel Configuration
Command Syntax
ptp announce interval log_interval
no ptp announce interval
default ptp announce interval
Parameters
log_interval The number of log seconds between PTP announce messages (base 2 log (seconds)). Value ranges from -3 (1/8 second) to 4 (16 seconds); default value is 1 (2 seconds).
switch(config)# interface ethernet 5
switch(config-if-Et5)# ptp announce interval 2
switch(config-if-Et5)#
switch(config)# interface ethernet 5
switch(config-if-Et5)# no ptp announce interval
switch(config-if-Et5)#
The ptp announce timeout sets the timeout multiplier for the configuration-mode interface. The timeout multiplier is the number of announcement intervals that the interface will wait without receiving a PTP announce message before a timeout occurs; the range is from 2 to 255. The default multiplier is 3, which results in a 6-second timeout interval when the announce interval is set to the default of 2 seconds. To configure the announce interval, use the ptp announce interval command.
Command Mode
Interface-Ethernet Configuration
Interface-Port Channel Configuration
Command Syntax
ptp announce timeout multiplier
no ptp announce timeout
default ptp announce timeout
Parameters
multiplier Number of announce intervals after which the interface will time out if it does not receive a PTP announce message. The range is from 2 to 255; default value is 3.
switch(config)# interface ethernet 5
switch(config-if-Et5)# ptp announce timeout 5
switch(config-if-Et5)#
switch(config)# interface ethernet 5
switch(config-if-Et5)# no ptp announce timeout
switch(config-if-Et5)#
The ptp delay-mechanism command configures the delay mechanism in boundary clock mode. The no ptp delay-mechanism command disables the feature.
Command Mode
Interface-Ethernet Configuration
Interface-Port Channel Configuration
Command Syntax
ptp delay-mechanism mech_type
no ptp delay-mechanism
default ptp delay-mechanism
Parameters
switch(config)# interface ethernet 5
switch(config-if-Et5)# ptp delay-mechanism p2p
switch(config-if-Et5)#
switch(config)# interface ethernet 5
switch(config-if-Et5)# no ptp delay-mechanism e2e
switch(config-if-Et5)#
The ptp delay-req interval command specifies the time in log seconds recommended to the slave devices to send delay request messages. You must enable PTP on the switch first and configure the source IP address for PTP communication. The no ptp delay-req interval command resets the interval to its default of 5 (32 seconds).
Command Mode
Interface-Ethernet Configuration
Interface-Port Channel Configuration
Command Syntax
ptp delay-req interval log_interval
no ptp delay-req interval
default ptp delay-req interval
Parameters
log_interval The range is -1 to 8 log seconds (base 2 log (seconds)). The default is 5 (32 seconds).
switch(config)# interface ethernet 5
switch(config-if-Et5)# ptp delay-request interval 3
switch(config-if-Et5)#
switch(config)# interface ethernet 5
switch(config-if-Et5)# no ptp delay-request interval
switch(config-if-Et5)#
The ptp domain command sets the domain number to use for the clock. The no ptp domain command resets or restores the domain to the default number 0.
Command Mode
Global Configuration
Command Syntax
ptp domain domain_number
no ptp domain
default ptp domain
Parameters
domain_number Value ranges from 0 to 255. Default number is 0.
switch(config)# ptp domain 1
switch(config)#
switch(config)# no ptp domain 1
switch(config)#
The ptp enable command enables PTP on the interface. The no ptp enable command disables PTP on the interface.
Command Mode
Interface-Ethernet Configuration
Interface-Port Channel Configuration
Command Syntax
ptp enable
no ptp enable
default ptp enable
switch(config)# interface ethernet 5
switch(config-if-Et5)# ptp enable
switch(config)# interface ethernet 5
switch(config-if-Et5)# no ptp enable
The ptp forward-v1 command configures the switch to forward Precision Time Protocol version 1 packets as regular multicast traffic. By default, PTP v1 packets are trapped by the CPU, logged and discarded.
The no ptp forward-v1 and default ptp forward-v1 commands restore the default forwarding behavior by removing the corresponding ptp forward-v1 command from running-config.
Command Mode
Global Configuration
Command Syntax
ptp forward-v1
no ptp forward-v1
default ptp forward-v1
switch(config)# ptp forward-v1
switch(config)#
switch(config)# no ptp forward-v1
switch(config)#
The ptp hold-ptp-time command configures the PTP offset hold time in seconds. The no ptp hold-ptp-time command resets or restores the PTP hold time to the default value.
Command Mode
Global Configuration
Command Syntax
ptp hold-ptp-time offset
no ptp hold-ptp-time
default ptp hold-ptp-time
Parameters
offset Value ranges from 0 to 86400.
switch(config)# ptp hold-ptp-time 600
switch(config)#
switch(config)# no ptp hold-ptp-time
switch(config)#
The ptp local-priority command configures the local priority of the clock and interfaces to control the topology.
Command Mode
Interface-Ethernet Configuration
Command Syntax
ptp local-priority PRIORITY_NUM
Parameters
PRIORITY_NUM The priority number from 1 to 255.
Example
switch(config)# ptp local-priority 1
switch(config-if)# ptp local-priority 255
The ptp mode command configures the Precision Time Protocol (PTP) packet forwarding mode for the switch. By default, PTP is disabled globally; the mode must be changed to use PTP on switch interfaces.
The no ptp mode and default ptp mode commands return the forwarding mode to disabled by removing the ptp mode command from running-config.
Command Mode
Global Configuration
Command Syntax
ptp mode mode_name
no ptp mode
default ptp mode
Parameters
switch(config)# ptp mode boundary
switch(config)#
switch(config)# no ptp mode
switch(config)#
Mean path delay is the mean time in nanoseconds that PTP packets take to travel between PTP master and slave. The ptp monitor threshold mean-path-delay command configures the mean-path-delay threshold in nanoseconds. When this threshold is configured, a Syslog message is generated if the value of the most recently calculated mean path delay is greater than or equal to this value.
The no ptp monitor threshold mean-path-delay and default ptp monitor threshold mean-path-delay commands clear the threshold value and prevent further Syslog messages from being generated for this parameter.
Command Mode
Global Configuration
Command Syntax
ptp monitor threshold mean-path-delay threshold
no ptp monitor threshold mean-path-delay
default ptp monitor threshold mean-path-delay
Parameter
threshold threshold in nanoseconds. Values range from 0 to 1000000000 (1 second).
Example
switch(config)# ptp monitor threshold mean-path-delay 2000
PTP offset is the difference in nanoseconds between master and slave time. The ptp monitor threshold offset-from-master command configures the offset-from-master threshold in nanoseconds. A Syslog message is generated if the most recently calculated time offset from the PTP master is outside of the range (-<threshold>, <threshold>). The maximum offset threshold is one second.
The no ptp monitor threshold offset-from-master and no ptp monitor threshold offset-from-master commands clear the threshold value and prevents further Syslog messages from being generated for this parameter.
Command Mode
Global Configuration
Command Syntax
ptp monitor threshold offset-from-master threshold
no ptp monitor threshold offset-from-master
default ptp monitor threshold offset-from-master
Parameter
threshold Offset threshold value in nanoseconds. Values range from 0 to 1000000000.
Example
switch(config)# ptp monitor threshold offset-from-master 500
switch(config)#
PTP skew is the clock frequency difference between master and slave. The ptp monitor threshold skew command configures the value of the skew-threshold percentage. A Syslog message is generated if the value of the most recently calculated skew is not in the range (1/(1+threshold), 1*(1+threshold)).
The no ptp monitor threshold skew and default ptp monitor threshold skew commands clear the threshold value and prevent further Syslog messages from being generated for this parameter.
Command Mode
Global Configuration
Command Syntax
ptp monitor threshold skew threshold
no ptp monitor threshold skew
default ptp monitor threshold skew
Parameters
threshold skew percentage threshold represented as a double precision (16 digit) real number ranging from 0 (0%) to 10 (1000%).
Example
switch(config)# ptp monitor threshold skew 5
switch(config)#
The ptp monitor command enables and disables PTP monitoring on the switch. When PTP monitoring is enabled, the switch records PTP status and configuration information (which can be viewed using the show ptp monitor command) and generates Syslog messages for metrics whose threshold values have been configured. PTP monitoring is enabled by default.
The no ptp monitor command disables the PTP monitoring and clears all the recorded data from running-config.
Command Mode
Global Configuration
Command Syntax
ptp monitor
no ptp monitor
Example
switch(config)# ptp monitor
switch(config)#
The ptp pdelay-neighbor-threshold command configures the propagation delay threshold above which the switch will consider the neighbor connected to this port to be incapable of participating in generalized Precision Time Protocol (gPTP).
The no ptp pdelay-neighbor-threshold and default ptp pdelay-neighbor-threshold commands restore the threshold to 100000 nanoseconds by removing the corresponding ptp pdelay-neighbor-threshold command from running-config.
Command Mode
Interface-Ethernet Configuration
Interface-Port Channel Configuration
Command Syntax
ptp pdelay-neighbor-threshold link_prop
no ptp pdelay-neighbor-threshold
default ptp pdelay-neighbor-threshold
Parameters
link_prop Threshold in nanoseconds. Value ranges from 0 to 10000000000 (ten billion). Default is 100000.
switch(config)# interface ethernet 5
switch(config-if-Et5)# ptp pdelay-neighbor-threshold 200000
switch(config-if-Et5)#
switch(config)# interface ethernet 5s
witch(config-if-Et5)# no ptp pdelay-neighbor-threshold
switch(config-if-Et5)#
The ptp pdelay-req interval command configures the interval between Precision Time Protocol peer delay-request messages. The no ptp pdelay-req interval command removes the configuration.
Command Mode
Interface-Ethernet Configuration
Interface-Port Channel Configuration
Command Syntax
ptp pdelay-req interval log_interval
no ptp pdelay-req interval
default ptp pdelay-req interval
Parameters
log_interval The log interval in seconds (base 2 log (seconds)). Value ranges from 0 to 5.
switch(config)# interface ethernet 5
switch(config-if-Et5)# ptp pdelay-request interval 3
switch(config-if-Et5)#
switch(config)# interface ethernet 5
switch(config-if-Et5)# no ptp pdelay-request interval
switch(config-if-Et5)#
The ptp priority1 command configures the priority 1 value for advertising the switchs PTP clock. Priority 1 is the most significant of the six factors used by devices in the selection of a master clock. Lower values indicate higher priority.
The no ptp priority1 and default ptp priority1 commands restore the priority 1 default setting of 128.
Command Mode
Global Configuration
Command Syntax
ptp priority1 priority_rate
no ptp priority1
default ptp priority1
Parameters
priority_rate Value ranges from 0 to 255. Default is 128.
switch(config)# ptp priority1 120
switch(config)#
switch(config)# no ptp priority1
switch(config)#
The ptp priority2 command sets the priority 2 value for the clock. The range is from 0 to 255. Priority 2 is the fifth most significant of the six factors used by devices in the selection of a master clock. Lower values indicate higher priority.
The no ptp priority2 and default ptp priority2 commands restore the priority 2 default setting of 128.
Command Mode
Global Configuration
Command Syntax
ptp priority2 priority_rate
no ptp priority2
default ptp priority2
Parameters
priority_rate Specifies the priority 2 level for the PTP clock. Value ranges from 0 to 255; default value is 128.
switch(config)# ptp priority2 120
switch(config)#
switch(config)# no ptp priority2
switch(config)#
The ptp role command configures a port to operate either in the master mode or the dynamic mode when it is executed in the interface configuration mode.
The no ptp role command removes the master or dynamic mode if it was previously configured on an interface.
Command Mode
Interface-Ethernet Configuration
Command Syntax
ptp role [dynamic | master]
no ptp role
default ptp role
switch(config)# interface ethernet 1
switch(config-if-Et1)# ptp role master
switch(config)# interface ethernet 1
switch(config-if-Et1)# ptp role dynamic
The ptp source command configures the source IP address for all PTP packets. The IP address can be in IPv4 or IPv6 format. The no ptp source ip command removes this configuration.
Command Mode
Global Configuration
Command Syntax
ptp source ip {ip|ipv6} ip_addr
no ptp source ip
default ptp source ip
Parameters
ip specifies an IPv4 source address.
ipv6 specifies an IPv6 source address.
ip_addr the source IP address.
10.0.2.1
for
all PTP
packets.switch(config)# ptp source ip 10.0.2.1
switch(config)#
2001:db8:ac10:fe01::
for all PTP
packets.switch(config)# ptp source ip 2001:db8:ac10:fe01::
switch(config)#
switch(config)# no ptp source ip
switch(config)#
A PTP synchronization timeout occurs if a sync message is not received for a specified period of time, calculated as a multiple of the PTP sync-message interval. The ptp sync timeout command configures the sync timeout multiplier. The range is 2 to 255, with a default of 20 (20 times the sync interval). To configure the sync interval, use the ptp sync-message interval command.
The no ptp sync timeout and default ptp sync timeout commands restore the PTP sync timeout multiplier to its default value of 20.
Command Mode
Interface-Ethernet Configuration
Command Syntax
ptp sync timeout interval_multiplier
no ptp sync timeout
default ptp sync timeout
Parameters
interval_multiplier The number of sync intervals that must pass without the configuration mode interface receiving a PTP sync message before a timeout occurs. Value ranges from 2 to 255. Default value is 20.
Example
switch(config)# interface ethernet 5
switch(config-if-Et5)# ptp sync timeout 10
switch(config-if-Et5)#
The ptp sync-message interval command configures the time for sending synchronization messages by specifying its log2 value. Default values and ranges depend on the PTP mode, which is set using the ptp mode command.
The no ptp sync-message interval and default ptp sync-message interval commands restore the sync interval to its default (1 second in boundary mode, 1/8 second in gptp mode) by removing the corresponding ptp sync-message interval command from running-config.
Command Mode
Interface-Ethernet Configuration
Interface-Port Channel Configuration
Command Syntax
ptp sync-message interval log_interval
no ptp sync-message interval
default ptp sync-message interval
Parameters
log_interval The interval between PTP synchronization messages sent from the master to the slave (base 2 log (seconds)). Values vary according to PTP mode: in boundary mode, the range is from -7 (1/128 second) to 3 (8 seconds) and the default value is 0 (1 second). In gptp mode, the range is from -3 (1/8 second) to 17 (131072 seconds, approximately 36 hours) with a default of -3.
switch(config)# interface ethernet 5
switch(config-if-Et5)# ptp sync-message interval 3
switch(config-if-Et5)#
switch(config)# interface ethernet 5
switch(config-if-Et5)# no ptp sync-message interval
switch(config-if-Et5)#
The ptp transport command configures the PTP transport type for a specific interface. Any values set in interface PTP configuration mode override the settings in the PTP configuration profile associated with the interface. The no ptp transport command removes the stetting from the running-config.
Command Mode
Interface-Ethernet Configuration
Interface-Port Channel Configuration
Command Syntax
ptp transport TRANSPORT_TYPE
no ptp transport
default ptp transport
Parameters
switch(config)# interface ethernet 5
switch(config-if-Et5)# ptp transport ipv4
switch(config-if-Et5)#
switch(config)# interface ethernet 5
switch(config-if-Et5)# no ptp transport
switch(config-if-Et5)#
The ptp ttl command configures the Time To Live (TTL) value of the PTP packets. The no ptp ttl resets the TTL value to the default value of 1 hop by removing the ptp ttl command from the running-config.
Command Mode
Global Configuration
Command Syntax
ptp ttl hop_count
no ptp ttl
default ptp ttl
Parameters
hop_count The TTL value measured in hops. Value ranges from 1 to 255, default is 1.
switch(config)# ptp ttl 60
switch(config)#
switch(config)# no ptp ttl
switch(config)#
The ptp unicast-negotiation command configures the master slave profiles for PTP devices.
Command Mode
Interface-Ethernet Configuration
Command Syntax
ptp unicast-negotiation
ptp unicast-negotiation remote-grantee
switch(config-if)# ptp unicast-negotiation remote-grantee 10.0.0.1/24
switch(config-if)# ptp unicast-negotiation remote-grantee 10.0.0.1/24 profile fastProfile
switch(config-if)# ptp unicast-negotiation candidate-grantor 10.0.0.1
switch(config-if)# ptp unicast-negotiation candidate-grantor 10.0.0.1 profile fastProfile
The show ptp command displays summary Precision Time Protocol (PTP) information and PTP status of switch ports.
Command Mode
EXEC
Command Syntax
show ptp
Example
switch#show ptp
PTP Mode: gptp - Generalized PTP Clock
Clock Identity: 2001:0DB8:73:ff:ff:26:fd:90
Grandmaster Clock Identity: 2001:0DB8:96:ff:fe:6c:ed:02
Number of slave ports: 1
Number of master ports: 6
Slave port: Ethernet33
Mean Path Delay (nanoseconds): 718
Steps Removed: 1
Neighbor Rate Ratio: 1.00000007883
Rate Ratio: 1.00000007883
Interface StateASTime Since LastNeighborMean PathResidence
Capable Changed Rate Ratio Delay (ns) Time (ms)
--------- -------- ------- ------------------ ----------- -----------
Et1 Disabled No Never 1.0 00
Et2 Disabled No Never 1.0 00
Et3 Disabled No Never 1.0 00
Et4 Disabled No Never 1.0 00
Et5 Disabled No Never 1.0 00
Et6 Disabled No Never 1.0 00
Et7 Master Yes 0:21:08 1.000000094200
The show ptp foreign-master-record command displays information about foreign masters (PTP sources not designated as the switchs master from which the switch has received sync packets).
Command Mode
EXEC
Command Syntax
show ptp foreign-master-record
Example
switch# show ptp foreign-master-record
No Foreign Master Records
switch#
The show ptp interface counters command displays PTP interface counters for all interfaces.
Command Mode
EXEC
Command Syntax
show ptp[INTERFACE_NAME] counters
Parameters
Valid range formats include number, number range, or comma-delimited list of numbers and ranges.
Example
switch# show ptp interface ethernet 5 counters
Interface Ethernet5
Announce messages sent: 0
Announce messages received: 0
Sync messages sent: 0
Sync messages received: 0
Follow up messages sent: 0
Follow up messages received: 0
Delay request messages sent: 0
Delay request messages received: 0
Delay response messages sent: 0
Delay response messages received: 0
Peer delay request messages sent: 0
Peer delay request messages received: 0
Peer delay response messages sent: 0
Peer delay response messages received: 0
Peer delay response follow up messages sent: 0
Peer delay response follow up messages received: 0
switch#
The show ptp interface command displays PTP information for all the interfaces on the device.
Command Mode
EXEC
Command Syntax
show ptp [INTERFACE_NAME][STATUS_FILTER]
Valid range formats include number, number range, or comma-delimited list of numbers and ranges.
Example
This command displays PTP information for all the interfaces on the device.
switch# show ptp interface
Interface Ethernet1
PTP: Disabled
Port state: Disabled
Sync interval: 1.0 seconds
Announce interval: 2.0 seconds
Announce interval timeout multiplier: 3
Delay mechanism: end to end
Delay request message interval: 32.0 seconds
Transport mode: ipv4
Interface Ethernet5
PTP: Disabled
Port state: Disabled
Sync interval: 8.0 seconds
Announce interval: 2.0 seconds
Announce interval timeout multiplier: 5
Delay mechanism: peer to peer
Peer delay request message interval: 8.0 seconds
Peer Mean Path Delay: 0
Transport mode: ipv6
switch#
The show ptp local-clock command displays the Precision Time Protocol (PTP) clock information.
Command Mode
EXEC
Command Syntax
show ptp local-clock
Example
switch# show ptp local-clock
PTP Mode: Boundary Clock
Clock Identity: 0x00:1c:73:ff:ff:1e:83:24
Clock Domain: 1
Number of PTP ports: 24
Priority1: 128
Priority2: 128
Clock Quality:
Class: 248
Accuracy: 0x30
OffsetScaledLogVariance: 0xffff
Offset From Master: 0
Mean Path Delay: 0
Steps Removed: 0
switch#
The show ptp masters command displays information about the switchs PTP master and grand master clocks.
Command Mode
Privileged EXEC
Command Syntax
show ptp masters
Example
switch# show ptp masters
Parent Clock:
Parent Clock Identity: 0x00:1c:73:ff:ff:00:72:40
Parent Port Number: 0
Parent IP Address: N/A
Observed Parent Offset (log variance): N/A
Observed Parent Clock Phase Change Rate: N/A
Grandmaster Clock:
Grandmaster Clock Identity: 0x00:1c:73:ff:ff:00:72:40
Grandmaster Clock Quality:
Class: 248
Accuracy: 0x30
OffsetScaledLogVariance: 0xffff
Priority1: 128
Priority2: 128
switch#
The show ptp monitor command to displays the list of up to 100 recorded entries of offset from master, mean path delay and skew values, along with current PTP mode, whether or not the feature is enabled, number of entries displayed and the configured thresholds for each metric. Entries are sorted by the system time at which the value was calculated, starting with the most recent data at the top.
Command Mode
EXEC
Command Syntax
show ptp monitor
Example
switch# show ptp monitor
PTP Mode: Boundary Clock
Ptp monitoring: enabled
Number of entries: 5
Offset from master threshold: 1500
Mean path delay threshold: not configured
Skew threshold: 0.5
Interface Time Offset from Mean Path Skew
Master (ns) Delay (ns)
---------- ----------------------------- ------------ ------------- -----------
Et8 21:23:12.901 UTC Feb 22 2018 71 5849 1.003159918
Et1 21:23:12.901 UTC Feb 22 2018 113 3672 1.004990621
Et2 21:23:12.901 UTC Feb 22 2018 706 7799 1.002744199
Et1 21:23:12.901 UTC Feb 22 2018 803 5861 1.003432049
Et1 21:23:12.901 UTC Feb 22 2018 610 3415 0.998974658
The show ptp source ip command displays the PTP source IP for the device.
Command Mode
Privileged EXEC
Command Syntax
show ptp source ip
Example
10.0.2.1
switch# show ptp source ip
PTP source IP: 10.0.2.1
switch#
2001:db8:ac10:fe01::
switch# show ptp source ip
PTP source IP: 2001:db8:ac10:fe01::
switch#
The show ptp unicast-negotiation command displays PTP unicast negotiation information for the switch.
Command Mode
EXEC
Command Syntax
show ptp unicast-negotiation profile
show ptp unicast-negotiation [DETAILS]
Parameters
switch# show ptp unicast-negotiation profile
Unicast Negotiation Profile fastProfile
Announce interval: 0.25 seconds
Announce duration: 500 seconds
Sync interval: 0.125 seconds
Sync duration: 300 seconds
Delay Response interval: 0.125 seconds
Delay Response duration: 300 seconds
switch# show ptp unicast-negotiation candidate-grantor
Interface Address Profile Grantor Status
----------- ---------- -------------- ------------------
Ethernet1 4::1 fastProfile Master
Ethernet1 4::2 fastProfile Candidate Master
Ethernet2 4::2 fastProfile Blacklisted
switch# show ptp unicast-negotiation remote-grantee
Interface Address Profile
------------ ---------- -------------
Ethernet1 4::1/96 fastProfile
Ethernet1 4::2/96 fastProfile
Ethernet2 4::2/96 fastProfile
switch# show ptp unicast-negotiation granted
Interface Address Message Interval Duration Expires In
----------- ---------- ------------ -------------- -------------- -----------
Ethernet2 4::1 Announce 0.25 seconds 300 seconds 30 seconds
Ethernet2 4::1 Sync 2.0 seconds 300 seconds 30 seconds
switch# show ptp unicast-negotiation requested
Interface Address Message Interval Duration Expires In
------------ --------- ----------- --------------- -------------- ------------
Ethernet2 4::2 Announce 0.25 seconds 600 seconds 250 seconds
Ethernet2 4::2 Sync 2.0 seconds 300 seconds denied
The show ptp unicast-negotiation profile command displays all user configured profiles and their values.
Command Mode
EXEC
Command Syntax
show ptp unicast-negotiation profile
Example
switch# show ptp unicast-negotiation profile
Unicast Negotiation Profile fastProfile
Announce interval: 0.25 seconds
Announce duration: 500 seconds
Sync interval: 0.125 seconds
Sync duration: 300 seconds
Delay Response interval: 0.125 seconds
Delay Response duration: 300 seconds
The switch chassis, fans, power supplies, line cards, and supervisors also provide LEDs that signal status and conditions that require attention. The Quick Start Guide for the individual switches provides information about their LEDs.
Arista Networks switching platforms are designed to work reliably in common data center environments.
To ensure their reliable operation and to monitor or diagnose the switch's health, Arista provides a set of monitoring capabilities available through the CLI or SNMP entity MIBs to monitor and diagnose potential problems with the switching platform.
In modular systems, cards are shut down when their temperatures exceed the critical threshold. The switch is shut down if the temperature remains above the critical threshold for three minutes.
The switch operates normally when one fan is not operating. Non-functioning modules should not be removed from the switch unless they are immediately replaced; adequate switch cooling requires the installation of all components, including a non-functional fan.
Two non-operational fans trigger an insufficient fan shutdown condition. Under normal operations, this condition initiates a switch power down procedure.
Fans are accessible from the rear panel.
Power supply LED indicators are visible from the rear panel.