Hi,
Which software version you are using in HP Switch 2530.?
Generally, restrict access to only SNMPv3 agents by using the snmpv3 only command.
To restrict write-access to only SNMPv3 agents, use the snmpv3 restricted-access command
snmpv3 enable --> Enabling switch for access from SNMPv3 agents -->This includes the creation of the initial user record.
snmpv3 only --> Enabling restrictions to access from only SNMPv3 agents --> When enabled, the switch rejects all non-SNMPv3 messages.
Thank You!
I am an HPE Employee