Only perform this task if the ZFS storage appliance is configured to use SNMPv1 or v2.
To minimize the disclosure of system configuration information, SNMP queries should only be accepted from approved network or host sources.
hostname:> configuration services snmp set network=127.0.0.1/8 network = 127.0.0.1/8
In this example, setting the network parameter to 127.0.0.1/8 effectively blocks all network-based SNMP queries. This value should be adjusted as needed to permit approved hosts and networks.
A value of 0.0.0.0/0 permits queries from any network location.
hostname:> configuration services snmp get network network = 127.0.0.1/8