T018snmpv1tov2cgetfail
上传用户:wxp200602
上传日期:2007-10-30
资源大小:4028k
文件大小:0k
源码类别:
SNMP编程
开发平台:
Unix_Linux
- #!/bin/sh
- . ../eval_tools.sh
- HEADER for failure of SNMPv1 get against SNMPv2c agent
- SKIPIF DISABLE_SNMPV2C
- SKIPIF DISABLE_SNMPV1
- #
- # Begin test
- #
- # standard V2C configuration: testcomunnity
- . ./Sv2cconfig
- STARTAGENT
- CAPTURE "snmpget -On $SNMP_FLAGS -c notavalidcommunity -v 1 $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPD_PORT .1.3.6.1.2.1.1.3.0"
- STOPAGENT
- CHECK "Timeout"
- FINISHED