【摘要】在本文中,设计了一个针对TCP/IP网络的基于SNMP网络设备的MIB信息采集系统。这个系统采用三层模型进行设计,最底层负责SNMP中基本对象编码、定义,与设备连接通信等;中间层在底层的基础上定义了MIB对象,负责OID与MIB对象间的转换,分析MIB信息文件以生成MIB树型结构,单个MIB变量信息查询等功能;顶层,即界面层则在中间层的基础上实现了用户界面。设计中运用毕业设计源码论文|JAVA语言,运用毕业设计源码论文|JAVA-Applet技术,其存储在一个运行有Tomcat的服务器上,以接受用户请求,使用户能在任何一个支持毕业设计源码论文|JAVA运行时的浏览器上进行使用。系统在设定设备IP地址及端口号和读写共同体名后能查看相应设备的基本信息。在加载MIB信息文件后可自动生成MIB树型模式,用户则可根据需要查看设备各项细节,亦可进行设定操作。查看基本信息时,用户可自行选择是否自动刷新,这将有助于节省网络带宽和系统资源。
【关键字】 基于Web的网络管理,SNMP,MIB,
毕业设计源码论文|JAVA 第 3 页
MIB information collection of network equipments based on
SNMP
【Abstract】In this text, I designed a MIB collection system of
network equipments based on SNMP at the network of TCP/IP. This
system adopts model of three layers to be designed, the bottom is
responsible for basic SNMP objects’ code, connect communication
with network equipments, etc.; The intermediate level has defined
MIB target on the basis of ground floor, is responsible for the
conversion among OID and MIB target, analyse MIB information file
in order to turn into MIB tree type structure, such functions as
individual MIB variable information inquiry, etc.; The top floor,
namely the interface storey has realized user’s interface on the
basis of the intermediate level. It is developed using
毕业设计源码论文|JAVA language, and the usage
毕业设计源码论文|JAVA- Applet technique, it is saving on
the server that running the Tomcat, to accept the customer
requests, and anyone with a browser supporting
毕业设计源码论文|JAVA run time can use it. The system can
look into basic information of the correspond equipments after
setting the equipments IP address , port numbers , reading and
writting community.After adding the MIB information document, the
system can build a tree mode based on the document and then the
customer then can look into various details of equipments according
to his demand, and also can do some settings.While looking into the
basic information, the customer can by oneself choose whether
renovate automatically, this will contribute to the save of network
bandwidth and system resourceses.
【Keywords】Web-based network management, SNMP, MIB,
毕业设计源码论文|JAVA
目 录
第 1 章
网络管理概述.........................................................................................6
1.1
网络体系结构......................................................................................................................6
1.2
网络管理功能......................................................................................................................8
1.3
网络管理参考模型..............................................................................................................9
1.4
几种标准网络管理协议....................................................................................................10
1.4.1
CMIP网络管理协议...................................................................................................10
1.4.2
SNMP与CMIP管理协议的比较...................................................................................11
第 2 章
简单网络管理协议SNMP概述...............................................................12
2.1
SNMP的发展........................................................................................................................12
2.2
SNMP的配置........................................................................................................................13
2.3
MIB管理信息库..................................................................................................................14
2.4
SNMP的5种协议数据单元................................................................................................16
2.5
SMI管理信息结构..............................................................................................................17
第 3 章
TOMCAT服务器介绍...............................................................................20
3.1
TOMCAT服务器的配置..........................................................................................................20
第 4 章
APPLET的数字签名...............................................................................24
4.1
APPLET安全限制的问题提出..............................................................................................24
4.2
利用APPLET数字签名解决问题..........................................................................................25
第 5 章
方案设计与实现...................................................................................27
5.1
实现思路............................................................................................................................27
5.1.1
MIB信息的获取主要步骤.........................................................................................27
5.1.2
根据加载的MIB信息文件动态生成MIB树型结构...................................................28
5.1.3
基本信息浏览...........................................................................................................28
5.2
中间层的设计与实现........................................................................................................29
5.2.1
中间层设计关键技术...............................................................................................29
5.2.2
中间层具体实现介绍...............................................................................................31
5.3
界面层设计与实现............................................................................................................40
5.3.1
图形用户界面的用途及要求...................................................................................41
5.3.2
界面层设计关键技术...............................................................................................41
5.3.3
界面层实现具体介绍...............................................................................................43
结束语.....................................................................................................................59
致
谢.......................................................................................................................61
第 5 页
参考文献.................................................................................................................62
第 6 页