Configuration of the Enterprise Ethernet Private Service-HUAWEI

******Configuration of the Enterprise Ethernet Private Service******

Configure the OLT


OLT_1 and OLT_2 have the same configuration.
  1. Create an SVLAN and add an upstream port to it.Create smart VLAN 2000 and add upstream port 0/19/0 to it.
    OLT(config)#vlan 2000 smart
    OLT(config)#vlan attrib 2000 q-in-q
    OLT(config)#port vlan 2000 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.
    1. Add a DBA profile.Configure the profile name to PrivateLine, profile type to Type3, assured bandwidth to 20 Mbit/s, and maximum bandwidth to 50 Mbit/s.
      OLT(config)#dba-profile add profile-name PrivateLine type3 assure 20480 max 51200
    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 ONU line.
    3. Add an ONT line profile. Add GPON ONT line profile 10 and bind T-CONT 5 to the DBA profile named PrivateLine. 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 PrivateLine

      Add GEM port 0 and GEM port 1 for transmitting ETH traffic streams, and bind GEM port 0 and GEM port 1 to T-CONT 5, then configure the QoS mode to priority-queue (default) and the queue priority to 0.


      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 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 0 eth tcont 5 priority-queue 0
      OLT(config-gpon-lineprofile-10)#gem add 1 eth tcont 5 priority-queue 0

      Configure the service mapping mode from the GEM port to the ONU to VLAN (default), and map internal VLAN 50 and VLAN 60 of the enterprise to GEM port 0 and 1.

      OLT(config-gpon-lineprofile-10)#mapping-mode vlan
      OLT(config-gpon-lineprofile-10)#gem mapping 0 0 vlan 50
      OLT(config-gpon-lineprofile-10)#gem mapping 1 1 vlan 60

      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

      Configure the port VLAN of the OT928G. Add ETH ports 1 and 2 to VLAN 50 and ETH ports 3 and 4 to VLAN 60.

      OLT(config-gpon-srvprofile-10)#port vlan eth 1-2 50
      OLT(config-gpon-srvprofile-10)#port vlan eth 3-4 60

      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 ONU.The default profile (profile 1) is used.
      OLT(config-if-gpon-0/3)#ont alarm-profile 1 1 profile-id 1
  3. Enable transparent transmission of BPDUs, and bind VLAN service profile 1 to the SVLAN.
    OLT(config)#vlan service-profile profile-id 1
    OLT(config-vlan-srvprof-1)#bpdu tunnel enable
      Info: Please use the commit command to make modifications take effect
    OLT(config)#vlan bind service-profile 2000 profile-id 1
  4. Create service ports. Service port IDs are 10 and 20, service VLAN ID is 2000, GEM port IDs are 0 and 1, and CVLAN IDs are 50 and 60. The rates of upstream and downstream packets are 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 10 vlan 2000 gpon 0/3/1 ont 1 gemport 0 multi-service 
    user-vlan 50 tag-transform default rx-cttr 6 tx-cttr 6
    OLT(config)#service-port 20 vlan 2000 gpon 0/3/1 ont 1 gemport 1 multi-service 
    user-vlan 60 tag-transform default rx-cttr 6 tx-cttr 6
  5. 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.
  6. Save the data.


Be the first to comment

Leave a Reply

Your email address will not be published.