Chapter 2 Definitions of Command Line
2.8 Relevant command of clock
2.8.1 device clock local
[Function]
Configure the internal clock source. There is no command to delete the clock source.
device clock local priority <1-5> [quality (prc|ssua|ssub|sec|dnu| received)]
no device clock local [Parameter]
<1-5>: the priority of the clock
(prc | ssu-a | ssu-b | sec | dnu | received): the clock quality levels. prc: reference clock in line with G.811 recommendations; ssua: SSU-A-level clock in line with G.812 recommendations;
ssub: SSU-B-level clock in line with G.812 recommendations; sec: device clock in line with the G.813 recommendations; dnu: can not be used for synchronization; received: automatically extracted from the received signal..
[Default]
Default to be dnu when quality level hasn’t been configured.
[Command modes]
Global configuration mode [Executing Command Instruction]
Quality level is configurable only when SSM enables.
[Example]
Configure the priority of the internal clock as 1 and quality level is taken to prc:
OPCOM3107 (config)# device clock local priority 1 quality prc [Related commands]
Commands Description show device clock Show device clock information.
2.8.2 device clock sdh-port
[Function]
Configure sdh line clock source. There is no command to delete the clock source.
device clock sdh-port <1-2> priority <1-5> [quality (prc|ssua|ssub|sec|dnu| received)]
no device clock sdh-port <1-2>
[Parameter]
<1-2>: SDH port ID
<1-5>: the priority of the clock
(prc | ssu-a | ssu-b | sec | dnu | received): the clock quality levels. prc: reference clock in line
with G.811 recommendations; ssua: SSU-A-level clock in line with G.812 recommendations;
ssub: SSU-B-level clock in line with G.812 recommendations; sec: device clock in line with the G.813 recommendations; dnu: can not be used for synchronization; received: automatically extracted from the received signal..
[Default]
Default to be dnu when quality level hasn’t been configured.
[Command modes]
Global configuration mode [Executing Command Instruction]
Quality level is configurable only when SSM enables.
[Example]
Configure the clock priority on sdh port 1 as 1 and quality level is taken to prc:
OPCOM3107 (config)# device clock sdh-port 1 priority 1 quality prc [Related commands]
Commands Description show device clock Show device clock information.
2.8.3 device clock e1
[Function]
Configure E1 line clock source. There is no command to delete the clock source.
device clock e1 <1-4> priority <1-5> [quality (prc|ssua|ssub|sec|dnu| received)]
no device clock e1 <1-4>
[Parameter]
<1-4>: E1 port ID
<1-5>: the priority of the clock
(prc | ssu-a | ssu-b | sec | dnu | received): the clock quality levels. prc: reference clock in line with G.811 recommendations; ssua: SSU-A-level clock in line with G.812 recommendations;
ssub: SSU-B-level clock in line with G.812 recommendations; sec: device clock in line with the G.813 recommendations; dnu: can not be used for synchronization; received: automatically extracted from the received signal..
[Default]
Default to be dnu when quality level hasn’t been configured.
[Command modes]
Global configuration mode [Executing Command Instruction]
Quality level is configurable only when SSM enables.
[Example]
Configure the clock priority on E1 port 1 as 1 and quality level is taken to prc:
OPCOM3107 (config)# device clock e1 1 priority 1 quality prc [Related commands]
Commands Description show device clock Show device clock information.
2.8.4 device clock clear local
[Function]
Clear the user commands in internal clock source, so that the clock source configured priority is to automatically switch.
device clock clear local [Command modes]
Global configuration mode [Example]
Clear the user commands of the internal clock:
OPCOM3107 (config)# device clock clear local [Related commands]
Commands Description show device clock Show device clock information.
2.8.5 device clock clear sdh-port
[Function]
Clear the user commands acts on line clock source to auto-switch the clock source that has been configured with priority.
device clock clear sdh-port <1-2>
[Parameter]
<1-2>: SDH port ID [Command modes]
Global configuration mode [Example]
Clear the user commands of the sdh line clock 1:
OPCOM3107 (config)# device clock clear sdh-port 1 [Related commands]
Commands Description show device clock Show device clock information.
2.8.6 device clock clear e1
[Function]
Force to switch the clock source to internal clock source.
device clock clear e1 <1-4>
[Parameter]
<1-4>: E1 port ID [Command modes]
Global configuration mode [Example]
Clear the user commands of the E1 line clock 1:
OPCOM3107 (config)# device clock clear e1 1 [Related commands]
Commands Description show device clock Show device clock information.
2.8.7 device clock force-switch local
Function]
Force to switch the clock source to internal clock source.
device clock force-switch local [Command modes]
Global configuration mode [Example]
Force to switch to internal clock source:
OPCOM3107 (config)# device clock force-switch local [Related commands]
Commands Description show device clock Show device clock information.
device clock clear Clear the user commands device clock mode Configure device clock mode
2.8.8 device clock force-switch sdh-port
[Function]
Force to switch to sdh line clock source.
device clock force-switch local sdh-port <1-2>
[Parameter]
<1-2>: SDH port ID [Command modes]
Global configuration mode [Example]
Force to switch to sdh line clock 2:
OPCOM3107 (config)# device clock force-switch sdh-port 2 [Related commands]
Commands Description show device clock Show device clock information.
device clock clear Clear the user commands device clock mode Configure device clock mode
2.8.9 device clock force-switch e1
[Function]
Force to switch clock source.
device clock force-switch e1 <1-4>
[Parameter]
<1-4>: E1 port ID [Command modes]
Global configuration mode [Example]
Force to switch to e1 line clock 2:
OPCOM3107 (config)# device clock force-switch e1 2 [Related commands]
Commands Description show device clock Show device clock information.
device clock clear Clear the user commands device clock mode Configure device clock mode
2.8.10 device clock lockout local
[Function]
Clock source lockout command device clock lockout local [Default]
No lockout.
[Command modes]
Global configuration mode [Executing Command Instruction]
Use the clear command to cancel the clock source lock out.
[Example]
Lockout the internal clock:
OPCOM3107 (config)# device clock lockout local [Related commands]
Commands Description show device clock Show device clock information.
device clock clear Clear the user commands
2.8.11 device clock lockout sdh-port
[Function]
Clock source lockout command.
device clock lockout sdh-port <1-2>
[Parameter]
<1-2>: SDH port ID [Default]
No lockout.
[Command modes]
Global configuration mode [Executing Command Instruction]
Use the clear command to cancel the clock source locked.
[Example]
Lock sdh line clock 1:
OPCOM3107 (config)# device clock lockout sdh-port 1 [Related commands]
Commands Description show device clock Show device clock information.
device clock clear Clear the user commands
2.8.12 device clock lockout e1
[Function]
Clock source lockout command device clock lockout e1 <1-4>
[Parameter]
<1-4>: e1 port ID.
[Default]
No lockout.
[Command modes]
Global configuration mode [Executing Command Instruction]
Use the clear command to cancel the clock source locked.
[Example]
Lockout e1 line clock 2:
OPCOM3107 (config)# device clock lockout e1 2 [Related commands]
Commands Description show device clock Show device clock information.
device clock clear Clear the user commands
2.8.13 device clock manual-switch local
[Function]
Manually switch to clock source.
device clock manual-switch local [Command modes]
Global configuration mode [Example]
Manually switch to internal clock:
OPCOM3107 (config)# device clock manual-switch local [Related commands]
Commands Description
show device clock Show device clock information.
device clock clear Clear the user commands device clock mode Configure device clock mode
2.8.14 device clock manual-switch sdh-port
[Function]
Switch clock source manually
device clock manual-switch sdh-port <1-2>
[Parameter]
<1-2>: sdh port ID [Command modes]
Global configuration mode [Example]
Manually switch to sdh line clock 2:
OPCOM3107 (config)# device clock manual-switch sdh-port 2 [Related commands]
Commands Description show device clock Show device clock information.
device clock clear Clear the user commands device clock mode Configure device clock mode
2.8.15 device clock manual-switch e1
[Function]
Switch clock source manually
device clock manual-switch e1 <1-4>
[Parameter]
<1-4>: e1 port ID [Command modes]
Global configuration mode [Example]
Manually switch to e1 line clock 2:
OPCOM3107 (config)# device clock manual-switch e1 2 [Related commands]
Commands Description show device clock Show device clock information.
device clock clear Clear the user commands device clock mode Configure device clock mode
2.8.16 device clock pll
[Function]
Configure operating status of the device clock PLL.
device clock pll (lock |freerun) [Parameter]
(lock | freerun): PLL operating mode. lock : tracking mode; freerun : free-running mode (to switch to local oscillator for OPCOM3107).
[Default]
PLL is tracking mode by default.
[Command modes]
Global configuration mode [Example]
Configure current device phase-locked loop in free-running mode:
OPCOM3107 (config)# device clock pll freerun [Related commands]
Commands Description show device clock mode Show device clock information.
2.8.17 device clock reset local
[Function]
Restart clock source in an abnormal status.
device clock reset local [Command modes]
Global configuration mode [Example]
Restart internal clock:
OPCOM3107 (config)# device clock reset local [Related commands]
Commands Description show device clock Show device clock information.
2.8.18 device clock reset sdh-port
[Function]
Restart clock source in an abnormal status.
device clock reset sdh-port <1-2>
[Parameter]
<1-2>: sdh port ID.
[Command modes]
Global configuration mode [Example]
Restart sdh line clock 2:
OPCOM3107 (config)# device clock reset sdh-port 2 [Related commands]
Commands Description Show device clock Show device clock information.
2.8.19 device clock reset e1
[Function]
Restart clock source in an abnormal status.
device clock reset-switch e1<1-2>
[Parameter]
<1-4>: e1 port ID.
[Command modes]
Global configuration mode [Example]
Restart e1 line clock 2:
OPCOM3107 (config)# device clock reset e1 2 [Related commands]
Commands Description Show device clock Show device clock information.
2.8.20 device clock wait-to-restore-time
[Function]
Configure wait-to-restore-time
device clock wait-to-restore-time <0-12>
[Parameter]
<0-12>: a high-priority clock recovery, clock switching latency from low-priority to high-priority clock, recording on minutes, 0 indicated no wait.
[Default]
5 min
[Command modes]
Global configuration mode [Example]
Configure wait-to-restore-time as 0:
OPCOM3107 (config)# device clock restore-time 0 [Related commands]
Commands Description device clock Configure external and internal clock source show device clock Show device clock information.
2.8.21 device clock ssm
[Function]
Configure device clock SSM function device clock ssm (standard|extend|disable) [Parameter]
(standard | extend | disable): SSM function enabled option. standard: enable the standard SSM functions; diasble: dsiable SSM function, extend: enable SSM expansion function.
[Default]
diasble
[Command modes]
Global configuration mode [Example]
Enable SSM functions:
OPCOM3107 (config)# device clock ssm standard [Related commands]
Commands Description device clock Configure external and internal clock source show device clock Show device clock information.
2.8.22 device clock local id
[Function]
Configure clock source ID device clock local id <0-15>
[Parameter]
<0-15>: ID [Command modes]
Global configuration mode [Example]
Configure inner clock ID as 8:
OPCOM3107 (config)# device clock local id 8 [Related commands]
Commands Description show device clock Show device clock information.
2.8.23 device clock sdh-port id
[Function]
Configure clock source ID
device clock sdh-port <1-2> id <0-15>
[Parameter]
<1-2>: sdh port ID
<0-15>: ID [Command modes]
Global configuration mode [Example]
Configure sdh line clock 1 ID as 8:
OPCOM3107 (config)# device clock sdh-port 1 id 8 [Related commands]
Commands Description show device clock Show device clock information.
2.8.24 device clock e1 id
[Function]
Configure clock source ID
device clock e1 <1-4> id <0-15>
[Parameter]
<1-4>: e1 port ID
<0-15>: ID [Command modes]
Global configuration mode [Example]
Configure e1 line clock 1 ID as 8:
OPCOM3107 (config)# device clock e1 1 id 8 [Related commands]
Commands Description Show device clock Show device clock information.
2.8.25 show device clock
[Function]
Configure device clock information show device clock
[Command modes]
Privileged EXECmode; Global configuration mode [Example]
Show clock information:
OPCOM3107# show device clock [Related commands]
Commands Description device clock mode Configure clock mode.
device clock manual-switch Configure manual-switch clock source device clock sdh-port 1 priority 1 Configure clock prority