14-Network Management and Monitoring Configuration Guide

HomeSupportRoutersH3C SR8800-F Router SeriesConfigure & DeployConfiguration GuidesH3C SR8800-F Routers Configuration Guides-Release7951PXX-6W10014-Network Management and Monitoring Configuration Guide
04-Network synchronization configuration
Title Size Download
04-Network synchronization configuration 89.87 KB

Configuring network synchronization

About network synchronization

The network clock monitoring module provides network clock synchronization for all interface cards in the system. It ensures that all ports on the interface cards operate at the same clock rates for network synchronization.

The network clock monitoring module provides the following functions:

·          Provides highly precise, reliable timing signal to all interface cards.

·          Constantly monitors the signaling status on the interface cards.

·          Selects a clock reference from available clock sources, and then distributes its timing signal to all interface cards.

·          Performs phase lock to maintain a deterministic relationship between the input and output signals in frequency and phase.

Clock sources

The device supports the following clock sources:

·          BITS—Building integrated timing supply (BITS) clock. The MPU has BITS ports to receive and send timing signals.

·          Line clock—Timing signal extracted from the signal received on a WAN port from a higher-level device. The WAN port is called a line processing unit (LPU) port. Line timing signal is less precise than BITS timing signal.

·          PTP—Timing signal obtained through PTP. PTP timing signal is less precise than BITS timing signal.

·          Local clock source—38.88 MHz timing signal generated by a crystal oscillator on the clock daughter card. The local clock signal has the lowest precision.

Clock source levels

The level of a clock source is determined by its SSM quality level and priority.

SSM quality levels

The synchronization status message (SSM) is transmitted in a synchronization distribution trail to indicate the quality of the clock source. The following are the SSM quality levels supported by the device, from the highest to the lowest:

·          PRC—G.811 primary reference clock.

·          SSU-A—G.812 primary-level SSU.

·          SSU-B—G.812 second-level SSU.

·          SEC—SDH equipment clock.

·          Unknown—Synchronization quality unknown.

·          DNU—Do not use for synchronization.

Clock source priority

For a clock source to be selected as the clock reference, assign it a lower priority value than other clock sources. The lower the priority value, the better the clock source. For example, the clock source with a priority of 1 is better than the clock source with a priority of 3.

Clock reference selection

The network clock monitoring module supports automatic and manual clock reference selection.

Automatic reference selection

In an automatic reference selection process, the network clock monitoring module uses the SSM quality level, clock source priority, and clock source number to make a selection decision. The use of SSM in the automatic reference selection process is user configurable.

The selection process is as follows:

1.        If SSM is enabled for automatic reference selection, the module selects the clock source with the highest SSM quality level.

2.        If SSM is disabled for automatic reference selection, or clock sources have the same SSM quality level, the module selects the clock source with the lowest priority value. (A lower priority value indicates a better clock source.)

3.        If the clock sources have the same priority, the module selects the clock source that has the lowest slot-number/subslot-number/port-number sequence.

After selecting the best reference, the network clock monitoring module distributes the selected timing signal to all interface cards, and locks the timing to the reference signal. When the traced timing signal is lost, the network clock monitoring module selects the next optimal clock reference. When the signal of the best clock source can be traced again, the module selects the best clock source to replace the less optimal clock source as the reference.

 

 

NOTE:

A clock source will not be selected as the reference if the clock source is in one of the following situations:

·      The timing signal cannot be detected.

·      The clock source priority is 255.

·      The SSM quality level is DNU.

 

Manual reference selection

If you specify a clock source as the reference, the network clock monitoring module does not change the clock reference automatically. When the signal of the specified clock reference is lost, the module changes to the holdover state. In this state, the module continues to distribute the signal of the clock reference to the interface cards.

Clock mode on a port

IMPORTANT

IMPORTANT:

Set the clock mode to slave on the port connected to a SONET/SDH device, because the SONET/SDH clock is more precise.

 

A port can operate in one of the following clock modes:

·          Master—The port provides timing to the peer end. The timing signal is derived from the network clock monitoring module.

¡  If automatic reference selection is used, the timing signal is derived from the reference clock selected by the network clock monitoring module.

¡  If manual reference selection is used, the timing signal is derived from the manually specified clock reference.

¡  If the manually specified clock reference is not available, the port outputs the timing signal generated by the local clock.

