Configuration of the Native TDM Mobile Bearer Service (Based on the SDH Network)-HUAWEI

***********Native TDM Mobile Bearer Service (Based on the SDH Network)************

Configure the OLT

  1. Add an ONT to the OLT. The ONT is connected to the GPON port of the OLT through an optical fiber. You can perform the service configuration only after adding an ONT successfully on the OLT.
    1. Add a DBA profile.

      Configure the DBA profile name to NativeTDM, DBA type to type1, and fixed bandwidth to 44800bit/s, and enable bandwidth compensation.


      The bandwidth of each E1 port on the OT928G is 4416 kbit/s. When the OT928G uses the native TDM mode, which is actually the TDMoEoGEM encapsulation mode, the packet contains the Ethernet information, GEM frame, and TDM payload. In addition, other overhead costs caused by packet fragmentation and queue buffering must also be taken into consideration. Therefore, bandwidth compensation must be enabled. Recommended TDM frequency bandwidth formula: bandwidth = (4416 x N + 640) kbit/s, where, N is the number of E1 ports.
      OLT(config)#dba-profile add profile-name NativeTDM type1 fix 44800
    2. (Optional) Add an alarm profile.
      • The ID of the default GPON alarm profile is 1. The thresholds of all the alarm parameters in the default alarm profile are 0, which indicates that no alarm is generated.
      • In this example, the default alarm profile is used, and therefore the configuration of the alarm profile is not required.
      • Run the gpon alarm-profile add command to add an alarm profile, which is used for monitoring the performance of an activated ONT line.
    3. Add an ONT line profile.Add GPON MDU line profile 10 and bind T-CONT 5 to DBA profile named NativeTDM. In this way, the T-CONT can provide flexible DBA solutions based on different configurations in the DBA profile.
      OLT(config)#ont-lineprofile gpon profile-id 10
      OLT(config-gpon-lineprofile-10)#tcont 5 dba-profile-name NativeTDM

      Add GEM port 1 for transmitting TDM traffic streams. Bind GEM port 1 to T-CONT 5. Configure the QoS mode to priority-queue (default).


      1. The QoS mode must be consistent with the actual hardware capability supported by the ONT.
      2. To change the QoS mode, run the qos-mode command to configure the QoS mode to gem-car or flow-car, and run the gem add command to configure the ID of the traffic profile bound to the GEM port.
      3. When the QoS mode is PQ, the default queue priority is 0; when the QoS is flow-car, traffic profile 6 is bound to the port by default (no rate limitation); when the QoS mode is gem-car, traffic profile 6 is bound to the port by default (no rate limitation).
      OLT(config-gpon-lineprofile-10)#gem add 1 tdm tcont 5

      Configure the GEM port mapping mode to E1 to map the traffic streams on E1 port 1 of the ONT to GEM port 1. As special ports, E1 ports are not subject to the ONT mapping mode.

      OLT(config-gpon-lineprofile-10)#gem mapping 1 1 e1 1

      After the configuration is complete, run the commit command to make the configured parameters take effect.

    4. Configure an ONT service profile.The service profile ID is 10, and the OT928G supports five ETH ports, eight E1 ports, and eight POTS ports.
      OLT(config)#ont-srvprofile gpon profile-id 10
      OLT(config-gpon-srvprofile-10)#ont-port eth 5 tdm 8 tdm-type e1 tdm-srvtype 
      tdmogem pots 8

      Save the configuration and quit the service profile configuration mode.

    5. Add an ONT.Connect the OT928G to GPON port 0/3/1. The ONT ID is 1, the SN is 485754434224C902, the management mode is OMCI, and the bound line profile ID is 10, the bound service profile ID is 10.


      • You can run the ont add command to add an ONU offline or run the ont confirm command to confirm an automatically discovered ONU.
      • Before running the ont confirm command to confirm the automatically discovered ONU, you must run the port ont-auto-find command in the GPON mode to enable the ONU automatic discovery function.
      • In this example, the method of confirming an automatically discovered ONU is used.
      OLT(config)#interface gpon 0/3
      OLT(config-if-gpon-0/3)#port 1 ont-auto-find enable
      OLT(config-if-gpon-0/3)#display ont autofind 1
                display ont autofind 1                                                
         Number    F/ S/ P         SN            Password                             
          1        0/ 3/ 1    485754434224C902                                        
      OLT(config-if-gpon-0/3)#ont confirm 1 ontid 1 sn-auth 485754434224C902 profil
      e-id 20 manage-mode omci description OT928G_0/3/1/1_profile20
        Number of ONTs that can be added: 1, success: 1                               
        PortID :1, ONTID :1                                                           


      • After an ONU is added, it is recommended that you run the display ont info command or the display ont state command to query the ONU status. In this step, ensure that Config State and Match State of the ONU are normal and match respectively.
      • If the ONU state in the actual query result is different from the preceding description, run the display ont capability command to query the actual ONU capabilities, and then add a proper ONU profile based on the queried ONU capabilities. Then, add an ONU again.
    6. (Optional) Bind the alarm profile to the ONT.The default profile (profile 1) is used.
      OLT(config-if-gpon-0/3)#ont alarm-profile 1 1 profile-id 1
  2. Configure queue scheduling. Use the 3PQ+5WRR queue scheduling. Queues 0-4 adopt the WRR mode, with the weights of 10, 10, 20, 20, and 40 respectively; queues 5-7 adopt the PQ mode. The priority of the TDM emulation service is 6, adopting the PQ scheduling.


    Queue scheduling is a global configuration. You need to configure queue scheduling only once on the OLT, and then the configuration takes effect globally. In the subsequent phases, you need not configure queue scheduling repeatedly when configuring other services.
    OLT(config)#queue-scheduler wrr 10 10 20 20 40 0 0 0

    Configure the mapping between queues and 802.1p priorities. Priorities 0-7 map queues 0-7 respectively.

    OLT(config)#cos-queue-map cos0 0 cos1 1 cos2 2 cos3 3 cos4 4 cos5 5 cos6 6 cos7 7


    For the service board that supports only four queues, the mapping between 802.1p priorities and queue IDs is as follows: priorities 0 and 1 map queue 1; priorities 2 and 3 map queue 2; priorities 4 and 5 map queue 3; priorities 6 and 7 map queue 4.
  3. Configure the TDM connection. Set up a native TDM connection between GEM port 1 and upstream port 0/6/0 of the TPOA board.
    • In the case of the E1 upstream port, the configuration is as follows:
      OLT(config)#tdm-connect tdm 0/6/0 gpon 0/3/1 ontid 1 gemportIndex 1
    • In the case of the STM-1 upstream port, you must configure the VC12 parameter. VC12 is the virtual container that carries the E1 service. One STM-1 port contains 63 E1 ports. Accordingly, there are 63 VC12 virtual containers. The configuration is as follows:
      OLT(config)#tdm-connect tdm 0/6/0 vc12 0 gpon 0/6/1 ontid 1 gemportIndex 1
  4. Configure the clock board.


    • In the TDM service, clock synchronization is very important. The entire SDH network must use the same clock source. Otherwise, error codes will be introduced, which affect the service quality or even interrupt the service.
    • The default clock mode of the E1 port on the TOPA board is line, indicating tracing the SDH clock. Modification is not required.
    1. Configure clock source and priority of the OLT.Add the line clock, provided by the TOPA board, with the index 0.
      OLT(config)#clock source 0 0/6/0 0

      Add the BITS clock, provided by the BIUA board, with the index 1.

      OLT(config)#clock source 1 0/0/0 1

      Configure the clock priority and prefer the line clock.

      OLT(config)#clock priority 0/1
  5. Save the data.


Be the first to comment

Leave a Reply

Your email address will not be published.