5
HEADER SNMPv2 vacm acceptance support
12
# standard V1 configuration: testcommunity1 testcommunity2
13
# testcommunity1 can access .1.3.6.1.2.1.1.1, others are denied
14
# testcommunity2 can access all except .1.3.6.1.2.1.1.1
15
# This case test for successful access
22
CAPTURE "snmpget -On $SNMP_FLAGS -c testcommunity1 -v 2c $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPD_PORT .1.3.6.1.2.1.1.1.0"
24
CHECKORDIE ".1.3.6.1.2.1.1.1.0 = STRING:"
26
CAPTURE "snmpget -On $SNMP_FLAGS -c testcommunity2 -v 2c $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPD_PORT .1.3.6.1.2.1.1.3.0"
28
CHECK ".1.3.6.1.2.1.1.3.0 = Timeticks: "