En este post vamos a mostrar algunos de los comandos mas utiles para buscar informacion o encontrar problemas en las OLT V-SOL GPON. A pesar de que está OLT viene integrada con una interfaz grafica no siempre podremos contar con ella, por ejemplo, si se pretende acceder a la OLT, pero solo se tiene conexion remota con el router se tendra que acceder por linea de comandos, ya sea via telnet o ssh.
La sintaxis de linea de comandos de esta OLT es sencilla. A continuación, se colocan algunos usos del comando show para diagnosticar el estado de la OLT.
Ver la configuracion actual de la OLT
gpon-olt(config)# show running-config
Ver la asignacion de VLAN de los puertos Uplink.
gpon-olt(config)# show mac address-table
Mac Address Table
----------------------------------------------------------
Vlan Mac Address Type Ports Remaining Age
---- -------------- ------- ----- -------------
1 18f0:e4ea:ba23 Dynamic GE 0/06 Aging
1 488f:5a0f:0518 Dynamic GE 0/06 Aging
1 32b8:20a5:14d8 Dynamic GE 0/06 Aging
1 2834:a219:ae5e Dynamic GE 0/06 Aging
1 fcbc:d1dc:f939 Dynamic GE 0/06 Aging
1 c470:0bc4:2ca0 Dynamic GE 0/06 Aging
1 505b:c29e:c4a3 Dynamic GE 0/06 Aging
1 e000:8498:847a Dynamic GE 0/06 Aging
1 646e:6988:3755 Dynamic GE 0/06 Aging
1 488f:5a0f:052c Dynamic GE 0/06 Aging
1 b869:f416:eeec Dynamic GE 0/06 Aging
----------------------------------------------------------
Total Addresses Found in System :11
Obtener informacion de las VLAN creadas con los puestos asignados.
gpon-olt(config)# show vlan
Vlan ID : 1
Name : default
Mac Address : c4:70:0b:c4:2c:a1
Tagged Ports :
xaui
Untagged Ports : ge0/1 ge0/2 ge0/3 ge0/4 ge0/5 ge0/6
Vlan ID : 400
Name : vlan400
Mac Address : c4:70:0b:c4:2c:a1
Tagged Ports : ge0/6
xaui
Untagged Ports :
Ver el estado de las ONU
gpon-olt(config)# show onu state
Listar las rutas creadas en la OLT
gpon-olt(config)# show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
> - selected route, * - FIB route
Ver las comunidades snmp
gpon-olt(config)# show snmp community
community access
public ro
private rw
Mostrar la version de la OLT
gpon-olt(config)# show version
Olt Serial Number: V2012260069
Hardware Version: four gpon olt platform
Software Version: V2.1.3R
CPLD Version: V3
Software Created Time: Tue, 17 Nov 2020 20:33:36 +0800
Copyright 2012-2022
Mostrar informacion de las interfaces
gpon-olt(config)# show interface brief
Port Description Status Duplex Speed Type
--- ----------- ----- ------ ----- ---
GE0/1 down auto auto 10GE SFP+
GE0/2 down auto auto 10GE SFP+
GE0/3 down auto auto 1000Base-T
GE0/4 down auto auto 1000Base-T
GE0/5 down auto auto 1000Base-T
GE0/6 up Full 1000M 1000Base-T
GPON0/1 down GPON
GPON0/2 down GPON
GPON0/3 down GPON
GPON0/4 down GPON
Mostrar informacion de un puerto GPON y ver los paquetes entrantes y salientes.
gpon-olt(config)# show interface gpon <slot:0>/<port:1-X>
gpon-olt(config)# show interface gpon 0/1
gpon0/1 current state : Down
PON Transceiver information:
Vendor Name:
Part Number:
Revision:
Serial Number: Z204800171
Manufacturing Date: 201207
Input(total): 0 packets, 0 bytes
0 broadcasts, 0 multicasts
Input(normal): 0 packets, 0 bytes
0 broadcasts, 0 multicasts
Input: 0 drop packets, 0 runts, 0 giants, 0 throttles, 0 CRC
0 overruns, 0 aborts, 0 ignored, 0 parity errors
Output(total): 0 packets, 0 bytes
0 broadcasts, 0 multicasts
Output(normal): 0 packets, 0 bytes
0 broadcasts, 0 multicasts
Output: 0 output errors, 0 underruns, 0 buffer failures
0 aborts, 0 deferred, 0 collisions, 0 late collisions
0 lost carrier, 0 no carrier
Ver la temperatura y el estado del ventilador
gpon-olt(config)# show fan
Chassis Fans State Information
--------------------------------------------
current fans state: auto-running
current temperature:40.5 .C
open fan temperature:40.0 .C
--------------------------------------------
Analizar las tareas que se estan ejecutando
gpon-olt(config)# show task
PPID CMD PID NAME Status
456 gpptest 476 xponNpPmOltProc R (running)
456 gpptest 611 sw_monitor R (running)
458 vsapp 506 cli R (running)
458 vsapp 557 Timer Thread R (running)
Mostrar la informacion de los DBA
gpon-olt(config)# show profile dba
###############DBA PROFILE###########
*****************************
Id: 0
name: default
type: 1
fixed: 10000 Kbps
*****************************
Id: 1
name: dba_adminolt
type: 4
maximum: 1024000 Kbps
*****************************
Id: 511
name: default1
type: 3
assured: 1024 Kbps
maximum: 1024000 Kbps
Listar los Lineprofile
gpon-olt(config)# show profile line
###############LINE PROFILE###########
*****************************
Id: 0
Name: default
*****************************
Id: 1
Name: lineprofile_adminolt
tcont 1 name tcon1 dba dba_adminolt
gemport 1 name INTERNET traffic-limit up-stream 5mb down-stream 5mb
service ser_1 gemport 1 vlan 400
service-port 1 gemport 1 uservlan 400 vlan 400
Mostrar el consumo de CPU
gpon-olt(config)# show sys cpu-usage
Linux 3.6.5 (iProc) (1 CPU)
02:33:42 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
02:33:45 all 2.10 0.00 0.70 0.00 0.00 22.80 0.00 0.00 74.41
02:33:45 0 2.10 0.00 0.70 0.00 0.00 22.80 0.00 0.00 74.41
Average: CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
Average: all 2.10 0.00 0.70 0.00 0.00 22.80 0.00 0.00 74.41
Average: 0 2.10 0.00 0.70 0.00 0.00 22.80 0.00 0.00 74.41