- Table of Contents
-
- H3C S6116 Ultra-Low Latency Switch Series Command References-Release 671x-6W101
- 00-Preface
- 01-Interface forwarding commands
- 02-CLI commands
- 03-RBAC commands
- 04-Login management commands
- 05-FTP and TFTP commands
- 06-File system management commands
- 07-Configuration file management commands
- 08-Software upgrade commands
- 09-Device management commands
- 10-Tcl commands
- 11-Bulk interface commands
- 12-IP addressing commands
- 13-IPv6 basics commands
- 14-Static routing commands
- 15-IPv6 static routing commands
- 16-AAA commands
- 17-Public key management commands
- 18-SSH commands
- 19-System maintenance and debugging commands
- 20-NTP commands
- 21-SNMP commands
- 22-RMON commands
- 23-Event MIB commands
- 24-Information center commands
- 25-PTP commands
- 26-Network synchronization commands
- Related Documents
-
Title | Size | Download |
---|---|---|
26-Network synchronization commands | 76.60 KB |
Contents
Network synchronization commands
Only management Ethernet interfaces support network synchronization.
display network-clock source
Use display network-clock source to display the states of clock sources.
Syntax
display network-clock source
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display the states of clock sources.
<Sysname> display network-clock source
Reference Signal-input State Selected
GPS No Unlocked No
1PPS No Unlocked No
SyncE No Unlocked No
OCXO Yes Locked Yes
Table 1 Command output
Field |
Description |
Reference |
Clock source: · GPS: GPS clock source. · 1PPS: 1PPS clock source. · SyncE: Synchronous Ethernet clock source. · OCXO: Local crystal oscillator. |
Signal-input |
Whether signals are input: · No. · Yes. |
State |
Clock source locking status: · Locked. · Unlocked. |
Selected |
Whether the clock source is selected as the clock reference: · No. · Yes. |
network-clock source priority
Use network-clock source priority to set the priority of a clock source.
Use undo network-clock source priority to restore the default.
Syntax
network-clock source { lpuport interface-type interface-number | ptp } priority priority
undo network-clock source { lpuport interface-type interface-number | ptp } priority
Default
All clock sources have a priority of 255.
Views
System view
Predefined user roles
network-admin
Parameters
lpuport interface-type interface-number: Specifies a line clock. The interface-type interface-number arguments specify the type and number of the line clock input port.
ptp: Specifies PTP.
priority priority: Sets a priority value in the range of 1 to 255. The lower the value, the higher quality the timing signal.
Examples
# Configure the priority of the PTP timing signal as 1.
<Sysname> system-view
[Sysname] network-clock source ptp priority 1
Related commands
display network-clock source
network-clock source ssm
Use network-clock source ssm to assign an SSM quality level to a clock source.
Use undo network-clock source ssm to restore the default.
Syntax
network-clock source lpuport interface-type interface-number ssm { dnu | prc | sec | ssua | ssub | unknown }
undo network-clock source lpuport interface-type interface-number ssm
Default
The SSM quality level of a line clock source is SSU-B.
Views
System view
Predefined user roles
network-admin
Parameters
lpuport interface-type interface-number: Specifies a line clock. The interface-type interface-number arguments specify the type and number of the line clock input port.
dnu: Sets the SSM quality level to DNU SSM quality level. DNU clock sources cannot participate in automatic clock reference selection.
prc: Sets the SSM quality level to G.811 primary reference clock.
sec: Sets the SSM quality level to SDH equipment clock.
ssua: Sets the SSM quality level to G.812 primary-level SSU.
ssub: Sets the SSM quality level to G.812 second-level SSU.
unknown: Sets the SSM quality level to unknown.
Usage guidelines
This command is applicable to the synchronous Ethernet network scenario where the interface role is master and ESMC is enabled on the interface.
To modify the SSM level of a line clock source, first remove the priority configuration for the PTP timing signal.
Examples
# Configure the SSM quality level of a line clock source as PRC.
<Sysname> system-view
[Sysname] network-clock source lpuport M-GigabitEthernet 0/0/0 ssm prc
Related commands
display esmc
Synchronous Ethernet commands
Only management Ethernet interfaces support Synchronous Ethernet.
This feature is used for hardware frequency tuning and needs to be used in conjunction with PTP. For more information about PTP, see PTP configuration in the configuration guide for the device.
display esmc
Use display esmc to display Ethernet synchronization messaging channel (ESMC) information.
Syntax
display esmc [ interface interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, the command displays ESMC information for all interfaces.
Usage guidelines
This command does not display ESMC information for an interface that is operating in asynchronous mode.
Examples
# Display ESMC information for all interfaces.
<Sysname> display esmc
Interface : M-GigabitEthernet0/0/0
Mode : Synchronous
ESMC status : Enable
Port status : Up
Duplex mode : Full
QL received : QL-DNU
QL sent : QL-PRC
ESMC information packets received : 15
ESMC information packets sent : 15
ESMC event packets received : 0
ESMC event packets sent : 0
ESMC information rate : 1 packets/sec
ESMC expiration : 5 seconds
Table 2 Command output
Field |
Description |
Interface |
Interface that receives ESMC information. |
Mode |
Ethernet interface mode: · Synchronous—Synchronous mode. · Non-Synchronous—Asynchronous mode. |
ESMC status |
Whether ESMC is enabled: · Enable—ESMC is enabled. · Disable—ESMC is disabled. |
QL received QL sent |
Quality level in the ESMC packet most recently received or sent on the interface: · PRC—G.811 primary reference clock. · SSU-A—G.812 primary-level SSU. · SSU-B—G.812 second-level SSU. · SEC—SDH equipment clock. · DNU—Do not use for synchronization. · UNK—Unknown quality level. |
ESMC information packets received ESMC information packets sent |
Number of received or sent ESMC information packets. |
ESMC event packets received ESMC event packets sent |
Number of received or sent ESMC event packets. |
ESMC information rate |
Transmission rate of ESMC information packets. The value is fixed at 1 pps. |
ESMC expiration |
ESMC expiration timer. The timer is fixed at 5 seconds. |
esmc enable
Use esmc enable to enable ESMC on an Ethernet interface.
Use undo esmc enable to disable ESMC on an Ethernet interface.
Syntax
esmc enable
undo esmc enable
Default
ESMC is disabled on Ethernet interfaces.
Views
Management Ethernet interface view
Predefined user roles
network-admin
Usage guidelines
Before you can enable ESMC, you must configure the interface to operate in synchronous mode.
Examples
# Enable ESMC on M-GigabitEthernet 0/0/0.
<Sysname> system-view
[Sysname] interface M-GigabitEthernet 0/0/0
[Sysname- M-GigabitEthernet0/0/0] esmc enable
Related commands
display esmc
synchronous mode
synchronous mode
Use synchronous mode to enable the synchronous mode on an Ethernet interface.
Use undo synchronous mode to restore the default.
Syntax
synchronous mode
undo synchronous mode
Default
Ethernet interfaces are regular Ethernet interfaces in non-synchronous mode.
Views
Management Ethernet interface view
Predefined user roles
network-admin
Usage guidelines
You can configure an interface as a line clock input port only after you enable the synchronous mode on the interface.
Examples
# Enable the synchronous mode on M-GigabitEthernet0/0/0.
<Sysname> system-view
[Sysname] interface M-GigabitEthernet 0/0/0
[Sysname- M-GigabitEthernet0/0/0] synchronous mode
Related commands
display esmc
esmc enable