Skip to content

Manual de Config. usando linha de comando em Huawei

Corrigir Horario Huawei MA5800-XX

timezone GMT- 04:00
time date-format DD/MM/YYYY
ntp-service unicast-server 186.233.4.19
save
enable
config
display current-configuration | include route-static
(no comando a cima retorna as rotas default, devemos remover no final do processo as rotas inuteis)


vlan 1011 smart
vlan desc 1011 description "GERENCIA OLT"
port vlan 1011 0/4 1  (alterar a porta uplink se for necessario)
interface vlanif 1011
ip address 192.168.200.22 255.255.255.252 (ajuste o ip )
quit
ip route-static 0.0.0.0 0.0.0.0 192.168.200.21


(aqui vamos remover as rotas inuteis)
undo ip route-static 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx (gateway)

Criar, Ver, deletar, e alterar usuarios

Criar usuario

MA5800-X15(config)#terminal user name 
  User Name(length<6,15>):rodrigo
  User Password(length<6,15>):
  Confirm Password(length<6,15>):
  User profile name(<=15 chars)[root]:
  User's Level:
     1. Common User  2. Operator  3. Administrator:3
  Permitted Reenter Number(0--20):4 
  User's Appended Info(<=30 chars):Rodrigo Tiago (ADM)   
  Adding user successfully
  Repeat this operation? (y/n)[n]:n

Ver usuarios criados

MA5800-X15(config)#display terminal user all 
{ <cr>||<K> }: 

  Command:
          display terminal user all 
  ----------------------------------------------------------------------------
  Name            Level    Status  Reenter Profile         Append      
                                   Num                     Info        
  ----------------------------------------------------------------------------
  root            Super    Online        1 root            -----
  ppnetwork       Admin    Offline      20 root            -----
  smartoltusr     Admin    Offline       4 root            smartoltuser
  mkauth          Admin    Offline       4 root            HelpFiber
  rodrigo         Admin    Offline       4 root            Rodrigo Tiago (ADM)
  ----------------------------------------------------------------------------
  Total record(s) number: 5

Deletar usuario

MA5800-X15(config)#undo terminal user name       
  User Name(<=15 chars):mkauth
  Are you sure to delete the user?(y/n)[n]:y
  Deleting user successfully
  Repeat this operation? (y/n)[n]:n

Alterar senha usuario

MA5800-X15(config)#terminal user password 
  User Name(<=15 chars):smartoltusr
  New Password(length<6,15>):
  Confirm Password(length<6,15>):
  Information takes effect
  Repeat this operation? (y/n)[n]:n

Ativar gerenciamento remoto

MA5800-X15(config)#diagnose 
MA5800-X15(diagnose)%%ont wan-access http 0/10/10 1 enable

Backup automatico Huawei MA5800-X2

autosave time on
autosave time 23:00:00
autosave type all

file-server auto-backup configuration primary 192.168.150.100 ftp path olt/huawei-olt.config user

User Name(<=40 chars): 'type username'

User Password(<=40 chars): 'type password'

auto-backup period configuration interval 1 time 01:00

auto-backup period configuration enable

Criar profile pppoe

para autorizar onts em pppoe, é necessario criar este profile,

MA5800-X15(config)#gpon ont home-gateway config-method omci 

MA5800-X15(config)#ont wan-profile profile-id 10 

MA5800-X15(config-wan-profile-10)#connection-type route 

MA5800-X15(config-wan-profile-10)#nat enable 

MA5800-X15(config-wan-profile-10)#qui


MA5800-X15(config)#ont policy-route-profile profile-id 10 profile-name pppoe

MA5800-X15(config-policy-route-profile-10)#policy-route 0  port-based  eth 1-4 wlan 1-8 wan 1

MA5800-X15(config-policy-route-profile-10)#quit

Criando lineprofile gpon_flexivel

ont-lineprofile gpon profile-id 351 profile-name "gpon-flexivel"
  fec-upstream enable
  tr069-management enable
  mapping-mode priority
  tcont 1 dba-profile-id 350
  tcont 2 dba-profile-id 350
  tcont 3 dba-profile-id 350
  gem add 1 eth tcont 1
  gem add 2 eth tcont 2
  gem add 3 eth tcont 3
  gem mapping 1 1 priority 0
  gem mapping 2 1 priority 2
  gem mapping 3 1 priority 5
  commit
  quit

