Configuration of the FTTB and FTTC IPTV Services-HUAWEI

********Configuration of the FTTB and FTTC IPTV Services*********

  • Configure the OLT.
    1. Create an SVLAN and add an upstream port to it.Create smart VLAN 1000 and add upstream port 0/19/0 to it.
      OLT(config)#vlan 1000 smart
      OLT(config)#port vlan 1000 0/19 0
    2. Add an ONU on the OLT. The ONU is connected to the GPON port of the OLT through an optical fiber. You can perform the service configuration only after adding an ONU successfully on the OLT. To log in to the ONU through Telnet and configure the ONU from the OLT, you must configure the inband management VLAN and IP address for the OLT and the ONU on the OLT.
      1. Configure the inband management VLAN and IP address of the OLT. Create management VLAN 4000 and add upstream port 0/19/0 to it. Configure the inband management IP address to 192.168.50.1/24.

         NOTE:

        To manage the ONU through SNMP, you must configure the management VLAN, configure the IP address, and create a management service port.
        OLT(config)#vlan 4000 smart
        OLT(config)#port vlan 4000 0/19 0
        OLT(config)#interface vlanif 4000
        OLT(config-if-vlanif4000)#ip address 192.168.50.1 24
        OLT(config-if-vlanif4000)#quit
      2. Add a DBA profile.Configure the DBA profile name to IPTV, type to Type4, and upstream bandwidth to 100 Mbit/s.
        OLT(config)#dba-profile add profile-name IPTV type4 max 102400
      3. (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 ONU line.
      4. Add an ONU line profile.Add GPON ONU line profile 10 and bind T-CONT 3 to DBA profile named IPTV. In this way, the T-CONT can flexibly provide DBA solutions based on different configurations in the DBA profile.

         NOTE:

        The ONU line profile must not be the existed on and you can create different ONU line profiles based on different services. This topic considers creating the ONU line profile 10 for example.

        OLT(config)#ont-lineprofile gpon profile-id 10
        OLT(config-gpon-lineprofile-10)#tcont 3 dba-profile-name IPTV

        Add GEM port 0 for carrying management traffic streams and GEM port 1 for carrying traffic streams of the ETH type. Bind GEM port 0 and GEM port 1 to T-CONT 3. Configure the QoS mode to priority-queue (default).

         NOTE:

        1. To change the default 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 index of the traffic profile to which the GEM port is bound.
        2. When the QoS mode is PQ, the default queue priority is 0; when the QoS is flow-car, traffic profile 6 is bound by default (no rate limitation); when the QoS mode is gem-car, traffic profile 6 is bound by default (no rate limitation).
        OLT(config-gpon-lineprofile-10)#gem add 0 eth tcont 3
        OLT(config-gpon-lineprofile-10)#gem add 1 eth tcont 3

        Configure the mapping mode from the GEM port to ONU-side service to VLAN (default), map the service port of management VLAN 4000 to GEM port 0, and map the service port of SVLAN 100 (CVLAN 1001) to GEM port 1.

        OLT(config-gpon-lineprofile-10)#mapping-mode vlan
        OLT(config-gpon-lineprofile-10)#gem mapping 0 0 vlan 4000
        OLT(config-gpon-lineprofile-10)#gem mapping 1 1 vlan 1001
        

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

        OLT(config-gpon-lineprofile-10)#commit
        OLT(config-gpon-lineprofile-10)#quit
      5. Add an ONU.Connect the ONU to GPON port 0/2/1. The ONU ID is 0, the SN is 32303131B39FD641, the management mode is SNMP, and the bound line profile ID is 10.

         NOTE:

        • 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/2
        OLT(config-if-gpon-0/2)#port 1 ont-auto-find enable
        OLT(config-if-gpon-0/2)#display ont autofind 1
           ------------------------------------------------------------------------
           Number    F/ S/ P         SN            Password
           ------------------------------------------------------------------------
            1        0/ 2/ 1    32303131B39FD641
           ------------------------------------------------------------------------
        
        OLT(config-if-gpon-0/2)#ont confirm 1 ontid 0 sn-auth 32303131B39FD641 snmp
         ont-lineprofile-id 10

         NOTE:

        • 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 and a proper ONU based on the queried ONU capabilities.
      6. (Optional) Bind the alarm profile to the ONU.The default profile (profile 1) is used.
        OLT(config-if-gpon-0/2)#ont alarm-profile 1 0 profile-id 1
      7. Configure the inband management VLAN and IP address of the ONU. Configure the static IP address of the ONU to 192.168.50.2/24 and the management VLAN ID to 4000 (the same as the management VLAN of the OLT).
        OLT(config-if-gpon-0/2)#ont ipconfig 1 0 static ip-address 192.168.50.2 mask 255.255.255.0 vlan 4000
        OLT(config-if-gpon-0/2)#quit
      8. Configure an inband management service port.Configure the management service port ID to 0, management VLAN ID to 4000, GEM port ID to 0, and CVLAN ID to 4000. The rate of the inband service port on the OLT is not limited. Therefore, use traffic profile 6 (default). To limit the rate of the service port, run the traffic table ip command to add a traffic profile and bind it to the service port.
        OLT(config)#service-port 0 vlan 4000 gpon 0/2 ont 0 gemport 0 multi-service user-vlan 4000 rx-cttr 6 tx-cttr 6

       NOTE:

      Now, the ONU is successfully added to the OLT, and the management channel between the OLT and the ONU is available. You can log in to the ONU by running the telnet command on the OLT to configure the ONU.

    3. Create a service port.

      Configure the service port ID to 1000, SVLAN ID to 1000, GEM port ID to 1, and CVLAN ID to 1001. Rate limitation for upstream and downstream packets is performed on the ONU instead of on the OLT. Therefore, use traffic profile 6 (default). To limit the rate of the service port, run the traffic table ip command to add a traffic profile and bind it to the service port.

       NOTE:

      The CVLAN must be consistent with the upstream VLAN of the ONU.
      OLT(config)#service-port 1000 vlan 1000 gpon 0/2/1 ont 0 gemport 0 multi-service
       user-vlan 1000 rx-cttr 6 tx-cttr 6
    4. Configure the queue scheduling. Use the 3PQ+5WRR queue scheduling. Queues 0-4 adopt the WRR mode, with the weight as 10, 10, 20, 20, and 40 respectively; queues 5-7 adopt the PQ mode. Configure the priority of the IPTV service to 4 and adopt the WRR mode.

       NOTE:

      Queue scheduling is configured globally. 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.
    5. Configure a multicast subtending port.Configure port 0/2/1 connected to the ONU as the multicast subtending port.
      OLT(config)#btv
      OLT(config-btv)#igmp cascade-port 0/2/1 ontid 0 gemport-index 1
      

       NOTE:

      If the multicast subtending port is not configured and multicast users are directly configured, the maximum number of programs for each multicast user is limited. If multicast users are directly configured:

      • If set users to be authenticated, you can run the command igmp profile add to add a multicast authority profile, and then use the command igmp profile to modify the authority parameters. At last, use the command igmp user bind-profile to bind this profile to the user need to be authenticated.
      • If set users to be authenticated, delete the no-auth parameter.

      The corresponding configuration procedure is as follows:

      OLT(config-btv)#igmp user add service-port 1000 no-auth
      OLT(config-btv)#multicast-vlan 1000
      OLT(config-mvlan1000)#igmp multicast-vlan member service-port 1000
      
    6. Set the IGMP version.Use IGMP V3.
      OLT(config)#multicast-vlan 1000
      OLT(config-mvlan1000)#igmp version v3
      
    7. Select the IGMP mode.Select the IGMP proxy mode.
      OLT(config-mvlan1000)#igmp mode proxy
        Are you sure to change IGMP mode?(y/n)[n]:y
    8. Configure the 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
      
    9. Set the multicast global parameters.In this example, the default settings are used for all the multicast global parameters.
    10. Configure the program library.The multicast IP address of the program is 224.1.1.10 and the IP address of the program source is 10.10.10.10
      OLT(config-mvlan1000)#igmp program add name program1 ip 224.1.1.10 sourceip 10.10.10.10
      
    11. Configure a log server.Enable CDR log reporting, and configure the IP address of the active server to 10.10.10.20.
      OLT(config-mvlan1000)#btv
      OLT(config-btv)#igmp cdr enable
      OLT(config-btv)#quit
      OLT(config)#file-server auto-backup cdr primary 10.10.10.20 tftp
    12. Save the data.
      OLT(config)#save
  • Configure the ONU.
    1. Log in to the ONU to perform the configuration.On the OLT, use the management IP address of the ONU to log in to the ONU through Telnet. User name: root. Password: mduadmin.
      huawei(config)#telnet 192.168.50.2
      { <cr>|service-port<U><0,4294967295> }:
      
        Command:
                telnet 192.168.50.2
        Press CTRL_] to quit telnet mode
        Trying 192.168.50.2 ...
        Connected to 192.168.50.2 ...
      >>User name:root
      >>User password:
      
    2. Configure the 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.Add traffic profile 10, and no rate limitation on user packets. The priority is 1, bind the traffic profile 8 and the priority policy is scheduled by the priority that the packets bear.
      MDU(config)#traffic table ip index 10 cir off priority 4 priority-policy
       tag-In-Packag
    3. Configure a VLAN and add an upstream port to the VLAN.Create S-VLAN 1000 and add upstream port 0/0/1 to S-VLAN 1000.

       NOTE:

      The CVLAN must be consistent with the upstream VLAN of the ONU.
      MDU(config)#vlan 1000
      MDU(config)#port vlan 1000 0/0 1
    4. Configure a service port.Add service port 1000, CVLAN to untagged , and bind VLAN 1000 and traffic profile 10 to it.
      MDU(config)#service-port 1000 vlan 1000 eth 0/1/1 multi-service user-vlan
       untagged  rx-cttr 10 tx-cttr 10
      
    5. Configure the multicast mode and multicast protocol version.Configure the multicast mode to IGMP Proxy and adopt IGMP V3.
      MDU(config)#multicast-vlan 1000
      MDU(config-mvlan1000)#igmp mode proxy
      MDU(config-mvlan1000)#igmp version v3
      
    6. Configure a multicast upstream port and a multicast program.Configure upstream port 0/0/1 as the upstream multicast port, and configure the IP address of the multicast to 224.1.1.10 and the source IP address to 10.10.10.10.

       NOTE:

      The program IP and the multicast source IP of the ONU must be the same as configuration on the OLT.

      MDU(config-mvlan1000)#igmp uplink-port 0/0/1
      MDU(config-mvlan1000)#igmp program add ip 224.1.1.10 sourceip 10.10.10.10
      
    7. Configure a multicast user and add the user to the multicast VLAN.Configure service port 1000 as a multicast user, add the user to VLAN 1000, and adopt the no-auth mode for the multicast user.

       NOTE:

      • If set users to be authenticated, you can run the command igmp profile add to add a multicast authority profile, and then use the command igmp profile to modify the authority parameters. At last, use the command igmp user bind-profile to bind this profile to the user need to be authenticated.
      • If set users to be authenticated, delete the no-auth parameter.
      MDU(config-mvlan1000)#btv
      MDU(config-btv)#igmp user add service-port 1000 no-auth
      MDU(config-btv)#multicast-vlan 1000
      MDU(config-mvlan1000)#igmp multicast-vlan member service-port 100
      
    8. Save the configuration.
      MDU(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.