Hello, everyone!
I am continuing the article about commands for work with ONTs.
1. Command for display state of CATV port:
TEST(config-if-gpon-0/3)#display ont port state 0 3 catv-port all
{ <cr>||<K> }:
Command:
display ont port state 0 3 catv-port all
--------------------------------------------------
ONT-ID ONT ONT LinkState TxPower
port-ID Port-type (dBmV)
--------------------------------------------------
3 1 CATV up 22.000
--------------------------------------------------
2. Commands for display status of ethernet ports
The next command shows us the status of ethernet port 1:
TEST(config-if-gpon-0/3)#display ont port state 0 3 eth-port 1
{ <cr>|detail<K>||<K> }:
Command:
display ont port state 0 3 eth-port 1
--------------------------------------------------------------------------
ONT-ID ONT ONT Speed(Mbps) Duplex LinkState RingStatus
port-ID Port-type
--------------------------------------------------------------------------
3 1 GE 100 full up -
--------------------------------------------------------------------------
If we want to see the state of all ethernet ports, we will use this command:
TEST(config-if-gpon-0/3)#display ont port state 0 3 eth-port all
{ <cr>|detail<K>||<K> }:
Command:
display ont port state 0 3 eth-port all
--------------------------------------------------------------------------
ONT-ID ONT ONT Speed(Mbps) Duplex LinkState RingStatus
port-ID Port-type
--------------------------------------------------------------------------
3 1 GE 100 full up -
3 2 GE 1000 full up -
3 3 GE - - down -
3 4 GE - - down -
--------------------------------------------------------------------------
3. Commands for display status of pots ports
The next command shows us the status of pots port 1:
TEST(config-if-gpon-0/3)#display ont port state 0 3 pots-port 1
{ <cr>||<K> }:
Command:
display ont port state 0 3 pots-port 1
------------------------------------------------------------------------------
Port Physical Admin Hook Session Service Call Service
ID State State State Type State State Codec
------------------------------------------------------------------------------
1 Normal Unlock OnHook Idle InService Idle G711U
------------------------------------------------------------------------------
If we want to see the state of all pots ports, we will use this command:
TEST(config-if-gpon-0/3)#display ont port state 0 3 pots-port all
{ <cr>||<K> }:
Command:
display ont port state 0 3 pots-port all
------------------------------------------------------------------------------
Port Physical Admin Hook Session Service Call Service
ID State State State Type State State Codec
------------------------------------------------------------------------------
1 Normal Unlock OnHook Idle InService Idle G711U
2 Normal Unlock OnHook Idle LocalBlock Deactivated G711U
------------------------------------------------------------------------------
4. Command for display status of tdm ports
TEST(config-if-gpon-0/3)#display ont port state 0 3 tdm-port all
5. Command for display statistics of line quality:
TEST(config-if-gpon-0/3)#display statistics ont-line-quality 0 3
{ <cr>||<K> }:
Command:
display statistics ont-line-quality 0 3
------------------------------------------------------------------
Line quality statistic ONTID : 3
LOFi alarm count : 0
DOWi alarm count : 22
Upstream frame delimiter error count : 0
Upstream frame BIP error count : 11
Downstream frame BIP error count : 0
Upstream frame FEC corrected blocks : 0
Upstream frame FEC uncorrected blocks : 0
Upstream frame HEC error count : 9
Upstream FCS error count : -
Upstream frame bit error rate : 1E-7
Upstream ETH frame error rate : -
Upstream GEM frame error rate : -
------------------------------------------------------------------
We can see different types of errors.
6. Commands for power-off/on CATV on the ONT:
TEST(config-if-gpon-0/2)#ont port attribute 1 0 catv 1 operational-state off
TEST(config-if-gpon-0/2)#ont port attribute 1 0 catv 1 operational-state on
Thank you!