Gerenciamento remoto e TR069

  • Criar perfil de banda limitada para tr069

    traffic table ip index 7 name "10MB-TR069" cir 10240 cbs 329680 pir 10432 pbs 335824 color-mode color-blind priority 2 inner-priority 2 priority-policy local-setting
    

  • Criar Vlan

    vlan 15 smart
    port vlan 15 0/8 2
    

  • Adicionar na ont

    service-port vlan 15 gpon 0/$slotpon/$portapon ont $idonu gemport 2 multi-service user-vlan 15 tag-transform translate inbound traffic-table name 10MB-TR069 outbound
     traffic-table name 10MB-TR069
    
    interface gpon 0/10
    
    undo ont ipconfig 13 22 ip-index 0
    
    ont ipconfig $slotpon $idonu ip-index 0 dhcp vlan 15 priority 2
    

Q-in-Q

Criar Vlan Q-in-Q

#HUAWEI(config)#vlan 40
#HUAWEI(config)#port vlan  40 0/3 0
#HUAWEI(config)#vlan attrib 40 q-in-q
#HUAWEI(config)#ont-lineprofile gpon profile-id 40 profile-name QinQ40
#HUAWEI(config-gpon-lineprofile-10)#tcont 1 dba-profile-id 10
#HUAWEI(config-gpon-lineprofile-10)#mapping-mode port
#HUAWEI(config-gpon-lineprofile-10)#gem  add 0 eth tcont 1
#HUAWEI(config-gpon-lineprofile-10)#gem mapping  0 0 eth 1
#HUAWEI(config-gpon-lineprofile-10)#commit
#HUAWEI(config-gpon-lineprofile-10)#quit
#HUAWEI(config)#ont-srvprofile gpon profile-id  40 profile-name QinQ40 
#HUAWEI(config-gpon-srvprofile-10)#ont-port eth adaptive pots adaptive catv adaptive 
#HUAWEI(config-gpon-srvprofile-10)#port vlan  eth 1 transparent 
#HUAWEI(config-gpon-srvprofile-10)#commit 
#HUAWEI(config-gpon-srvprofile-10)#quit

Autorizando ONU Q-in-Q

TLS - L2L

Configuração de TLS (Transparent LAN Service) / LAN2LAN

1 - Introdução

Este documento foi desenvolvido visando o apoio às ativações de serviço de LAN2LAN conforme topologia abaixo.

Em nosso exemplo utilizaremos VLAN ID 1000 para a SVLAN

2 - Criando os Profiles

2.1 - Criando SRV Profile

#HUAWEI(config)# ont-srvprofile gpon profile-id 10 profile-name SRV_L2L_A
#HUAWEI(config-gpon-srvprofile-10)# ont-port pots adaptive eth adaptive catv
adaptive
#HUAWEI(config-gpon-srvprofile-10)# port vlan eth 1-4 transparent
#HUAWEI(config-gpon-srvprofile-10)# commit
#HUAWEI(config-gpon-srvprofile-10)# quit

Reparem que neste profile definimos qual porta LAN da ONT irá trafegar o fluxo LAN2LAN, no nosso exemplo consideramos as 4 portas LAN. Caso queira apenas a LAN 1, poderíamos utilizar “port vlan eth 1 transparent”.

2.2 - Criando Line Profile

#HUAWEI(config)# ont-lineprofile gpon profile-id 10 profile-name LINE_L2L_A
#HUAWEI(config-gpon-lineprofile-10)# mapping-mode port
#HUAWEI(config-gpon-lineprofile-10)# tcont 5 dba-profile-id 10
#HUAWEI(config-gpon-lineprofile-10)# gem add 5 eth tcont 5
#HUAWEI(config-gpon-lineprofile-10)# gem mapping 5 0 eth 1
#HUAWEI(config-gpon-lineprofile-10)# commit
#HUAWEI(config-gpon-lineprofile-10)# quit

2.3 - Criando VLAN Service Profile

