Web and Unmanaged
1753922 Members
7529 Online
108810 Solutions
New Discussion

HPE 1920s ACL create via SNMP

 
SSergey
Occasional Advisor

HPE 1920s ACL create via SNMP

Hello

Since i've got mib files, i tried to experiment with creating ACL via SNMP

Here is oid to attach ACL to VLAN

snmpset -v2c -c $COMM $IP .1.3.6.1.4.1.11.5.7.5.7.1.1.3.2.13.1.6.$VLAN.1.1.1.$ACL i 4

Here is oid to add entry 70 into already created ACL  99

snmpset -v2c -c $COMM $IP .1.3.6.1.4.1.11.5.7.5.7.1.1.3.2.4.1.2.99.70 i 1 .1.3.6.1.4.1.11.5.7.5.7.1.1.3.2.4.1.4.99.70 a 127.0.0.0 .1.3.6.1.4.1.11.5.7.5.7.1.1.3.2.4.1.5.99.70 a 0.0.0.255 .1.3.6.1.4.1.11.5.7.5.7.1.1.3.2.4.1.18.99.70 i 4

But if I try to create basic ACL 50 I catch error

$ snmpset -v2c -c private 172.17.9.84 1.3.6.1.4.1.11.5.7.5.7.1.1.3.2.1.1.2.1.50 i 4
Error in packet.
Reason: noCreation (That table does not support row creation or that object can not ever be created)
Failed object: SNMPv2-SMI::enterprises.11.5.7.5.7.1.1.3.2.1.1.2.1.50

What am i doing wrong?