Use the following CLI syntax to configure basic IEEE 1588v2 PTP parameters.
config>system>ptp 
    clock clock-id [create]
        clock-mda mda-id
        clock-type {ordinary [master | slave] | boundary | transparent-e2e}
        domain domain-value
        dynamic-peers
        priority1 priority-value
        priority2 priority-value
        profile ieee1588-20008
        ptp-port port-id
            anno-rx-timeout number-of-timeouts
            log-anno-interval log-anno-interval
            log-sync-interval log-sync-interval
            peer peer-id ip-address {ip-address | ipv6-address}
            [no] shutdown
            unicast-negotiate
        [no] shutdown
        source-interface ip-if-name
config>system>sync-if-timing 
    ref1
        source-ptp-clock clock-id
    ref2
        source-ptp-clock clock-id
The following example shows the command usage:
config>system# ptp clock 1 createconfig>system>ptp>clock# clock-type ordinary slaveconfig>system>ptp>clock# source-interface ptp-loopconfig>system>ptp>clock# clock-mda 1/2config>system>ptp>clock# domain 0config>system>ptp>clock# no dynamic-peersconfig>system>ptp>clock# priority1 128config>system>ptp>clock# priority2 128config>system>ptp>clock# profile ieee1588-2008config>system>ptp>clock# ptp-port 1config>system>ptp>clock>ptp-port# anno-rx-timeout 3config>system>ptp>clock>ptp-port# log-anno-interval 1config>system>ptp>clock>ptp-port# log-sync-interval -6config>system>ptp>clock>ptp-port# unicast-negotiateconfig>system>ptp>clock>ptp-port# peer 1config>system>ptp>clock>ptp-port>peer# description "Peer to Boundary Clock"config>system>ptp>clock>ptp-port>peer# ip-address 10.222.222.10config>system>ptp>clock>ptp-port>peer# exitconfig>system>ptp>clock>ptp-port# peer 2config>system>ptp>clock>ptp-port>peer# description ToGMconfig>system>ptp>clock>ptp-port>peer# ip-address 192.168.2.10config>system>ptp>clock>ptp-port>peer# exitconfig>system>ptp>clock>ptp-port# no shutdownconfig>system>ptp>clock>ptp-port# exitconfig>system>ptp>clock# no shutdownconfig>system>ptp>clock# exitconfig>system>ptp# exitconfig>system# sync-if-timing beginconfig>system>sync-if-timing# ref1config>system>sync-if-timing>ref1# source-ptp-clock 1config>system>sync-if-timing>ref1# no shutdownconfig>system>sync-if-timing>ref1# exitThe following display shows a basic IEEE 1588v2 PTP configuration:
ALU-1>config>system>ptp># info   
#--------------------------------------------------
echo "System IEEE 1588 PTP Configuration"
#--------------------------------------------------
    system
        ptp
            clock 1 create
                clock-type ordinary slave
                source-interface "ptp loop"
                clock-mda 1/2
                domain 0
                no dynamic-peers
                priority1 128
                priority2 128
                profile ieee1588-2008
                ptp-port 1
                    anno-rx-timeout 3
                    log-anno-interval 1
                    log-sync-interval -6
                    unicast-negotiate
                    peer 1
                        description "Peer to Boundary Clock"
                        ip-address 10.222.222.10
                    exit
                    peer 2
                        description "ToGM"
                        ip-address 192.168.2.10
                    exit
                    no shutdown
                exit
                no shutdown
            exit
        exit
    exit