Got it

API / Remote management of Huawei NE05E routers

Created: Jul 28, 2019 12:35:34Latest reply: Jul 30, 2019 16:48:58 1534 7 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi,


Looking for a way to remotely interact with the router configuration.


Router model: NE05E-SQ

Version: V300R003C10SPC500

Patch version: V300R003SPH017


Would like to be able to nullroute IP addresses remotely from a Linux machine and play with flowspec, etc...

Any options for that? Is there any API for these routers?


Best Regards

Featured Answers

Recommended answer

chenhui
Admin Created Jul 29, 2019 00:57:15

Posted by Oyster at 2019-07-28 13:54Ok, I want to be able to issue commands from remote server using PHP, Python or bash script.SNMP and ...

@Oyster Hi,
Huawei routers provide RESTful API to achieve programmability, allowing third-party applications to run on the platform. It could help the administrators to manage the device more intelligent and reducing their operation and maintenance costs.
you can check  link http://support.huawei.com/hedex/hdx.do?docid=EDOC1100006550&id=feature_0023849091&text=Overview%2520of%2520OPS&lang=en to learn more.

But in my opinion, the RESTful API helps the administrators to run the scripts on the device to automate the maintainance, you can have a try.

Glad to help you! Any further questions, let us know.

View more
  • x
  • convention:

Conclusion: NE Routers DON'T have any remote (http/s) RESTful API.
The OPS bullshit is only for running a cron job script.
View more
  • x
  • convention:

All Answers
The device does not have open API interfaces. If you want to manage devices, you can use the NMS, such as U2000 and eSight, to manage devices through SNMP.
View more
  • x
  • convention:

Ok, I want to be able to issue commands from remote server using PHP, Python or bash script.
SNMP and SSH could be an option. Which way would be the best? Thanks.
View more
  • x
  • convention:

Posted by Oyster at 2019-07-28 13:54Ok, I want to be able to issue commands from remote server using PHP, Python or bash script.SNMP and ...

@Oyster Hi,
Huawei routers provide RESTful API to achieve programmability, allowing third-party applications to run on the platform. It could help the administrators to manage the device more intelligent and reducing their operation and maintenance costs.
you can check  link http://support.huawei.com/hedex/hdx.do?docid=EDOC1100006550&id=feature_0023849091&text=Overview%2520of%2520OPS&lang=en to learn more.

But in my opinion, the RESTful API helps the administrators to run the scripts on the device to automate the maintainance, you can have a try.

Glad to help you! Any further questions, let us know.

View more
  • x
  • convention:

@Oyster Sorry to mislead you. Thank @chenhui for your correction.
View more
  • x
  • convention:

Posted by Oyster at 2019-07-28 13:54 Ok, I want to be able to issue commands from remote server using PHP, Python or bash script.SNMP and ...
SNMP is applicable to monitoring device status. SSH is a better choice if you need to issue commands
View more
  • x
  • convention:

Posted by chenhui at 2019-07-29 00:57 @Oyster Hi,Huawei routers provide RESTful API to achieve programmability, allowing third-party app ...
I don't understand the OPS feature and can't find any documentation about the API methods of any kind for this router. In the other hand I found documentation for CloudEngine Switches https://support.huawei.com/enterprise/en/doc/EDOC1100004328/426cffd9/about-this-document

OPS feature for this router does support the HTTP RESTful API ?
View more
  • x
  • convention:

Conclusion: NE Routers DON'T have any remote (http/s) RESTful API.
The OPS bullshit is only for running a cron job script.
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.