Configuration of the FTTB and FTTC Internet Access Services (LAN Access)-HUAWEI

*******Configuration of the FTTB and FTTC Internet Access Services (LAN Access)*******

Configure the OLT:

  1. Create an SVLAN and add an upstream port to it.Create smart VLAN 100, VLAN attribute QinQ and add upstream port 0/19/0 to it.
    OLT(config)#vlan 100 smart
    OLT(config)#vlan attrib 100 q-in-q
    OLT(config)#port vlan 100 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 PPPoE, type to Type4, and upstream bandwidth to 100 Mbit/s.
      OLT(config)#dba-profile add profile-name PPPoE 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 4 to DBA profile named PPPoE. 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 4 dba-profile-name PPPoE

      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 4. 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).

       NOTE:

      • Before running the multi-service-port command to create service ports in batches, ensure that the number of GEM ports is the same as the number of CVLANs. Therefore, you must create GEM ports according to the number of CVLANs.
      • To run the service-port command to create service ports one by one, note that one GEM port can be bound to a maximum of eight service ports. Therefore, you must create sufficient GEM ports according to the number of service ports. This topic considers this method to create one GEM port for example. The service virtual ports in the same GEM port only to replace the mapping VLAN and the mapping-index.
      OLT(config-gpon-lineprofile-10)#gem add 0 eth tcont 4
      OLT(config-gpon-lineprofile-10)#gem add 1 eth tcont 4

      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)#display ont autofind all
         ------------------------------------------------------------------------
         Number    F/ S/ P         SN            Password
         ------------------------------------------------------------------------
          1        0/ 2/ 1    32303131B39FD641
         ------------------------------------------------------------------------
         The number of GPON autofind ONT is 1
      OLT(config)#interface gpon 0/2
      OLT(config-if-gpon-0/2)#ont confirm 0 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 1001, SVLAN ID to 100, 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 1001 vlan 100 gpon 0/2/1 ont 0 gemport 0 multi-service user-vlan 1001 rx-cttr 6 tx-cttr 6

     NOTE:

    • In this example, run the service-port command to create service ports one by one. The following considers the creation of one service port as an example. Note that one GEM port can be bound to a maximum of eight service ports. When creating a service port, pay attention to its relationships with the GEM port and the CVLAN.
    • You can also run the multi-service-port command to create service ports in batches. In the case of GPON access, you must confirm a service port by specifying ont+gemindex. In addition, ensure that the number of GEM ports is the same of the number of CVLANs.
  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 Internet access service to 1 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. 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.