Configuration Example of the FTTH VoIP Service (H.248-based)-HUAWEI

*********FTTH VoIP Service (H.248-based)*********

  • Configure the OLT:
    1. Create a service VLAN and add an upstream port to it.The VLAN ID is 200, and the VLAN is a smart VLAN. Add upstream port 0/19/0 to VLAN 200.
      OLT(config)#vlan 200 smart
      OLT(config)#port vlan 200 0/19 0
    2. Configure a traffic profile.You can run the display traffic table ip command to query the traffic profiles existing in the system. If the traffic profiles existing in the system do not meet the requirements, you need to run the traffic table ip command to add a traffic profile.The profile ID is 9, no rate limitation in the upstream and downstream directions, the priority is 6, and packets are scheduled according to the priority carried.
      OLT(config)#traffic table ip index 9 cir off priority 6 priority-policy tag-In-Packag
    3. Add a DBA profile.You can run the display dba-profile command to query the traffic profiles existing in the system. If the traffic profiles existing in the system do not meet the requirements, you need to run the dba-profile add command to add a traffic profile.Configure the profile ID to 20, type to type3, assured bandwidth to 15 Mbit/s, and maximum bandwidth to 30 Mbit/s.
      OLT(config)#dba-profile add profile-id 20 type3 assure 15360 max 30720
    4. (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 reported.
      • 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 configure an alarm profile, which is used for monitoring the performance of an activated ONT line.
    5. Add an ONT line profile.Add GPON ONT line profile 10 and bind T-CONT 2 to the DBA profile 20. 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 2 dba-profile-id 20

      Add GEM port 2 for transmitting ETH traffic streams and bind GEM port 2 to T-CONT 2. The QoS mode is priority-queue (default).

       NOTE:

      1. 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.
      2. 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 2 eth tcont 2

      Configure the service mapping mode from the GEM port to the ONU to VLAN (default), and map CVLAN 20 to GEM port 2.

      OLT(config-gpon-lineprofile-10)#mapping-mode vlan
      OLT(config-gpon-lineprofile-10)#gem mapping 2 1 vlan 20
      OLT(config-gpon-lineprofile-10)#commit
      OLT(config-gpon-lineprofile-10)#quit

       NOTE:

      After a profile is configured, run the commit command to make the configuration take effect before the system quits the profile mode.
    6. Add an ONT service profile.The service profile type should be consistent with the actual ONT type. Considering the HG850a as an example, configure four ETH ports and two POTS ports.
      OLT(config)#ont-srvprofile gpon profile-id 10
      OLT(config-gpon-srvprofile-10)#ont-port eth 4 pots 2
      OLT(config-gpon-srvprofile-10)#commit
      OLT(config-gpon-srvprofile-10)#quit

       NOTE:

      After a profile is configured, run the commit command to make the configuration take effect before the system quits the profile mode.
    7. Add an ONT.The ONT is connected to GPON port 0/1/1. Configure the ONT ID to 1, SN to 32303131D659FD40, management to OMCI, the bound line profile ID is 10, and the bound service profile ID is 10.

       NOTE:

      • You can run the ont add command to add an ONT offline or run the ont confirm command to confirm an automatically discovered ONT.
      • Before confirming an automatically discovered ONT, you must run the port portid ont-auto-find command in the GPON mode to enable the ONT automatic discovery function of the port.
      • In this example, the method of confirming an automatically discovered ONT is used.
      OLT(config)#interface gpon 0/1
      OLT(config-if-gpon-0/1)#port 1 ont-auto-find enable
      OLT(config-if-gpon-0/1)#display ont autofind 1
         ------------------------------------------------------------------------
         Number    F/ S/ P         SN            Password
         ------------------------------------------------------------------------
          1        0/ 1/ 1    32303131D659FD40
         ------------------------------------------------------------------------
      OLT(config-if-gpon-0/1)#ont confirm 1 ontid 1 sn-auth 32303131D659FD40 omci
       ont-lineprofile-id 10 ont-srvprofile-id 10 desc HG850a
      

       NOTE:

      • After an ONT is added, it is recommended that you run the display ont info command to query the ONT status. In this step, ensure that Config State and Match State of the ONT are normal and match respectively.
      • If the ONT state in the actual query result is different from the preceding description, run the display ont capability command to query the actual ONT capabilities, and then add a proper ONT profile based on the queried ONT capabilities. Then, add an ONT again.
    8. (Optional) Bind the alarm profile to the ONU.The default alarm profile (profile 1) is adopted.
      OLT(config-if-gpon-0/1)#ont alarm-profile 1 1 profile-id 1
    9. Add a service port to the VLAN.Configure the service port ID to 2, SVLAN ID to 200, GEM port ID to 2, and CVLAN ID to 20. Bind traffic profile 9 to the service port.
      OLT(config-if-gpon-0/1)#quit
      OLT(config)#service-port 2 vlan 200 gpon 0/1/1 ont 1 gemport 2 multi-service user-vlan 20 rx-cttr 9 tx-cttr 9
    10. 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 VOIP service is 6, adopting the PQ scheduling.

       NOTE:

      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
      

       NOTE:

      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.
    11. Save the data.
      OLT(config)#save
  • Configure the ONT. Consider the HG850a as an example. The configurations on other types of ONTs are similar.

  **********END**********

Be the first to comment

Leave a Reply

Your email address will not be published.


*


For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

I agree to these terms.