#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)#interface eth1 | Configure interface eth1 |
(config-if)#switchport | Configure eth1 as Layer 2 port |
(config-if)#bridge-group 1 | Configure eth1 in bridge group 1 |
(config-if)#synce | Enter interface Synchronous Ethernet mode. |
(config-if-synce)#mode synchronous | Configure synchronous mode. |
(config-if-synce)#input-source 2 | Configure the interface as an input source with priority 2. |
(config-if-synce)#exit | Exit Port Configure mode |
(conig-if)#exit | Exit Interface mode |
(config)#interface eth2 | Configure interface eth2 |
(config-if)#switchport | Configure eth2 as Layer 2 port |
(config-if)#bridge-group 1 | Configure eth2 in bridge group 1 |
(config-if)#synce | Enter interface Synchronous Ethernet mode. |
(config-if-synce)#mode synchronous | Configure synchronous mode. |
(config-if-synce)#output-source | Configure the interface as an output source. |
(config-if-synce)#exit | Exit Port Configure mode |
(config-if)#exit | Exit interface mode |
(config)#ptp clock 0 profile g8275.1 | Enables G8275.1 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 2 | Configure 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 |
(config-ptp-clk)#clock-port 1 | Configure 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 |
#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)#interface eth2 | Configure interface eth2 |
(config-if)#switchport | Configure eth2 as Layer 2 port |
(config-if)#bridge-group 1 | Configure eth2 in bridge group 1 |
(config-if)#synce | Enter interface Synchronous Ethernet mode. |
(config-if-synce)#mode synchronous | Configure synchronous mode. |
(config-if-synce)#input-source 4 | Configure the interface as an input source with priority 4. |
(config-if-synce)#exit | Exit Port Configure mode |
(config-if)#exit | Exit interface mode |
(config)#ptp clock 0 profile g8275.1 | Enables G8275.1 for PTP time/phase telecom profile |
(config-ptp-clk)#number-ports 1 | Configure the number of PTP ports on the instance |
(config-clk-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)#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 1 | Configure Wait-to-Restore timer. |
(config-synce-if)#exit | Exit Port Configure mode |
(config)#interface eth1 | Configure interface eth2 |
(config-if)#switchport | Configure eth2 as Layer 2 port |
(config-if)#bridge-group 1 | Configure eth2 in bridge group 1 |
(config-if)#synce | Enter interface Synchronous Ethernet mode. |
(config-if-synce)#mode synchronous | Configure synchronous mode. |
(config-if-synce)#output-source | Configure the interface as an output source. |
(config-if-synce)#exit | Exit Port Configure mode |
(config-if)#exit | Exit interface mode |
(config)#ptp clock 0 profile g8275.1 | Enables G8275.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 port |
(config-clk-port)#master-only | Configure the port as an master-only 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 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 |