#HUAWEI(config)# vlan service-profile profile-id 10 profile-name VLAN_SERVICE_A
#HUAWEI(config-vlan-srvprof-10)# forwarding vlan-mac
#HUAWEI(config-vlan-srvprof-10)# packet-policy broadcast forward
#HUAWEI(config-vlan-srvprof-10)# packet-policy multicast forward
#HUAWEI(config-vlan-srvprof-10)# packet-policy unicast forward
#HUAWEI(config-vlan-srvprof-10)# bpdu tunnel enable
#HUAWEI(config-vlan-srvprof-10)# rip tunnel enable
#HUAWEI(config-vlan-srvprof-10)# vtp-cdp tunnel enable
#HUAWEI(config-vlan-srvprof-10)# dhcp mode layer-2
#HUAWEI(config-vlan-srvprof-10)# security anti-ipspoofing disable
#HUAWEI(config-vlan-srvprof-10)# security anti-macspoofing disable
#HUAWEI(config-vlan-srvprof-10)# user-bridging enable
#HUAWEI(config-vlan-srvprof-10)# igmp mismatch transparent
#HUAWEI(config-vlan-srvprof-10)# commit
#HUAWEI(config-vlan-srvprof-10)# quit

2.4 - Criando DBA Profile

#HUAWEI(config)# dba-profile add profile-id 10 profile-name DBA_GLOBAL type4
max 1024000

Podemos criar um DBA Profile global ou podemos ajustar o “type” e/ou banda disponível.

2.5 - Criando Traffic Table

#HUAWEI(config)# traffic table ip index 10 name L2L_100M cir 102400 pir 102400 priority 3
priority-policy Local_Setting
Criamos um controle de banda de 100M que será aplicado no service-port nos sentidos de downstream e upstream.

3 - Criando e ajustando a SVLAN

#HUAWEI(config)# vlan bind service-profile 1000 profile-id 10

4 - Autorizando ONTs

#HUAWEI(config)# interface gpon 0/0
#HUAWEI(config-if-gpon-0/0)# ont confirm 0 sn-auth "485754435DC7079D" omci
ont-lineprofile-id 10 ont-srvprofile-id 10 desc "CLIENTE_TESTE L2L MATRIZ"
#HUAWEI(config-if-gpon-0/0)# ont confirm 0 sn-auth "48575443937AF39B" omci
ont-lineprofile-id 10 ont-srvprofile-id 10 desc "CLIENTE_TESTE L2L FILIAL"

5 - Configurando “service-port” com controle de banda

#HUAWEI(config)# service-port vlan 1000 gpon 0/0/0 ont 0 gemport 5 multi-service user-vlan
other-all tag-transform default rx-cttr 10 tx-cttr 10
#HUAWEI(config)# service-port vlan 1000 gpon 0/0/0 ont 1 gemport 5 multi-service user-vlan
other-all tag-transform default rx-cttr 10 tx-cttr 10

Liberar, Deletar ONU

Autorizar ONU

Acesse a olt via SSH

Comandos acessar com privilegio

enable
config

para localizar a onu

  • acesse a placa de serviço
interface gpon 0/1

Entenda;
0 = Frame
1 = Slot

dentro da placa de serviço este comando busca automaticamente as ONUs na fila de liberação

 display ont autofind all

Resultado do comando

Costa Rica - MA5800-X2(config-if-gpon-0/1) display ont autofind all
{ <cr>||<K> }:

  Command:
          display ont autofind all
   ----------------------------------------------------------------------------
   Number              : 1
   F/S/P               : 0/1/13
   Ont SN              : 485754439467C2A9 (HWTC-9467C2A9)
   Password            : 0x00000000000000000000
   Loid                :
   Checkcode           :
   VendorID            : HWTC
   Ont Version         : 6A5.A
   Ont SoftwareVersion : V3R015C10S106
   Ont EquipmentID     : 310M
   Ont Customized Info : -
   Ont MAC             : -
   Ont Equipment SN    : -
   Ont autofind time   : 2022-06-27 11:17:24-03:00
   ----------------------------------------------------------------------------
- Entenda onde identificar Frame, Slot e Porta

   F/S/P               : 0/1/13

F = Frame
S = Slot
P = Port

Para adicionar a ONU execute o comando a baixo

Atenção

  • sn-auth -> SERIAL DA ONT
  • add 13 -> 13 é a porta da olt
ont add 13 sn-auth 485754439467C2A9 omci ont-lineprofile-id 100 ont-srvprofile-id 10 desc "DESCRIÇÃO CLIENTE"

Resultado do comando deve ser este

  Command:
          ont add 13 sn-auth 485754437208E447 omci ont-lineprofile-id 100 ont-srvprofile-id 10 desc "DESCRIÇÃO CLIENTE"
  Number of ONTs that can be added: 1, success: 1
  PortID :13, ONTID :22
  • vlan -> Numero da VLAN da Bridge
  • 13 22 -> PortID :13, ONTID :22 "Resultado da execução do comando acima"
