Home | 简体中文 | 繁体中文 | 杂文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 作品与服务 | Email

5.11. SNMP

snmp-server host 172.16.0.5 ro 		"安装了MRTG和Cacti服务器地址
snmp-server location Shenzhen 		"位置描述
snmp-server contact netkiller@example.com
snmp-server community public ro
snmp-server enable traps
		
2911(config)#do show snmp
Chassis: FGL1607125L
Contact: netkiller@68msn.com
Location: Shenzhen
0 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 PDUs
SNMP Dispatcher:
   queue 0/75 (current/max), 0 dropped
SNMP Engine:
   queue 0/1000 (current/max), 0 dropped

SNMP 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.
		
comments powered by Disqus