10 External APIs
51
The unit's outlets can be exposed via UPnP as devices with different profiles. The currently supported profile is a
Belkin WeMo socket.
10.5
SNMP settings
SNMP (simple network management protocol) exposes the control variables as a set of hierarchical resources
identified by object identifiers (OIDs). An object identifier is roughly a sequence of non-negative integers (called
arcs), separated by dots ('.'). A leading dot may be used to emphasize that it's an absolute OID; however, all of
the OIDs configurable in LPC9 are absolute unless otherwise stated explicitly, and the leading dot is not needed,
therefore, it's not supported.
SNMP OID subtrees
ID
Description
Root OID
Read security level
Write security level
energyObject
energyObject MIB (RFC 7460, allows manipulating relays and power-related meters)
1.3.6.1.2.1.229
Authenticated and encrypted
Authenticated and encrypted
SNMP OID subtree properties
SNMP v3 introduces a user-based security model, where a number of different users can exist whose requests can
be signed, and possibly encrypted, and who can have different access rights to the OID tree.
The specified root OIDs and their children will be exposed over SNMP. All OIDs must be absolute but not preceded
by a dot.
The root OIDs are actually treated as masks, indicating to set of roots to apply the permission to. In addition to the
standard OID syntax, all but the first two arcs of an OID mask may contain:
• an asterisk "
∗
", which means that any value in this position will match, e.g. "1.2.
∗
.1" will match both "1.2.1.1"
and "1.2.100.1";
• a dash-delimited range, e.g. "1.2.8.1-3" will match both "1.2.8.1" and "1.2.8.2";
• a comma-separated list of arcs, possibly including ranges, e.g. "1.2.8,9" will match both "1.2.8" and "1.2.9",
and "1.2.1,6-8" will match both "1.2.1" and "1.2.7".
This can be used to implement fine-grained access to states of individual outlets (see below).
SNMP users
Is allowed Username
Authentication
Privacy
Access levels
powerAdmin
Leave unchanged
Leave unchanged
energyObject:
root:
powerReader
Leave unchanged
Leave unchanged
energyObject:
root:
anotherUser
Leave unchanged
Leave unchanged
energyObject:
root:
Leave unchanged
Leave unchanged
energyObject:
root:
Submit
SHA
AES
Full
Forbidden
SHA
AES
Read-only
Forbidden
SHA
AES
Read-only
Read-only
MD5
DES
Forbidden
Forbidden
SNMP user table
DLI LPC9 User’s Guide: 1.7.24.0
Содержание LPC9
Страница 1: ...DLI LPC9 User s Guide 1 7 24 0 ...
Страница 81: ......