3、tenotif4.accessnotConfigGroup“”anynoauthexactsystemviewnonenone将”read”字段改为all.代码:#accessnotConfigGroup“”anynoauthexactallnonenone查找##incl/exclsubtreemask#viewallincluded.180去掉view前面的#查找1.# name incl/excl subtree mask(optional)2.#view systemview included
4、.13.view systemview included .1.3.6.1.2.1.14.view systemview included .1.3.6.1.2.1.25.1.1将下面两个view前#去掉启动snmpd服务:/etc/init.d/snmpdstart验证SNMP是否配置正确,可用以下命令:[root@vi~]#snmpwalk-v2c-cvivivi127.0.0.1if如果返回以下字段,既成功:1.IF-MIB::ifIndex.1=INTEGER:12.IF-MIB::ifIndex.2=INTEGER:23.IF-MIB::if