[snmp++]读取cisco路由交换机信息[一] - 环境搭建
生活随笔
收集整理的這篇文章主要介紹了
[snmp++]读取cisco路由交换机信息[一] - 环境搭建
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
首先從網上下載gn3這個摸擬器以及cisco路由器的bin.
如圖,下面的clouds里添加本地連接,這樣表示路由器與本機的網卡橋接。即在R2里的接口設置一個與本機的IP地址同一網段。這樣局域網的機就可以與R2通信
R2的配置如下
snmp-server community public RO 讀
snmp-server community private RW 寫
這兩個開啟snmp服務。
Router#show running-config Building configuration...Current configuration : 623 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router ! boot-start-marker boot-end-marker ! enable password wen ! no aaa new-model memory-size iomem 5 ! ! ip cef no ip domain lookup ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface FastEthernet0/0ip address 192.168.15.196 255.255.255.0duplex autospeed auto ! ip http server ! ! ! snmp-server community public RO snmp-server community private RW ! ! ! control-plane ! ! ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 4password wenlogin line vty 5 871password wenlogin ! ! endRouter#?到此已可以用snmp++讀取信息了
轉載于:https://www.cnblogs.com/onepc/archive/2012/02/13/2349167.html
總結
以上是生活随笔為你收集整理的[snmp++]读取cisco路由交换机信息[一] - 环境搭建的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: (转)学习密度与专注力
- 下一篇: oracle使用sqlplus查询sql