⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 t140snmpv1vacmgetfail

📁 snmp的源代码,已经在我的ubuntu下编译通过
💻
字号:
#!/bin/sh. ../eval_tools.shHEADER SNMPv1 vacm denial supportSKIPIF DISABLE_SNMPV1## Begin test## standard V1 configuration: testcommunity1 testcommunity2# testcommunity1 can access .1.3.6.1.2.1.1.1, others are denied# testcommunity2 can access all except .1.3.6.1.2.1.1.1# This case test for denied accesssnmp_version=v1. ./SvacmconfigSTARTAGENTCAPTURE "snmpget -On $SNMP_FLAGS -c testcommunity1 -v 1 $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPD_PORT .1.3.6.1.2.1.1.3.0"CHECKORDIE "Reason: (noSuchName) There is no such variable name in this MIB."CAPTURE "snmpget -On $SNMP_FLAGS -c testcommunity2 -v 1 $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPD_PORT .1.3.6.1.2.1.1.1.0"CHECKORDIE "Reason: (noSuchName) There is no such variable name in this MIB."STOPAGENTFINISHED

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -