This section lists the CLI configuration steps for configuring the PTP.
This section lists the CLI configuration steps for enabling/disabling PTP.
Type the following:
iS5comm# configure terminal
iS5comm (config)# no shutdown ptp
This command enables PTP globally and power profile v2 (C37-238-2017) gets configured by default with domain 254, minimum Pdelay Req Interval as 0 i.e. 1 sec, and delay mechanism as peer to peer. The configuration can be verified when command show ptp global info is used (see below).
Type the following:
iS5comm# show ptp global info
PTP System Status
-----------------
Global Status : Enabled
Network Protocol : IEEE 802.3
Domain : 254
Type the following:
iS5comm# configure terminal
iS5comm (config)# shutdown ptp
Type the following:
iS5comm# configure terminal
% PTP is shutdown
This section lists the CLI configuration steps for configuring / unconfiguring PTP domain.
Type the following:
iS5comm# configure terminal
iS5comm(config)# ptp domain [{ <id (0- 127)> | power-profile }]
iS5comm(config)# ptp domain 0
iS5comm(config-ptp)#
Type the following:
iS5comm# show ptp global info
PTP System Status
-----------------
Global Status : Enabled
Network Protocol : IEEE 802.3
Domain : 0
Type the following:
iS5comm# configure terminal
iS5comm (config)# no ptp domain
This command deletes the current configured domain, if any, and removes the enabled port configuration. The command can be verified using show ptp global info and show ptp clock commands.
Type the following:
iS5comm# show ptp global info
PTP System Status
-----------------
Global Status : Enabled
Network Protocol : IEEE 802.3
Domain : None
This section lists the CLI configuration steps for setting the clock mode of a PTP domain.
To configure the clock mode for a domain in PTP through CLI, execute the following steps:
Type the following:
iS5comm# configure terminal
iS5comm(config)# ptp domain 10
iS5comm(config-ptp)#
Type the following:
iS5comm# configure terminal
iS5comm (config)# no ptp domain
Only one domain can be configured; any old domain needs to be removed before configuring a new one.
Type the following:
iS5comm# configure terminal
iS5comm (config)# ptp domain 10
iS5comm (config-ptp)# ptp mode p2ptransparent
Type the following:
iS5comm# configure terminal
iS5comm (config)# ptp domain 10
iS5comm (config-ptp)# ptp mode e2etransparent
Type the following:
iS5comm# show ptp clock
PTP Clock Information
-------------------------
Clock Identity : e8:e8:75:ff:fe:90:25:82
Clock Context : 0
Clock Domain : 10
Primary Domain : 10
Clock Mode : Transparent
Type Of Clock : One Step
Delay Mechanism : End to End
Number of PTP ports : 17
Number of max PTP TS ports : 24
Type the following:
iS5comm# configure terminal
iS5comm (config)# ptp domain 10
iS5comm (config-ptp)# no ptp mode e2etransparent
Type the following:
iS5comm# configure terminal
iS5comm (config)# ptp domain 10
iS5comm (config-ptp)# ptp transparent max-ports 24
Type the following:
iS5comm# configure terminal
iS5comm (config)# ptp domain 10
iS5comm (config-ptp)# ports-statistcs-cnt-reset
Type the following:
iS5comm# show ptp clock
PTP Clock Information
-------------------------
Clock Identity : e8:e8:75:ff:fe:90:25:82
Clock Context : 0
Clock Domain : 10
Primary Domain : 10
Clock Mode : Forward
Type Of Clock : None
Delay Mechanism : End to End
Number of PTP ports : 0
Number of max PTP TS ports : 0
This section lists the CLI configuration steps for enabling / disabling PTP on an interface
To enable/disable PTP on an interface through CLI, execute the following steps:
Type the following:
iS5comm# configure terminal
iS5comm (config-if)# ptp enable
This command enables PTP on port if a domain is configured. Use the command show ptp port to verify that the status is enabled).
Type the following:
iS5comm# show ptp port
PTP Transparent Port Properties
-------------------------------
Record # 1
Interface : Gi0/1
Faulty Flag : 0
LogMinPdelayReqInterval: 0 (1 sec)
Status : ENABLED
Clock Identity : e8:e8:75:ff:fe:90:5f:82
Peer Mean Path Delay : 0 nsec
Clock type : P2P TRANSPARENT
PhysicalAddress : not specified
SW revision : V2
Type the following:
iS5comm# configure terminal
iS5comm (config)# interface gigabitethernet 0/1
iS5comm(config-if)# no ptp enable
Type the following:
iS5comm# configure terminal
iS5comm (config)# interface gigabitethernet 0/1
iS5comm(config-if)# ptp min-pdelay-req-interval 2
This section lists the CLI configuration steps for configuring / unconfiguring PTP profile.
Type the following:
iS5comm# configure terminal
iS5comm(config)# ptp profile ?
The available options are as shown below:
DefaultE2E - Default End-to-End profile as per IEEE1588-Annex J
DefaultP2P - IEEE Default Peer-to-Peer profile as per 1588-Annex J
PowerProfileV2 - C37-238-2017 profile
Reset profile to default values - Resets the current configured utilityProfile - 61850-9-3:2016 profile
iS5comm(config)# ptp domain 0
iS5comm(config)# ptp profile utilityProfile
Profile Name | Profile ID | Min pdelay Request Interval | Domain Number |
---|---|---|---|
Default E2E | 00:1b:19:00:01:00 | N/A | 0 |
Default P2P | 00:1b:19:00:02:00 | 0 | 0 |
Utility Profile i.e. 61850-9-3:2016 | 00:0c:cd:00:01:00 | 0 | 0 |
Power Profile v2 i.e. C37-238-2017 | 1c:12:9d:00:00:00 | 0 | 254 |
Type the following:
iS5comm# show ptp profile
PTP Profile
-----------
Profile Name : Utility Profile (IEC61850-9-3-2016)
Profile ID : 00:0c:cd:00:01:00
Default Domain Number : 0
Default Min pDelay Request Interval : 0
Default Delay Mechanism : Peer-to-Peer
Type the following:
iS5comm# configure terminal
iS5comm(config)# no ptp profile
This command deletes the profile, only if a profile has been configured.
PTP requests and responses can be sent over a specific VLAN on switch.
Perform the following:
iS5comm(config)# no shutdown ptp
iS5comm (config)# ptp profile PowerProfileV2
iS5comm(config-ptp)# ptp vlan 10
iS5comm(config-ptp)# ptp vlan priority 4
iS5comm# show running-config ptp
#Building configuration...
!
!
no shutdown ptp
ptp domain power-profile
ptp vlan 10
ptp vlan priority 4
ptp mode p2ptransparent
!
interface gigabitethernet 0/1
ptp enable
ptp min-pdelay-req-interval 2
!
end
Perform the following:
iS5comm(config)# ptp domain 0
iS5comm(config)# ptp domain power-profile
iS5comm(config-ptp)# no ptp vlan 10
or
iS5comm(config-ptp)# no ptp vlan
iS5comm(config-ptp)# no ptp vlan priority
This section lists some additional CLI configuration commands.
Type the following:
iS5comm(config)# default restore-type msrType the following:
iS5comm(config)# default restore-type csr
Type the following:
iS5comm# write startup-config
Type the following:
iS5comm# debug ptp
<CR> Enables debugging for PTP module
all trace messages
critical trace messages
This section lists some additional CLI configuration commands.
Type the following:
iS5comm# show ptp ?
clock - PTP clock related Information
counters - PTP Port counter related Information
global - PTP related global Information
null-management - Management type
port - PTP port properties Information
profile - PTP profile related Information
transparent - For transparent clock
Type the following:
iS5comm# show ptp counters?PTP Interface Counters
----------------------
Interface gigabitethernet 0/1:
Number of modified Egress packet with updated correction field: 0
Number of dropped Egress packets: 0
Number of saved time stamp Ingress packet: 0
Number of dropped Ingress packets: 0
Number of received Sync packets: 0
Number of received Peer delay request packets: 0
Number of transmitted Peer delay request packets: 0
Number of received Peer delay response packets: 0
Number of transmitted Peer delay response packets: 0
Number of received Peer delay response Follow Up packets: 0Number of transmitted Peer delay response Follow Up packets: 0
Type the following:
iS5comm# show ptp null-management
Getting PTP Null Management DONE
Setting PTP Null Management DONE
Applying PTP Null Management DONE
Type the following:
iS5comm# show ptp transparent max-ports
PTP TS max port number: 24
Type the following:
iS5comm# show ptp clock
PTP Clock Information
-------------------------
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Clock Context : 0
Clock Domain : 10
Primary Domain : 10
Clock Mode : Transparent
Type Of Clock : One Step
Delay Mechanism : End to End
Number of PTP ports : 1
Number of max PTP TS ports : 24
Type the following:
iS5comm# show ptp global info
PTP System Status
-----------------
Global Status : Enabled
Network Protocol : IEEE 802.3
Domain : 10
Type the following:
iS5comm# show ptp port gi 0/1
PTP Transparent Port Properties
-------------------------------
Record # 1
Interface : Gi0/1
Faulty Flag : 0
LogMinPdelayReqInterval: 0 (1 sec)
Status : ENABLED
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Peer Mean Path Delay : 0 nsec
Clock type : E2E TRANSPARENT
Physical Address : not specified
SW revision : V2
Type the following:
iS5comm# show ptp profile
PTP Profile
-----------
Profile Name : Utility Profile
(IEC61850-9-3-2016)
Profile ID : 00:0c:cd:00:01:00
Default Domain Number : 0
Default Min pDelay Request Interval : 0
Default Delay Mechanism : Peer-to-Peer
This section lists some examples of PTP configurations by CLI configuration commands as follows:
Type the following:
iS5comm# configure terminal
iS5comm(config)# no shutdown ptp
iS5comm(config)# interface gigabitethernet 0/1
iS5comm(config-if)# ptp enable
iS5comm(config-if)# exit
iS5comm(config)# interface gigabitethernet 0/2
iS5comm(config-if)# ptp enable
iS5comm(config-if)# exit
iS5comm(config)# ptp profile powerProfileV2
iS5comm(config)# exit
iS5comm#show ptp clock
PTP Clock Information
-------------------------
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Clock Context : 0
Clock Domain : 10
Primary Domain : 10
Clock Mode : Transparent
Type Of Clock : One StepDelay Mechanism : End to End
Number of PTP ports : 2
Number of max PTP TS ports : 24
iS5comm# show ptp port
PTP Transparent Port Properties
-------------------------------
Record # 1
Interface : Gi0/1
Faulty Flag : 0
LogMinPdelayReqInterval: 0 (1 sec)
Status : ENABLED
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Peer Mean Path Delay : 0 nsec
Clock type : E2E TRANSPARENT
Physical Address : not specified
SW revision : V2
Record # 2
Interface : Gi0/2
Faulty Flag : 0
LogMinPdelayReqInterval: 0 (1 sec)
Status : ENABLED
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Peer Mean Path Delay : 0 nsec
Clock type : E2E TRANSPARENT
Physical Address : not specified
SW revision : V2
iS5comm# show ptp profile
PTP Profile
-----------
Profile Name : PowerProfileV2 (C37.238-2017)
Profile ID : 1c:12:9d:00:00:00
Default Domain Number : 254
Default Min pDelay Request Interval : 0
Default Delay Mechanism : Peer-to-Peer
Type the following:
iS5comm# configure terminal
iS5comm(config)# no shutdown ptp
iS5comm(config)# interface gigabitethernet 0/1
iS5comm(config-if)# ptp enable
iS5comm(config-if)# exit
iS5comm(config)# interface gigabitethernet 0/2
iS5comm(config-if)# ptp enable
iS5comm(config-if)# exit
iS5comm(config)# ptp profile UtilityProfile
iS5comm(config)# exit
iS5comm#show ptp clock
PTP Clock Information
-------------------------
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Clock Context : 0
Clock Domain : 0
Primary Domain : 0
Clock Mode : Transparent
Type Of Clock : One Step
Delay Mechanism : Peer to Peer
Number of PTP ports : 2
Number of max PTP TS ports : 24
iS5comm# show ptp port
PTP Transparent Port Properties
-------------------------
Record # 1
Interface : Gi0/1
Faulty Flag : 1
LogMinPdelayReqInterval: 0 (1 sec)
Status : ENABLED
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Peer Mean Path Delay : 0 nsec
Clock type : P2P TRANSPARENT
Physical Address : not specified
SW revision : V2
Record # 2
Interface : Gi0/2
Faulty Flag : 1
LogMinPdelayReqInterval: 0 (1 sec)
Status : ENABLED
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Peer Mean Path Delay : 0 nsec
Clock type : P2P TRANSPARENT
Physical Address : not specified
SW revision : V2
iS5comm# show ptp profile
PTP Profile
-----------
Profile Name : Utility Profile
IEC61850-9-3-2016)
Profile ID : 00:0c:cd:00:01:00
Default Domain Number : 0
Default Min pDelay Request Interval : 0
Default Delay Mechanism : Peer-to-Peer
iS5comm#configure terminal
iS5comm(config)# ptp profile DefaultE2E
iS5comm(config)# exit
iS5comm# show ptp clock
PTP Clock Information
-------------------------
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Clock Context : 0
Clock Domain : 0
Primary Domain : 0
Clock Mode : Transparent
Type Of Clock : One Step
Delay Mechanism : End to End
Number of PTP ports : 2
Number of max PTP TS ports : 24
iS5comm# show ptp port
PTP Transparent Port Properties
----------------------------
Record # 1
Interface : Gi0/1
Faulty Flag : 1
LogMinPdelayReqInterval: 0 (1 sec)
Status : ENABLED
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Peer Mean Path Delay : 0 nsec
Clock type : E2E TRANSPARENT
Physical Address : not specified
SW revision : V2
Record # 2
Interface : Gi0/2
Faulty Flag : 1
LogMinPdelayReqInterval: 0 (1 sec)
Status : ENABLED
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Peer Mean Path Delay : 0 nsec
Clock type : E2E TRANSPARENT
Physical Address : not specified
SW revision : V2
iS5comm# show ptp profile
PTP Profile
-----------
Profile Name : Default E2E Profile
Profile ID : 00:1b:19:00:01:00
Default Domain Number : 0
Default Min pDelay Request Interval : 0
Default Delay Mechanism : End-to-End
iS5comm#configure terminal
iS5comm(config)# ptp profile DefaultP2P
iS5comm(config)# exit
iS5comm#show ptp clock
PTP Clock Information
-------------------------
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Clock Context : 0Clock Domain : 0
Primary Domain : 0
Clock Mode : Transparent
Type Of Clock : One Step
Delay Mechanism : Peer to Peer
Number of PTP ports : 2
Number of max PTP TS ports : 24
iS5comm# show ptp port
PTP Transparent Port Properties
----------------------------
Record # 1
Interface : Gi0/1
Faulty Flag : 1
LogMinPdelayReqInterval: 0 (1 sec)
Status : ENABLED
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Peer Mean Path Delay : 0 nsec
Clock type : P2P TRANSPARENT
Physical Address : not specified
SW revision : V2
Record # 2
Interface : Gi0/2
Faulty Flag : 1
LogMinPdelayReqInterval: 0 (1 sec)
Status : ENABLED
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Peer Mean Path Delay : 0 nsec
Clock type : P2P TRANSPARENT
Physical Address : not specified
SW revision : V2
iS5comm# show ptp profile
PTP Profile
-----------
Profile Name : Default P2P Profile
Profile ID : 00:1b:19:00:02:00
Default Domain Number : 0
Default Min pDelay Request Interval : 0
Default Delay Mechanism : Peer-to-Peer
Type the following:
iS5comm# configure terminal
iS5comm(config)# no shutdown ptp
iS5comm(config)# no ptp profile
iS5comm(config)# ptp domain 100
iS5comm(config-ptp)# ptp mode e2etransparent
% PTP domain clock delay mechanism incompatible with profile
Note that the profile should be compatible with the PTP domain clock delay. In this case, we will change to defaulte2E as shown below.
iS5comm(config-ptp)# exit
iS5comm(config)# ptp profile defaulte2E
iS5comm(config)# ptp domain 100
iS5comm(config-ptp)# ptp mode e2etransparent
iS5comm(config-ptp)# exit
iS5comm(config)# interface gigabitethernet 0/1
iS5comm(config-if)# ptp enable
iS5comm(config-if)# exit
iS5comm(config)# exit
iS5comm#show ptp clock
PTP Clock Information
-------------------------
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Clock Context : 0
Clock Domain : 100
Primary Domain : 100
Clock Mode : Transparent
Type Of Clock : One Step
Delay Mechanism : End to End
Number of PTP ports : 2
Number of max PTP TS ports : 24
Type the following:
iS5comm# configure terminal
iS5comm(config)# no shutdown ptp
iS5comm(config)# no ptp profile
iS5comm(config)# ptp domain 100
iS5comm(config-ptp)# ptp mode p2ptransparent
iS5comm(config-ptp)# exit
iS5comm(config)# int gi 0/1
iS5comm(config-if)# ptp enable
iS5comm(config-if)# exit
iS5comm(config)# exit
iS5comm# show ptp clock
PTP Clock Information
-------------------------
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Clock Context : 0
Clock Domain : 100
Primary Domain : 100
Clock Mode : Transparent
Type Of Clock : One Step
Delay Mechanism : Peer to Peer
Number of PTP ports : 1
Number of max PTP TS ports : 24
Type the following:
iS5comm# configure terminal
iS5comm(config)# no shutdown ptp
iS5comm(config)# ptp domain 100
iS5comm(config-ptp)# exit
iS5comm(config)# int gi 0/1
iS5comm(config-if)# ptp enable
iS5comm(config-if)# ptp min-pdelay-req-interval 5
iS5comm(config-if)# exit
iS5comm(config)# exit
iS5comm# show ptp clock
PTP Clock Information
-------------------------
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Clock Context : 0
Clock Domain : 100
Primary Domain : 100
Clock Mode : Transparent
Type Of Clock : One Step
Delay Mechanism : Peer to Peer
Number of PTP ports : 1
Number of max PTP TS ports : 24
iS5comm# show ptp port
PTP Transparent Port Properties
-------------------------------
Record # 1
Interface : Gi0/1
Faulty Flag : 1
LogMinPdelayReqInterval: 5 (32 sec)
Status : ENABLED
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Peer Mean Path Delay : 0 nsec
Clock type : P2P TRANSPARENT
Physical Address : not specified
SW revision : V2
Type the following:
iS5comm# configure terminal
iS5comm(config)# no shutdown ptp
iS5comm(config)# ptp domain 0
% PTP Domain already configured, remove first
There was a previously configured domain 100 that has to be removed.
iS5comm(config)# no ptp domain
iS5comm(config)# ptp domain 0
iS5comm(config-ptp)# ptp mode e2etransparent
iS5comm(config-ptp)# ptp transparent max-ports 3
iS5comm(config-ptp)# exit
iS5comm(config)# in gi 0/1
iS5comm(config-if)# ptp enable
iS5comm(config-if)# ptp min-pdelay-req-interval 1
iS5comm(config-if)# exit
iS5comm(config)# int gi 0/2
iS5comm(config-if)# ptp min-pdelay-req-interval 2
iS5comm(config-if)# ptp enable
iS5comm(config-if)# exit
iS5comm(config)# exit
iS5comm# show ptp clock
PTP Clock Information
-------------------------
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Clock Context : 0
Clock Domain : 0
Primary Domain : 0
Clock Mode : Transparent
Type Of Clock : One Step
Delay Mechanism : End to End
Number of PTP ports : 1
Number of max PTP TS ports : 24
iS5comm# show ptp port
PTP Transparent Port Properties
-------------------------------
Record # 1
Interface : Gi0/1
Faulty Flag : 1
LogMinPdelayReqInterval: 1 (2 sec)
Status : ENABLED
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Peer Mean Path Delay : 0 nsec
Clock type : E2E TRANSPARENT
Physical Address : not specified
SW revision : V2
Interface : Gi0/2
Faulty Flag : 1
LogMinPdelayReqInterval: 2 (4 sec)
Status : ENABLED
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Peer Mean Path Delay : 0 nsec
Clock type : E2E TRANSPARENT
Physical Address : not specified
SW revision : V2
Type the following:
iS5comm# configure terminal
iS5comm(config)# no shutdown ptp
iS5comm(config)# no ptp profile
iS5comm(config)# ptp domain 0
iS5comm(config-ptp)# ptp mode e2etransparent
iS5comm(config-ptp)# end
iS5comm# show ptp clock
PTP Clock Information
-------------------------
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Clock Context : 0
Clock Domain : 0
Primary Domain : 0
Clock Mode : Transparent
Type Of Clock : One Step
Delay Mechanism : End to End
Number of PTP ports : 0
Number of max PTP TS ports : 24
Type the following:
iS5comm# configure terminal
iS5comm(config)# no shutdown ptp
iS5comm(config)# no ptp profile
iS5comm(config)# ptp domain 100
% PTP Domain already configured, remove first
iS5comm(config)# no ptp domain
iS5comm(config)# ptp domain 100
iS5comm(config-ptp)# exit
iS5comm(config)# in gi 0/1
iS5comm(config-if)# ptp enable
% PTP Domain already configured, remove first
iS5comm(config-if)# exit
iS5comm(config)# ptp domain 100
iS5comm(config-ptp)# ptp mode e2etransparent
iS5comm(config-ptp)# exit
iS5comm(config)# in gi 0/1
iS5comm(config-if)# ptp enable
iS5comm(config-if)# ptp min-pdelay-req-interval 5
iS5comm(config-if)# exit
iS5comm(config)# exit
iS5comm# show ptp global info
PTP System Status
-----------------
Global Status : Enabled
Network Protocol : IEEE 802.3
Domain : 100
iS5comm# show ptp clock
PTP Clock Information
-------------------------
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Clock Context : 0
Clock Domain : 100
Primary Domain : 100
Clock Mode : Transparent
Type Of Clock : One Step
Delay Mechanism : End to End
Number of PTP ports : 0
Number of max PTP TS ports : 24
iS5comm# show ptp port
PTP Transparent Port Properties
-------------------------------
Record # 1
Interface : Gi0/1
Faulty Flag : 1
LogMinPdelayReqInterval: 5 (32 sec)
Status : ENABLED
Clock Identity : e8:e8:75:ff:fe:90:0b:02
Peer Mean Path Delay : 0 nsec
Clock type : E2E TRANSPARENT
Physical Address : not specified
SW revision : V2
iS5comm# configure terminal
iS5comm(config)# shutdown ptp
iS5comm(config)# exitiS5comm# show ptp global info
% PTP is shutdown
iS5comm# show ptp clock
% PTP is shutdown
iS5comm# show ptp port
% PTP is shutdown
To see status of each parameter, find the applicable show command in the explanations above.