Dear all,
I have a switch HP J9775A 2530-48G and I would like to set a port on security mode through SNMP.
I found this MIB for setting max mac count on port 7
1.3.6.1.4.1.11.2.14.2.10.3.1.3.1.7 i 1
and this for setting port 7 as configured mode
1.3.6.1.4.1.11.2.14.2.10.3.1.4.1.7 i 4
What must I do now in order to specifying what mac address is authorized on port 7?
I tried this command without success:
snmpset -v2c -c public 192.168.0.34 1.3.6.1.4.1.11.2.14.2.10.4.1.4.1.0.17.34.51.68.85 x 02
MIB=> 1.3.6.1.4.1.11.2.14.2.10.4.1.4.1.
(mac hex) 001122334455 => (mac dec) 0.17.34.51.68.85
02 is port ( 7 ) in octet format
Error in packet.
Reason: wrongType (The set datatype does not match the data type the agent expects)
Failed object: SNMPv2-SMI::enterprises.11.2.14.2.10.4.1.4.1.0.17.34.51.68.85
I hope you can help me.
Best regards,
Alessandro