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

NE20E-S2 V800R010C10SPC500 Configuration Guide - System Management 01

This is NE20E-S2 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 G.8275.1

Configuring G.8275.1

Usage Scenario

On the network shown in Figure 11-1, the BITS interface that functions as the T-GM obtains high-accuracy time information from a global positioning system (GPS), encapsulates the information into a G.8275.1 packet, and sends the packet to the bearer network. A bearer network device that functions as the T-BC transparently transmits the time information to all devices on the bearer network. BCs send high-accuracy time information carried in the G.8275.1 packet to wireless access devices, such as a NodeB and a radio network controller (RNC).
Figure 11-1 G.8275.1 application over a bearer network

Pre-configuration Tasks

  • Set physical parameters of interfaces and ensure that the interfaces are physically Up.

Configuration Procedures

Figure 11-2 G.8275.1 configuration process

Configuring the BITS Clock Source as the T-GM

You can introduce a clock source that functions as the grandmaster clock on the T-GM of building integrated timing supply system (BITS). This clock source provides the source of time signals for T-BCs to achieve time synchronization between the T-GM and T-BCs.

Context

For details about the clock source configuration of the T-GM on BITS, see the associated configuration guide.

NOTE:
When a device connects to an external BITS source, a BITS clock accuracy must be configured on the local device. By default, the BITS clock accuracy is 0x20. When the default value is used, the downstream device cannot communicate with the local device using the G.8275.1 protocol that was issued in 2014, because the clock accuracy in this version can only be 0x21 or 0xFE. Configuring the BITS clock accuracy as 0x21 is recommended for device interconnection in this scenario.

Configuring Clock Source Attributes Used for BMC Selection

This section describes how to configure clock source attributes used for BMC selection. routers configured with clock source attributes can participate in BMC selection. A local clock on a G.8275.1 router can also participate in BMC selection. The BMC algorithm helps G.8275.1 routers to select a master clock. The master clock provides time signals for other routers over a G.8275.1 network. G.8275.1 routers obtain clock synchronous information from the grandmaster.

Context

Perform the following steps on each router that is connected to a BITS:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ptp clock-source local priority2 priority2-value

    The priority 2 of the local clock source is set.

  3. Run ptp clock-source local local-priority local-priority-value

    The priority of the local clock source is set.

  4. Run ptp clock-source local time-source time-source-value

    The time source of the local clock source is configured.

  5. Run commit

    The configuration is committed.

Configuring G.8275.1 Globally

You need to enable G.8275.1 on a router in the system view, configure the router as a T-BC, specify the domain to which the router belongs to, and enable the static configuration of the status of the T-BC interface.

Context

Perform the following operations on the T-BC:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ptp enable

    PTP is enabled.

  3. Run ptp profile g-8275-1 enable

    G.8275.1 is enabled.

  4. Run ptp device-type t-bc

    The device type is set to T-BC.

  5. (Optional) Run ptp domain domain-value

    The domain where the device resides is configured.

    NOTE:
    Devices in the same clock domain can exchange G.8275.1 packets to synchronize time signals.

  6. (Optional) Run ptp virtual-clock-id clock-id-value

    A virtual clock ID is set.

  7. (Optional) Configure automatic asymmetry measurement for fibers.
    1. Run ptp asymmetry-measure enable

      Automatic asymmetry measurement is enabled on the router.

    2. Run ptp passive-measure enable

      The performance monitoring function is enabled on the passive interface of a G.8275.1 device.

    3. Run ptp passive-measure alarm-threshold alarm-threshold-value

      An alarm threshold is configured for the time offset (time difference between the master and slave clocks) on the passive interface of a G.8275.1 device.

  8. (Optional) Configure the clock source access control function.
    1. Run ptp acl enable

      The clock source access control function is enabled.

    2. Run ptp acl-permit-clockid clockid-value

      A clock ID is configured for a T-BC to allow for local BMC algorithm.

  9. (Optional) Run ptp max-steps-removed

    The maximum number of hops for time synchronization is configured. A clock source is considered unavailable if stepsRemoved in the Announce packets received by the clock source is greater than or equal to max-steps-removed-value.

  10. Run commit

    The configuration is committed.

