12-Network Management and Monitoring Command Reference

HomeSupportSwitchesS7500X-G SeriesReference GuidesCommand ReferencesH3C S7500X-G Switch Series Command References-R7755Pxx-6W10012-Network Management and Monitoring Command Reference
06-Network synchronization commands
Title Size Download
06-Network synchronization commands 115.74 KB

Network synchronization commands

All these commands are supported on the default MDC. The network-clock ssmcontrol and network-clock work-mode manual mdc commands and the bits0 and bits1 keywords are not configurable on non-default MDCs. For more information about MDCs, see Virtual Technologies Configuration Guide.

display network-clock source

Use display network-clock source to display the states of clock sources.

Syntax

In standalone mode:

display network-clock source

In IRF mode:

display network-clock source [ chassis chassis-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

chassis chassis-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command displays the states of clock sources on all IRF member devices.

Usage guidelines

This command displays the states of clock sources only for the current MDC.

To display BITS clock sources, execute this command on any MDC.

To display information about a line clock source, you must execute this command on the MDC that contains the line clock input port. This command does not display the line clock source if all settings of the clock source are default.

Examples

# Display the states of clock sources.

<Sysname> display network-clock source

Traced reference: XGE3/0/1

Reference   State   Priority  SSM level Force SSM Sa-Bit  LPU port  Frequency

XGE3/0/1    Normal  10        Unknown   OFF       N/A     Yes       N/A

Table 1 Command output

Field

Description

Traced reference

Traced clock source.

If a clock source is traced, the network clock monitoring module distributes its timing signal to all interface cards.

If no clock source has been traced, this field displays N/A.

Reference

Line clock input port, which is a link clock source. This information is displayed only when a line clock input port is configured.

State

State of the clock source:

·     Normal—The clock source is operating correctly.

·     Lost—The clock source is not available or is in an error condition.

·     N/A—PTP is used for time synchronization.

Priority

Priority of the clock source.

SSM level

SSM quality level in descending order:

·     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.

·     Unknown—Unknown quality level.

Force SSM

Whether to use the manually assigned SSM quality level:

·     ON—Uses the manually assigned SSM quality level.

·     OFF—Extracts the SSM quality level from the received timing signal.

Sa bit

Sa bit used by BITS to transmit the SSM:

·     sa4—Bit Sa4.

·     sa5—Bit Sa5.

·     sa6—Bit Sa6.

·     sa7—Bit Sa7.

·     sa8—Bit Sa8.

This field displays N/A for line clock sources, because line clocks do not support the Sa bit configuration.

LPU port

Whether the port is a line clock input port:

·     Yes—The port has been specified as a line clock input port.

·     No—The port is not specified as a line clock input port.

This field displays N/A for BITS 0, BITS 1, and PTP clock sources.

Frequency

Frequency of the BITS clock:

·     2 Mbps.

·     2 MHz.

display network-clock status

Use display network-clock status to display the operating state of the network clock monitoring module.

Syntax

In standalone mode:

display network-clock status

In IRF mode:

display network-clock status [ chassis chassis-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

chassis chassis-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command displays information for all IRF member devices.

Examples

# Display the operating state of the network clock monitoring module.

<Sysname> display network-clock status

Mode              : Auto

Traced reference  : N/A

Lock mode         : Unknown

SSM output level  : SSUB

SSM control enable: On

Table 2 Command output

Field

Description

Mode

Clock reference selection mode:

·     Auto—Automatic reference selection.

·     Manual—Manual reference selection.

Traced reference

Clock reference that has been selected manually. This field displays N/A if no clock reference has been selected manually.

Lock mode

Phase lock state of the clock monitoring module:

·     Freerun—Freerun mode.

·     Locked—Locked (traced) mode.

·     Holdover—Holdover state.

·     Pre-locked—Pre-locked mode.

·     Pre-locked2—Pre-locked mode.

·     Lost—The clock signal has been lost.

·     Unknown—No timing signal is available. The network clock monitoring module is in an exceptional condition.

SSM output level

Signal quality level of the clock source in the SSM, by descending order of quality:

·     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.

·     Unknown—Unknown quality level.

SSM control enable

Contribution of SSM to automatic reference selection:

·     On—SSM is used in the selection process.

·     Off—SSM is not used in the selection process.

network-clock source forcessm

Use network-clock source forcessm to configure the method for setting the SSM quality level of a clock source.

Use undo network-clock source forcessm to restore the default.

Syntax

In standalone mode:

network-clock source { lpuport interface-type interface-number } forcessm { off | on }

undo network-clock source { lpuport interface-type interface-number } forcessm

In IRF mode:

network-clock source lpuport interface-type interface-number forcessm { off | on }

undo network-clock source lpuport interface-type interface-number forcessm

Default

The SSM level of a clock source is manually assigned, not extracted from the received timing signal.

Views

System view

Predefined user roles

network-admin

mdc-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.

off: Extracts the SSM level from the received timing signal.

on: Uses the manually configured SSM level rather than extracts the SSM level from the received timing signal .

Examples

# Extract the SSM level of the specified line clock from the received timing signal.

<Sysname> system-view

[Sysname] network-clock source lpuport forcessm off

Related commands

display network-clock source

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

In standalone mode:

network-clock source { lpuport interface-type interface-number } priority priority

undo network-clock source { lpuport interface-type interface-number } priority

In IRF mode:

network-clock source lpuport interface-type interface-number priority priority

undo network-clock source lpuport interface-type interface-number priority

Default

All clock sources have a priority of 255.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

chassis chassis-number: Specifies an IRF member device by its member ID.

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.

priority priority: Sets a priority value in the range of 1 to 255. The lower the value, the higher quality the timing signal.

Examples

# Assign a priority of 3 to Ten-GigabitEthernet3/0/1.

<Sysname> system-view

[Sysname] network-clock source ten-gigabitethernet3/0/1 priority 3

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

In standalone mode:

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

In IRF mode:

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 is unknown for all clock sources.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

chassis chassis-number: Specifies an IRF member device by its member ID.

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

For the manually assigned SSM quality level to take effect, you must configure the network-clock source forcessm on command.

It takes time for an SSM quality level change to take effect. To verify the effectiveness of the change, use the display network-clock source command or check the log.

Examples

# Set the SSM quality level of Ten-GigabitEthernet3/0/1 to DNU.

<Sysname> system-view

[Sysname] network-clock source ten-gigabitethernet3/0/1 ssm dnu

network-clock ssmcontrol

Use network-clock ssmcontrol to control the use of SSM quality level in the automatic reference selection process.

Use undo network-clock ssmcontrol to restore the default.

Syntax

In standalone mode:

network-clock ssmcontrol { off | on }

undo network-clock ssmcontrol

In IRF mode:

network-clock chassis chassis-number ssmcontrol { off | on }

undo network-clock chassis chassis-number ssmcontrol

Default

The SSM quality level is ignored in the automatic reference selection process.

Views

System view

Predefined user roles

network-admin

Parameters

chassis chassis-number: Specifies an IRF member device by its member ID.

off: Ignores the SSM quality level in clock reference selection.

on: Includes the SSM quality level as a factor for clock reference selection.

Usage guidelines

This command takes effect for automatic clock reference selection.

This command is configurable only on the default MDC. However, the command setting takes effect on all MDCs.

Examples

# Include the SSM quality level into the automatic clock reference selection process.

<Sysname> system-view

[Sysname] network-clock ssmcontrol on

Related commands

display network-clock source

network-clock ssm

network-clock work-mode

Use network-clock work-mode to set the clock reference selection mode.

Use undo network-clock work-mode to restore the default.

Syntax

In standalone mode:

network-clock work-mode { auto | manual source { lpuport interface-type interface-number } }

undo network-clock work-mode

In IRF mode:

network-clock chassis chassis-number work-mode { auto | manual source }

network-clock work-mode manual source lpuport interface-type interface-number

undo network-clock chassis chassis-number work-mode

Default

Automatic reference selection mode applies.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

chassis chassis-number: Specifies an IRF member device by its member ID.

auto: Enables automatic reference selection.

manual source: Enables manual reference selection.

lpuport interface-type interface-number: Specifies a line clock input port as the reference. The interface-type interface-number arguments specify an interface by its type and number.

Usage guidelines

To specify a line clock input port, use the network-clock work-mode command on the MDC that contains the port.

To use the timing signal from an interface as the synchronization reference, you must also specify the interface as a line clock input port by using the network-clock lpuport command.

It takes time for a clock reference selection mode change to take effect. To verify the effectiveness of the change, use the display network-clock status command or check the log.

Examples

# Enable automatic reference selection.

<Sysname> system-view

[Sysname] network-clock work-mode auto

Related commands

display network-clock source

display network-clock status

network-clock lpuport


Synchronous Ethernet commands

IMPORTANT

IMPORTANT:

The device supports synchronous Ethernet only when it is installed with an LSCM2SRP6C4Y06A0 or LSCM3SRP6C4Y06A0 MPU.

Interfaces on an LSCM2SRP6C4Y06A0 support synchronous Ethernet only when interface modules are installed on the device.

Copper ports on the following modules or 10G fiber ports that use GE transceiver modules or fiber-to-copper converters do not support synchronous Ethernet:

·     SC modules prefixed with LSCM2 and SD interface modules.

·     SF interface modules.

 

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

mdc-admin

mdc-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-GigabitEthernet3/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 3 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

mdc-admin

Usage guidelines

Before you can enable ESMC, you must configure the interface to operate in synchronous mode.

Examples

# Enable ESMC on Ten-GigabitEthernet 3/0/1.

<Sysname> system-view

[Sysname] interface ten-gigabitethernet 3/0/1

[Sysname-Ten-GigabitEthernet3/0/1] 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. 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

mdc-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 3/0/1.

<Sysname> system-view

[Sysname] interface ten-gigabitethernet 3/0/1

[Sysname-Ten-GigabitEthernet3/0/1] synchronous mode

Related commands

display esmc

esmc enable

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网