DOC-USR-0214-04
___________________________________________________________________________________________
Z3 Technology, LLC
♦
100 N 8
th
ST, STE 250
♦
Lincoln, NE 68508-1369 USA
♦
+1.402.323.0702
38
~ $ snmpget -v 3 -a SHA -A z3password -u z3user -l authPriv -x DES -X z3password
x.x.x.x Z3-MIB:z3StatusStreams.0
~ $ snmpget -v 3 -a SHA -A z3password -u z3user -l authPriv -x DES -X z3password
x.x.x.x Z3-MIB:z3StatusSources.0
SNMP v3 Write
There is only one SNMP write command we can run which controls the encoder. If a 1 is written then the
encoder is started, if a 2 is written then the encoder is stopped:
~ $ snmpset -v 3 -a SHA -A z3password -u z3user -l authPriv -x DES -X z3password
x.x.x.x Z3-MIB:z3ControlRunning.0 i 2
~ $ snmpset -v 3 -a SHA -A z3password -u z3user -l authPriv -x DES -X z3password
x.x.x.x Z3-MIB:z3ControlRunning.0 i 1
SNMP V3 Traps
When it comes to SNMP v3 traps users are of a special nature, instead of being configured on the DME-10
(SNMP agent), they are configured on the PC (SNMP manager).
The 5 SNMP traps from SNMP v2c are still available in SNMP v3.
The following steps show how to setup these traps.
1.
Setup snmptrapd on the PC.
a.
Create a file named “snmptrapd.conf” containing the following.
createUser -e 0x80001F8880324C06437016C35D test1 SHA z3password1 DES
authuser log test1
b.
Start snmptrapd with the following command on the PC:
~ $ sudo snmptrapd -f -Le -c snmptrapd.c -M [path1/to/mibs:/path2/to/mibs:..] -m
Z3-ROOT-MIB:Z3-MIB
What this did is it started a snmptrapd process (SNMP traps receiver) with the following user configured:
Engine ID:
0x80001F8880324C06437016C35D
Username:
test1
Auth Password:
z3password1
Auth Protocol:
SHA
Encryption Password:
z3password1