- Table of Contents
-
- 11-NMM Command Reference
- 00-Preface
- 01-System maintenance and debugging commands
- 02-NQA commands
- 03-iNQA commands
- 04-NTP commands
- 05-PTP commands
- 06-Network synchronization commands
- 07-PoE commands
- 08-SNMP commands
- 09-RMON commands
- 10-Event MIB commands
- 11-NETCONF commands
- 12-SmartMC commands
- 13-EPA commands
- 14-ONVIF commands
- 15-CWMP commands
- 16-EAA commands
- 17-Process monitoring and maintenance commands
- 18-Mirroring commands
- 19-sFlow commands
- 20-Information center commands
- 21-Packet capture commands
- 22-VCF fabric commands
- 23-Cloud connection commands
- 24-EPS agent commands
- 25-eMDI commands
- 26-SQA commands
Title | Size | Download |
---|---|---|
06-Network synchronization commands | 52.72 KB |
Synchronous Ethernet commands
display esmc
Use display esmc to display 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
ESMC information is not available for interfaces in asynchronous mode.
Examples
# Display ESMC information for all interfaces.
<Sysname> display esmc
Interface : Ten-GigabitEthernet1/0/1
Mode : Synchronous
ESMC status : Enable
Port status : Up
Duplex mode : Full
QL received : QL-SEC
QL sent : QL-PRC
ESMC information packets received : 2195
ESMC information packets sent : 6034
ESMC event packets received : 1
ESMC event packets sent : 16
ESMC information rate : 1 packets/sec
ESMC expiration : 5 seconds
Table 1 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. |
Related commands
esmc enable
synchronous mode
esmc enable
Use esmc enable to enable the Ethernet synchronization messaging channel (ESMC) on an Ethernet interface.
Use undo esmc enable to disable the Ethernet synchronization messaging channel (ESMC) on an Ethernet interface.
Syntax
esmc enable
undo esmc enable
Default
ESMC is disabled on Ethernet interfaces.
Views
Layer 2 Ethernet interface view
Layer 3 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 Ten-GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] esmc enable
Related commands
display esmc
synchronous mode
synce state
Use synce state to set the clock mode on a copper GE port.
Use undo synce state to restore the default.
Syntax
synce state { master | slave }
undo synce state
Default
The clock mode of a GE copper port is automatically negotiated.
Views
Layer 2 Ethernet interface view
Layer 3 Ethernet interface view
Predefined user roles
network-admin
Parameters
master: Specifies the master clock mode.
slave: Specifies the slave clock mode.
Usage guidelines
To avoid a negotiation result that conflicts with your clock synchronization trail design, manually set the clock mode.
· To derive timing from the upstream clock, set the clock mode to slave.
· To provide timing for the downstream clock, set the clock mode to master.
Examples
# Configure Ten-GigabitEthernet 1/0/1 to operate in master mode.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] synce state master
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. They do not extract timing signals, send, forward, or process ESMC packets.
Views
Layer 2 Ethernet interface view
Layer 3 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 Ten-GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] synchronous mode
Related commands
display esmc
esmc enable