Quantcast
Channel: Web and Unmanaged topics
Viewing all articles
Browse latest Browse all 1308

HPE 1920s ACL create via SNMP

$
0
0

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?


Viewing all articles
Browse latest Browse all 1308

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>