Other HPE Product Questions
1833187 Members
2978 Online
110051 Solutions
New Discussion

Enabling/disabling Procurve switch ports using SNMP

 
DRK
Occasional Advisor

Enabling/disabling Procurve switch ports using SNMP

I've been looking for a while and haven't found much related to enabling and disabling ports using SNMP. I did find a post saying that the following command can be used to enable an interface:

snmpset -v1 -c community hostname IF-MIB::ifAdminStatus.interface i 1

 

However, a followup comment inticated that ifAdminStatus is read only.

Is there a way to enble and disable ports using SNMP? The reason I'd like to is there are some ports on my switch that I'd like to disable and enable using Home Assistant, either on a schedule, manually, or both (Home Assistant, is, of course, outside the scope of this question here). If it is possible on Procurve switches, and I can get the commands to enable and disable the ports, I can then take that info and work on making it work in HA.

 

 

 

 

2 REPLIES 2
Greeshma21
HPE Pro

Re: Enabling/disabling Procurve switch ports using SNMP

Hi @DRK 

I hope this post helps you resolve the issue.

Regards,
Greeshma


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
support_s
System Recommended

Query: Enabling/disabling Procurve switch ports using SNMP

Hello,

 

Thank you for posting! HPE Networking forum has moved to Airheads Community. For HPE Aruba Networking product queries, request you to visit and post your query here.

 

You can refer to this link for more details.

Please click on "Thumbs Up/Kudo" icon to give a "Kudo".

 

Thank you for being a HPE valuable community member.


Accept or Kudo