Contents
This guide covers the following topics:
The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
Most of the services that are provided over networks must be fully synchronized with one another in order to operate efficiently. If the network devices that constitute a network do not operate at the same clock rates, there is an overall decrease in the performance of the network and a consequent degradation in the quality of the services offered by the network. This document explains how to configure network synchronization on the Cisco 8500 Series Catalyst Edge Platform.
This guide covers the following topics:
The following goals must be taken into account while designing the synchronization plan for a network:
Synchronous Ethernet (SyncE), which is defined by the Telecommunication Standardization Sector (ITU-T) standards, such as G.8261 and G.8262, leverages the PHY layer of the Ethernet to transmit clock information to remote sites.
SyncE provides a cost-effective alternative to the Synchronous Optical Networking (SONET) networks. For SyncE to work, each network element along the synchronization path must support SyncE. To implement SyncE, the bit clock of the Ethernet is aligned to a reliable clock that is traceable to the Primary Reference Clock (PRC).
Network clocking uses the following mechanisms to exchange the quality level of the clock between the network elements:
Network elements use Synchronization Status Messages (SSM) to inform the neighboring elements about the Quality Level (QL) of the clock. Non-Ethernet interfaces, such as optical interfaces and T1 or E1 SPA frames, use SSM. The key benefits of SSMs are:
In order to maintain a logical communication channel in synchronous network connections, Ethernet relies on a channel called the Ethernet Synchronization Messaging Channel (ESMC), which is based on the IEEE 802.3 Organization-Specific Slow Protocol (OSSP) standards. ESMC relays the SSM code that represents the quality level of the Ethernet Equipment Clock (EEC) in a physical layer.
The ESMC packets are received only for the ports configured as clock sources, and transmitted on all the SyncE interfaces in the system. These packets are then processed by the clock selection algorithm on route processors (RP) and are used to select the best clock. The Tx frame is generated based on the QL value of the selected clock source, and sent to all the enabled SyncE ports.
The clock selection algorithm selects the best available synchronization source from the nominated sources. This algorithm exhibits nonrevertive behavior among the clock sources with the same QL value, and always selects the signal with the best QL value. For clock option 1, the default is revertive, and for clock option 2, the default is nonrevertive.
The clock selection process works in the following modes:
When multiple selection processes are present in a network element, all the processes work in the same mode.
In QL-enabled mode, the following parameters contribute to the selection process:
If no external commands are active, the algorithm selects the reference (for clock selection) with the highest QL that does not experience a signal fail condition. If multiple inputs have the same highest QL, the input with the highest priority is selected. For multiple inputs having the same highest priority and QL, the existing reference is maintained (if it belongs to the highest priority and QL group). Otherwise, an arbitrary reference from the highest priority and QL group is selected.
In QL-disabled mode, the following parameters contribute to the selection process:
If no external commands are active, the algorithm selects the reference (for clock selection) with the highest priority that does not experience a signal fail condition. For multiple inputs having the same highest priority, the existing reference is maintained (if it belongs to highest priority group). Otherwise, an arbitrary reference from highest priority group is selected.
product="name=">Hybrid Mode
This section lists the restrictions for configuring network synchronization on a router.
![]() Note |
The Line to External feature is not supported on the Cisco 8500 Series Catalyst Edge Platform. |
You can configure network synchronization on the Cisco 8500 Series Catalyst Edge Platform by performing one of the following procedures:
This section describes how to configure clock recovery by using the SyncE method.
Command or Action | Purpose | |
---|---|---|
Step 1 |
configure terminal Example:
|
Enters the global configuration mode. |
Step 2 |
network-clock synchronization automatic Example:
|
Enables the network clock selection algorithm. This command disables the Cisco-specific network clock process, and turns on the G.781-based automatic clock selection process. |
Step 3 |
network-clock synchronization ssm option {1 | 2 {GEN1 | GEN2}} Example:
|
Configures the equipment to work in a synchronization network. The option_id value 1 refers to a synchronization network design for Europe. This is the default value. The option_id value 2 refers to a synchronization network design for the U.S. |
Step 4 |
interface gigabitethernet slot/card/port Example:
|
Specifies the Gigabit Ethernet interface to be configured: slot/card/port—Specifies the location of the interface. |
Step 5 |
synchronous mode Example:
|
Sets the mode to synchronous mode. |
Step 6 |
exit Example:
Example:
|
Exits the global configuration mode. |
Step 7 |
network-clock input-source priority {interface interface-name slot/card/port | {external slot/card/port }} Example:
Example:
Example:
Example:
|
Enables clock recovery from SyncE. The Cisco Catalyst 8500 Series Edge Platforms router supports two RP ports, one active and the other standby. |
Step 8 |
exit Example:
|
Exits the global configuration mode. |
The following example shows how to configure clock recovery from SyncE:
Router# configure terminal
Router(config)# network-clock synchronization automatic
Router(config)# network-clock synchronization ssm option 2 GEN1
Router(config)# interface gigabitethernet 0/2/0
Router(config-if)# synchronous mode
Router(config)# exit
Router(config)# network-clock input-source 1 interface gigabitethernet 0/2/0
Router(config)# exit
Manage synchronization on a Cisco 8500 Series Catalyst Edge Platform using the following management commands:
Use the network-clock synchronization mode QL-enabled command in the global configuration mode to configure the automatic selection process for the QL-enabled mode. This succeeds only if the SyncE interfaces are capable of sending SSMs.
The following example shows how to configure network clock synchronization (QL-enabled mode) in the global configuration mode:
Router(config)# network-clock synchronization mode QL-enabled
Use the esmc process command in the global configuration mode to enable the ESMC process at system level. The no form of this command disables the ESMC process. The no form of this command fails if no SyncE-capable interface is installed on the platform.
The following example shows how to enable the ESMC process in the global configuration mode:
Router(config)# esmc process
Use the esmc mode [tx | rx] command in the interface configuration mode to enable the ESMC process at the interface level. The no form of the command disables the ESMC process.
The following example shows how to enable ESMC in the interface configuration mode:
Router(config-if)# esmc mode tx
Use the network-clock source quality-level command in the interface configuration mode to configure the QL value for ESMC on a gigabit Ethernet port. The value is based on global interworking options:
The following example shows how to configure the network-clock source quality-level in the interface configuration mode:
Router(config-if)# network-clock source quality-level QL-PRC rx
Use the network-clock quality-level command in the global configuration mode to configure the QL value for the SSMs on a BITS port.
The following example shows how to configure network-clock quality-level command in the global configuration mode:
Router(config)# network-clock quality-level rx qL-pRC external R0 2048k
Use the network-clock wait-to-restore timer global command to set the wait-to-restore time. You can configure the wait-to-restore time to any value between 0 to 86400 seconds. The default value is 300 seconds. The wait-to-restore timer can be set in the global configuration mode and the interface configuration mode.
The following example shows how to configure the wait-to-restore timer in the global configuration mode:
Router(config)# network-clock wait-to-restore 10 global
The following example shows how to configure the wait-to-restore timer in the interface configuration mode:
Router(config)# interface gigabitethernet 0/2/0
Router(config-if)# network-clock wait-to-restore 10
Use the network-clock hold-off timer global command to configure hold-off time. You can configure the hold-off time to either 0 or any value between 50 to 10000 ms. The default value is 300 ms. The network-clock hold-off timer can be set in the global configuration mode and the interface configuration mode.
The following example shows how to configure the hold-off timer:
Router(config-if)# network-clock hold-off 50 global
Use the network-clock switch force command to forcefully select a synchronization source irrespective of whether the source is available, and within range.
The following example shows how to configure a force switch:
Router# network-clock switch force interface gigabitethernet 0/2/0
Use the network-clock switch manual command to manually select a synchronization source, provided the clock source has a higher quality level than the currently active clock.
The following example shows how to configure a manual switch:
Router# network-clock switch manual interface gigabitethernet 0/2/0
Use the network-clock clear switch controller-id command to clear the manual, or switch it on by force.
The following example shows how to clear a switch:
Router# network-clock clear switch t0
Use the network-clock set lockout command to lockout a clock source. A clock source flagged as lockout is not selected for SyncE. To clear the lock-out on a source, use the network-clock clear lockout command.
The following example shows how to lock out a clock source:
Router# network-clock set lockout interface gigabitethernet 0/2/0
The following example shows how to clear the lock out on a clock source:
Router# network-clock clear lockout interface gigabitethernet 0/2/0
Use the following commands to verify the network synchronization configuration:
Router# show network-clock synchronization
Symbols: En - Enable, Dis - Disable, Adis - Admin Disable
NA - Not Applicable
* - Synchronization source selected
# - Synchronization source force selected
& - Synchronization source manually switched
Automatic selection process : Enable
Equipment Clock : 1544 (EEC-Option2)
Clock Mode : QL-Enable
ESMC : Enabled
SSM Option : GEN1
T0 : External R0 t1 esf
Hold-off (global) : 300 ms
Wait-to-restore (global) : 300 sec
Tsm Delay : 180 ms
Revertive : No
Force Switch: FALSE
Manual Switch: FALSE
Number of synchronization sources: 2
sm(netsync NETCLK_QL_ENABLE), running yes, state 1A
Last transition recorded: (src_rem)-> 1A (src_added)-> 1A (src_rem)-> 1A (src_added)-> 1A (ql_change)-> 1A (sf_change)-> 1A (force_sw)-> 1C (clear_sw)-> 1A (sf_change)-> 1A (sf_change)-> 1A
Nominated Interfaces
Interface SigType Mode/QL Prio QL_IN ESMC Tx ESMC Rx
Internal NA NA/Dis 251 QL-ST3 NA NA
Gi1/2/0 NA Sync/En 1 QL-FAILED - -
*External R0 T1 ESF NA/En 2 QL-STU NA NA
Router# show network-clock synchronization detail
Symbols: En - Enable, Dis - Disable, Adis - Admin Disable
NA - Not Applicable
* - Synchronization source selected
# - Synchronization source force selected
& - Synchronization source manually switched
Automatic selection process : Enable
Equipment Clock : 1544 (EEC-Option2)
Clock Mode : QL-Enable
ESMC : Enabled
SSM Option : GEN1
T0 : External R0 t1 esf
Hold-off (global) : 300 ms
Wait-to-restore (global) : 300 sec
Tsm Delay : 180 ms
Revertive : No
Force Switch: FALSE
Manual Switch: FALSE
Number of synchronization sources: 2
sm(netsync NETCLK_QL_ENABLE), running yes, state 1A
Last transition recorded: (src_rem)-> 1A (src_added)-> 1A (src_rem)-> 1A (src_added)-> 1A (ql_change)-> 1A (sf_change)-> 1A (force_sw)-> 1C (clear_sw)-> 1A (sf_change)-> 1A (sf_change)-> 1A
Nominated Interfaces
Interface SigType Mode/QL Prio QL_IN ESMC Tx ESMC Rx
Internal NA NA/Dis 251 QL-ST3 NA NA
Gi1/2/0 NA Sync/En 1 QL-FAILED - -
*External R0 T1 ESF NA/En 2 QL-STU NA NA
Interface:
---------------------------------------------
Local Interface: Internal
Signal Type: NA
Mode: NA(Ql-enabled)
SSM Tx: Disable
SSM Rx: Disable
Priority: 251
QL Receive: QL-ST3
QL Receive Configured: -
QL Receive Overrided: -
QL Transmit: -
QL Transmit Configured: -
Hold-off: 0
Wait-to-restore: 0
Lock Out: FALSE
Signal Fail: FALSE
Alarms: FALSE
Slot Disabled: FALSE
Local Interface: Gi1/2/0
Signal Type: NA
Mode: Synchronous(Ql-enabled)
ESMC Tx: Disable
ESMC Rx: Enable
Priority: 1
QL Receive: QL-PRS
QL Receive Configured: -
QL Receive Overrided: QL-FAILED
QL Transmit: QL-DUS
QL Transmit Configured: -
Hold-off: 300
Wait-to-restore: 300
Lock Out: FALSE
Signal Fail: FALSE
Alarms: TRUE
Slot Disabled: FALSE
Local Interface: External R0
Signal Type: T1 ESF
Mode: NA(Ql-enabled)
SSM Tx: Disable
SSM Rx: Enable
Priority: 2
QL Receive: QL-STU
QL Receive Configured: -
QL Receive Overrided: -
QL Transmit: -
QL Transmit Configured: -
Hold-off: 300
Wait-to-restore: 300
Lock Out: FALSE
Signal Fail: FALSE
Alarms: FALSE
Slot Disabled: FALSE
Router# show esmc
Interface: GigabitEthernet0/0/0
Administative configurations:
Mode: Synchronous
ESMC TX: Enable
ESMC RX: Enable
QL TX: -
QL RX: -
Operational status:
Port status: UP
QL Receive: QL-PRC
QL Transmit: QL-DNU
QL rx overrided: -
ESMC Information rate: 1 packet/second
ESMC Expiry: 5 second
Interface: GigabitEthernet0/0/0
Administrative configurations:
Mode: Synchronous
ESMC TX: Enable
ESMC RX: Enable
QL TX: -
QL RX: -
Operational status:
Port status: UP
QL Receive: QL-DNU
QL Transmit: QL-DNU
QL rx overrided: QL-DNU
ESMC Information rate: 1 packet/second
ESMC Expiry: 5 second
Router# show esmc detail
Router#show esmc detail
Interface: GigabitEthernet0/0/0
Administative configurations:
Mode: Synchronous
ESMC TX: Enable
ESMC RX: Enable
QL TX: -
QL RX: QL-PRS
Operational status:
Port status: UP
QL Receive: QL-DUS
QL Transmit: QL-ST3
QL rx overrided: QL-DUS
ESMC Information rate: 1 packet/second
ESMC Expiry: 5 second
ESMC Tx Timer: Running
ESMC Rx Timer: Running
ESMC Tx interval count: 1
ESMC INFO pkts in: 0
ESMC INFO pkts out: 256
ESMC EVENT pkts in: 0
ESMC EVENT pkts out: 0
![]() Note |
Before you troubleshoot, ensure that all the network synchronization configurations are complete. |
The following table provides information about troubleshooting scenarios that you may encounter while configuring network synchronization.
Problem |
Solution |
---|---|
Incorrect clock selection |
|
Incorrect QL values |
Ensure that there is no framing mismatch with the SSM option. |
Incorrect clock limit set or queue limit disabled mode |
Router#show network-clock synchronization Symbols: En - Enable, Dis - Disable, Adis - Admin Disable NA - Not Applicable * - Synchronization source selected # - Synchronization source force selected & - Synchronization source manually switched Automatic selection process : Enable Equipment Clock : 1544 (EEC-Option2) Clock Mode : QL-Enable ESMC : Enabled SSM Option : GEN1 T0 : External R0 t1 esf Hold-off (global) : 300 ms Wait-to-restore (global) : 300 sec Tsm Delay : 180 ms Revertive : No Force Switch: FALSE Manual Switch: FALSE Number of synchronization sources: 2 sm(netsync NETCLK_QL_ENABLE), running yes, state 1A Last transition recorded: (src_rem)-> 1A (src_added)-> 1A (src_rem)-> 1A (src_added)-> 1A (ql_change)-> 1A (sf_change)-> 1A (force_sw)-> 1C (clear_sw)-> 1A (sf_change)-> 1A (sf_change)-> 1A |
Incorrect QL values observed when you use the show network-clock synchronization detail command |
Use the network-clock synchronization SSM (option 1 |option 2 ) command to confirm that there is no framing mismatch. Use the show run interface command to validate the framing for a specific interface. For SSM option 1 , framing should be SDH or E1, and for SSM option 2 , it should be T1. |
Mismatched Physical line coding mechanisms between clock source and input source on the router |
To ensure that this feature works correctly, both the ends need to be configured with identical physical line coding mechanism and encapsulation values. |