• March 28, 2024, 07:20:43 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Get stack ports info using SNMP  (Read 6579 times)

luizluca

  • Level 1 Member
  • *
  • Posts: 1
Get stack ports info using SNMP
« on: May 11, 2021, 12:30:31 PM »

Hello,

I'm trying to get stacking port status using SNMP. Howerver, as soon as a port becomes a stacking port, it disappears from SNMP. I could only "guess" the status from LED info (1.3.6.1.4.1.171.12.11.1.9.4.1.5), which is not the nicest way to retrieve it.

Code: [Select]
.iso.org.dod.internet.private.enterprises.dlink.dlink-common-mgmt.swEquipmentMIB.swEquipment.swUnitMgmt.swUnitMgmtTable.swUnitMgmtEntry.swUnitMgmtFrontPanelLedStatus.1 = Hex-STRING: 01 02 02 01 01 01 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 01 01 01 82 03 82 03 01 01 01
01 82 03 82 03 01 01 82 03 01 01 01 01 01 01 01
01 01 01 82 01 01 01 82 02 82 02 82 02 01 01 01
01 01 01 01 01 82 04 01 01 82 03 82 03
.iso.org.dod.internet.private.enterprises.dlink.dlink-common-mgmt.swEquipmentMIB.swEquipment.swUnitMgmt.swUnitMgmtTable.swUnitMgmtEntry.swUnitMgmtFrontPanelLedStatus.2 = Hex-STRING: 01 01 02 01 01 01 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 01 01 01 82 03 82 03 82 03 82
03 82 03 82 03 01 01 82 03 01 01 01 01 01 01 01
01 01 01 82 01 01 01 01 01 82 02 82 02 01 01 01
01 01 01 01 01 01 01 82 04 82 03 82 03

In this case, the last "82 03" and "82 03" where 82 means "led is blinking, link pass" and 03 is "1000Mbps"

Is there any magic OID I'm missing?
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Get stack ports info using SNMP
« Reply #1 on: May 11, 2021, 01:31:11 PM »

I recommend that you phone contact your regional D-Link support office and ask for help and information regarding this.
Link> Tech Support Contact Information
We find that chat/phone contact has better immediate results over using email.
Let us know how it goes please.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.