ont port native-vlan 13 22 eth 1 vlan 900
quit

para mapear a vlan gpon com a vlan na eth1

  • gpon 0/1/13 - porta da olt
  • ont -> é o resultado do campo "Number" no comando autofind.
  • INDEX 120 é a Velocidade liberada para o cliente em MB/s
    service-port vlan 900 gpon 0/1/13 ont 22 gemport 1 multi-service  user-vlan 900 tag-transform translate inbound traffic-table index 120 outbound traffic-table index 120
    
    Resultado do comando
  Command:
          service-port vlan 900 gpon 0/1/13 ont 22 gemport 1 multi-service user-vlan 900 tag-transform translate inbound traffic-table index 120 outbound traffic-table index 120

Listar todas as ONUs na OLT

display ont info 0 all
Saida do comando é:

Costa Rica - MA5800-X2(config)#display ont info 0 all
{ <cr>||<K> }:

  Command:
          display ont info 0 all
  -----------------------------------------------------------------------------
  F/S/P   ONT         SN         Control     Run      Config   Match    Protect
          ID                     flag        state    state    state    side
  -----------------------------------------------------------------------------
  0/ 1/0    0  485754437B5A8E7C  active      online   failed   match    no
  0/ 1/0    1  48575443050BDAA7  active      online   normal   match    no
  0/ 1/0    2  48575443605EA175  active      online   failed   match    no
  0/ 1/0    3  48575443073ECE8C  active      online   failed   match    no
  0/ 1/0    4  48575443A5A1A955  active      online   failed   match    no
  0/ 1/0    5  48575443A4D78043  active      online   failed   match    no
  0/ 1/0    6  48575443130D0880  active      online   failed   match    no
  0/ 1/0    7  485754431629FC62  active      online   failed   match    no
  0/ 1/0    8  48575443C277987D  active      offline  initial  initial  no
  0/ 1/0    9  4857544361A96445  active      online   failed   match    no
  0/ 1/0   10  48575443A191303F  active      online   failed   match    no
  0/ 1/0   11  48575443050BF6A7  active      offline  initial  initial  no
  0/ 1/0   12  48575443050BDBA7  active      online   failed   match    no
  0/ 1/0   13  48575443C017F87C  active      online   failed   match    no
  0/ 1/0   14  485754438BA47456  active      online   failed   match    no
  0/ 1/0   15  485754439A6AB548  active      online   failed   match    no
  0/ 1/0   16  48575443D5C59466  active      online   failed   match    no
  0/ 1/0   17  485754430D5B255A  active      online   failed   match    no
  0/ 1/0   18  48575443050C01A7  active      online   failed   match    no
  0/ 1/0   19  48575443AFD00057  active      online   failed   match    no
  0/ 1/0   20  485754434D969647  active      online   failed   match    no
  0/ 1/0   21  4857544376CE4A47  active      online   failed   match    no
  0/ 1/0   22  48575443BC0D9847  active      offline  initial  initial  no
  0/ 1/0   23  48575443570E8647  active      offline  initial  initial  no
  0/ 1/0   24  48575443050C2AA7  active      online   failed   match    no
  0/ 1/0   25  48575443E9404565  active      online   failed   match    no
  0/ 1/0   26  485754437B470D7C  active      online   failed   match    no
  0/ 1/0   27  48575443436D5047  active      online   failed   match    no
  0/ 1/0   28  485754431A4C6D45  active      online   failed   match    no
  0/ 1/0   29  485754430524139D  active      online   failed   match    no
  0/ 1/0   30  48575443504E3147  active      online   failed   match    no
  0/ 1/0   31  48575443050BD6A7  active      online   failed   match    no
  0/ 1/0   32  48575443D649BA7A  active      online   failed   match    no
  0/ 1/0   33  485754433C844263  active      online   failed   match    no
  0/ 1/0   34  485754436464EC55  active      online   failed   match    no
  0/ 1/0   35  48575443053CE29D  active      online   failed   match    no
  0/ 1/0   36  48575443A566C948  active      online   failed   match    no
  0/ 1/0   37  48575443C3B2C89A  active      online   normal   mismatch no
  -----------------------------------------------------------------------------
  F/S/P   ONT-ID   Description
  -----------------------------------------------------------------------------
  0/ 1/0       0   JACY DE PINA BULHOES RODI
  0/ 1/0       1   FHCR
  0/ 1/0       2   JOSE_CARLOS
  0/ 1/0       3   VINICIUS_DANTAS
  0/ 1/0       4   MERCADO PARANA
  0/ 1/0       5   Ronaldo Vieira Knor
  0/ 1/0       6   ARMANDO MICRO INFO
  0/ 1/0       7   ONT_NO_DESCRIPTION
  0/ 1/0       8   SEGURALTA
  0/ 1/0       9   GILVAN1
  0/ 1/0      10   LENICE
  0/ 1/0      11   FABIANA CRISTINA
  0/ 1/0      12   ROGER ANTONIO
  0/ 1/0      13   ALTINA  ALMEIDA  ALECRIM
  0/ 1/0      14   ONT_NO_DESCRIPTION
  0/ 1/0      15   JO▒O MATHEUS SOUZA
  0/ 1/0      16    ROSIMEIRE PEREIRA DOS SANTOS MARCHETTO
  0/ 1/0      17   ALINE PEREIRA | JRNET
  0/ 1/0      18   VIVAZ ESTUDIO
  0/ 1/0      19   CLEUZA DIAS
  0/ 1/0      20   MIZAEL SILVA
  0/ 1/0      21   MARCIEL SOARES
  0/ 1/0      22   ONT_NO_DESCRIPTION
  0/ 1/0      23   ANDRESSA BARCELOS
  0/ 1/0      24   FEIRA DO PRODUTOR
  0/ 1/0      25   VITOR DOUGLAS
  0/ 1/0      26   JAKSON DRUMOND
  0/ 1/0      27   RAMEZ TEBET
  0/ 1/0      28   VIVIANE JUNQUEIRA SILVA FARIA
  0/ 1/0      29   CHAFICK  LUEDY
  0/ 1/0      30   LARISSA  ALVES
  0/ 1/0      31   CENTRO DE REABILITACAO
  0/ 1/0      32   NEURALIDES MARTINS DA SILVA
  0/ 1/0      33   ELO SOLUCOES - CORP BOMBEIROS
  0/ 1/0      34   FIDELIS
  0/ 1/0      35   ARIOVALDO FURQUIM DE ALMEIDA
  0/ 1/0      36   AERO AGRICOLA MS LTDA
  0/ 1/0      37   AQUI PAGA POUCO
  -----------------------------------------------------------------------------
  In port 0/ 1/0 , the total of ONTs are: 38, online: 34
  -----------------------------------------------------------------------------

