Got it

How i can change wifi name and password by ssh in ONT HS8546V5?

Created: May 30, 2021 22:32:17Latest reply: Jun 30, 2021 15:14:25 466 2 0 1 0
  Rewarded HiCoins: 0 (problem resolved)

I would like to completely configure an ONT, only by SSH command lines

Example:

WAP>


Featured Answers

Recommended answer

Benjiman
Created May 31, 2021 00:21:28

Hi, I don't have the commands for the cli interface, I recomend you to try using a TL1 session for wich te most used commands are:

********************Internet********************************

ADD-ONT::DEV=MA5600T,FN=0,SN=7,PN=0,ONTID=20:1::LINEPROF=HG8245Q2_2_POTS__4ETH_P,SRVPROF=HG8145V5,SERIALNUM=485754435B7F839C,AUTH=SN,VAPROFILE=HG8245V5;

CRT-SERVICEPORT::DEV=MA5600T,FN=0,SN=7,PN=0:3::VLANID=70,SVPID=Prueba,ONTID=20,GEMPORTID=3,TX=30MB_PYME,RX=30MB_PYME,UV=70;

CFG-ONTVAINDIV::DEV=MA5600T,FN=0,SN=7,PN=0,ONTID=20,WANPPPOEUSERNAME_1=tigo,WANPPPOEUSERPWD_1=tigo:CTAG::;

***********************Voz**********************************

CFG-ONTVAINDIV::DEV=MA5600T,FN=0,SN=7,PN=0,ONTID=20,WANIPADDR_2=10.254.1.100,WANSUBMASK_2=255.255.255.0,WANGW_2=10.254.1.1:CTAG::;

CFG-ONTVAINDIV::DEV=MA5600T,FN=0,SN=7,PN=0,ONTID=20,SIPUSERNAME_1=+50222119211,SIPUSERPWD_1=c1@r0N3w,SIPUSERPORT_1=1,SIPNAME_1=+50222119211@ims.com.gt:CTAG::;

CRT-SERVICEPORT::DEV=MA5600T,FN=0,SN=7,PN=0:3::VLANID=708,SVPID=Prueba_voz,ONTID=20,GEMPORTID=1,TX=30MB_PYME,RX=30MB_PYME,UV=708;

*********************IPTV**************************************

CRT-SERVICEPORT::DEV=MA5600T,FN=0,SN=7,PN=0:3::VLANID=90,SVPID=Prueba_iptv,ONTID=20,GEMPORTID=5,TX=30MB_PYME,RX=30MB_PYME,UV=90;

JOIN-NTVUSR::DEV=MA5600T,FN=0,SN=7,PN=0,ONTID=20,GEMPORTID=5:9::AUTH=2,UV=90,IGMPVLAN=90;
LOGIN:::6::UN=admin,PWD=Huawei_123;
LOGOUT:::1::;


- Reinicio de la ONT

RESET-ONT::(DID=Device-ID|DEV=Device-name),((FN=Frame-id,SN=Slot-id,PN=Portid,ONTID=ont-id)|(PWD=password)):CTAG::;

ejemplo: RESET-ONT::DEV=MA5600T,FN=0,SN=7,PN=0,ONTID=1:CTAG::;


- Modificación de los parámetros del WiFi.

No se puede realizar por TL1


- Alta

Agregar ONT

Ejemplo: ADD-ONT::DEV=MA5600T,FN=0,SN=7,PN=0,ONTID=22:CTAG::ALIAS=ont-alias,LINEPROF=HG8040,SRVPROF=service-profile,SERIALNUM=4857544345A30721,AUTH=SN;


Crear service Ports

