OcNOS-SP : Timing and Synchronization Guide : Precision Time Protocol Configuration Guide : PTP Default Profile Configuration : Default Profile Configuration
Default Profile Configuration
This section shows how to set up a Default Profile.
SW2 (boundary clock)
 
#configure terminal
Enter Configure mode
(config)#synce
Enter configure Synchronous Ethernet mode.
(config-synce)#synchronization option 1
Set the synchronization network type.
(config-synce)#exit
Exit Synce mode
(config)#interface xe6
Configure interface eth1
(config-if)#ip address 192.168.4.100/24
Configure the IP address of the interface.
(config-synce-if)#exit
Exit synce Configure mode.
(config)#interface xe12
Configure interface eth2
(config-if)#ip address 192.168.5.101/24
Configure the IP address of the interface.
(config-if)#exit
Exit interface mode
(config)#ptp clock 0 profile default
Enables Default PTP profile
(config-ptp-clk)#number-ports 2
Configure the number of PTP ports on the instance
(config-ptp-clk)#clock-port 1
Configure ptp port
(config-clk-port)#transport ipv4
Set transport type ipv4
(config-clk-port)#network-interface xe6
Configure underlying interface that is used by this PTP Port
(config-clk-port)#master ipv4 192.168.4.100
Set master clock source address
(config-clk-port)#exit
Exit ptp clock port mode
(config-ptp-clk)#clock-port 2
Configure ptp port
(config-clk-port)#transport ipv4
Set transport type ipv4
(config-clk-port)#network-interface xe12
Configure underlying interface that is used by this PTP Port
(config-clk-port)#exit
Exit ptp clock port mode
SW3 (Boundary clock)
 
#configure terminal
Enter Configure mode
(config)#synce
Enter configure Synchronous Ethernet mode.
(config-synce)#synchronization option 1
Set the synchronization network type.
(config-synce)#exit
Exit Synce mode
(config)#interface xe12
Configure interface eth1
(config-if)#ip address 192.168.5.102/24
Configure the IP address of the interface.
(config-synce-if)#exit
Exit synce Configure mode.
(config)#ptp clock 0 profile default
Enables DEFAULT for PTP time/phase telecom profile
(config-ptp-clk)#number-ports 2
Configure the number of PTP ports on the instance
(config-ptp-clk)#clock-port 1
Configure ptp port
(config-clk-port)#transport ipv4
Set transport type ipv4
(config-clk-port)#network-interface xe12
Configure underlying interface that is used by this PTP Port
(config-clk-port)#master ipv4 192.168.5.101
Set master clock source address
(config-clk-port)#exit
Exit ptp clock port mode
SW1 (T-GM)
 
#configure terminal
Enter Configure mode
(config)#synce
Enter configure Synchronous Ethernet mode.
(config-synce)#synchronization option 1
Set the synchronization network type.
(config-synce)#exit
Exit Synce mode
(config)#synce-interface gps
Configure synce interface gps
(config-synce-if)#mode synchronous
Configure synchronous mode
(config-synce-if)#input-source 1
Configure the interface as an input source with priority 1
(config-synce-if)#quality-level QL_PRC
Configure QL-value.
(config-synce-if)#wait-to-restore 1
Configure Wait-to-Restore timer.
(config-synce-if)#exit
Exit Port Configure mode
(config)#interface xe6
Configure interface eth2
(config-if)#ip address 192.168.4.101/24
Configure the IP address of the interface.
(config-if)#exit
Exit interface mode
(config)#ptp clock 0 profile default
Enables DEFAULT PTP profile
(config-ptp-clk)#clock-type tgm
Enables clock type as T-GM
(config-ptp-clk)#number-ports 2
Configure the number of PTP ports on the instance
(config-ptp-clk)#clock-port 2
Configure ptp port
(config-clk-port)#transport ipv4
Configure the port as an master-only port
(config-clk-port)#network-interface xe6
Configure underlying interface that is used by this PTP Port
(config-clk-port)#master-only
Configure the port as an master-only port
(config-clk-port)#exit
Exit ptp clock port mode
(config-ptp-clk)#clock-port 1
Configure ptp port
(config-clk-port)#network-interface gps
Configure underlying interface that is used by this PTP Port
(config-clk-port)#exit
Exit ptp clock port mode
Last modified date: 06/30/2023