
#configure terminal  | Enter Configure mode  | 
(config)#bridge 1 protocol mstp  | Create bridge 1 as an MSTP bridge (this step is not mandatory, but is a good practice to avoid layer 2 loops)  | 
(config)#vlan database  | Create Vlan database  | 
(config-vlan)#vlan 10 bridge 1   | Configure Vlan 10 associated with bridge1  | 
(config-vlan)#exit  | Exit Interface mode  | 
(config)#ptp clock 0 profile e2e-transparent  | Configure Switch as Transparent clock  | 
(config)#interface xe4  | Configure interface xe4  | 
(config-if)#switchport  | Configure xe4 as Layer 2 port  | 
(config-if)#bridge-group 1  | Configure xe4 in bridge group 1  | 
(config-if)#switchport mode trunk  | Configure mode trunk  | 
(config-if)#switchport trunk allowed vlan add 10  | Add vlan 10 to the interface xe4  | 
(conig-if)#exit  | Exit Interface mode  | 
(config)#interface xe6  | Configure interface xe6  | 
(config-if)#switchport  | Configure xe6 as Layer 2 port  | 
(config-if)#bridge-group 1  | Configure xe6 in bridge group 1  | 
(config-if)#switchport mode trunk  | Configure mode trunk  | 
(config-if)#switchport trunk allowed vlan   add 10  | Add vlan 10 to the interface xe4  | 
(conig-if)#exit  | Exit Interface mode  | 
(config)#synce-interface ptp  | Configure synce interface ptp  | 
(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)#mode synchronous   | Configure synchronous mode.  | 
(config-synce-if)#wait-to-restore 0  | Configure Wait-to-Restore timer.  | 
(config-synce-if)#exit  | Exit Interface configure mode  | 
(config)#interface xe6  | Configure interface xe6  | 
(config-if)#ip address 192.168.5.103/24  | Configure Ipv4 address of interface  | 
(config-if)#exit  | Exit interface mode  | 
(config)#ptp clock 0 profile g8265.1  | Enables G8265.1 for PTP time/phase telecom profile  | 
(config-ptp-clk)#slave-only  | Configure the device as a Slave clock  | 
(config-clk-clk)#clock-port 1  | Configure ptp clock-port 1  | 
(config-clk-port)#transport ipv4  | Configure transport as ipv4  | 
(config-clk-port)#network-interface xe6  | Configure underlying interface that is used by this PTP Port  | 
(config-clk-port)#master ipv4 192.168.5.102  | Configure the master ipv4 address  | 
(config-clk-port)#exit  | Exit ptp clock port mode  | 
#configure terminal  | Enter Configure mode  | 
(config)#bridge 1 protocol mstp  | Create bridge 1 as an MSTP bridge (this step is not mandatory, but is a good practice to avoid layer 2 loops)  | 
(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)#mode synchronous   | Configure synchronous mode.  | 
(config-synce-if)#wait-to-restore 0  | Configure Wait-to-Restore timer.  | 
(config-synce-if)#exit  | Exit Port Configure mode  | 
(config)#interface xe4  | Configure interface xe4  | 
(config-if)#ip address 192.168.5.102/24  | Configure ipv4 address of xe4   | 
(config-if)#exit  | Exit interface mode  | 
(config)#ptp clock 0 profile g8265.1  | Enables G8265.1 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 clock-port 2  | 
(config-ptp-clk)#transport ipv4  | Configure transport as ipv4  | 
(config-clk-port)#master-only   | Configure the port as an master-only port  | 
(config-clk-port)#network-interface xe4  | Configure underlying interface that is used by this PTP Port  | 
(config-clk-port)#exit  | Exit ptp clock port mode  | 
(config-ptp-clk)#clock-port 1  | Configure ptp clock-port 1  | 
(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  |