38
CONTENTS
• eoMeterCapabilitiesTable.
The following related MIBs are NOT supported:
• ENTITY-MIB;
• ENERGY-OBJECT-CONTEXT-MIB.
Additionally, modifying the user permissions via SNMP is NOT supported as they are generated from the configu-
ration described above and the process is not easily reversible.
In the default configuration, the security level for accessing the energy object MIB subtree is high. You can set the
access level to 'Minimal' to interact with the device using SNMPv2c and SNMPv1, or use SNMPv3 instead, which is
the recommended and more secure alternative.
10.7
SNMP sample commands
These examples assume you have a at 192.168.0.100 with SNMPv3 user
powerAdmin
configured with SHA1
for authentication and AES for encryption, with password
powerAdminPassword
for both authentication and
encryption. Requests with the
private
community string are assumed to be serviced as though they were made
by the
powerAdmin
user.
You'll need Net-SNMP to run these samples; analogous commands should be available for other management
software. The matching of requests vs SNMP protocol version is really arbitrary and is only used to demonstrate
different ways of performing requests. Lines are broken using
\\
for readability. We use
-On
to force numeric OID
output, and omit the leading '.' in output OIDs for simplicity.
An SNMPv2 SET to turn relay #3 on:
$ snmpset -On -v 2c -c private 192.168.0.100 1.3.6.1.2.1.229.1.2.1.8.3 i 259
Output:
1.3.6.1.2.1.229.1.2.1.8.3 = INTEGER: 259
An SNMPv3 GET to get relay #5 status:
$ snmpget -On -v 3 -u powerAdmin -l authPriv -a SHA -x AES \
-A powerAdminPassword -X powerAdminPassword 192.168.0.100 \
1.3.6.1.2.1.229.1.2.1.9.5
Output:
1.3.6.1.2.1.229.1.2.1.9.5 = INTEGER: 257
257 is
ieee1621Off
, so now you know the relay is physically off.
An SNMPv3 SET to turn relay #5 on:
$ snmpset -On -v 3 -u powerAdmin -l authPriv -a SHA -x AES \
-A powerAdminPassword -X powerAdminPassword 192.168.0.100 \
1.3.6.1.2.1.229.1.2.1.8.5 i 259
DLI DIN4 User’s Guide: 20170809T111540Z
Summary of Contents for DIN4
Page 1: ...DLI DIN4 User s Guide 20170809T111540Z ...
Page 57: ......