Saturday, August 5, 2017

How to register ONT on huawei OLT from first step to complete working

I. Create Profile Template
        1. Create Traffic Table
        2. Create DBA profile
        3. Create service profile
        4. Create VLAN add VLAN to up link and gem mapping
        5. Create line profile
                a. Create tcont to bound with dba profile
                b. Create gem to bound into tcont
                c. Create gem mapping to map vlan
II. Register ONT
        1. Add ONT as router
                a. ont add to line profile and service profile
                b. add service port
                c. add vasprofile
         2. Add ONT as bridge 
                a. ont add to line profile and service profile
                b. Add native vlan
                c. add service port

I. Create Profile Template
   1. Create Traffic Table, How to create traffic table
use the command #traffic table ip index <traffic-table-index> name “put-your-standard-name” cir <bandwidth> pir <bandwidth> priority 0 priority local-setting.
(config)#traffic table ip index 1 name "put-your-standard-name" cir 1024  pir 1024  priority 0 priority-policy local-setting
(config)#traffic table ip index 2 name "put-your-standard-name" cir 2048  pir 2048  priority 0 priority-policy local-setting
(config)#traffic table ip index 3 name "put-your-standard-name" cir 3072  pir 3072  priority 0 priority-policy local-setting
(config)#traffic table ip index 4 name "put-your-standard-name" cir 4096  pir 4096  priority 0 priority-policy local-setting
(config)#traffic table ip index 5 name "put-your-standard-name" cir 5120  pir 5120  priority 0 priority-policy local-setting

   2. Create DBA profile, How to create DBA profile
use command #dba-profile add profile-id <dba-profile-id> profile-name “put-your-standard-name” type4 max <bandwidth>
(config)#dba-profile add profile-id 10 profile-name " put-your-standard-name " type4 max 1024
(config)#dba-profile add profile-id 11 profile-name " put-your-standard-name " type4 max 2048
(config)#dba-profile add profile-id 12 profile-name " put-your-standard-name " type4 max 3072
(config)#dba-profile add profile-id 13 profile-name " put-your-standard-name " type4 max 4096
(config)#dba-profile add profile-id 14 profile-name " put-your-standard-name " type4 max 5120

   3. Create service profile, How to create service profile
        service profile is used to limit MAC address on UNI port (ONT port LAN)
        (config)#ont-srvprofile gpon profile-id 1 profile-name "put-your-standard-name"
  (config-gpon-srvprofile-1)#ont-port eth adaptive
  (config-gpon-srvprofile-1)#port eth 1 max-mac-count 1
  (config-gpon-srvprofile-1)#port eth 2 max-mac-count 1
  (config-gpon-srvprofile-1)#port eth 3 max-mac-count 1
  (config-gpon-srvprofile-1)# port eth 4 max-mac-count 1
  (config-gpon-srvprofile-1)#commit
        (config-gpon-srvprofile-1)#quit

    4. Create VLAN, add VLAN to Uplink and gem mapping.
        EX: we want to create VLAN 1234 on this OLT: follow below step
        1. Verify up-link port (to verify what is active up link port that we need to tag VLAN to it)
             >enable
             #config
             (config)#display port desc 0/2  (the model MA5608T have 2 control board 0/2 or 0/3)

        the port 0/2 is the standby board so we will verify with port 0/3

       (config)#display port desc 0/3 (as we can see 0/3/0 is active port with aggregate with 0/3/1)
       0/3/0 = fram/slot/port

        2. Verify VLAN
(config)#display vlan 1234   (this vlan does not exist so we need to create this vlan and add it         into uplink and gem mapping)

         3.  create VLAN
         (config)#vlan 1234 smart  (#vlan <vlan-id> smart)
         (config)#vlan name 1234 putyourvlanname  (#vlan name <vlan-id> <put-your-vlan-name>)
         (config)#port vlan 1234 0/3 0 (#port vlan <vlan-id> <uplink port>)

           now done add VLAN to up link port. Verify VLAN we had create #display vlan 1234

   5. Create line profile
        Create tcont to bound with dba profile
        Create gem to bound into tcont
        Create gem mapping to map vlan

        use commant #ont-lineprofile gpon profile-id profile-name “put-your-standard-name”
        (config)#ont-lineprofile gpon profile-id 2 profile-name "put-your-standard-name"
        (config-gpon-lineprofile-1)#tcont 1 dba-profile-id 10
        (config-gpon-lineprofile-1)#gem add 1 eth tcont 1
        (config-gpon-lineprofile-1)#gem mapping 1 0 vlan 1234
        (config-gpon-lineprofile-1)#commit
II. Register ONT
        Add ONT as router
        1. display un-regsiter ONT
        2. Add / Register ONT
        3. add service port
        4. bind VAS profile / dail up internet via U2000

        1.     check the un-register ONT
        (config)#display ont autofind all

        2. Add / Register ONT
         use command #ont add <port-id> <ont-id> sn-auth "ont-serial-number" omci ont-lieprofile-id <line-profile-id> ont-srvprofile-id <service-profile-id> desc "ONT-DESCRIPTION"
        (config)#ont add 1 1 sn-auth "4857544361592075" omci ont-lineprofile-id 2 ont-srvprofile-id 1 desc "ONT_DESCRIPTION"

To add/register ONT as bridge mode

         3. add service port
      use command #service-port vlan <vlan-id> gpon <frame/slot/port> ont <ont-id> gemport <gem-id> multi-service user-vlan <vlan-id> inbound traffic-table index <traffic-table-index> outbound traffic-table index <traffic-table-index>
      (config)#service-port vlan 1234 1 gpon 0/0/1 ont 1 gemport 1 multi-service user-vlan 1234 inbound traffic-table index 2 outbound traffic-table index 2

         4. bind VAS profile / dail up internet via U2000

No comments:

Post a Comment

How to Backup and Recover Data configuration on Huawei OLT

I. Backup configuration by manually  Go to U2000 application => Administration => NE Software Management => NE Data Backup/Restora...