CRT-SERVICEPORT::(DID=Device-ID|DEV=Device-name|DSN=device-serial-number|(DEV=device-olt-ipaddress,ONULOCATEINFO=onu-locate-infomation)),FN=framenum,
SN=slot-num,PN=port-num:CTAG::[VLANID=vlan-ID|AOE=AoE-flag|TRANSPARENT=Transparent-flag][,SVPID=service-port-name][(,AVLANID=customer-sideouter-
vlan-id)|(,VPI=vpi,VCI=vci)|(,ONTMAC=ont-mac)|([,(ONTID=ont-id|ONTSN=ont-sn|ONTKEY=ont-password|MDUIP=mdu-ip)][(,GEMPORTID=gemportid)|(,ONTINTERFACETYPE=ontinterface-
type[,ONTINTERFACEID=ont-interface-id])])|(,(CNUID=cnu-id|CNUKEY=cnu-sn)[,CNUUNIPORTS=cnu-uni-port][,CNUUNIWIFI=cnu-uni-wifi])][,CHANNELID=channelid]
[,TX=transport-traffic-profile-name][,RX=receive-traffic-profile-name][,INNERVLANID=inner-vlan-ID][,SUPC=source-upc,TUPC=target-upc][(,UV=user-vlan)|
(,SUV=start-user-vlan,EUV=end-user-vlan)][(,UP=user-8021p-priority)|(,UE=userenvap)]|(,UINNERVLANID=user-inner-vlanid)[,RID=user-lable][,PORTMODE=portmode]
[(,SFN=source-frame-num)(,SSN=source-slot-num)(,SPN=source-port-num)(,SOUTERVLANID=source-outer-vlan-id)[,SINNERVLANID=source-inner-vlan-id]]
[,COSVALUE=cos-value][,TAGTRANSFORM=transform-tag][,RETURID=TRUE][,PVCBUNDLE=pvc_bundle_switch][,BUNDLEID=bundle-id][,MACLEARNNUM=max-mac-number]
[,MACBINDNUM=max-mac-bindnumber][,INNERVLANPRI=inner-vlan-pri][,ENCAPTYPE=encapsulation-type][,SIP=source-ip-address][,TIP=target-ip-address]
[,UNKOWNMULTIPOLICY=unkown muilticast policy][,OPTION82SW=DHCP OPTION82 Switch][,FBUSEROPTION82=DHCP-Option82 Transfer][,ANTIIPSPOOFING=antiipsnooping-switch]
[,PITPFUNC=pitp-function-switch][,PITPFORWARDING=pitp-forward-switch][,REMOTEDESC=remote-description][,BUNDLENAME=bundle-name];

Ejemplo: CRT-SERVICEPORT::DEV=MA5600T,FN=0,SN=7,PN=0:1::VLANID=2222,ONTID=22,GEMPORTID=2,TX=10MB,RX=10MB,UV=2222;



- Suspensión

DACT-ONT::(DID=Device-ID|DEV=Device-name),((FN=Frame-id,SN=Slot-id,PN=Port-id,(ONTID=ont-id|ONTSN=ont-SN))|(PWD=password)):CTAG::;

Ejemplo: DACT-ONT::DEV=MA5600T,FN=0,SN=7,PN=0,ONTID=22:CTAG::;




- Re-activación

ACT-ONT::(DID=Device-ID|DEV=Device-name),((FN=Frame-id,SN=Slot-id,PN=Port-id,(ONTID=ont-id|ONTSN=ont-SN))|(PWD=ont-password)):CTAG::;

Ejemplo: ACT-ONT::DEV=MA5600T,FN=0,SN=7,PN=0,ONTID=22:CTAG::;




- Baja

Eliminar Service Ports

