Hello, everyone!
I am continuing the article about commands for work with ONTs.
1. Command for display brief statistics of the ONT:
TEST(config)#display statistics ont 0/1 0 0
{ <cr>||<K> }:
Command:
display statistics ont 0/1 0 0
----------------------------------------------------------------
Upstream frames : 1636113
Upstream bytes : 496147532
Upstream discarded frames : 0
Downstream frames : 4828528
Downstream bytes : 4974443775
Downstream discarded frames : 221376
----------------------------------------------------------------
With this command, we can see a number of received frames and discarded frames for downstream and upstream.
2. Command for display brief statistics of the ONT port ethernet
Now, we can see detailed statistics of the ONT for ethernet port 1:
TEST(config)#display statistics ont-eth 0/1 0 0 ont-port 1
{ <cr>||<K> }:
Command:
display statistics ont-eth 0/1 0 0 ont-port 1
-----------------------------------------------------------------------
Received frames : 187836 100%
Received unicast frames : 187777 99%
Received multicast frames : 59 0%
Received broadcast frames : 0 0%
Received 64-byte frames : 7874 4%
Received 65~127-byte frames : 135928 72%
Received 128~255-byte frames : 6979 3%
Received 256~511-byte frames : 3449 1%
Received 512~1023-byte frames : 7288 3%
Received 1024~1518-byte frames : 26318 14%
Received over 1518-byte frames : 0 0%
Received undersize discarded frames : 0 0%
Received oversize discarded frames : 0 0%
Received fragments : 0 0%
Received jabbers : 0
Received FCS error frames : 0
Discard frames due to errors : 0
Received alignment error frames : 0
MAC sub-layer received error frames : 0
PPPOE filtered frames : 0
Buffer overflows on receive : 0
Received PAUSE frames : 0
Received right bytes : 51619952
Received bad bytes : 0
Sent frames : 607315 100%
Sent unicast frames : 596756 98%
Sent multicast frames : 655 0%
Sent broadcast frames : 9904 1%
Sent delay frames : 0
Sent MTU exceeded discard frames : 0
Carrier sense error frames : 0
SQE test error messages : 0
Sent single collision frames : 0
Sent multiple collision frames : 0
Sent excessive collision frames : 0
Late collision frames : 0
MAC sub-layer sent error frames : 0
Buffer overflows on transmit : 0
Sent PAUSE frames : 0
Sent right bytes : 758730671
Sent bad bytes : 0
State changed times : -
Statistic duration : 0 day(s), 5 hour(s), 29 minute(s), 15 second(s)
-----------------------------------------------------------------------
3. Commands for display the ONT port status
Next two commands we use to display ONT port status – all ethernet ports and ethernet port 1:
TEST(config-if-gpon-0/1)#display ont port state 0 0 eth-port all
{ <cr>|detail<K>||<K> }:
Command:
display ont port state 0 0 eth-port all
--------------------------------------------------------------------------
ONT-ID ONT ONT Speed(Mbps) Duplex LinkState RingStatus
port-ID Port-type
--------------------------------------------------------------------------
0 1 GE 100 full up -
0 2 GE 100 full up -
0 3 GE - - down -
0 4 GE 100 full up -
--------------------------------------------------------------------------
TEST(config-if-gpon-0/1)#display ont port state 0 0 eth-port 1
{ <cr>|detail<K>||<K> }:
Command:
display ont port state 0 0 eth-port 1
--------------------------------------------------------------------------
ONT-ID ONT ONT Speed(Mbps) Duplex LinkState RingStatus
port-ID Port-type
--------------------------------------------------------------------------
0 1 GE 100 full up -
--------------------------------------------------------------------------
4. Command for display ONT registration information:
TEST(config-if-gpon-0/1)#display ont register-info 0 0
{ <cr>||<K> }:
Command:
display ont register-info 0 0
------------------------------------------------------------------------------
Index : 10
Auth-type : SN-auth
SN : XXXXXXXXXX082B1F (HWTC-6B0XXXXX)
TYPE : 247
UpTime : 2021-06-23 09:31+02:00 DST
DownTime : -
DownCause : -
------------------------------------------------------------------------------
Index : 9
Auth-type : SN-auth
SN : XXXXXXXXXX082B1F (HWTC-6B0XXXXX)
TYPE : 247
UpTime : 2021-06-23 09:31+02:00 DST
DownTime : 2021-06-23 09:31+02:00 DST
DownCause : ONT LOSi/LOBi alarm
------------------------------------------------------------------------------
Index : 8
Auth-type : SN-auth
SN : XXXXXXXXXX082B1F (HWTC-6B0XXXXX)
TYPE : 247
UpTime : 2021-06-23 09:31+02:00 DST
DownTime : 2021-06-23 09:31+02:00 DST
DownCause : ONT LOSi/LOBi alarm
------------------------------------------------------------------------------
...
------------------------------------------------------------------------------
Total : 10
Thank you!





