本文共 1086 字,大约阅读时间需要 3 分钟。
snmp-server host 172.16.0.5 ro "安装了MRTG和Cacti服务器地址snmp-server location Shenzhen "位置描述snmp-server contact netkiller@example.comsnmp-server community public rosnmp-server enable traps
2911(config)#do show snmpChassis: FGL1607125LContact: netkiller@68msn.comLocation: Shenzhen0 SNMP packets input 0 Bad SNMP version errors 0 Unknown community name 0 Illegal operation for community name supplied 0 Encoding errors 0 Number of requested variables 0 Number of altered variables 0 Get-request PDUs 0 Get-next PDUs 0 Set-request PDUs 0 Input queue packet drops (Maximum queue size 1000)0 SNMP packets output 0 Too big errors (Maximum packet size 1500) 0 No such name errors 0 Bad values errors 0 General errors 0 Response PDUs 0 Trap PDUsSNMP Dispatcher: queue 0/75 (current/max), 0 droppedSNMP Engine: queue 0/1000 (current/max), 0 droppedSNMP logging: enabled Logging to 172.16.0.5.162, 0/10, 0 sent, 0 dropped. Logging to 192.168.1.246.162, 0/10, 0 sent, 0 dropped.原文出处:Netkiller 系列 手札 本文作者:陈景峯 转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。