OcNOS SP : Timing and Synchronization Guide : Synchronous Ethernet Configuration : Configuring Synchronous Ethernet
Configuring Synchronous Ethernet
This chapter shows how to configure Synchronous Ethernet. This chapter shows two scenarios in selecting a frequency source:
Using quality level
Using priority
Topology
In the topology shown in Figure 1-10, SW2 can select a clock source from SW1 or SW3. The selection is based on quality level or priority.
Note: We can enable SyncE on the physical interfaces which can be L2, L# or member port of the LAG.
Selecting a Frequency Source
Using Quality Level
In the procedure below, SW1 and SW3 are both configured as output sources, with SW1 having quality level QL_PRC and SW3 having quality level QL_SSU_A. SW2 is configured to accept a frequency from either SW1 or SW3. Because quality level is used as the clock selection criteria (the default setting), SW2 chooses SW1 as the frequency source.
SW1
 
#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 configure Synchronous Ethernet mode.
(config)#interface eth6
Configure interface eth6.
(config-if)#switchport
Configure eth6 as a layer 2 port.
(config-if)# bridge group 1
Configure the interface to be part of bridge 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)#quality-level QL_PRC
Assign the quality level as PRC.
(config-if-synce)#exit
Exit interface Synchronous Ethernet mode.
(config-if)#exit
Exit interface mode.
SW2
 
(config)#interface eth9
Configure interface eth9.
(config-if)#switchport
Configure eth9 as a layer 2 port.
(config-if)# bridge group 1
Configure the interface to be part of bridge 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 interface Synchronous Ethernet mode.
(config-if)#exit
Exit interface mode.
(config)#interface eth10
Configure interface eth10.
(config-if)#switchport
Configure eth10 as a layer 2 port.
(config-if)# bridge group 1
Configure the interface to be part of bridge 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 interface Synchronous Ethernet mode.
(config-if)#exit
Exit interface mode.
SW3
 
(config)#interface eth6
Configure interface eth6.
(config-if)#switchport
Configure eth1 as a layer 2 port.
(config-if)# bridge group 1
Configure the interface to be part of bridge 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)#quality-level QL_SSU_A
Assign the quality level as SSU_A.
(config-if-synce)#exit
Exit interface Synchronous Ethernet mode.
(config-if)#exit
Exit interface mode.
Validation
SW1
1. Verify the Synchronous Ethernet details.
#Verify the output source.
#show synce output-sources
Interface Name : eth6
Link State : Up
QL Configured : QL_PRC
QL Operational : QL_PRC
SW2
1. Verify the input source.
#show synce input-sources
Interface Name : eth9
ESMC Status : OK
Is-selected-Source : Yes
QL Configured : N/A
QL received in ESMC : QL_PRC
QL Operational : QL_PRC
Priority : 2
Hold-off(ms) : 300
Wait-to-restore(mins) : 5
Link State : Up
Signal Fail : No
External Commands : None
Clock-source-ID : 256
WTR Timer Running : No
Hold-off Timer Running : No
 
 
Interface Name : eth10
ESMC Status : OK
Is-selected-Source : No
QL Configured : N/A
QL received in ESMC : Ql_SSU_A
QL Operational : Ql_SSU_A
Priority : 2
Hold-off(ms) : 300
Wait-to-restore(mins) : 5
Link State : Up
Signal Fail : No
External Commands : None
Clock-source-ID : 256
WTR Timer Running : No
Hold-off Timer Running : No
 
2. Verify the Synchronous Ethernet details.
#
# show synce de
Equipment Clock : EEC-option1
Interface Name : eth9
ESMC Status : OK
Is-selected-Source : YES
QL : QL_PRC
SyncE Clock State : Locked
DPLL Clock State : Locked
Synce State Duration : 00:02:25
Selected-Clk-Src-ID : 256
 
SW3
1. Verify the Synchronous Ethernet details.
#
#show synce de
Equipment Clock : EEC-option1
SyncE Clock State : Free-run
DPLL Clock State : Free-run
 
2. Verify the output source on SW3.
#
Interface Name : eth6
Link State : Up
QL Configured : QL_SSU_A
QL Operational : QL_SSU_A
 
Note: Use “show synce stats” to check the counter statistics and use “clear synce stats” to clear the counters. Show esmc counters changed to show synce stats.
Using Priority
In the procedure below, SW1 and SW3 in Figure 1-10 are both configured as output sources, with SW1 having priority 2 and SW3 having priority 1. SW2 is configured to accept a frequency from either SW1 or SW3. Because quality level is not used as the clock selection criteria (an explicit setting), SW2 chooses SW3 (with the higher priority) as the frequency source.
SW1
 
