- Table of Contents
-
- H3C S9500 Command Manual-Release1648[v1.24]-08 System Volume
- 00-1Cover
- 01-Command Line Interface Commands
- 02-Login and User Interface Commands
- 03-FTP and TFTP Commands
- 04-HA Commands
- 05-NQA Commands
- 06-NetStream Commands
- 07-NTP Commands
- 08-RMON Commands
- 09-SNMP Commands
- 10-Packet Statistics Accounting Commands
- 11-Device Management Commands
- 12-Configuration File Management Commands
- 13-File System Management Commands
- 14-Cluster Management Commands
- 15-System Maintenance and Debugging Commands
- 16-Information Center Commands
- 17-PoE Commands
- 18-Clock Module Commands
- 19-ACSEI Server Commands
- 20-OAP Module Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
18-Clock Module Commands | 65.95 KB |
Table of Contents
Chapter 1 Clock Module Commands
1.1.12 display clock basephase
1.1.15 display clock self-test-result
1.1.17 display clock ssm-level
1.1.18 display clock ssm-output
1.1.19 display clock phase-lock-state
1.1.20 display clock work-mode
Chapter 1 Clock Module Commands
1.1 Clock Module Commands
1.1.1 clock
Syntax
clock { auto | manual source source-no }
undo clock work-mode
View
System view
Parameters
auto: The clock works in the auto mode.
manual: The clock works in the manual mode.
source: Sets the primary clock source in manual mode.
source-no: Index of clock source, ranging from 1 to 18.
Description
Use the clock command to set the work mode of the clock module on the main processing card (SRPU), namely, the mode of clock selecting clock source, including auto mode and manual mode.
Use the undo clock work-mode command to restore the work mode of clock module on the SRPU to the default value. By default, the work mode of the clock module on the SRPU is auto mode.
If it is necessary to set the clock source, you need to query the state of the clock source first. Only the clock source working normally can be selected.
1) In the manual mode, the clock module does not switch the clock source actively; it only traces the specified primary clock source. The set clock source priority and SSM level are not involved in control. If the primary clock source is lost, the phase lock state of the clock module switches into Hold.
2) In auto mode
l If SSM is not involved in control, the set SSM level will be neglected, and the clock module will select a clock source by priority. If two clock sources have the same priority, they will be selected in the high-to-low order from clock source 1 to clock source 18. If the available clock source with the highest priority is lost, the next available clock source with the highest priority will be selected automatically. When the original clock source recovers, the clock module will switch to the original clock source. In this case, the manually set primary clock source will not work.
l If SSM is engaged in control, the clock module will select a clock source by SSM level first. If two clock sources have the same SSM level, they will be selected by the priority. If they have the same priority, they will be selected in high-to-low order from clock source 1 to clock source 18. If the available clock source with highest SSM level is lost, it will be switched to the next available clock source with the highest SSM level automatically. When the original clock source recovers, the clock module will switch back to the original clock source. In this case, the manually set primary clock source will not work.
3) Clock sources not engaged in switching
The following clock sources are neglected during clock source selection (when SSM is engaged in control):
l Clock sources whose signal is lost are unavailable clock sources, and are not engaged in switching.
l Clock sources with the priority of 0xFF are unconfigured clock sources, and are not engaged in switching.
l Clock sources with the SSM level being DNU should not be used for synchronization, and are not engaged in switching.
Examples
# Set the work mode of clock module on the SRPU to manual and use the primary clock source 1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] clock manual source 1
# Restore the work mode of clock module to auto.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C]undo clock work-mode
1.1.2 clock forcessm
Syntax
clock forcessm { on | off } source source-no
View
System view
Parameters
on: SSM is not extracted from clock source, namely, SSM is manually configured.
off: SSM is extracted from the clock source, and the configured SSM is invalid.
source-no: The number of the clock source, ranging from 1 to 18.
Description
Use the clock forcessm command to configure whether to use extracted or manually configured SSM.
Related commands: clock ssm.
Examples
# Use SSM extracted from clock source 10.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] clock forcessm off source 10
1.1.3 clock lpuport
Syntax
clock lpuport { port-type port-number | port-name }
View
System view
Parameters
port-type: Type of port.
port-number: Number of port.
port-name: Name of port.
Description
Use the clock lpuport command to select the input port of the line clock source of the interface card.
& Note:
For the WAN card, when the clock mode of the selected port is slave, this command selects the clocks input by the interface card to the clock pitch board on the SRPU. The clock pinch board selects the most precise clock signal as the clock source of the card for sending services. Therefore, for the WAN card, when the clock mode is the slave mode, use this command to select the port of the card for taking the clock source.
Examples
# Set the output port of the line clock source of the POS interface card 3 to port 1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] clock lpuport POS 3/1/1
1.1.4 clock priority
Syntax
clock priority value source source-no
undo clock priority source source-no
View
System view
Parameters
value: Priority level, ranging from 1 to 18 or 255.
source-no: The index of clock source, ranging from 1 to 18.
Description
Use the clock priority command to set the priority level of the clock source of the clock module.
Use the undo clock priority command to restore the priority level of the clock source of the clock module to the default value which is 255.
Examples
# Set the priority level of clock source 2 to 2.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] clock priority 2 source 2
# Restore the priority level of clock source 2 to the default value.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] undo clock priority source 2
1.1.5 clock sa-bit
Syntax
clock sa-bit { sa4 | sa5 | sa6 | sa7 | sa8 } source source-no
undo clock sa-bit source source-no
View
System view
Parameters
source-no: Number of the Bits clock source, ranging from 1 to 2.
sa4: Time slot of sa4 bit.
sa5: Time slot of sa5 bit.
sa6: Time slot of sa6 bit.
sa7: Time slot of sa7 bit.
sa8: Time slot of sa8 bit.
Description
Use the clock sa-bit command to set the time slot of a Bits clock source.
Use the undo clock sa-bit command to restore the time slot of a Bits clock source to the default value.
By default, the time slot of a Bits clock value is sa4.
sa4 to sa8 refer to the five bits, sa4 to sa8, of CRC4 multiple-frame even-frame time slot 0, one of which can be selected by the carrier to carry the SSM information according to ITU-T G.704.
Examples
# Set the time slot of Bits clock source 1 to sa5.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] clock sa-bit sa5 source 1
# Restore the time slot of Bits clock source 1 to the default value, namely sa4.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] undo clock sa-bit source 1
1.1.6 clock ssm
Syntax
clock ssm { dnu | lnc | prc | sets | tnc | unknown } source source-no
undo clock ssm source source-no
View
System view
Parameters
dnu: Should be used for synchronization (DNU).
lnc: G.812 local node clock signal (LNC).
prc:G.811 clock signal (PRC).
sets: Clock source signal of SDH equipment (SETS).
tnc: G.812 transfer node clock signal (TNC).
unknown: The quality of synchronization is unknown.
source-no: Number of clock source, ranging from 1 to 18.
Description
Use the clock ssm command to set the SSM level of each clock source.
Use the undo clock ssm command to restore the SSM level of each clock source to the default value. By default, the SSM level of each clock source is unknown (the quality of synchronization is unknown).
Note that:
l For line clock source, the set SSM level is the SSM level of the clock source.
l For Bits clock source, if the input signal is 2048 kbps (E1) and SSM is engaged in control, the SSM level of the clock source is the SSM level extracted from the input signal, and the set SSM level is neglected.
l For Bits clock source, if the input signal is 2048kHz signal, or the input signal is 2048kbits/s signal but SSM is not engaged in control, the set SSM level is the SSM level of the clock source.
SSM means Synchronization Status Marker, which is also referred to as synchronous quality information. It is used to indicate the level of synchronous timing signal in synchronous timing transfer link. For line clock sources, SSM level is extracted by the interface card and reported to the SRPU, and then the SRPU sets the SSM level of the line clock source for the clock module.
When the clock module is powered on, the default SSM level of all clock sources is unknown (the quality of synchronization is unknown). From high to low, the order of SSM levels is: PRC > TNC > LNC > SETS > unknown > DNU. If the SSM level of a clock source is DNU and SSM is engaged in control, the clock source will not be selected during clock source switching.
The SRPU will notify the corresponding interface card about the SSM level after setting the SSM level. If the SSM level of the line clock source can be extracted, the set SSM level will be invalidated. Otherwise, the set SSM level will apply.
Examples
# Set the SSM level of clock source 1 to DNU.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] clock ssm dnu source 1
# Restore the SSM level of clock source 1 to the default configuration.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] undo clock ssm source 1
1.1.7 clock ssmcontrol
Syntax
clock ssmcontrol { on | off }
undo clock ssmcontrol
View
System view
Parameters
on: Enable SSM to be engaged in control.
off: Disable SSM from being engaged in control.
Description
Use the clock ssmcontrol command to set whether the SSM function of the clock module is engaged in control.
Use the undo clock ssm control command to restore the SSM function of the clock module to the default configuration.
Note the following two conditions:
l SSM is engaged in control: The level of the clock source is first determined by its SSM level during automatic clock source switching.
l SSM is not engaged in control: The SSM level can be set and queried, but the SSM level of the clock source is neglected during automatic clock source switching.
The SSM function of the clock module is not engaged in control by default.
Examples
# Enable the SSM function to get engaged in control,
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] clock ssmcontrol on
# Restore the SSM function of the clock module to the default configuration.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] undo clock ssmcontrol
1.1.8 clock stop warm-up
Syntax
clock stop warm-up
View
System view
Parameters
None
Description
Use the clock stop warm-up command to force the clock module to stop warming up the local oscillator and switch into normal work.
Examples
# Force the clock module to stop warming up the local oscillator and switch into normal work.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] clock stop warm-up
1.1.9 display clock device
Syntax
display clock device
View
Any view
Parameters
None
Description
Use the display clock device command to query the detailed information of the clock device.
Examples
# Display the detailed information of the clock device.
<H3C> display clock device
Clock module detail information:
Clock module state is OK
SRAM state: OK
Output 38.88Mhz signal state: OK
PLL tru050 state: OK
PLL 88915 state: OK
OSC state: OK
I2C bus state: OK
EPLD state: OK
HDLC state: OK
E1 A state: OK
E1 B state: OK
Reference state
Work mode : auto
Traced reference : 0
Lock mode : freerun
OSC state : normal
SSM output level : LNC
SSM participate in control : No
reference state Priority SSM-level Forcessm Sa-bit lpu port
1 lost 255 UNKNOWN No 4 N/A
2 lost 255 UNKNOWN No 4 N/A
3 lost 255 UNKNOWN No N/A -
4 lost 255 UNKNOWN No N/A -
5 lost 255 UNKNOWN No N/A -
6 normal 255 UNKNOWN No N/A 0/1/1
7 lost 255 UNKNOWN No N/A -
8 lost 255 UNKNOWN No N/A -
9 lost 255 UNKNOWN No N/A -
10 lost 255 UNKNOWN No N/A -
11 lost 255 UNKNOWN No N/A -
12 lost 255 UNKNOWN No N/A -
13 lost 255 UNKNOWN No N/A -
14 lost 255 UNKNOWN No N/A -
15 lost 255 UNKNOWN No N/A -
16 lost 255 UNKNOWN No N/A -
17 lost 255 UNKNOWN No N/A -
18 lost 255 UNKNOWN No N/A -
1.1.10 display clock version
Syntax
display clock version
View
Any view
Parameters
None
Description
Use the display clock version command to query the version information of the clock device.
Examples
# Display version information of the clock device.
<H3C> display clock version
Clock module version
Software version: v010
Hardware version: Rev.A
CPLD version: v009
Release date: 2002.02.26
1.1.11 display clock d/a
Syntax
display clock d/a
View
Any view
Parameters
None
Description
Use the display clock d/a command to query the D/A value of the clock device.
Examples
# Display the D/A value of the clock device.
<H3C> display clock d/a
DAC Voltage : 2048
1.1.12 display clock basephase
Syntax
display clock basephase
View
Any view
Parameters
None
Description
Use the display clock basephase command to query base phase of the clock.
Examples
# Display the base phase of the clock.
<H3C> display clock basephase
clock base phase : 0x0
1.1.13 display clock lpuport
Syntax
display clock lpuport
View
Any view
Parameters
None
Description
Use the display clock lpuport command to query the LPU port to output the clock reference source.
Examples
# Display the LPU port to output the clock reference source.
<H3C> display clock lpuport
the LPU port which output clock reference:
reference lpu port(slot-card-port)
4 CPOS2/1/1
1.1.14 display clock source
Syntax
display clock source
View
Any view
Parameters
None
Description
Use the display clock source command to query the status of the 18 clock sources.
Examples
# Display the status of the 18 clock sources.
<H3C> display clock source
No primary reference is traced
reference state lpu port(slot-card-port)
1 lost N/A
2 lost N/A
3 lost -
4 normal 2/1/1
5 lost -
6 lost -
7 lost -
8 lost -
9 lost -
10 lost -
11 lost -
12 lost -
13 lost -
14 lost -
15 lost -
16 lost -
17 lost -
18 lost -
1.1.15 display clock self-test-result
Syntax
display clock self-test-result
View
Any view
Parameters
None
Description
Use the display clock self-test-result command to query the clock self test result.
Examples
# Display the clock self test result.
<H3C> display clock self-test-result
Clock module work mode: normal
Detail test report:
SRAM : normal
Output 38.88MHz signal: normal
PLL TRU050 : normal
PLL 88915 : normal
OSC : normal
I2C bus : normal
EPLD : normal
HDLC : normal
E1a : normal
E1b : normal
1.1.16 display clock priority
Syntax
display clock priority
View
Any view
Parameters
None
Description
Use the display clock priority command to query the priority levels of the 18 clock sources.
Examples
# Display the priority levels of the 18 clock sources.
<H3C> display clock priority
reference priority
1 255
2 4
3 255
4 255
5 255
6 255
7 255
8 255
9 255
10 255
11 255
12 255
13 255
14 255
15 255
16 255
17 255
18 255
1.1.17 display clock ssm-level
Syntax
display clock ssm-level
View
Any view
Parameters
None
Description
Use the display clock ssm-level command to query the SSM levels of the 18 clock sources.
Examples
# Display the SSM levels of the 18 clock sources.
<H3C> display clock ssm-level
reference SSM level
1 LNC
2 UNKNOWN
3 UNKNOWN
4 LNC
5 UNKNOWN
6 UNKNOWN
7 UNKNOWN
8 UNKNOWN
9 UNKNOWN
10 UNKNOWN
11 UNKNOWN
12 UNKNOWN
13 UNKNOWN
14 UNKNOWN
15 UNKNOWN
16 UNKNOWN
17 UNKNOWN
18 UNKNOWN
1.1.18 display clock ssm-output
Syntax
display clock ssm-output
View
Any view
Parameters
None
Description
Use the display clock ssm-output command to query the SSM output level of the clock.
Examples
# Display the SSM output level of the clock.
<H3C> display clock ssm-output
SSM output level is LNC.
1.1.19 display clock phase-lock-state
Syntax
display clock phase-lock-state
View
Any view
Parameters
None
Description
Use the display clock phase-lock-state command to query the phase lock status of the clock.
Examples
# Display the phase lock status of the clock.
<H3C> display clock phase-lock-state
phase lock state: hold
osc state: normal, finished warm-up
1.1.20 display clock work-mode
Syntax
display clock work-mode
View
Any view
Parameters
None
Description
Use the display clock work-mode command to query the clock work mode.
Examples
# Display the clock work mode.
<H3C> display clock work-mode
clock work in auto mode.
1.1.21 display clock config
Syntax
display clock config
View
Any view
Parameters
None
Description
Use the display clock config command to query the current configuration of the clock module.
Examples
# Display the current configuration of the clock module.
<H3C> display clock config
Clock module current configuration:
work mode : AUTO
SSM participate in control: No
reference Priority SSM level Forcessm Sa-bit lpu port
1 255 LNC No 4 N/A
2 4 UNKNOWN No 5 N/A
3 255 UNKNOWN No N/A -
4 255 LNC No N/A -
5 255 UNKNOWN No N/A -
6 255 UNKNOWN No N/A -
7 255 UNKNOWN No N/A -
8 255 UNKNOWN No N/A -
9 255 UNKNOWN No N/A -
10 255 UNKNOWN No N/A -
11 255 UNKNOWN No N/A -
12 255 UNKNOWN No N/A -
13 255 UNKNOWN No N/A -
14 255 UNKNOWN No N/A -
15 255 UNKNOWN No N/A -
16 255 UNKNOWN No N/A -
17 255 UNKNOWN No N/A -
18 255 UNKNOWN No N/A -