PTP Configuration by CLI

This section lists the CLI configuration steps for configuring the PTP.

This chapter describes the various PTP configurations such as:
  • Enabling / Disabling PTP in the switch
  • Configuring / Unconfiguring PTP domain
  • Configuring Mode for a Domain in PTP
  • Enabling/Disabling PTP on an Interface
  • Configuring / Unconfiguring PTP Profile
  • VLAN Configuration on a domain
  • Other configuration and show CLI commands
  • Examples of PTP configurations

This chapter provides a sample of a configuration setup of iS5Com PTP through CLI.

Figure 1. Multiple Contexts–Single Domain Topology


Enabling/Disabling PTP in the Switch

This section lists the CLI configuration steps for enabling/disabling PTP.

CLI Configuration

  1. To enable PTP through CLI, execute the following commands.

    Type the following:

    • Enter the Global Configuration Mode in ISS1.
    iS5comm# configure terminal
    • Enable PTP in the switch.
    iS5comm (config)# no shutdown ptp
    Note:

    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).

  2. View the PTP enabled status in the switch.

    Type the following:

    iS5comm# show ptp global info
    PTP System Status
    -----------------
    Global Status : Enabled
    Network Protocol   : IEEE 802.3
    Domain             : 254
  3. To disable PTP through CLI, execute the following commands.

    Type the following:

    • Enter the Global Configuration Mode in ISS1.
    iS5comm# configure terminal
    • Disable PTP in the switch.
    iS5comm (config)# shutdown ptp
    Note:

    This command disables PTP globally and removes all PTP related configuration both in software and hardware. The configuration can be verified when command show ptp global info is used (see below).

  4. View the PTP disabled status in the switch.

    Type the following:

    iS5comm# configure terminal
    % PTP is shutdown

Configuring / Unconfiguring PTP domain

This section lists the CLI configuration steps for configuring / unconfiguring PTP domain.

CLI Configuration

  1. To configure a default PTP domain, execute the following commands.

    Type the following:

    iS5comm# configure terminal
    iS5comm(config)# ptp domain [{ <id (0- 127)> | power-profile }]
    iS5comm(config)# ptp domain 0
    iS5comm(config-ptp)#
  2. View the status of the default PTP domain.

    Type the following:

    iS5comm# show ptp global info
    PTP System Status
    -----------------
    Global Status : Enabled
    Network Protocol   : IEEE 802.3
    Domain             : 0
  3. To unconfigure the default PTP domain, execute the following commands.

    Type the following:

    iS5comm# configure terminal
    iS5comm (config)# no ptp domain
    Note:

    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.

  4. View the status of the default PTP domain.

    Type the following:

    iS5comm# show ptp global info
    PTP System Status
    -----------------
    Global Status : Enabled
    Network Protocol   : IEEE 802.3
    Domain             : None

Configuring Mode for a Domain in PTP

This section lists the CLI configuration steps for setting the clock mode of a PTP domain.

CLI Configuration

To configure the clock mode for a domain in PTP through CLI, execute the following steps:

  1. To create a PTP domain, execute the following commands.

    Type the following:

    iS5comm# configure terminal
    iS5comm(config)# ptp domain 10
    iS5comm(config-ptp)#
  2. Delete a PTP domain (DOMAIN_NUMBER—128 available domains: from 0 to 127)s.

    Type the following:

    iS5comm# configure terminal
    iS5comm (config)# no ptp domain
    Note:

    Only one domain can be configured; any old domain needs to be removed before configuring a new one.

  3. Configure the mode for a domain in PTP as peer to peer transparent.

    Type the following:

    iS5comm# configure terminal
    iS5comm (config)# ptp domain 10
    iS5comm (config-ptp)# ptp mode p2ptransparent
  4. Configure the mode for a domain in PTP as end-to-end transparent clock.

    Type the following:

    iS5comm# configure terminal
    iS5comm (config)# ptp domain 10
    iS5comm (config-ptp)# ptp mode e2etransparent
  5. View the status of the default PTP domain.

    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
  6. Set the mode for a domain in PTP back to default (forward).

    Type the following:

    iS5comm# configure terminal
    iS5comm (config)# ptp domain 10
    iS5comm (config-ptp)# no ptp mode e2etransparent
  7. Set PTP number of maximum ports that support transparent clock mode. PORTS_NUMBER—the default is 24; there are 24 available ports, an additional port cannot be opened if this number equal or less than already enabled transparent ports.

    Type the following:

    iS5comm# configure terminal
    iS5comm (config)# ptp domain 10
    iS5comm (config-ptp)# ptp transparent max-ports 24
  8. Reset Statistic Counters for all ports.

    Type the following:

    iS5comm# configure terminal
    iS5comm (config)# ptp domain 10
    iS5comm (config-ptp)# ports-statistcs-cnt-reset
  9. View the status of the default PTP domain.

    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

Enabling/Disabling PTP on Interface

This section lists the CLI configuration steps for enabling / disabling PTP on an interface

CLI Configuration