DEL-SERVICEPORT::(DID=Device-ID|DEV=Device-name|DSN=device-serial-number|(DEV=device-olt-ipaddress,ONULOCATEINFO=onu-locate-infomation)),(FN=framenum,SN=slot-num,PN=port-num)|(SVPID=ServicePort-Name)|(SRVPORTID=ServicePort-
ID):CTAG::[VLANID=vlan-id][(,AVLANID=customer-side-outer-vlan-id)|(,VPI=vpi,VCI=vci)|(,ONTMAC=ont-mac)|([,(ONTID=ont-id|ONTSN=ont-sn|ONTKEY=ontpassword|
MDUIP=mdu-ip-address)][(,GEMPORTID=gemportid)|(,ONTINTERFACETYPE=ontinterface-type[,ONTINTERFACEID=ont-interface-id])])|(,(CNUID=cnu-id|CNUKEY=cnu-sn)
[,CNUUNIPORTS=cnu-uni-port][,CNUUNIWIFI=cnu-uni-wifi])][,INNERVLANID=inner-vlanid][(,UV=user-vlan)|([,SUV=start-user-vlan][,EUV=end-user-vlan])][(,UP=user-8021ppriority)|(,
UE=user-envap)|(,UINNERVLANID=user-inner-vlanid)][,FLOWTYPE=flow-type][,PORTMODE=ptm|atm];

Ejemplo: DEL-SERVICEPORT::DEV=MA5600T,FN=0,SN=7,PN=0:5::ONTID=22,GEMPORTID=1;

Eliminar ONT

DEL-ONT::(DID=Device-ID|DEV=Device-name),((FN=Frame-id,SN=Slot-id,PN=Port-id,(ONTID=ont-id|ONTSN=ont-SN))|(PWD=ont-password))[,DELCONFIG=Delconfiguration]:CTAG::;

Ejemplo: DEL-ONT::DEV=MA5600T,FN=0,SN=7,PN=0,ONTID=22:CTAG::;


VAPROFILE=TL1test
Ont SN : 4857544354AE182C


ADD-ONT::DEV=MA5608T,FN=0,SN=0,PN=0,ONTID=22:CTAG::ALIAS=PruebaTL1,LINEPROF=TL1,SRVPROF=Adaptativo,SERIALNUM=4857544354AE182C,AUTH=SN,VAPROFILE=TL1test;

CFG-ONTVAINDIV::DEV=MA5608T,FN=0,SN=0,PN=0,ONTID=22,SIPUSERNAME_1=87654321,SIPUSERPWD_1=123456,SIPNAME_1=AAA,WANPBIT_1=0,WANPPPOEUSERNAME_1=admin,WANPPPOEUSERPWD_1=admin:1::;




WANVLAN_1=11,WANPBIT_1=0,WANPPPOEUSERNAME_1=admin,WANPPPOEUSERPWD_1=admin,WANVLAN_2=22,WANPBIT_2=5,WANIPADDR_2=10.0.2.2,WANSUBMASK_2=255.255.255.0,WANGW_2=10.0.2.1,WANVLAN_3=33,WANPBIT_3=7,WANIPADDR_3=10.0.3.2,WANSUBMASK_3=255.255.255.0,WANGW_3=10.0.3.1

CFG-ONTVAINDIV::DEV=MA5608T,FN=0,SN=0,PN=0,ONTID=22,SIPUSERNAME_1=87654321,SIPUSERPWD_1=123456,SIPNAME_1=AAA:1,WANVLAN_1=11,WANPBIT_1=0,WANPPPOEUSERNAME_1=admin,WANPPPOEUSERPWD_1=admin,WANVLAN_2=22,WANPBIT_2=5,WANIPADDR_2=10.0.2.2,WANSUBMASK_2=255.255.255.0,WANGW_2=10.0.2.1,WANVLAN_3=33,WANPBIT_3=7,WANIPADDR_3=10.0.3.2,WANSUBMASK_3=255.255.255.0,WANGW_3=10.0.3.1:1::;

CFG-ONTVAINDIV::DEV=MA5608T,FN=0,SN=0,PN=0,ONTID=22,SIPUSERNAME_1=87654321,SIPUSERPWD_1=123456,SIPNAME_1=AAA,WANPBIT_1=0,WANPPPOEUSERNAME_1=admin,WANPPPOEUSERPWD_1=admin,WANIPADDR_2=10.0.2.2,WANSUBMASK_2=255.255.255.0,WANGW_2=10.0.2.1,WANIPADDR_3=10.0.3.2,WANSUBMASK_3=255.255.255.0,WANGW_3=10.0.3.1:1::;


