华为OLT 注册过程

一:CORTINA串口配置

    1:ethaddr  08:99:88:77:66:55

    2:  loid    wudi2784

    3: loid_pwd    wudi2784

    4: sn   8877666555

二: telnet olt

    1: config# interface gpon 0/18

    2:   (config-if-gpon-0/18)#display ont autofind

               {  portid<U><0,7>  }: 1

    3:   ( config-if-gpon-0/18)#ont add 1 loid-auth wudi2784 always-on  omci  ont-lineprofile-name cortina ont-srvprofile-name gpon2+1

          {  <cr>|desc<K>  } : 回车。

           显示如下信息

          Command:
          ont add 1 loid-auth wudi2784 always-on omci ont-lineprofile-name
          cortina ont-srvprofile-name gpon2+1
          Number of ONTs that can be added: 1, success: 1
          PortID :1, ONTID :27

   4:  ( config-if-gpon-0/18 )# quit.

   5:  config#service-port vlan 103 gpon 0/18/1 ont 27 gemport 0 multi-service user-vlan 103

       { <cr>|bundle<K>|inbound<K>|rx-cttr<K>|tag-transform<K>|user-encap<K> }:回车。

       显示如下信息:

            Command:
            service-port vlan 103 gpon 0/18/1 ont 27 gemport 0 multi-service
            user-vlan 103

   6:  config#interface gpon 0/18

    7: (config-if-gpon-0/18)#display ont info 1 27

        显示如下信息:

F/S/P                : 0/18/1
  ONT-ID               : 27
  Control flag         : active
  Run state            : online
  Config state         : normal
  Match state          : mismatch
  DBA type             : SR
  ONT distance(m)      : 123
  ONT battery state    : not support
  Authentic type       : loid-auth
  Discovery mode       : always-on mode
  Discovery state      : on
  SN                   : 57444B4711CFFC26 (WDKG-11CFFC26)
  Loid                 : wudi2784
  Management mode      : OMCI
  Software work mode   : normal
  Isolation state      : normal
  ONT IP 0 address/mask: -
  Description          : ONT_NO_DESCRIPTION
  Last down cause      : -
  Last up time         : 2013-12-27 19:52:55+08:00
  Last down time       : -
  Last dying gasp time : -          
  ONT online duration  : 0hour 3minute 38second
  Type-C Support       : Not support
  ---------------------------------------------------------------------
  Line profile ID      : 18
  Line profile name    : cortina
  ---------------------------------------------------------------------
  FEC upstream switch :Disable
  OMCC encrypt switch :Off
  Qos mode            :PQ
  Mapping mode        :VLAN
  Tr069 management    :Disable
  ---------------------------------------------------------------------
  Notes: * indicates Discrete TCONT(TCONT Unbound)
  ---------------------------------------------------------------------
  <T-CONT   0>          DBA Profile-ID:1
  <T-CONT   1>          DBA Profile-ID:12
   <Gem Index 0>
   --------------------------------------------------------------------
   |Serv-Type:ETH |Encrypt:off |Cascade:off |Priority:0  |GEM-CAR:-   |
   --------------------------------------------------------------------
    Mapping VLAN Priority Port   Port  Bundle  Flow  Transparent
    index                 type   ID    ID      CAR  
   --------------------------------------------------------------------
    0       100  -        -      -     -       -     -         
    1       402  -        -      -     -       -     -         
    2       101  -        -      -     -       -     -         
    3       102  -        -      -     -       -     -         
    4       103  -        -      -     -       -     -         
    5       104  -        -      -     -       -     -         
    6       90   -        -      -     -       -     -         
    7       403  -        -      -     -       -     -         
   --------------------------------------------------------------------
  ---------------------------------------------------------------------
  Service profile ID   : 3
  Service profile name : gpon2+1
  ---------------------------------------------------------------------
  Port-type     Port-number
  ---------------------------------------------------------------------
  POTS          1
  ETH           2
  TDM           0
  MOCA          0
  CATV          0
  ---------------------------------------------------------------------
  TDM port type                     : E1
  TDM service type                  : TDMoGem
  MAC learning function switch      : Enable
  ONT transparent function switch   : Disable
  Multicast forward mode            : Untag
  Multicast forward VLAN            : -
  Multicast mode                    : IGMP-Snooping
  Upstream IGMP packet forward mode : Unconcern
  Upstream IGMP packet forward VLAN : -
  Upstream IGMP packet priority     : -
  Native VLAN option                : Concern
  ---------------------------------------------------------------------
  Port-type Port-ID QinQmode  PriorityPolicy Inbound     Outbound
  ---------------------------------------------------------------------
  ETH       1       unconcern unconcern      unconcern   unconcern
  ETH       2       unconcern unconcern      unconcern   unconcern
  ---------------------------------------------------------------------
  Notes: * indicates the discretely configured traffic profile 
  ---------------------------------------------------------------------
  Port-type Port-ID Dscp-mapping-table-index
  ---------------------------------------------------------------------
  ETH       1       0       
  ETH       2       0       
  IPHOST    1       0       
  ---------------------------------------------------------------------
  Notes: * indicates transparent attribute of the vlan
  ---------------------------------------------------------------------
  Port   Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI
  type   ID                                                      POLICY
  ---------------------------------------------------------------------
  ETH    1    Transparent  -     -      -     -      -     -     -    
  ETH    2    Transparent  -     -      -     -      -     -     -    
  IPHOST 1    Translation  1     1      -     1      -     -     -    
  ---------------------------------------------------------------------
  Port-type  Port-ID    IGMP-mode             IGMP-VLAN    IGMP-PRI
  ---------------------------------------------------------------------
  ETH              1    -                             -           -
  ETH              2    -                             -           -
  ---------------------------------------------------------------------
  Alarm policy profile ID      : 0
  Alarm policy profile name    : alarm-policy_0
  ---------------------------------------------------------------------

三: 删除olt上的onu。

      1: 先删除对应onu上的所有service-port:

                  config#undo service-port port 0/18/1 ont 27 gemport 0;

    2: 删除对应onu:

                 (config-if-gpon-0/18)#ont delete 1 27


       

       

   

原文地址:https://www.cnblogs.com/gavinwu/p/3494712.html