No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

NE40E-M2 V800R010C10SPC500 Configuration Guide - System Management 01

This is NE40E-M2 V800R010C10SPC500 Configuration Guide - System Management
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring 1588 ACR in Single-Server Mode

Configuring 1588 ACR in Single-Server Mode

In one 1588 ACR domain, a client initiates a request for negotiation, and exchanges Layer 3 unicast packets with the server to set up a connection. The client exchanges 1588v2 packets with the server over the connection to restore clock information.

Applicable Environment

NOTE:
1588 ACR is not supported in virtual cluster scenarios.

On the IP RAN shown in Figure 12-1, two PEs are connected by a Layer 3 network deployed with 1588v2-unaware devices. PE1 is a clock server and PE2 is a client. PE1 attached to an RNC is connected to a BITS. 1588 ACR-capable PE2 initiates a request for negotiation and exchanges Layer 3 unicast packets with PE2 to set up a connection. If the connection is successful, PE2 exchanges 1588v2 packets with PE1 over the connection to implement clock synchronization.

Figure 12-1 Network diagram of 1588 ACR in single-server mode

Pre-configuration Tasks

Before configuring 1588 ACR in single-server mode, complete the following tasks:

  • Configuring static routes or configuring an IGP to ensure that IP routes between nodes are reachable

  • Ensuring that the clock server has correctly imported clock signals from a BITS

  • The license file on the master main control board has been activated by running the license active file-name command. When the clock synchronization license is not loaded, the ptp-adptive enable configuration is not allowed.

Configuring the Unicast Negotiation Function for a Client

The unicast negotiation function and parameters for a connection between a client and a clock server are configured on the Router functioning as a 1588 ACR client.

Context

ACR, which is an adaptive clock recovery technology, allows a 1588 ACR client to exchange 1588v2 packets with a clock server on a link where a 1588v2-incapable device resides. After receiving 1588v2 packets, the client uses clock information carried in the packets to restore clock information.

The 1588 ACR features supported by the NE40E are as follows:
  • 1588 ACR clock synchronization in single-server scenarios

    In a 1588 ACR domain, a client establishes a client/server relationship only with the remote clock server. The client initiates unicast negotiation requests and obtains 1588v2 packets for clock restoration. If a clock server becomes faulty, the client does not automatically initiate a connection request to another clock server.

  • 1588 ACR clock synchronization in dual-server scenarios

    In a 1588 ACR domain, a client establishes a client/server relationship with two remote clock servers. The client initiates unicast negotiation requests and obtains 1588v2 packets for clock restoration. If the master clock server becomes faulty, the client automatically initiates a connection request to the slave clock server.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ptp-adaptive enable

    1588 ACR is enabled.

  3. Run ptp-adaptive device-type client

    The 1588 ACR clock working mode is set to client.

  4. (Optional) Run ptp-adaptive frequency profile

    The 1588 ACR-enabled device to totally comply with ITU-T G.8265.1 is configured.

    After the ptp-adaptive frequency profile command is run, the default domain value changes to 4. The domain value range changes to 4-23.

  5. (Optional) Run ptp-adaptive domain domain-value

    A 1588 ACR domain is configured.

    NOTE:
    The client and clock server, which exchange 1588 ACR packets for clock or time synchronization, must be in one 1588 ACR clock domain.

  6. Run ptp-adaptive local-ip ip-address

    An IP address is assigned to the client, which is used to initiate a request for negotiation and send Layer 3 unicast packets.

    The clock server's and client's IP addresses uniquely identify a 1588 ACR connection, which is set up by exchanging Layer 3 unicast packets between a client and a clock server during negotiation. Configuring a loopback address as the client's IP address is recommended, not the IP address of the management network port on the device, helping the clock server direct packets to the client.

  7. (Optional) Run ptp-adaptive vpn-instance instance-name

    The VPN instance name carried in 1588v2 packets is specified, which identifies the VPN instance bound to the server's loopback interface.

  8. Run ptp-adaptive { remote-server1-ip | remote-server2-ip } ip-address

    The remote clock server list is configured.

    If multiple clock servers exist on a network, the Router, functioning as a client, tracks its clock server based on the clock server's IP address.

    Running this command twice specifies master and slave clock servers.

    If two clock servers are configured, a client initiates connection requests to both servers. If a connection to a server fails to be established or is disconnected, the client automatically initiates a connection to the other client. The process repeats until the client is connected to a server.

  9. Run ptp-adaptive acr [ one-way | two-way ] unicast-negotiate enable

    1588 ACR unicast negotiation is enabled on the Router and the frequency recovery mode is configured.

  10. Run commit

    The configuration is committed.

Configuring the Unicast Negotiation Function for a Server

The unicast negotiation function and parameters for a connection between a client and a clock server are configured on the Router functioning as a 1588 ACR clock server.

Context

ACR, which is an adaptive clock recovery technology, allows a 1588 ACR client to exchange 1588v2 packets with a clock server on a link where a 1588v2-incapable device resides. After receiving 1588v2 packets, the client uses clock information carried in the packets to restore clock information.

