免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2512 | 回复: 2
打印 上一主题 下一主题

如何对CISCO交换机进行SNMP管理 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-04-28 10:14 |只看该作者 |倒序浏览
我们单位有几台CISCO2950、2924的交换机,我也搞到一套SNMP软件,但是不知道要对CISCO交换机进行SNMP管理,在交换机上需要进行哪些设置?有什么需要注意的地方?

论坛徽章:
0
2 [报告]
发表于 2005-04-28 14:34 |只看该作者

如何对CISCO交换机进行SNMP管理

要开启SNMP服务,别的好像没有什么要设置的。

论坛徽章:
0
3 [报告]
发表于 2005-04-28 15:13 |只看该作者

如何对CISCO交换机进行SNMP管理

Assign a management VLAN, let's say VLAN 1

assign an IP address on interface VLAN1

!
interface VLAN 1
ip address 10.0.0.1 255.255.255.0
!

Assuming your SNMP server is in the same management VLAN, assign an IP address for your server, let's say 10.0.0.100/24

then on the switch, use the following commands to turn on SNMP (assuming the read-only and read/write community strings on both the switch and the server are ABC and DEF respectively):

!
snmp-server community ABC ro
snmp-server community DEF rw
snmp-server trap-source VLAN 1
snmp-server location yourlocation
snmp-server chassis-id routerhostname
snmp-server enable traps
snmp-server host 10.0.0.100 DEF snmp
!


I cannot type chinese, sorry about that.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP