修改配置文件vim /etc/snmp/snmpd.conf
启动服务service snmpd start 停止服务service snmpd stop 查看服务状态service snmpd status 关闭防火墙service iptables stop 验证是否安装成功snmpget -v 2c -c public 127.0.0.1 sysName.0
查看161端口是否开启 netstat -an |grep 161
2023-10-04 21:52:28
修改配置文件vim /etc/snmp/snmpd.conf
启动服务service snmpd start 停止服务service snmpd stop 查看服务状态service snmpd status 关闭防火墙service iptables stop 验证是否安装成功snmpget -v 2c -c public 127.0.0.1 sysName.0
查看161端口是否开启 netstat -an |grep 161