Verifying Layer 2 and Layer 3 PTP Configurations
show ptp port
interface-name
To verify PTP port state, use show ptp port
interface-name command.
To verify the PTP port states on all interfaces use show ptp brief command.
The following is a sample output for boundary mode configuration with delay request mechanism:
Device# show ptp port GigabitEthernet1/0/5
PTP PORT DATASET: GigabitEthernet1/0/5
Port identity: clock identity: 0x34:73:2D:FF:FE:CE:C:80
Port identity: port number: 5
PTP version: 2
PTP port number: 5
PTP slot number: 1
Port state: SLAVE
Delay request interval(log mean): 0
Announce receipt time out: 3
Announce interval(log mean): 0
Sync interval(log mean): 0
Delay Mechanism: End to End
Peer delay request interval(log mean): 0
Sync fault limit: 500000000
ptp role primary : Disabled
The following is a sample output for boundary mode configuration with pdelay request mechanism:
Device# show ptp port GigabitEthernet1/0/5
TP PORT DATASET: GigabitEthernet1/0/5
Port identity: clock identity: 0x34:73:2D:FF:FE:CE:C:80
Port identity: port number: 5
PTP version: 2
PTP port number: 5
PTP slot number: 1
Port state: MASTER
Delay request interval(log mean): 0
Announce receipt time out: 3
Peer mean path delay(ns): 678
Announce interval(log mean): 0
Sync interval(log mean): 0
Delay Mechanism: Peer to Peer
Peer delay request interval(log mean): 0
Sync fault limit: 500000000
ptp role primary : Disabled
show ptp brief
To verify the PTP port states on all interfaces use show ptp brief command.
The following is a sample output for show ptp brief command:
Device# show ptp brief
Interface Domain PTP StateigabitEthernet1/0/1
GigabitEthernet1/0/2 0 MASTER
GigabitEthernet1/0/3 0 FAULTY
GigabitEthernet1/0/4 0 FAULTY
GigabitEthernet1/0/5 0 MASTER
GigabitEthernet1/0/6 0 MASTER
GigabitEthernet1/0/7 0 MASTER
GigabitEthernet1/0/8 0 FAULTY
GigabitEthernet1/0/9 0 FAULTY
GigabitEthernet1/0/10 0 FAULTY
GigabitEthernet1/0/11 0 MASTER
GigabitEthernet1/0/12 0 FAULTY
GigabitEthernet1/1/1 0 MASTER
GigabitEthernet1/1/2 0 FAULTY
TenGigabitEthernet1/1/3 0 MASTER
TenGigabitEthernet1/1/4 0 MASTER
Device#
show ptp clock
To verify the PTP clock identity details and to verify the configured values of Priority1 and Priority2, use show ptp clock command.
The following is a sample output for show ptp clock command:
Device# show ptp clock
PTP CLOCK INFO
PTP Device Type: Boundary clock
PTP Device Profile: Default Profile
Clock Identity: 0x34:73:2D:FF:FE:CE:C:80
Clock Domain: 0
Network Transport Protocol: 802.3
Message general ip dscp : 47
Message event ip dscp : 59
Number of PTP ports: 15
Priority1: 128
Priority2: 128
Clock Quality:
Class: 248
Accuracy: Unknown
Offset (log variance): 17258
Offset From Master(ns): 0
Steps Removed: 0
Holdover Timer : Not Configured
Device#
show ptp parent
To identify which Grandmaster Clock identity the device is synced to in boundary mode, use show ptp parent command.
![](https://www.cisco.com/content/dam/en/us/td/i/templates/note.gif)
Note
|
show ptp parent will not display any output if the device is configured in transparent clock mode.
|
The following is a sample output for show ptp parent command:
Device# show ptp parent
PTP PARENT PROPERTIES
Parent Clock:
Parent Clock Identity: 0x34:73:2D:FF:FE:CE:C:80
Parent Port Number: 0
Observed Parent Offset (log variance): 17258
Observed Parent Clock Phase Change Rate: N/A
Grandmaster Clock:
Grandmaster Clock Identity: 0x34:73:2D:FF:FE:CE:C:80
Grandmaster Clock Quality:
Class: 248
Accuracy: Unknown
Offset (log variance): 17258
Priority1: 128
Priority2: 128
Device#s
show platform software fed switch active ptp domain 0
To verify the local servo PTP clock synchronization to Grandmaster clock on a device configured in boundary mode with delay-request
mechanism, use show platform software fed switch active ptp domain 0 command.
Device# show platform software fed switch active ptp domain 0
Displaying data for domain number 0
============================
Profile Type : DEFAULT
Profile State: enabled
Clock Mode : BOUNDARY CLOCK
Delay mechanism: End-to-End
PTP clock : 2017-6-28 5:58:59
Transport Method: L2 Ethernet
By default, local servo PTP clock will be displaying EPOCH time(1970-1-1) when the device is not synced to any PTP Grandmaster
Clock.
show ptp port
interface-name
To verify PTP port state, use show ptp port
interface-name command.
To verify the PTP port states on all interfaces use show ptp brief command.
The following is a sample output for boundary mode configuration with delay request mechanism:
Device# show ptp port GigabitEthernet1/0/5
PTP PORT DATASET: GigabitEthernet1/0/5
Port identity: clock identity: 0x34:73:2D:FF:FE:CE:C:80
Port identity: port number: 5
PTP version: 2
PTP port number: 5
PTP slot number: 1
Port state: SLAVE
Delay request interval(log mean): 0
Announce receipt time out: 3
Announce interval(log mean): 0
Sync interval(log mean): 0
Delay Mechanism: End to End
Peer delay request interval(log mean): 0
Sync fault limit: 500000000
ptp role primary : Disabled
Device#
show platform software fed switch active ptp domain 0
To verify the local servo PTP clock synchronization to Grandmaster clock on a device configured in boundary mode with delay-request
mechanism, use show platform software fed switch active ptp domain 0 command.
Device# show platform software fed switch active ptp domain 0
Displaying data for domain number 0
=======================================
Profile Type : DEFAULT
Profile State: enabled
Clock Mode : BOUNDARY CLOCK
Delay Mechanism: : END-TO-END
PTP clock : 2017-12-15 15:27:27
mean_path_delay 214 nanoseconds
Transport Method : udp-ipv4 << PTP Transport Method >>