Hello, everyone!
Today, I will show you how you can access the ONT through telnet or ssh and useful commands for work with ONT. I will use ONT HG8247H5, utp cable for connection between ONT and PC and putty for telnet or ssh.
The first step is to check permissions to access the device through a web interface. We use default parameters for log in:
IP address: 192.168.100.1/24
username: telecomadmin
password: XXXXXXXX
The IP address, username and password depending on the ONT model and software version.
After that, follow the next steps: Security – Device Access Control – LAN Service and WiFi Service. Services telnet and ssh have to be enabled. We can see these steps on the next picture.

Now, we can use telent/ssh. We use default parameters for log in:
IP address: 192.168.100.1/24
username: root
password: XXXX
The IP address, username and password depend on the ONT model and software version.
Welcome Visiting Huawei Home Gateway
Copyright by Huawei Technologies Co., Ltd.
Login:root
Password:
Password is default value, please modify it!
WAP>
1. Command for display all commands:
WAP>?
component delete all
diagnose
display deviceInfo
display file
display inner version
display lanmac
display machineItem
display optic
display sn
display timeout
display version
get port config
get testself
load pack
logout
quit
reset
restore manufactory
set led
set timeout
set userpasswd
su
2. Command for display ONT software version:
WAP>display inner version
MainVersion : V300R018C10SPC115B084
StandbyVersion : V300R017C10SPC130B084
ComponentVersion : equipment=V300R017C00SPC100B104
3. The command for display ONT serial number:
WAP>display sn
sn = 48575443C28D559C
4. The command for display information about ONT:
WAP>display deviceInfo
*************** device information ***************
Manufacturer = Huawei Technologies Co., Ltd
ManufacturerOUI = 00259E
ModelName = HG8247H5
Description = EchoLife HG8247H5 GPON Terminal (CLASS B+/PRODUCT ID:XXXXXXXX61HYJ5035313/CHIP:000500XXXXXXXX)
ManufactureInfo = XXXXXXXX61HYJ5035313.C502
ProductClass = HG8247H5
SpecVersion = 1.0
ProvisioningCode =
UpTime = 463 seconds
ReleaseTime = 2017-11-16_08:37:56
UpPort mode = 1
*************************************************
success!
I will continue in the next article.
Thank you!





