asp校园网交换机节点管理设计.doc

约29页DOC格式手机打开展开

asp校园网交换机节点管理设计,asp校园网交换机节点管理设计摘要 本毕业论文(设计)是在visual basic 6.0编程环境下实现的,主要研究如何使用交换机和利用vb程序设计语言来开发一套图形界面的校园网交换机节点管理程序,对交换机各端口进行设置,修改某一子网在指定时间内的连通状态。完成此管理程序能够方便的管理校园网的交换机节点,减少管理员定时...
编号:30-102826大小:2.17M
分类: 论文>计算机论文

内容介绍

此文档由会员 alonebar 发布

ASP校园网交换机节点管理设计


摘要 本毕业论文(设计)是在Visual Basic 6.0编程环境下实现的,主要研究如何使用交换机和利用VB程序设计语言来开发一套图形界面的校园网交换机节点管理程序,对交换机各端口进行设置,修改某一子网在指定时间内的连通状态。完成此管理程序能够方便的管理校园网的交换机节点,减少管理员定时开通或关闭子网的工作量。该程序使用VB自带的Winsock控件telnet到交换机的某一端口,然后通过对交换机发送一系列命令,来设置交换机各Vlan和端口的相关状态;将交换机各子网的相关信息、修改子网连通状态的时间信息等存储在文本文件中,使用一个timer控件定时访问这些文本文件来决定是否修改某子网的连通状态,然后使用访问控制列表(Access Control List, ACL)来修改。通过完成这个题目,加深对交换机的理解,并且更好地学习编程思想,掌握VB语言的应用,了解软件开发的过程,为以后进一步的研究打好基础。
关键词 VB,交换机,Winsock控件

Port Subnet Administrator
Abstract: Accomplished in Visual Basic 6.0 programming environment, this graduation thesis mainly studies how to make use of the switch and employ VB Programming Language to develop an administration program of a series of graphical interfaces campus web switch modes, setting up the switch ports and modifying the state of connection of some subnet in a certain time. The program can conveniently control campus web switch nodes so as to decrease the administrator’s work load that he turns on or off the subnet timely. Using Winsock control in VB, the program telnet the some port in switch. Then, by sending a series of orders to the switch, it puts up the state of connection of switch VLAN and ports. When the information relative to the switch subnets and the time information about modifying the state of connection of subnets are stored in the text files, the program using a timer control to open these files timely in order to decide whether it is revised the state of connection of some subnet or not, and then it is employed ACL to revise it. By finishing this paper, I get deeper understanding about the switch, learn more about the programming thought, grasp the application of VB Programming Language and know the process of developing software. All of these aspects lay the good foundations of my further research in future.
Keywords:VB,Switch,Winsock control
目 录
目 录 3
引 言 4
第2章 VB概述 5
2.1 Visual Basic 简介 5
2.2 Visual Basic 功能特点 6
第3章 交换机概述 8
3.1什么是三层交换机 8
3.2 虚拟局域网 9
3.3 访问控制列表 11
第四章 课题实现的功能介绍 13
第五章 功能实现 16
5.1 日程文件的实现 16
5.2 Winsock控件创建TCP/IP通讯 17
5.3 定时功能的实现 20
第6章 结论 24
第七章 致谢 25
第8章 参考文献 26
第9章 附录(Cisco基本命令集) 27

引 言
目前,全球已掀起一股信息高速公路规划和建设的高潮,作为其雏形,国际互联网(Internet)上相连的计算机已近达数千万台,全球有数亿人在Internet上进行信息交换和各种业务处理。Internet上积累了大量信息资源,这些资源涉及人类面对和从事的各个领域、行业及社会公用服务信息。成为信息时代全球可共享的最大信息基地。随着现代化教学活动的深入开展和国内外教学机构相互交往的日益频繁,学校通过网络进行各种复杂信息交流的需求越来越旺盛。因此,为了要控制学生在某课程上机时间专心该课程的学习等等。本毕业设计通过对Visual Basic程序设计语言知识的深入学习和对Cisco交换机基本使用命令的掌握来开发一套图形界面的管理程序,对一个Cisco公司的三层交换机的各端口进行设置,来控制校园网某一子网在指定时间内的连通状态(公网、校园网、本局域网)。
通过对此课题的开发和研究,我们既可以深入研究交换机又可以运用当今最盛行的编程语言VB语言进行编程,为以后的软件开发打下伏笔。另外,本程序开发的代码完全公开,在编写代码的过程中做了详细、清晰的注释,对本程序感兴趣的同学可以很容易的理解本课题开发过程。