上海哲涛网络科技有限公司欢迎您,联系电话:021-52765253,QQ:1055532045
首页 >> 技术文章 >> SNMP配置 >> 全文
Cisco SNMP配置
发布日期 2010-3-3 12:25:7 点击 601 次
一、Cisco设备配置SNMP命令
配置Cisco设备的SNMP代理及口令
注意:此时STRING尽量不要配置为PUBLIC或者PRIVATE
snmp-server community string [view view-name] [RO | RW] [LROwner | SystemOwner] [access-list-name] 
no snmp-server community string 
配置Cisco设备的SNMP Trap
snmp-server host address [traps] [version {1 | 2c | 3 {auth | noauth | priv}}] community-string [udp-port port] [notification-type] 
no snmp-server host address [traps] [version {1 | 2c | 3 {auth | noauth | priv}}] community-string [udp-port port] [notification-type] 
配置Cisco设备的SNMP Trap的接收服务器
snmp-server traps [notification-type] 
no snmp-server traps [notification-type] 

二、Cisco设备配置SNMP举例
Router>enable
Router# configure terminal
Router(config)# snmp-server community public ro 
Router(config)# snmp-server host 10.10.10.5 ni-view 
Router(config)# snmp-server trap link ietf
Router(config)# snmp-server enable traps snmp

详细资料下载:
http://www.ChinaNetwork.com.cn/forum/resource.ashx?a=56