Hello, everyone!
I am continuing the article about commands for work with ONTs.
1. Command for display the number of MAC addresses on the ONT:
TEST(config-if-gpon-0/1)#display ont mac-count 0 0
{ <cr>||<K> }:
Command:
display ont mac-count 0 0
--------------------------------------------------------------------------
F/S/P : 0/1/0
ONT-ID : 0
ONT MAC count : 3
--------------------------------------------------------------------------
2. Command for display network parameters of the ONT
This command show the main network parameters (IP address, subnet mask, gateway, DNS, MAC) of the ONT:
TEST(config-if-gpon-0/1)#display ont ipconfig 0 0
{ <cr>||<K> }:
Command:
display ont ipconfig 0 0
--------------------------------------------------------------------
ONT IP host index : 0
ONT config type : DHCP
ONT IP : X.X.130.66
ONT subnet mask : X.X.224.0
ONT gateway : X.X.128.1
ONT primary DNS : X.X.8.8
ONT slave DNS : -
ONT MAC : XXXX-XXXX-082C
ONT manage VLAN : 40X
ONT manage priority : 5
Dscp mapping table index : 0
--------------------------------------------------------------------
3. Command for display ONT VoIP state:
TEST(config-if-gpon-0/1)#display ont voip state 1 3
{ <cr>||<K> }:
Command:
display ont voip state 1 3
--------------------------------------------------------------------------
F/S/P : 0/1/1
ONT-ID : 3
Config state : Inactive
Profile version : 00000000
FTP config result: -
--------------------------------------------------------------------------
4. Command for display ONT WAN information:
TEST(config-if-gpon-0/1)#display ont wan-info 0 0
{ <cr>||<K> }:
Command:
display ont wan-info 0 0
---------------------------------------------------------------------
F/S/P : 0/1/0
ONT ID : 0
---------------------------------------------------------------------
Index : 1
Name : OLT_CREATE_OMCI_TR069_DHCP
Service type : Tr069
Connection type : IP routed
IPv4 Connection status : Connected
IPv4 access type : DHCP
IPv4 address : X.X.130.66
Subnet mask : X.X.224.0
Default gateway : X.X.128.1
Manage VLAN : 40X
Manage priority : 5
Option60 : Yes
---------------------------------------------------------------------
Index : 2
Name :
Service type : Internet
Connection type : IP routed
IPv4 Connection status : Connected
IPv4 access type : DHCP
IPv4 address : X.X.73.58
Subnet mask : X.X.255.128
Default gateway : X.X.73.1
Manage VLAN : 40X
Manage priority : 0
Option60 : No
---------------------------------------------------------------------
Index : 3
Name :
Service type : Voip
Connection type : IP routed
IPv4 Connection status : Connected
IPv4 access type : DHCP
IPv4 address : X.X.176.229
Subnet mask : X.X.240.0
Default gateway : X.X.176.1
Manage VLAN : 40X
Manage priority : 5
Option60 : No
---------------------------------------------------------------------
Index : 4
Name :
Service type : IPTV
Connection type : IP routed
IPv4 Connection status : Unconfigured
IPv4 access type : DHCP
IPv4 address : -
Subnet mask : -
Default gateway : -
Manage VLAN : 40X
Manage priority : 0
Option60 : No
---------------------------------------------------------------------
This is a very important and useful command. Same command for this ONT is: #display ont wan-info 0/1 0 0. We can see all VLANs and this ip address. Some VLANs are not defined because we don`t offer that service. If VLANs are not defined or not well defined we can see it with this command. A factory reset ONT solves these problems.
Thank you!