1588 ACR client and 1588v2 (which implements hop-by-hop clock synchronization) are mutually exclusive. If 1588 ACR is enabled on a 1588v2-capable device, the 1588v2 configurations on the device no longer take effect. The 1588 ACR server and 1588v2 can be both configured on the device.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ptp-adaptive enable

    1588 ACR is enabled.

  3. Run ptp-adaptive device-type server

    The 1588 ACR clock working mode is set to server.

  4. (Optional) Run ptp-adaptive frequency profile

    The 1588 ACR-enabled device to totally comply with ITU-T G.8265.1 is configured.

    After the ptp-adaptive frequency profile command is run, the default domain value changes to 4. The domain value range changes to 4-23.

  5. (Optional) Run ptp-adaptive domain domain-value

    A 1588 ACR domain is configured.

    NOTE:
    The client and clock server, which exchange 1588 ACR packets for clock synchronization, must be in one 1588 ACR clock domain.

  6. Run ptp-adaptive local-ip ip-address

    An IP address is assigned to the clock server.

    The clock server's and client's IP addresses uniquely identify a 1588 ACR connection, which is set up by exchanging Layer 3 unicast packets between a client and a clock server during negotiation. Configuring a loopback address as the server's IP address is recommended, helping the clock server direct packets to the client.

  7. (Optional) Run ptp-adaptive vpn-instance instance-name

    The VPN instance name carried in 1588v2 packets is specified, which identifies the VPN instance bound to the server's loopback interface.

  8. Run ptp-adaptive acr unicast-negotiate enable

    The 1588 ACR unicast negotiation on the Router is configured.

  9. Run commit

    The configuration is committed.

(Optional) Adjusting Parameters for Establishing a Unicast Negotiation Connection

Adjustable parameters include the maximum number of consecutive Announce packets that the client fails to receive (If the number of unreceived Announce packets exceeds the threshold, the client determines that the connection to the server fails), duration of the Sync, Delay_Resp, and Announce packets (After the duration of a Sync packet, a Delay_Resp packet, or an Announce packet expires, the client re-establishes the connection with the server), DSCP value (the DSCP value ensures that 1588v2 packets reach the destination even if a congestion occurs on the network), and the interval at which the server sends Sync, Delay_Resp, and Announce packets.

Context

Adjustable parameters on a client are as follows:
  • 1. the maximum number of consecutive Delay_Resp packets that the client fails to receive
  • 2. Duration field values in Sync, Delay_Resp and Announce packets
  • 3. DSCP value for 1588 ACR packets
  • 4. Interval at which Sync, Delay_Resp and Announce packets are sent
Adjustable parameters on a clock server are as follows:
  • 1. DSCP value for 1588 ACR packets

Procedure

  1. Run ptp-adaptive dscp priority-value

    The DSCP value in 1588 ACR packets is set.

    Setting a large DSCP value to ensure that 1588v2 packets reach the destination even if a congestion occurs on a network. This value is adjustable on both the client and clock server.

  2. Run ptp-adaptive { announce-duration | sync-duration | delay-resp-duration } duration-value

    The duration field value is set for each type of 1588 ACR packet.

  3. Run ptp-adaptive request sync-interval sync-interval

    The interval at which an ACR clock server sends Sync packets is set.

  4. Run ptp-adaptive request announce-interval announce-interval

    The interval at which an ACR clock server sends Announce packets is set.

  5. Run ptp-adaptive request delay-resp-interval delay-resp-interval

    The interval at which the 1588 ACR-enabled server sends Delay_Resp packets is set.

  6. Run ptp-adaptive announce receipt-timeout receipt-timeout

    The allowable maximum number of consecutive Announce packets that the client fails to receive is set.

  7. Run commit

    The configuration is committed.

Verifying the Configuration of 1588 ACR

After configuring 1588 ACR on the Router serving as a client or server, verify the configuration.

Procedure

  • When the Router functions as a client:
    1. Run the display ptp-adaptive all command to check all 1588 ACR configurations on the client.
    2. Run the display ptp-adaptive server [ server-id ] command to check detailed information about a clock server that is connected to the 1588 ACR enabled client and statistics about packets exchanged between the client and server.
  • When the Router functions as a server:
    1. Run the display ptp-adaptive all command to check all 1588 ACR configurations on the server.
    2. Run the display ptp-adaptive { all | client [ client-id ] } command to check detailed information about a clock client that is connected to the 1588 ACR enabled server and statistics about packets exchanged between the client and server.

Example

