blob: e8f47deac5c1d59e4449b1acd5fdefac9bacb9d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/bin/sh
. ../support/simple_eval_tools.sh
DEFSECURITYLEVEL=authPriv
HEADER "SNMPv3 informs (authPriv) received and sent by tools"
SKIPIFNOT NETSNMP_CAN_DO_CRYPTO
SKIPIFNOT NETSNMP_ENABLE_SCAPI_AUTHPRIV
#
# Begin test
#
. ./Sv3usmconfigtrapd
CONFIGTRAPD authuser log $TESTPRIVUSER $DEFSECURITYLEVEL
CONFIGTRAPD agentxsocket /dev/null
STARTTRAPD
CAPTURE "snmptrap -Ci -t $SNMP_SLEEP -d $TESTPRIVARGS $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPTRAPD_PORT 0 .1.3.6.1.6.3.1.1.5.1 .1.3.6.1.2.1.1.4.0 s received_inform_$DEFSECURITYLEVEL"
STOPTRAPD
CHECKTRAPD "received_inform_$DEFSECURITYLEVEL"
FINISHED
|