(Optional) Configuring the Time Synchronization Alarm Function

After the time synchronization alarm function is configured to monitor time synchronization status information, the alarm information will be reported to the NMS for further troubleshooting and maintenance.

Context

Perform the following operations on the T-BC:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Configure the time synchronization alarm function as required.

    • Run the ptp alarm-threshold clock-class clock-class-value command to configure the alarm threshold for PTP source input deterioration.

    • Run the ptp alarm-threshold standard-time-offset time-offset-value command to configure the alarm threshold for the PTP source absolute time reference.

    • Run the ptp alarm-threshold time-offset-sum time-offset-sum command to configure the alarm threshold for the peak value of the accumulated PTP source time offsets.

  3. Run commit

    The configuration is committed.

Configuring G.8275.1 on an Interface

After enabling G.8275.1 in the system view, you need to enable G.8275.1 in the interface view.

Context

Perform the following operations on the T-BC:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run ptp enable

    PTP is enabled on the interface.

  4. (Optional) Run ptp notslave disable

    The notslave attribute of the interface is set to FALSE.

  5. (Optional) Run ptp local-priority local-priority-value

    The local priority of a PTP interface is set.

  6. (Optional) Run ptp asymmetry-correction { negative negative-asymmetry-correction-value | positive positive-asymmetry-correction-value }

    The asymmetric correction time for sending G.8275.1 packets on the interface is set.

  7. (Optional) Run ptp clock-step { one-step | two-step }

    The timestamping mode of the synchronization packets sending by the G.8275.1 port is set.

  8. Run commit

    The configuration is committed.

Configuring Time Attributes for G.8275.1 Packets

This section describes how to configure time attributes for G.8275.1 packets. T-BCs exchange Announce, Sync, and Delay or Pdelay packets to send time information and maintain G.8275.1 connections. You can set the interval at which a G.8275.1 interface sends Announce, Sync, and Delay or Pdelay packets and the maximum number of Announce packet timeouts. Using the default time attribute values is recommended.

Context

Perform the following operations on the T-BC:

Procedure

  • Configure time attributes for Announce packets.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run ptp announce-interval announce-interval

      The interval at which the interface sends Announce packets is set. The following formula applies:

      Interval = 2n x 1/1024s, where n equals to announce-interval

      Remote timeout period of receiving Announce packets = Remotely configured receipt-timeout x Local interval at which Announce packets are sent

    4. Run ptp announce receipt-timeout receipt-timeout

      The maximum number of Announce packets that the interface fails to receive is set. If the interface fails to consecutively receive the specified maximum number of Announce packets, the interface enters the Master state.

      Local timeout period of receiving Announce packets = Locally configured receipt-timeout x Remote interval at which Announce packets are sent

    5. Run commit

      The configuration is committed.

  • Configure time attributes for Sync packets.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run ptp sync-interval sync-interval

      The interval at which the interface sends Sync packets is set. The following formula applies:

      Interval = 2n x 1/1024s, where n equals to sync-interval

    4. Run commit

      The configuration is committed.

  • Configure time attributes for Delay or Pdelay packets.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run ptp min-delayreq-interval min-delayreq-interval

      The interval at which the interface sends Delay_Req packets is set. The following formula applies:

      Interval = 2n x 1/1024s, where n equals to min-delayreq-interval

      The default min-delayreq-interval value is 7, which means that an interface sends a Delay_Req every 128/1024s.

    4. Run commit

      The configuration is committed.

Configuring Encapsulation Modes for G.8275.1 Packets

You can configure destination MAC addresses of packets according to the actual networking.

Prerequisites

By default, G.8275.1 packets are encapsulated in MAC encapsulation mode.

Context

Perform the following operations on the T-BC:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run ptp mac-egress destination-mac destination-mac

    The G.8275.1 packets to be sent from the interface is encapsulated in MAC encapsulation mode, and a destination MAC address is configured.

  4. Run commit

    The configuration is committed.