View more
  • x
  • convention:

All Answers
Hi, I don't have the commands for the cli interface, I recomend you to try using a TL1 session for wich te most used commands are:

********************Internet********************************

ADD-ONT::DEV=MA5600T,FN=0,SN=7,PN=0,ONTID=20:1::LINEPROF=HG8245Q2_2_POTS__4ETH_P,SRVPROF=HG8145V5,SERIALNUM=485754435B7F839C,AUTH=SN,VAPROFILE=HG8245V5;

CRT-SERVICEPORT::DEV=MA5600T,FN=0,SN=7,PN=0:3::VLANID=70,SVPID=Prueba,ONTID=20,GEMPORTID=3,TX=30MB_PYME,RX=30MB_PYME,UV=70;

CFG-ONTVAINDIV::DEV=MA5600T,FN=0,SN=7,PN=0,ONTID=20,WANPPPOEUSERNAME_1=tigo,WANPPPOEUSERPWD_1=tigo:CTAG::;

***********************Voz**********************************

CFG-ONTVAINDIV::DEV=MA5600T,FN=0,SN=7,PN=0,ONTID=20,WANIPADDR_2=10.254.1.100,WANSUBMASK_2=255.255.255.0,WANGW_2=10.254.1.1:CTAG::;

CFG-ONTVAINDIV::DEV=MA5600T,FN=0,SN=7,PN=0,ONTID=20,SIPUSERNAME_1=+50222119211,SIPUSERPWD_1=c1@r0N3w,SIPUSERPORT_1=1,SIPNAME_1=+50222119211@ims.com.gt:CTAG::;

CRT-SERVICEPORT::DEV=MA5600T,FN=0,SN=7,PN=0:3::VLANID=708,SVPID=Prueba_voz,ONTID=20,GEMPORTID=1,TX=30MB_PYME,RX=30MB_PYME,UV=708;

*********************IPTV**************************************

CRT-SERVICEPORT::DEV=MA5600T,FN=0,SN=7,PN=0:3::VLANID=90,SVPID=Prueba_iptv,ONTID=20,GEMPORTID=5,TX=30MB_PYME,RX=30MB_PYME,UV=90;

JOIN-NTVUSR::DEV=MA5600T,FN=0,SN=7,PN=0,ONTID=20,GEMPORTID=5:9::AUTH=2,UV=90,IGMPVLAN=90;
LOGIN:::6::UN=admin,PWD=Huawei_123;
LOGOUT:::1::;


- Reinicio de la ONT

RESET-ONT::(DID=Device-ID|DEV=Device-name),((FN=Frame-id,SN=Slot-id,PN=Portid,ONTID=ont-id)|(PWD=password)):CTAG::;

ejemplo: RESET-ONT::DEV=MA5600T,FN=0,SN=7,PN=0,ONTID=1:CTAG::;


- Modificación de los parámetros del WiFi.

No se puede realizar por TL1


- Alta

Agregar ONT

Ejemplo: ADD-ONT::DEV=MA5600T,FN=0,SN=7,PN=0,ONTID=22:CTAG::ALIAS=ont-alias,LINEPROF=HG8040,SRVPROF=service-profile,SERIALNUM=4857544345A30721,AUTH=SN;


Crear service Ports