·          Slave—The port uses the timing signal received from the peer end. For the network clock monitoring module to extract timing signal from a port, you must place the port in slave clock mode. If the port is in master clock mode, the module does not extract the timing signal from the incoming traffic on the port.

Network synchronization tasks at a glance

To configure network synchronization, perform the following tasks:

1.        Configuring clock reference selection

Enable automatic clock reference selection or manually select a clock reference.

2.        (Optional.) Configuring BITS clocks

a.    Setting an Sa bit for the SSM of BITS clocks

b.    Setting the frequency of a BITS clock

3.        (Optional.) Specifying a line clock input port

4.        (Optional.) Configuring automatic reference selection parameters

¡  Configuring the method for setting the SSM quality level of a clock source

¡  Specifying an SSM quality level for a clock source

¡  Controlling the use of SSM in automatic reference selection

¡  Setting a priority for a clock source

Configuring clock reference selection

Restrictions and guidelines

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.

If manual reference selection is used, the SSM levels and priorities configured for the clock sources do not take effect.

Procedure

1.        (Optional.) Verify that the clock source you want to select is in Normal state.

display network-clock source

Skip this step if you use automatic reference selection.

2.        Enter system view.

system-view

3.        Enable automatic reference selection or manually select a reference.

In standalone mode:

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

In IRF mode:

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

By default, automatic reference selection is enabled.

4.        (Optional.) Display the operating state of the network clock monitoring module.

display network-clock status

It takes time for the clock reference selection mode change to take effect. To verify the effectiveness of the change, you can also check the logs.

Configuring BITS clocks

Setting an Sa bit for the SSM of BITS clocks

About setting an Sa bit for the SSM of BITS clocks

Sa bits from Sa4 through Sa8 can be used to transmit the SSM quality level of BITS timing signal. Select one Sa bit as required by the network.

Procedure

1.        Enter system view.

system-view

2.        Specify an Sa bit for the SSM of a BITS clock.

In standalone mode:

network-clock source { bits0 | bits1 } sa-bit { sa4 | sa5 | sa6 | sa7 | sa8 }

In IRF mode:

network-clock chassis chassis-number source { bits0 | bits1 } sa-bit { sa4 | sa5 | sa6 | sa7 | sa8 }

By default, BITS clocks use Sa 4 to transmit the SSM.

Setting the frequency of a BITS clock

About setting the frequency of a BITS clock

You can set the frequency of a BITS clock to 2 Mbps or 2 MHz.

Procedure

1.        Enter system view.

system-view

2.        Set the frequency of a BITS clock.

In standalone mode:

network-clock source { bits0 | bits1 } frequency { bps-2m | hz-2m }

In IRF mode:

network-clock chassis chassis-number source { bits0 | bits1 } frequency { bps-2m | hz-2m }

By default, the frequency of a BITS clock is 2 Mbps.

Specifying a line clock input port

Restrictions and guidelines

Only main ports can be specified as line clock input ports. For the timing signal received on the line clock input port to be used for synchronization, you must set the port to operate in slave mode.

Procedure

1.        Enter system view.

system view

2.        Enter interface view.

interface interface-type interface-number

3.        Set the clock mode to slave.

clock slave

By default, slave clock mode is enabled on ports.

4.        Return to system view.

quit

5.        Specify the port as a line clock input port.

network-clock lpuport interface-type interface-number

By default, no line clock input port is configured.

Configuring automatic reference selection parameters

Configuring the method for setting the SSM quality level of a clock source

About setting the SSM quality level of a clock source

The network clock monitoring module can use one of the following methods to assign an SSM quality level to the timing signal from a clock source:

·          Uses the SSM quality level extracted from the received timing signal.

·          Uses the SSM quality level manually assigned as described in "Specifying an SSM quality level for a clock source."

Procedure

1.        Enter system view.

system-view

2.        Configure the method for setting the SSM quality level of a clock source.

In standalone mode:

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

In IRF mode:

¡  For BITS and PTP:

network-clock chassis chassis-number source { bits0 | bits1 | ptp } forcessm { off | on }

¡  For a link clock input port:

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

By default, the quality level of a clock source is a user-defined value. The network clock monitoring module does not extract the quality level from the SSM sent by the clock source.

