Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

Procurve 2600 port enable/disable and SNMP

SOLVED
Go to solution
danhertanu
Occasional Visitor

Procurve 2600 port enable/disable and SNMP

Hi

I need to enable/disable a Procurve 2600 switch port, using SNMP, from a script. I tried to look into the HP switches MIBs but I'm kind of lost. Can someone point me in the right direction? Also, there is an OID that returns the port utilization? Thanks,

Thanks,

Daniel
1 REPLY
Richard Brodie_1
Honored Contributor
Solution

Re: Procurve 2600 port enable/disable and SNMP

The first is in the interfaces MIB, so is easy enough:

ifAdminStatus.port -> (1 = up, 2 = down).

e.g. snmpset -c -v2c switch ifAdminStatus.n i 2

Utilization: you can do that with RMON but it's not very straightforward.