CRT-SERVICEPORT::(DID=Device-ID|DEV=Device-name|DSN=device-serial-number|(DEV=device-olt-ipaddress,ONULOCATEINFO=onu-locate-infomation)),FN=framenum,
SN=slot-num,PN=port-num:CTAG::[VLANID=vlan-ID|AOE=AoE-flag|TRANSPARENT=Transparent-flag][,SVPID=service-port-name][(,AVLANID=customer-sideouter-
vlan-id)|(,VPI=vpi,VCI=vci)|(,ONTMAC=ont-mac)|([,(ONTID=ont-id|ONTSN=ont-sn|ONTKEY=ont-password|MDUIP=mdu-ip)][(,GEMPORTID=gemportid)|(,ONTINTERFACETYPE=ontinterface-
type[,ONTINTERFACEID=ont-interface-id])])|(,(CNUID=cnu-id|CNUKEY=cnu-sn)[,CNUUNIPORTS=cnu-uni-port][,CNUUNIWIFI=cnu-uni-wifi])][,CHANNELID=channelid]
[,TX=transport-traffic-profile-name][,RX=receive-traffic-profile-name][,INNERVLANID=inner-vlan-ID][,SUPC=source-upc,TUPC=target-upc][(,UV=user-vlan)|
(,SUV=start-user-vlan,EUV=end-user-vlan)][(,UP=user-8021p-priority)|(,UE=userenvap)]|(,UINNERVLANID=user-inner-vlanid)[,RID=user-lable][,PORTMODE=portmode]
[(,SFN=source-frame-num)(,SSN=source-slot-num)(,SPN=source-port-num)(,SOUTERVLANID=source-outer-vlan-id)[,SINNERVLANID=source-inner-vlan-id]]
[,COSVALUE=cos-value][,TAGTRANSFORM=transform-tag][,RETURID=TRUE][,PVCBUNDLE=pvc_bundle_switch][,BUNDLEID=bundle-id][,MACLEARNNUM=max-mac-number]
[,MACBINDNUM=max-mac-bindnumber][,INNERVLANPRI=inner-vlan-pri][,ENCAPTYPE=encapsulation-type][,SIP=source-ip-address][,TIP=target-ip-address]
[,UNKOWNMULTIPOLICY=unkown muilticast policy][,OPTION82SW=DHCP OPTION82 Switch][,FBUSEROPTION82=DHCP-Option82 Transfer][,ANTIIPSPOOFING=antiipsnooping-switch]
[,PITPFUNC=pitp-function-switch][,PITPFORWARDING=pitp-forward-switch][,REMOTEDESC=remote-description][,BUNDLENAME=bundle-name];

Ejemplo: CRT-SERVICEPORT::DEV=MA5600T,FN=0,SN=7,PN=0:1::VLANID=2222,ONTID=22,GEMPORTID=2,TX=10MB,RX=10MB,UV=2222;



- Suspensión

DACT-ONT::(DID=Device-ID|DEV=Device-name),((FN=Frame-id,SN=Slot-id,PN=Port-id,(ONTID=ont-id|ONTSN=ont-SN))|(PWD=password)):CTAG::;

Ejemplo: DACT-ONT::DEV=MA5600T,FN=0,SN=7,PN=0,ONTID=22:CTAG::;




- Re-activación

ACT-ONT::(DID=Device-ID|DEV=Device-name),((FN=Frame-id,SN=Slot-id,PN=Port-id,(ONTID=ont-id|ONTSN=ont-SN))|(PWD=ont-password)):CTAG::;

Ejemplo: ACT-ONT::DEV=MA5600T,FN=0,SN=7,PN=0,ONTID=22:CTAG::;




- Baja

Eliminar Service Ports

DEL-SERVICEPORT::(DID=Device-ID|DEV=Device-name|DSN=device-serial-number|(DEV=device-olt-ipaddress,ONULOCATEINFO=onu-locate-infomation)),(FN=framenum,SN=slot-num,PN=port-num)|(SVPID=ServicePort-Name)|(SRVPORTID=ServicePort-
ID):CTAG::[VLANID=vlan-id][(,AVLANID=customer-side-outer-vlan-id)|(,VPI=vpi,VCI=vci)|(,ONTMAC=ont-mac)|([,(ONTID=ont-id|ONTSN=ont-sn|ONTKEY=ontpassword|
MDUIP=mdu-ip-address)][(,GEMPORTID=gemportid)|(,ONTINTERFACETYPE=ontinterface-type[,ONTINTERFACEID=ont-interface-id])])|(,(CNUID=cnu-id|CNUKEY=cnu-sn)
[,CNUUNIPORTS=cnu-uni-port][,CNUUNIWIFI=cnu-uni-wifi])][,INNERVLANID=inner-vlanid][(,UV=user-vlan)|([,SUV=start-user-vlan][,EUV=end-user-vlan])][(,UP=user-8021ppriority)|(,
UE=user-envap)|(,UINNERVLANID=user-inner-vlanid)][,FLOWTYPE=flow-type][,PORTMODE=ptm|atm];

