OcNOS-SP : Timing and Synchronization Guide : Precision Time Protocol Configuration Guide : PTP G.8275.2 Profile Configuration : PTS G.8275.2 Profile Configuration
PTS G.8275.2 Profile Configuration
This section shows how to set up a G.8275.2 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 eth1
Configure interface eth1
(config-if)#ip address 192.168.4.101/24
Configure the IP address of the interface.
(config-synce-if)#exit
Exit synce Configure mode.
(config)#interface eth2
Configure interface eth2
(config-if)#ip address 192.168.5.100/24
Configure the IP address of the interface.
(config-if)#exit
Exit interface mode
(config)#ptp clock 0 profile g8275.2
Enables G8275.2 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 eth1
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 eth2
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 eth1
Configure interface eth1
(config-if)#ip address 192.168.4.101/24
Configure the IP address of the interface.
(config-synce-if)#exit
Exit synce Configure mode.
(config)#interface eth2
Configure interface eth2
(config-if)#ip address 192.168.5.100/24
Configure the IP address of the interface.
(config-if)#exit
Exit interface mode
(config)#ptp clock 0 profile g8275.2
Enables G8275.2 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 eth1
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 eth2
Configure underlying interface that is used by this PTP Port
(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 eth2
Configure interface eth2
(config-if)#ip address 192.168.4.100/24
Configure the IP address of the interface.
(config-if)#exit
Exit interface mode
(config)#ptp clock 0 profile g8275.2
Enables G8275.2 for PTP time/phase telecom 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 eth2
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: 10/20/2023