Step 1
|
enable
|
Enables privileged EXEC mode.
|
Step 2
|
configure terminal
Router# configure terminal
|
Enter global configuration mode.
|
Step 3
|
network-clock synchronization automatic
Router(config)# network-clock synchronization automatic
|
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.
Note
|
This command must be configured before any input source.
|
|
Step 4
|
network-clock eec {1 |2 }
Router(config)# network-clock eec 1
|
Specifies the Ethernet Equipment Clock (EEC) type. Valid values are
|
Step 5
|
network-clock ynchronization ssm option {1 |2 {GEN1 | GEN2 }}
Router(config)# network-clock synchronization ssm option 2 GEN1
|
Configures the G.781 synchronization option used to send synchronization messages. The following guidelines apply for this
command:
-
Option 1 refers to G.781 synchronization option 1, which is designed for Europe. This is the default value.
-
Option 2 refers to G.781 synchronization option 2, which is designed for the United States.
-
GEN1 specifies option 2 Generation 1 synchronization.
-
GEN2 specifies option 2 Generation 2 synchronization.
|
Step 6
|
network-clock input-source
priority {interface interface_id |ptp domain
domain_num |{external {R0 | R1 [{t1 {sf | esf } linecode {ami | b8zs } line-build-out
length } | e1 [crc4 | fas ] [125ohm | 75ohm ] linecode [hdb3 | ami ] } | 10m ] }}
Router(config)# network-clock input-source 1 interface GigabitEthernet 0/0/0
Router(config)# network-clock input-source 1 external R0 1hz
Router(config)# network-clock input-source 2 controller t1 0/2/0
Router(config)# network-clock input-source 3 ptp domain 4
|
Enables you to select an interface as an input clock for the router. You can select WAN interfaces (Gigabit Ethernet 0/0/0,
Gigabit Ethernet 0/0/1), T1/E1 controllers, or an external interface. Selection priority for the clock source (1 is the highest
priority). When the higher-priority clock source fails, the next-higher-priority clock source is selected.
Note
|
Before configuring ethernet intreface as clock source, you should configure synchronous mode under interface configuration.
SyncE is not supported on LAN interfaces.
|
|
Step 7
|
network-clock synchronization mode ql-enabled
Router(config)# network-clock synchronization mode ql-enabled
|
Enables automatic selection of a clock source based on quality level (QL).
|
Step 8
|
network-clock wait-to-restore
seconds
global
Router(config)# network-clock wait-to-restore 70 global
|
(Optional) Configures a global wait-to-restore timer for synchronous Ethernet clock sources. The timer specifies how long
the router waits before including a restored clock source in the clock selection process.
Valid values are 0 to 86400 seconds. The default value is 300 seconds.
|
Step 9
|
esmc process
Router(config)# esmc process
|
Enables the ESMC process globally.
|
Step 10
|
network-clock quality-level {tx | rx } value {interface
interface-id | controller [E1 | BITS ] slot/card/port | external [2m | 10m ] }
Router(config)# network-clock quality-level tx QL-SSU-A interface GigabitEthernet 0/0/0
Router(config)# network-clock quality-level rx QL-SSU-A interface GigabitEthernet 0/0/0
Router(config)# network-clock quality-level rx ql-prc external r0 1hz
|
Specifies a quality level for a line or external clock source.
The available quality values depend on the G.781 synchronization settings specified by the network-clock synchronization ssm option command:
-
Option 1—Available values are QL-PRC, QL-SSU-A, QL-SSU-B, QL-SEC, and QL-DNU.
-
Option 2, GEN1—Available values are QL-PRS, QL-STU, QL-ST2, QL-SMC, QL-ST4, and QL-DUS.
-
Option 2, GEN 2—Available values are QL-PRS, QL-STU, QL-ST2, QL-TNC, QL-ST3, QL-SMC, QL-ST4, and QL-DUS.
|
Step 11
|
interface
interface-id
Device(config)# interface gigabitethernet 0/0/0
|
Specifies a trunk interface and enters interface configuration mode.
|
Step 12
|
network-clock source quality-level
value {tx |rx }
Router(config-if)# network-clock source quality-level QL-PRS tx
|
(Optional) Provides the forced QL value to the local clock selection process.
|
Step 13
|
synchronous mode
Router(config-if)# synchronous mode
|
Configures the Ethernet interface to synchronous mode and automatically enables the ESMC and QL process on the interface.
|
Step 14
|
end
|
Exits interface configuration mode and returns to privileged EXEC mode.
|