Switches, Hubs, and Modems
1753498 Members
4797 Online
108794 Solutions
New Discussion

Procurve 2600 port enable/disable and SNMP

 
SOLVED
Go to solution
danhertanu
New Member

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 1
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.