Configuration of the FTTH IPTV Service-HUAWEI

*********Configuration of the FTTH IPTV Service***********

Configure the OLT:

  1. Create a service VLAN and add an upstream port to it.The VLAN ID is 1000, and the VLAN is a smart VLAN, Add upstream port 0/19/0 to VLAN 1000.
    OLT(config)#vlan 1000 smart
    OLT(config)#port vlan 1000 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 10, no rate limitation in the upstream and downstream directions, the priority is 4, and packets are scheduled according to the priority carried.
    OLT(config)#traffic table ip index 10 cir off priority 4 priority-policy tag-In-Packag
  3. Add a DBA profile.You can run the display dba-profile command to query the DBA profiles existing in the system. If the DBA profiles existing in the system do not meet the requirements, you need to run the dba-profile add command to add a DBA profile.Configure the DBA profile ID to 30, type to type4, and upstream bandwidth to 60 Mbit/s.
    OLT(config)#dba-profile add profile-id 30 type4 max 61440
  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 3 to the DBA profile 30. 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 3 dba-profile-id 30

    Add GEM port 3 for transmitting ETH traffic streams and bind GEM port 3 to T-CONT 3. 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 3 eth tcont 3

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

    OLT(config-gpon-lineprofile-10)#mapping-mode vlan
    OLT(config-gpon-lineprofile-10)#gem mapping 3 2 vlan 30
    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 must be the same as the actual ONT type. Considering the HG850a as an example, configure four ETH ports and two POTS ports. The ID of the VLAN to which ETH port 3 belongs is 30.
    OLT(config)#ont-srvprofile gpon profile-id 10
    OLT(config-gpon-srvprofile-10)#ont-port eth 4 pots 2
    OLT(config-gpon-srvprofile-10)#port vlan eth 3 30
    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. Specify the VLAN for the ONT port.ETH port 3 on the ONT is connected to the STB and the native VLAN of the port is VLAN 30.
    OLT(config-if-gpon-0/1)#ont port native-vlan 1 1 eth 3 vlan 30
  10. Add a service port to the VLAN.Configure the service port ID to 3, SVLAN ID to 1000, GEM port ID to 3, and CVLAN ID to 30. Bind traffic profile 10 to the service port.
    OLT(config-if-gpon-0/1)#quit
    OLT(config)#service-port 3 vlan 1000 gpon 0/1/1 ont 1 gemport 3 multi-service 
    user-vlan 30 rx-cttr 10 tx-cttr 10
  11. 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 IPTV service is 4, 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.
  12. Create a multicast VLAN and select the IGMP mode.Select the IGMP proxy mode.
    OLT(config)#multicast-vlan 1000
    OLT(config-mvlan1000)#igmp mode proxy
      Are you sure to change IGMP mode?(y/n)[n]:y
  13. Set the IGMP version.Set the IGMP version of the multicast VLAN to IGMP v3.
    OLT(config-mvlan1000)#igmp version v3
  14. Add an IGMP upstream port.The IGMP upstream port is port 0/19/0 and works in the default mode, and protocol packets are transmitted to all the IGMP upstream ports in the multicast VLAN.
    OLT(config-mvlan1000)#igmp uplink-port 0/19/0
    OLT(config-mvlan1000)#btv
    OLT(config-btv)#igmp uplink-port-mode default
    Are you sure to change the uplink port mode?(y/n)[n]:y
    
  15. (Optional) Set the multicast global parameters.In this example, the default settings are used for all the multicast global parameters.
  16. Configure the program library.Configure the IP address of the multicast program to 224.1.1.10, program name to program1, IP address of the program source to 10.10.10.10.
    OLT(config-btv)#multicast-vlan 1000
    OLT(config-mvlan1000)#igmp program add name program1 ip 224.1.1.10 sourceip 10.10.10.10
    
  17. Configure the right profile.Configure the profile name to profile0, with the right of watching program 1.
    OLT(config-mvlan1000)#btv
    OLT(config-btv)#igmp profile add profile-name profile0
    OLT(config-btv)#igmp profile profile-name profile0 program-name program1 watch
  18. Configure a multicast user.Set the user of service port 3 as a multicast user and bind right profile named profile0 to the service port.
    OLT(config-btv)#igmp policy service-port 3 normal
    OLT(config-btv)#igmp user add service-port 3 auth
    OLT(config-btv)#igmp user bind-profile service-port 3 profile-name profile0
    OLT(config-btv)#multicast-vlan 1000
    OLT(config-mvlan1000)#igmp multicast-vlan member service-port 3
    OLT(config-mvlan1000)#quit
    
  19. Save the data.
    OLT(config)#save

                                                                                             ********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.