Verificar status e deletar ONU

  • ont 22 -> Numero da ONU
  • port 0/1/13 -> Porta da OLT

display service-port port 0/1/13 ont 22
Resultado do comando deve ser:

Command:
          display service-port port 0/1/13 ont 22
  Switch-Oriented Flow List
  -----------------------------------------------------------------------------
   INDEX VLAN VLAN     PORT F/ S/ P VPI  VCI   FLOW  FLOW       RX   TX   STATE
         ID   ATTR     TYPE                    TYPE  PARA
  -----------------------------------------------------------------------------
     174  900 common   gpon 0/1 /13 22   1     vlan  900        -    -    up
  -----------------------------------------------------------------------------
   Total : 1  (Up/Down :    1/0)
deletar a onu o processo é simples, primeiro deletamos o serviço

  • service port 174 -> 174 é o resultado do comando anterior no campo "INDEX"

undo service-port 174
interface gpon 0/1
ont delete 13 22
O resultado do comando deve ser:

Costa Rica - MA5800-X2(config)#undo service-port 174


Costa Rica - MA5800-X2(config)#interface gpon 0/1

Costa Rica - MA5800-X2(config-if-gpon-0/1)#ont delete 13 22
  Number of ONTs that can be deleted: 1, success: 1

Verificando sinal optico ONU

  • 13 -> numero da porta pon
  • all -> significa todas as onus da placa
  • 22 -> numero da onu do ciente

interface gpon 0/1
MA5800-X2(config-if-gpon-0/1)# display ont  optical-info 13 all
Saida do comando deve ser algo como:

Command:
          display ont optical-info 13 all
  -----------------------------------------------------------------------------
  ONT  Rx power  Tx power  OLT Rx ONT  Temperature  Voltage  Current  Distance
  ID   (dBm)     (dBm)     power(dBm)  (C)          (V)      (mA)     (m)
  -----------------------------------------------------------------------------
    0  -26.38    2.15      -28.24      47           3.240    10       919
    1  -22.59    2.17      -26.58      43           3.240    10       675
    4  -24.20    2.39      -26.78      47           3.320    8        2292
    5  -25.85    2.30      -27.45      48           3.300    14       1141
    6  -24.81    2.26      -27.70      46           3.220    14       765
    7  -24.95    2.31      -26.20      45           3.360    8        1122
    8  -26.38    1.98      -27.22      45           3.320    8        1140
    9  -23.76    2.28      -24.95      47           3.340    13       1342
   10  -26.02    2.20      -26.58      42           3.280    13       1149
   11  -27.44    2.02      -30.46      48           3.300    14       945
   13  -18.89    2.38      -21.62      42           3.220    6        3324
   14  -21.74    2.40      -23.88      46           3.280    13       1330
   15  -22.22    2.33      -26.58      47           3.300    8        550
   17  -20.91    2.23      -22.52      52           3.320    16       1378
   18  -22.92    2.33      -26.39      56           3.380    16       779
   19  -27.96    2.11      -27.70      50           3.280    9        2295
   20  -14.04    2.17      -16.70      44           3.260    8        1690
   21  -28.86    1.90      -27.70      51           3.300    10       1439
   22  -20.31    2.24      -23.38      43           3.280    7        1248
Para ver o sinal de apenas uma onu temos dois comandos:

Mais Simples:

MA5800-X2(config-if-gpon-0/1)# display ont info  option  run-state  13 22
a saida deve ser algo como:
          display ont info  option  run-state  13 22
  -----------------------------------------------------------------------------
  ONT-ID   SN                 Run State      Distance       Rx/Tx power
                                               (m)            (dBm)
  -----------------------------------------------------------------------------
      22   485754437208E447   online             1248       -20.41/1.99
  -----------------------------------------------------------------------------

Mais detalhado

MA5800-X2(config-if-gpon-0/1)# display ont  optical-info 13 22

a saida deve ser algo como:

  Command:
          display ont optical-info 13 22
  -----------------------------------------------------------------------------
  ONU NNI port ID                        : 0
  Module type                            : GPON/EPON
  Module sub-type                        : Class B+ and PX20+
  Used type                              : ONU
  Encapsulation Type                     : BOSA ON BOARD
  Optical power precision(dBm)           : 3.0
  Vendor name                            : HUAWEI
  Vendor rev                             : -
  Vendor PN                              : HW-BOB-0012
  Vendor SN                              : 1504Y0047383M
  Date Code                              : 15-02-10
  Rx optical power(dBm)                  : -20.31  [ESTE É O SINAL OPTICO DA ONU]
  Rx power current warning threshold(dBm): [-,-]
  Rx power current alarm threshold(dBm)  : [-32.0,-7.0]
  Tx optical power(dBm)                  : 2.23
  Tx power current warning threshold(dBm): [-,-]
  Tx power current alarm threshold(dBm)  : [0.0,5.0]
  Laser bias current(mA)                 : 7
  Tx bias current warning threshold(mA)  : [-,-]
  Tx bias current alarm threshold(mA)    : [2.000,100.000]
  Temperature(C)                         : 43
  Temperature warning threshold(C)       : [-,-]
  Temperature alarm threshold(C)         : [-61,95]
  Voltage(V)                             : 3.280
  Supply voltage warning threshold(V)    : [-,-]
  Supply voltage alarm threshold(V)      : [3.000,3.600]
  OLT Rx ONT optical power(dBm)          : -23.38
  CATV Rx optical power(dBm)             : -
  CATV Rx power alarm threshold(dBm)     : [-,-]
  -----------------------------------------------------------------------------

Verificando UPTIME da ONU

MA5800-X2(config-if-gpon-0/1)# display ont info 13 22  | include ONT online duration

a saida deve ser algo como:

  Command:
          display ont info 13 22  | include ONT online duration
  It will take a long time if the content you search is too much or the string you input is too long, you can press CTRL_C to break
  ONT online duration     : 0 day(s), 0 hour(s), 41 minute(s), 45 second(s)

Verificando Velocidade da porta da ONU