#configure terminal
Enter configure mode.
(config)#synce
Enter configure Synchronous Ethernet mode.
(config-synce)#synchronization option 1
Set the synchronization network type.
(config-synce)#clock-selection mode ql-disabled
Disable quality level checking.
(config-synce)#exit
Exit configure Synchronous Ethernet mode.
(config)#interface eth6
Configure interface eth6.
(config-if)#switchport
Configure eth6 as a layer 2 port.
(config-if)#bridge group 1
Configure the interface to be part of bridge 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)#quality-level QL_PRC
Assign quality level as PRC.
(config-if-synce)#exit
Exit interface Synchronous Ethernet mode.
(config-if)#exit
Exit interface mode.
SW2
 
#configure terminal
Enter configure mode.
(config)#synce
Enter configure Synchronous Ethernet mode.
(config-synce)#clock-selection mode ql-disabled
Disable quality level checking.
(config-synce)#exit
Exit configure Synchronous Ethernet mode
(config)#interface eth9
Configure interface eth9.
(config-if)#switchport
Configure eth9 as a layer 2 port.
(config-if)#bridge group 1
Configure the interface to be part of bridge 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 interface Synchronous Ethernet mode.
(config-if)#exit
Exit interface mode.
(config)#interface eth10
Configure interface eth10.
(config-if)#switchport
Configure eth10 as a layer 2 port
(config-if)#bridge group 1
Configure the interface to be part of bridge 1
(config-if)#synce
Enter interface Synchronous Ethernet mode.
(config-if-synce)#mode synchronous
Configure synchronous mode.
(config-if-synce)#input-source 1
Configure the interface as an input source with priority 1.
(config-if-synce)#exit
Exit interface Synchronous Ethernet mode.
(config-if)#exit
Exit interface mode.
SW3
 
#configure terminal
Enter configure mode.
(config)#synce
Enter configure Synchronous Ethernet mode.
(config-synce)#synchronization option 1
Configure synchronization network as option 1.
(config-synce)#clock-selection mode ql-disabled
Disable quality level checking.
(config-synce)#exit
Exit configure Synchronous Ethernet mode.
(config)#interface eth6
Configure interface eth6.
(config-if)#switchport
Configure eth6 as a layer 2 port.
(config-if)#bridge group 1
Configure the interface to be part of bridge 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)#quality-level QL_SSU_A
Assign quality level as SSU_A.
(config-if-synce)#exit
Exit interface Synchronous Ethernet mode.
(config-if)#exit
Exit interface mode.
Validation
SW1
1. Verify the Synchronous Ethernet details.
#show synce de
Equipment Clock : EEC-option1
SyncE Clock State : Free-run
DPLL Clock State : Free-run
Synce State Duration : 00:39:20
2. Verify the output source.
#show synce output-sources
Interface Name : eth6
Link State : Up
QL Configured : QL_PRC
QL Operational : QL_PRC
 
SW2
1. Verify the input source
#show synce input-sources
Interface Name : eth9
ESMC Status : OK
Is-selected-Source : No
QL Configured : N/A
QL received in ESMC : QL_PRC
QL Operational : QL_PRC
Priority : 2
Hold-off(ms) : 300
Wait-to-restore(mins) : 5
Link State : Up
Signal Fail : No
External Commands : None
Clock-source-ID : 256
WTR Timer Running : No
Hold-off Timer Running : No
 
 
Interface Name : eth10
ESMC Status : OK
Is-selected-Source : Yes
QL Configured : N/A
QL received in ESMC : Ql_SSU_A
QL Operational : Ql_SSU_A
Priority : 2
Hold-off(ms) : 300
Wait-to-restore(mins) : 5
Link State : Up
Signal Fail : No
External Commands : None
Clock-source-ID : 256
WTR Timer Running : No
Hold-off Timer Running : No
 
2. Verify the Synchronous Ethernet details.
# show synce de
Equipment Clock : EEC-option1
Interface Name : eth10
ESMC Status : OK
Is-selected-Source : YES
QL : QL_SSU_A
SyncE Clock State : Locked
DPLL Clock State : Locked
Synce State Duration : 00:02:25
Selected-Clk-Src-ID : 256
 
SW3
1. Verify the Synchronous Ethernet details.
#show synce de
Equipment Clock : EEC-option1
SyncE Clock State : Free-run
DPLL Clock State : Free-run
Synce State Duration : 00:39:20
2. Verify the output source.
#show synce output-sources
Interface Name : eth6
Link State : Up
QL Configured : QL_SSU_A
QL Operational : QL_SSU_A