To enable/disable PTP on an interface through CLI, execute the following steps:

  1. To enable PTP on interface, execute the following commands.

    Type the following:

    iS5comm# configure terminal
    iS5comm (config-if)# ptp enable
    Note:

    This command enables PTP on port if a domain is configured. Use the command show ptp port to verify that the status is enabled).

  2. View the PTP enabled status in the switch.

    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
  3. To disable PTP on the interface, execute the following commands.

    Type the following:

    iS5comm# configure terminal
    iS5comm (config)# interface gigabitethernet 0/1 
    iS5comm(config-if)# no ptp enable
    Note:

    This command disables PTP globally and removes all PTP related configuration both in software and hardware. The configuration can be verified when command show ptp global info is used (see below).

  4. To set the minimum peer delay request interval on the interface, execute the following commands.

    Type the following:

    iS5comm# configure terminal
    iS5comm (config)# interface gigabitethernet 0/1 
    iS5comm(config-if)# ptp min-pdelay-req-interval 2

Configuring / Unconfiguring PTP profile

This section lists the CLI configuration steps for configuring / unconfiguring PTP profile.

CLI Configuration

  1. To configure a PTP Profile, execute the following commands.

    Type the following:

    iS5comm# configure terminal
    iS5comm(config)# ptp profile ?
    Note:

    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
    Note: This set of command creates the domain, sets a domain number, and selects a profile type. A minimum pDelay req interval and delay mechanism will correspond to the selected PTP profile. More information about the 4 supported profiles is shown in the table below.
    Table 1. PTP Profiles
    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
  2. View the configured profile information.

    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
  3. To unconfigure a PTP Profile, execute the following commands.

    Type the following:

    iS5comm# configure terminal
    iS5comm(config)# no ptp profile
    Note:

    This command deletes the profile, only if a profile has been configured.

VLAN Configuration

PTP requests and responses can be sent over a specific VLAN on switch.

CLI Configuration

  1. Enter the following commands when VLAN configuration is to be implemented on a specific PTP domain.

    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
  2. Enter the following commands to remove VLAN 10.

    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

Other Configuration Commands

This section lists some additional CLI configuration commands.

CLI Configuration

  1. Set MSR as a type of file that includes saved PTP configuration. The MSR configuration restore will be in the format of MIB OIB. A model-specific register (MSR) is any of various control registers in the x86 instruction set used for debugging, program execution tracing, computer performance monitoring, and toggling certain CPU features.

    Type the following:

    iS5comm(config)# default restore-type msr
  2. Set CSR as the type of file that includes saved PTP configuration. The csr configuration restore will be in the format of CLI commands. A Certificate Signing Request (CSR) file is a file created as a signing request for a digital certificate. It contains an encrypted block of text that identifies the applicant of the certificate and includes encrypted data for country, state, organization, domain, email address, and public key.

    Type the following:

    iS5comm(config)# default restore-type csr
  3. Save the PTP configuration. If option Startup Configuration.is chosen, then the switch will start with the saved configuration on reboot.

    Type the following:

    iS5comm# write startup-config
  4. To enable the debug traces for the PTP module.

    Type the following:

    iS5comm# debug ptp
    <CR>                                Enables debugging for PTP module
    all                                 trace messages
    critical                            trace messages

show Commands

This section lists some additional CLI configuration commands.

CLI Configuration

  1. To view various PTP related Information, perform the following command.

    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
  2. To view PTP counters per port or all of them, perform the following command.

    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
  3. To view PTP Stack readiness, perform the following command.

    Type the following:

    iS5comm# show ptp null-management
    Getting PTP Null Management DONE
    Setting PTP Null Management DONE
    Applying PTP Null Management DONE
  4. To view PTP maximum transparent ports per domain, perform the following command.

    Type the following:

    iS5comm# show ptp transparent max-ports
    PTP TS max port number: 24
  5. To view PTP clock related information, perform the following command.

    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
  6. To view PTP related global information, perform the following command.

    Type the following:

    iS5comm# show ptp global info
    PTP System Status
     -----------------
    Global Status      : Enabled
    Network Protocol   : IEEE 802.3
    Domain             : 10
  7. To view PTP port properties information, perform the following command.

    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
  8. To view the configured profile default values, perform the following command.

    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

Examples of PTP Configuration

This section lists some examples of PTP configurations by CLI configuration commands as follows:

Figure 2. Examples of PTP Configuration


  1. Note:
    Example 1: Use the device as transparent clock within PTP network with power profile v2 as a profile. Enable PTP globally and on the ports.

    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
  2. Note:
    Example 2: Switch PTP profile. Enable PTP globally and on ports. Switch to another type profile.

    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
  3. Note:
    Example 3: Configure PTP without any profile: enable PTP, unconfigure profile, create a new domain, configure transparent mode and E2E delay mechanism.

    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:

    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
  4. Note:
    Example 4: Configure PTP without any profile: enable PTP, unconfigure profile, create a new domain configure transparent mode, P2P delay mechanism.

    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
  5. Note:
    Example 5: Customize the profile default values by changing domain and minimum pDelay interval. Enable PTP, create a new domain (the default will be overwritten), enable ptp on port, and change the min pdelay interval to non-default value.

    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
  6. Note:
    Example 6: Debug PTP module, enable PTP, configure domain, transparent mode, E2E delay mechanism, set transparent max ports, open ports 1 and 2, configure minimum peer delay request interval for both ports.

    Type the following:

    iS5comm# configure terminal
    iS5comm(config)# no shutdown ptp 
    iS5comm(config)# ptp domain 0
    % PTP Domain already configured, remove first
    Note:

    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
  7. Switch to P2P delay mechanism and back to E2E. Assuming that debugging is switched ON and ports are already enabled.

    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
  8. Shut down PTP: Enable PTP globally, then enable PTP on ports and shutdown PTP.

    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.