# Display the current 1588 ACR configurations on the client.
  • If the ptp-adaptive frequency profile command is run, the display ptp-adaptive all command output is as follows:
    <HUAWEI> display ptp-adaptive all
      Device config info
      ------------------------------------------------------------------------------
      Ptp adaptive state      :enable           Device type        :client
      Sync mode               :frequency        Current state      :slave
      Packet dscp             :56               Domain value       :4
      Announce interval       :11               Announce duration  :300s
      Sync interval           :3                Sync duration      :300s
      Delay_resp interval     :4                Delay_resp duration:400s
      Announce receipt timeout:3                One-way or two-way :one-way
      Local ip                :3.3.3.3          Profile            :frequency
      Client board            :3
      VPN                     :none
    
      BMCA run info
      ------------------------------------------------------------------------------
      Current trace source    :server1
    
      Time performance statistics
      ------------------------------------------------------------------------------
      Realtime(T2-T1)         :+0s, 23281ns
      Max(T2-T1)              :+0s, 26277ns
      Min(T2-T1)              :+0s, 21853ns
    
      Remote server info
      ------------------------------------------------------------------------------
      Ip address                Negotiate state    SSM    Priority    PTSF
      Server1: 1.1.1.1          Nego success       PRC    1           normal
      Server2: 2.2.2.2          Nego success       PRC    1           normal
    
  • If the ptp-adaptive frequency profile command is not run, the display ptp-adaptive all command output is as follows:
    <HUAWEI> display ptp-adaptive all
      Device config info
      ------------------------------------------------------------------------------
      Ptp adaptive state      :enable           Device type        :client
      Sync mode               :frequency        Current state      :slave
      Packet dscp             :56               Domain value       :4
      Announce interval       :11               Announce duration  :300s
      Sync interval           :3                Sync duration      :300s
      Delay_resp interval     :4                Delay_resp duration:400s
      Announce receipt timeout:3                One-way or two-way :one-way
      Local ip                :2.2.2.240        Profile            :none
      Client board            :3
      VPN                     :none
    
      BMCA run info
      ------------------------------------------------------------------------------
      Current trace source    :server1
    
      Time performance statistics
      ------------------------------------------------------------------------------
      Realtime(T2-T1)         :+0s, 23281ns
      Max(T2-T1)              :+0s, 26277ns
      Min(T2-T1)              :+0s, 21853ns
    
      Remote server info
      ------------------------------------------------------------------------------
      Ip address                Negotiate state    SSM    Priority    PTSF
      Server1: 1.1.1.1          Nego success       PRC    1           normal
      Server2: 2.2.2.2          Nego success       PRC    1           normal
    

# Display configurations of the clock server 1 on the client.

<HUAWEI> display ptp-adaptive server 1
  **************************server1 information begin***************************
  Server id           :1                 Ip address         :1.1.1.237
  Grand clock id      :704433fffe297564  Time source        :0x10
  Parent clock id     :504123fffe293344  Parent portnumber  :1
  Priority1           :128               Priority2          :128
  Clock class         :84                Clock accuracy     :0x22
  Two-step flag       :false             Steps removed      :0
  Timescale           :PTP               Offset scaled      :0xffff
  Time traceable      :false             Frequency traceable:false
  Loss announce       :false             Loss sync          :false
  Loss follow_up      :false             Loss resp          :false
  Sync uncertain      :false   

  Receive packet statistics
  ------------------------------------------------------------------------------
  Signaling           :0                 Announce        :0
  Sync                :46297             Delay_resp      :4776
  follow_up           :0

  Send packet statistics
  ------------------------------------------------------------------------------
  Signaling           :0                 Delay_req       :4839

  Discard packet statistics
  ------------------------------------------------------------------------------
  Signaling           :0                 Announce        :0
  Sync                :0                 Delay_resp      :0
  follow_up           :0
  **************************server1 information end*****************************

# Display the current 1588 ACR configurations on the server.

<HUAWEI> display ptp-adaptive all
  Device config info
  ------------------------------------------------------------------------------
  Ptp adaptive state      :enable           Device type        :server
  Sync mode               :frequency        Current state      :master
  Packet dscp             :56               Domain value       :4
  Local ip                :1.1.1.1          Profile            :frequency
  Server board            :3
  VPN                     :none

  Client info
      ID  Ip Address       Clock ID          Mode     Announce  Sync  Delay_resp
  ------------------------------------------------------------------------------
  1   500 3.3.3.3          00259efffed1efcf  two-way  1         -3    -3
  2   489 4.4.4.4          286ed4fffebcdc76  one-way  1         -3    -3

# Display configurations of client 0 on the server.

<HUAWEI> display ptp-adaptive client 0
  *************************client0   information begin**************************
  Client id           :0                 IP address          :33.33.33.10
  Clock id            :00259efffed1efcf  Mode                :two-way
  Announce interval   :1                 Announce duration   :300
  Sync interval       :-3                Sync duration       :300
  Delay_resp interval :-3                Delay_resp duration :300

  Receive packet statistics
  ------------------------------------------------------------------------------
  Signaling           :1                 Delay_req           :0

  Send packet statistics
  ------------------------------------------------------------------------------
  Signaling           :0                 Announce            :564
  Sync                :0                 Delay_resp          :0

  Discard packet statistics
  ------------------------------------------------------------------------------
  Signaling           :1
  Delay_req           :0
  *************************client0   information end****************************
Download
Updated: 2019-01-02

Document ID: EDOC1100058392

Views: 14777

Downloads: 24

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next