To extract the SSM quality level from the received timing signal, specify the off keyword. To use the manually assigned SSM quality level, specify the on keyword.

Specifying an SSM quality level for a clock source

Restrictions and guidelines

The SSM quality level you specify for a clock source takes effect only when manual SSM quality level assignment is enabled.

Procedure

1.        Enter system view.

system-view

2.        Assign an SSM quality level to a clock source.

In standalone mode:

network-clock source { bits0 | bits1 | lpuport interface-type interface-number | ptp } ssm { dnu | prc | sec | ssua | ssub | unknown }

In IRF mode:

network-clock chassis chassis-number source { bits0 | bits1 | ptp } ssm { dnu | prc | sec | ssua | ssub | unknown }
network-clock source lpuport interface-type interface-number ssm { dnu | prc | sec | ssua | ssub | unknown }

By default, all clock sources use the unknown SSM quality level.

DNU clock sources are excluded from automatic reference selection.

3.        (Optional.) Display the operating state of the network clock monitoring module.

display network-clock source

It takes time for the SSM quality level change to take effect. To verify the effectiveness of the change, you can also check the logs.

Controlling the use of SSM in automatic reference selection

Procedure

1.        Enter system view.

system-view

2.        Configure the use of SSM quality level in automatic reference selection.

In standalone mode:

network-clock ssmcontrol { off | on }

In IRF mode:

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

To ignore the SSM quality level in clock reference selection, specify the off keyword. To use the SSM quality level in clock reference selection, specify the on keyword.

By default, SSM quality level is ignored in the automatic reference selection process.

Setting a priority for a clock source

About the priority of a clock source

In an automatic reference selection process, the network clock monitoring module selects the optimal clock as a reference from all available clock sources.

Restrictions and guidelines

The lower the priority value, the better the clock source.

Procedure

1.        Enter system view.

system-view

2.        Set a priority for a clock source.

In standalone mode:

network-clock source { bits0 | bits1 | lpuport interface-type interface-number | ptp } priority

In IRF mode:

network-clock chassis chassis-number source { bits0 | bits1 | ptp } priority

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

By default, all clock sources have a priority of 255. None of the clock sources can be used in automatic clock reference selection.

Display and maintenance commands for network clock monitoring module

Execute display commands in any view.

 

Task

Command

Display the self-test result of the network clock monitoring module.

In standalone mode:

display network-clock self-test-result

In IRF mode:

display network-clock self-test-result [ chassis chassis-number ]

Display the operating state of the network clock monitoring module.

In standalone mode:

display network-clock status

In IRF mode:

display network-clock status [ chassis chassis-number ]

Display the states of clock sources.

In standalone mode:

display network-clock source

In IRF mode:

display network-clock source [ chassis chassis-number ]

Display version information for the network clock monitoring module.

In standalone mode:

display network-clock version

In IRF mode:

display network-clock version [ chassis chassis-number ]

Reset the state of the network clock monitoring module.

In standalone mode:

reset network-clock

In IRF mode:

reset network-clock [ chassis chassis-number ]

 

Network synchronization configuration examples

Example: Configuring network synchronization

Network configuration

As shown in Figure 1, Device A obtains its timing signal from an external BITS clock.

Configure Device B to derive its timing from Device A through POS 3/1/1.

Figure 1 Network diagram

 

Procedure

1.        On Device A:

# Specify the master clock mode on POS 3/1/1.

<DeviceA> system-view

[DeviceA] interface pos 3/1/1

[DeviceA-Pos3/1/1] clock master

2.        On Device B:

# Specify POS 3/1/1 as a line clock input port.

<DeviceB> system-view

[DeviceB] network-clock lpuport pos 3/1/1

# Specify the slave clock mode on the POS interface.

[DeviceB] interface pos 3/1/1

[DeviceB-Pos3/1/1] clock slave

[DeviceB-Pos3/1/1] quit

# Specify the interface as the source to provide clock reference.

[DeviceB] network-clock work-mode manual source lpuport pos 3/1/1

[DeviceB] quit

Verifying the configuration

# Verify that the POS interface provides the network clock reference for Device B.

<DeviceB> display network-clock status

Mode                : Manual

Reference          : pos 3/1/1

Traced reference  : pos 3/1/1

Lock mode          : Locked

SSM output level  : SSUB

SSM control enable: Off

 

  • 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
新华三官网