Verifying the G.8275.1 Configuration

After configuring the G.8275.1 function, verify the configuration.

Procedure

  • Run the display ptp all [ state | config ] command to view the time synchronization status and configurations of device operation.
  • Run the display ptp interface interface-type interface-number command to view the time synchronization information on a device interface.

Example

Run the display ptp all command to view G.8275.1 configuration and running information.
<HUAWEI> display ptp all
  Device config info


  ------------------------------------------------------------------------------


  PTP state         :enabled              Domain  value      :24


  Slave only        :-                    Device type        :T-BC


  Set port state    :-                    Local clock ID     :0a11a2fffed09000


  Acl               :no                   Virtual clock ID   :no


  Acr               :-                    Time lock success  :yes


  Asymmetry measure :disable              Passive measure    :disable


  PTP profile       :G.8275.1




  BMC run info


  ------------------------------------------------------------------------------


  Grand clock ID    :0012a0fffe00b100               


  Receive number    :GigabitEthernet0/1/1           


  Parent clock ID   :0012a0fffe00b100               


  Parent portnumber :18944                          


  Priority1         :128                 Priority2           :90                


  Step removed      :0                   Clock accuracy      :0xfe              


  Clock class       :248                 Time Source         :0xa0              


  UTC Offset        :35                  UTC Offset Valid    :False             


  Timescale         :PTP                 Time traceable      :False          


  Leap              :None                Frequency traceable :False          




  Port info


  Name                        State        Delay-mech Ann-timeout Type   Domain 


  ------------------------------------------------------------------------------


  GigabitEthernet0/1/1        slave        delay      3           BC     38


  GigabitEthernet0/1/2        passive      delay      3           BC     38




  Time Performance Statistics(ns): Slot 1  Card 0  Port 1 


  ------------------------------------------------------------------------------


  Realtime(T2-T1)   :148                     Pathdelay     :0 


  Max(T2-T1)        :162


  Min(T2-T1)        :155




  Clock source info


  Clock     Pri  Pri2 Accuracy Class TimeSrc  Signal Switch Direction In-Status


  ------------------------------------------------------------------------------


  local     128  216  0xFE     248   0xa0     -      -      -         -


  bits1     128  128  0x20     6     0x20     1pps   off    in/-      normal
Run the display ptp interface interface-type interface-number command to view packet information on an interface.
<HUAWEI> display ptp interface gigbitethernet0/1/1
  Port State      :slave


  Port Clock ID   :0a11a2fffed09000


  Port Number     :6530


  Announce-interval :7


  Grand clock ID    :0012a0fffe00b100               


  Receive number    :GigabitEthernet0/1/1           


  Parent clock ID   :0012a0fffe00b100               


  Parent portnumber :18944                          


  Priority1         :128                 Priority2           :90                


  Step removed      :0                   Clock accuracy      :0xfe              


  Clock class       :248                 Time Source         :0xa0              


  UTC Offset        :35                  UTC Offset Valid    :False             


  Timescale         :PTP                 Time traceable      :False          


  Leap              :None                Frequency traceable :False          




  Recv Packet Statistics


  -----------------------------------------------------------------------


  Announce               :118        Sync                       :236     


  Req                    :0          Resp                       :236     


  Followup               :0          Pdelay_resp_followup       :0       




  Send Packet Statistics


  -----------------------------------------------------------------------


  Announce               :0          Sync                       :0       


  Req                    :236        Resp                       :0       


  Followup               :0          Pdelay_resp_followup       :0       




  Discard Packet Statistics


  -----------------------------------------------------------------------


  Announce               :0          Sync                       :0       


  Delayreq               :0          Pdelayreq                  :0       


  Resp                   :0          Pdelayresp                 :0       


  Followup               :0          Pdelay_resp_followup       :0     
Translation
Download
Updated: 2019-01-02

Document ID: EDOC1100055400

Views: 14239

Downloads: 26

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