#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 |
#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 |
#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 |
#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 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 3 | Configure the number of PTP ports on the instance |
(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 |
(config-ptp-clk)#clock-port 2 | 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 3 | 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 |
#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 eth2 | Configure interface eth2 |
(config-if)#ip address 192.168.5.101/24 | Configure eth2 as Layer 2 port |
(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 1 | Configure the number of PTP ports on the instance |
(config-ptp-clk)#clock-port 1 | Configure ptp port |
(config-clk-port)#network-interface eth2 | Configure underlying interface that is used by this PTP Port |
(config-clk-port)#transport ipv4 | Set transport type ipv4. |
(config-clk-port)#master ipv4 192.168.5.100 | Set master clock source address. |
(config-clk-port)#exit | Exit ptp clock port mode |
#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 |
#configure terminal | Enter Configure mode |
(config)#interface lo | Configure loopback interface lo |
(config-if)#ip address 1.1.1.1/32 secondary | Configure the IP address of the loopback interface. |
(config-if)#interface eth1 | Configure interface eth1 |
(config-if)#ip address 192.168.4.101/24 | Configure the IP address of the interface. |
(config-if)#interface eth2 | Configure interface eth2 |
(config-if)#ip address 10.1.1.1/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)# source-address ipv4 interface lo | Configure underlying loopback source interface that is used by this PTP Port |
(config-clk-port)#network-interface eth1 | Configure underlying interface that is used by this PTP Port |
(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)# source-address ipv4 interface lo | Configure underlying loopback source interface that is used by this PTP Port |
(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 |
#configure terminal | Enter Configure mode |
(config)#interface eth1 | Configure interface eth1 |
(config-if)#ip address 192.168.4.100/24 | Configure the IP address of the interface. |
(config-if)#interface lo | Configure interface loopback |
(config-if)#ip address 2.2.2.2/32 secondary | Configure the loopback IP address of the interface. |
(config)#interface eth2 | Configure interface eth2 |
(config-if)#ip address 10.1.1.2/24 | Configure the IP address of the interface. |
(config-if)#exit | Exit interface mode |
(config-if)#ip route 1.1.1.1/32 192.168.4.100 | Configure the static route to reach other network |
(config-if)#ip route 1.1.1.1/32 10.1.1.1 | Configure the static route to reach other network |
(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 3 | 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 1.1.1.1 | Set master clock source address using loopback ip |
(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)#master ipv4 1.1.1.1 | Set master clock source address |
(config-clk-port)#exit | Exit ptp clock port mode |