Ejemplo: DEL-SERVICEPORT::DEV=MA5600T,FN=0,SN=7,PN=0:5::ONTID=22,GEMPORTID=1;

Eliminar ONT

DEL-ONT::(DID=Device-ID|DEV=Device-name),((FN=Frame-id,SN=Slot-id,PN=Port-id,(ONTID=ont-id|ONTSN=ont-SN))|(PWD=ont-password))[,DELCONFIG=Delconfiguration]:CTAG::;

Ejemplo: DEL-ONT::DEV=MA5600T,FN=0,SN=7,PN=0,ONTID=22:CTAG::;


VAPROFILE=TL1test
Ont SN : 4857544354AE182C


ADD-ONT::DEV=MA5608T,FN=0,SN=0,PN=0,ONTID=22:CTAG::ALIAS=PruebaTL1,LINEPROF=TL1,SRVPROF=Adaptativo,SERIALNUM=4857544354AE182C,AUTH=SN,VAPROFILE=TL1test;

CFG-ONTVAINDIV::DEV=MA5608T,FN=0,SN=0,PN=0,ONTID=22,SIPUSERNAME_1=87654321,SIPUSERPWD_1=123456,SIPNAME_1=AAA,WANPBIT_1=0,WANPPPOEUSERNAME_1=admin,WANPPPOEUSERPWD_1=admin:1::;




WANVLAN_1=11,WANPBIT_1=0,WANPPPOEUSERNAME_1=admin,WANPPPOEUSERPWD_1=admin,WANVLAN_2=22,WANPBIT_2=5,WANIPADDR_2=10.0.2.2,WANSUBMASK_2=255.255.255.0,WANGW_2=10.0.2.1,WANVLAN_3=33,WANPBIT_3=7,WANIPADDR_3=10.0.3.2,WANSUBMASK_3=255.255.255.0,WANGW_3=10.0.3.1

CFG-ONTVAINDIV::DEV=MA5608T,FN=0,SN=0,PN=0,ONTID=22,SIPUSERNAME_1=87654321,SIPUSERPWD_1=123456,SIPNAME_1=AAA:1,WANVLAN_1=11,WANPBIT_1=0,WANPPPOEUSERNAME_1=admin,WANPPPOEUSERPWD_1=admin,WANVLAN_2=22,WANPBIT_2=5,WANIPADDR_2=10.0.2.2,WANSUBMASK_2=255.255.255.0,WANGW_2=10.0.2.1,WANVLAN_3=33,WANPBIT_3=7,WANIPADDR_3=10.0.3.2,WANSUBMASK_3=255.255.255.0,WANGW_3=10.0.3.1:1::;

CFG-ONTVAINDIV::DEV=MA5608T,FN=0,SN=0,PN=0,ONTID=22,SIPUSERNAME_1=87654321,SIPUSERPWD_1=123456,SIPNAME_1=AAA,WANPBIT_1=0,WANPPPOEUSERNAME_1=admin,WANPPPOEUSERPWD_1=admin,WANIPADDR_2=10.0.2.2,WANSUBMASK_2=255.255.255.0,WANGW_2=10.0.2.1,WANIPADDR_3=10.0.3.2,WANSUBMASK_3=255.255.255.0,WANGW_3=10.0.3.1:1::;


View more
  • x
  • convention:

Very good , thanks
This answer is very helpful
View more
  • x
  • convention:

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.