Got it

Access the ONT through telnet/ssh (3)

Latest reply: Aug 31, 2021 06:44:38 2506 36 19 0 0


Hello, everyone!


Today, I will continue to show you useful commands for work with ONT. For every command, I will show you an example. I will use ONT HG8247H5, utp cable for connection between ONT and PC and putty for telnet or ssh.



13. Command for delete all software component pack:


WAP>component delete all

success!


After this command, we have to reset the ONT.



14. Command for display information about the port on the ONT:


WAP>get port config ?

get port config portid [1-5]


WAP>get port config portid 1

Port Config Info :

Enable                        : 1

Mtu                           : 2000

PortVid                       : 0

PortPri                       : 0

NegoMode(0-No, 1-Auto)        : 1

Speed(0-10M, 1-100M, 2-1000M) : 0

Duplex(0-Half, 1-Full)        : 0

Link(0-Down, 1-Up)            : 0

PauseEnable                   : 0

LoopMode(0-No, 1-MAC Inner, 2-MAC Outer, 3-PHY Inner, 4-PHY Outer) : 0

MirrorEnable                  : 0

DstPort                       : 0

MirrorType(0-Output, 1-Input, 2-Both) : 0


success!



15. Command for setting LED diodes of the ONT (switch on/off):


WAP>set led ?

set led switch [on/off]


WAP>set led switch off

success!


WAP>set led switch on

success!

WAP>



16. Command for set new password for user:


WAP>set userpasswd root

old password:



17. Command for ONT software upgrade:


WAP>load pack ?

load pack by {tftp|ftp|https|sftp} svrip {ip addr} remotefile {file name} [user {user name}] [pwd {password}] [port {port}]


WAP>load pack by tftp svrip X.X.100.50 remotefile V3R018C10S115.bin

success!


For detailed information, you can see my article: https://forum.huawei.com/enterprise/en/ont-firmware-upgrade-through-telnet/thread/750673-100181?page=3#pid4004679



18. Command for diagnose mode:


WAP>diagnose

success!

Diagnose>



19. Command for su mode:


WAP>su

success!

SU_WAP>


With the next command, we can see all commands. There are two new commands – shell and vspa voiptest.


SU_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 optic

set timeout

set userpasswd

shell

su

vspa voiptest




Thank you!



The post is synchronized to: Author groupVlada85's Author Collection

Very useful. Thanks for sharing
View more
  • x
  • convention:

Vlada85
Vlada85 Created Jul 2, 2021 17:05:58 (0) (0)
Thank you  
Well done, thanks for sharing
View more
  • x
  • convention:

Vlada85
Vlada85 Created Jul 2, 2021 17:06:29 (0) (0)
Thank you  
zaheernew
MVE Author Created Jul 2, 2021 10:31:05

Access the ONT through telnet/ssh (3)-4017053-1
View more
  • x
  • convention:

Thanks for sharing dear
View more
  • x
  • convention:

Access the ONT through telnet/ssh (3)-4017203-1
View more
  • x
  • convention:

Nice one
View more
  • x
  • convention:

Vlada85
Vlada85 Created Jul 5, 2021 17:26:46 (0) (0)
Thank you  
Thanks for those command Vlada
View more
  • x
  • convention:

ulrichwandja
ulrichwandja Created Jul 3, 2021 18:36:36 (0) (0)
 
Vlada85
Vlada85 Created Jul 5, 2021 17:27:17 (0) (0)
You are welcome!  
Great post
View more
  • x
  • convention:

Good
View more
  • x
  • convention:

123
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.