MA5800-X2(config-if-gpon-0/1)# display ont port state 13 22 eth-port all
a saida deve ser algo como:
  Command:
          display ont port state 13 22 eth-port all
  --------------------------------------------------------------------------
  ONT-ID   ONT      ONT       Speed(Mbps)   Duplex   LinkState  RingStatus
           port-ID  Port-type
  --------------------------------------------------------------------------
      22         1         GE 100           full     up         noloop
  --------------------------------------------------------------------------

Verificando configuração ONU

MA5800-X2(config-if-gpon-0/1)# display current-configuration ont 0/1/13 22
a saida deve ser algo como:
  Command:
          display current-configuration ont 0/1/13 22
[MA5800V100R019: 6612]
#
[gpon]
  <gpon-0/1>
 interface gpon 0/1
 ont add 13 22 sn-auth "485754437208E447" omci ont-lineprofile-id 10 ont-srvprofile-id 10 desc "victor-infotec"
 ont port native-vlan 13 22 eth 1 vlan 900 priority 0
#
[bbs-config]
  <bbs-config>
 service-port 175 vlan 900 gpon 0/1/13 ont 22 gemport 1 multi-service user-vlan 900 tag-transform translate
#
return

Verificando Ping remotamente

  • Este comando funciona somente com ONU Router.

MA5800-X2(config-if-gpon-0/1)# ont remote-ping 6 14 ip-address 8.8.8.8
a saida deve ser algo como:
  Command:
          ont remote-ping 6 14 ip-address 8.8.8.8

Costa Rica - MA5800-X2(config-if-gpon-0/1)#
  -----------------------------------------
  ONT remote-ping information
  -----------------------------------------
  F/S/P                : 0/ 1/6
  ONT-ID               : 14
  ONT IP Index         : 0
  IP address of ping   : 8.8.8.8
  Transmit packets     : 4
  Receive packets      : 4
  Lost packets         : 0
  Lost packets ratio(%): 0
  Min delay(ms)        : 20
  Max delay(ms)        : 21
  Average delay(ms)    : 20
  Error Code           : -
  -----------------------------------------

Reinciar e Reboot ONU

Reboot
MA5800-X2(config-if-gpon-0/1)# ont reset 13 22
Vai solicitar y/n
Pressione y para sim

Reset
MA5800-X2(config-if-gpon-0/1)# ont factory-setting-restore 13 22
Vai solicitar y/n
Pressione y para sim

Localizar ONU por MAC ADDRESS

MA5800-X2(config)# display location 08:55:31:65:7C:D6
a saida deve ser algo como:
  -----------------------------------------------------------------------
   SRV-P BUNDLE TYPE MAC            MAC TYPE F /S /P   VPI  VCI   VLAN ID
   INDEX INDEX
  -----------------------------------------------------------------------
     170     -  gpon 0855-3165-7cd6 dynamic  0 /1 /12  20   1         100
  -----------------------------------------------------------------------

Localizar ONU por SERIAL

MA5800-X2(config)# display ont info by-sn 485754437208E447
a saida deve ser algo como:
  -----------------------------------------------------------------------------
  F/S/P                   : 0/1/13
  ONT-ID                  : 22
  Control flag            : active
  Run state               : online
  Config state            : failed
  Match state             : match
  DBA type                : SR
  ONT distance(m)         : 1247
  ONT last distance(m)    : 1248
  ONT battery state       : not support
  ONT power type          : -
  Memory occupation       : 35%
  CPU occupation          : 1%
  Temperature             : 50(C)
  Authentic type          : SN-auth
  SN                      : 485754437208E447 (HWTC-7208E447)
  Management mode         : OMCI
  Software work mode      : normal
  Isolation state         : normal
  Description             : victor-infotec

Localizar ONU por Descrição

MA5800-X2(config)#display ont info 0 1 all | include INFOTEC
a saida deve ser algo como:
  Command:
          display ont info 0 1 all | include INFOTEC
  It will take a long time if the content you search is too much or the string you input is too long, you can press CTRL_C to break
  0/ 1/6      14   TESTE-ONU-INFOTEC

Verificar ONU por porta PON

MA5800-X2(config)#display ont info 0 1 13 all

Enviar SN da Onu/ONT para IPoE

dhcp option82 enable
raio-format dhcp-option82 cid xpon "sn"
raio-format dhcp-option82 rid xpon "splabel"
raio-mode user-defined dhcp-option82