Got it

API REST

Created: Mar 25, 2021 19:08:58Latest reply: Mar 31, 2021 20:24:56 670 5 1 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello everyone!


I need to get active IPoE sessions, but it can't be via SSH or SNMP.

Is there an option for this, preferably by REST API?


Router: NetEngine 8000 M8

Version: Version 8.200 (NetEngine 8000 V800R012C10SPC300)


Featured Answers

Best answer

Recommended answer

DDSN
Admin Created Mar 29, 2021 03:12:31

Hi,
When you log in to the device like using SSH, you can use the display access-user command to query the online users.
https://support.huawei.com/enterpriseics/NetEngine 8000 X/V800R012C10SPC300/topic/view.do?portalid=1607941369281&hdxfileid=DOC100507&pidid=pid_bookmap_0294789696&topicid=CLIREF_0293149523&relationid=default&path=
For SNMP, you can use the oid 1.3.6.1.4.1.2011.5.25.40.4.1.18.1.x to query online users.
https://support.huawei.com/enterpriseics/NetEngine 8000 X/V800R012C10SPC300/topic/view.do?portalid=1607941369281&hdxfileid=DOC100507&pidid=pid_bookmap_0295944920&topicid=TOPIC_0295936204&relationid=default&path=

And for API, you can use XPath
/bras-user-manage:bras-user-manage/bras-user-manage:aaa-statistics
Refer to:https://support.huawei.com/enterprise/en/doc/EDOC1100170416?idPath=24030814|9856750|22715517|23708778|252772223
I hope this helps.

View more
  • x
  • convention:

All Answers
Thanks for contacting the Huawei community!

We are checking your question and will provide an answer to you shortly...
View more
  • x
  • convention:

What is the active IPoE sessions? Do you mean IPoE online users?
View more
  • x
  • convention:

Sorry for the English, I'm using the translator.
I would like to get IPoE users online
View more
  • x
  • convention:

DDSN
DDSN Admin Created Mar 29, 2021 03:12:31

Hi,
When you log in to the device like using SSH, you can use the display access-user command to query the online users.
https://support.huawei.com/enterpriseics/NetEngine 8000 X/V800R012C10SPC300/topic/view.do?portalid=1607941369281&hdxfileid=DOC100507&pidid=pid_bookmap_0294789696&topicid=CLIREF_0293149523&relationid=default&path=
For SNMP, you can use the oid 1.3.6.1.4.1.2011.5.25.40.4.1.18.1.x to query online users.
https://support.huawei.com/enterpriseics/NetEngine 8000 X/V800R012C10SPC300/topic/view.do?portalid=1607941369281&hdxfileid=DOC100507&pidid=pid_bookmap_0295944920&topicid=TOPIC_0295936204&relationid=default&path=

And for API, you can use XPath
/bras-user-manage:bras-user-manage/bras-user-manage:aaa-statistics
Refer to:https://support.huawei.com/enterprise/en/doc/EDOC1100170416?idPath=24030814|9856750|22715517|23708778|252772223
I hope this helps.

View more
  • x
  • convention:

For the model of this router it does not seem to have support for RESTCONF only NETCONF.
I will have to adapt to use NETCONF.
Thanks for the answer
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.