测试环境ENPS------S3700交换机:192.168.205.33
zabbix服务器------centos 7 zabbix3.4:192.168.205.19
Switch配置
S2]undo info-center enable
[S2]inter Vlanif 1
[S2-Vlanif1]ip add 192.168.205.33 24 \\设置vlan 1 IPaddress
[S2-Vlanif1]q
[S2]
[S2]ping 192.168.205.19
PING 192.168.205.19: 56 data bytes, press CTRL_C to break
Reply from 192.168.205.19: bytes=56 Sequence=1 ttl=64 time=30 ms
Reply from 192.168.205.19: bytes=56 Sequence=2 ttl=64 time=1 ms
[S2]
[S2]snmp-agent sys-info version v2 \\设置交换机snmp协议版本
[S2]
[S2]snmp-agent community read cipher public \\
[S2]
[S2]snmp-age