作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (2): 103-105. doi: 10.3969/j.issn.1000-3428.2012.02.033

• 网络与通信 • 上一篇    下一篇

一种基于SNMP的链路层拓扑发现算法

潘 楠 a,王 勇 b,陶晓玲 c   

  1. (桂林电子科技大学 a. 计算机科学与工程学院;b. CSIP广西分中心;c. 信息与通信学院,广西 桂林 541004)
  • 收稿日期:2011-05-19 出版日期:2012-01-20 发布日期:2012-01-20
  • 作者简介:潘 楠(1985-),男,硕士研究生,主研方向:网络安全;王 勇,教授;陶晓玲,工程师
  • 基金资助:
    国家自然科学基金资助项目(60872022);广西研究生创新基金资助项目(2010105950812M21)

Link Layer Topology Discovery Algorithm Based on Simple Network Management Protocol

PAN Nan a, WANG Yong b, TAO Xiao-ling c   

  1. (a. College of Computer Science and Engineering; b. CSIP Guangxi Center; c. College of Information and Communication, Guilin University of Electronic Technology, Guilin 541004, China)
  • Received:2011-05-19 Online:2012-01-20 Published:2012-01-20

摘要: 为提高链路层网络拓扑发现效率,提出一种基于简单网络管理协议的拓扑发现算法。将交换机间的连接网络用树形结构表示,自顶向下逐层确定每个交换机的连接关系。通过修改连接关系的判定条件,并结合线程池和哈希查找技术,提高拓扑发现的效率。实验结果表明,该算法能快速准确地获得完整的网络拓扑结构。

关键词: 链路层, 拓扑发现, 简单网络管理协议, 地址转发表, 线程池, 哈希查找

Abstract: n order to improve the network topology discovery efficiency of link layer, this paper proposes a discovery algorithm for link layer of topology based on Simple Network Management Protocol(SNMP). By describing the connections between switches as a tree, the connection relationship of each switch is established for every layer according to top-down manner. By improving the conditions of the connection between switches, combined with the thread pool and hash search to improve the efficiency of topology discovery. Experimental result indicates that the algorithm can discover link layer topology rapidly and completely, and the possible network elements can be discovered.

Key words: link layer, topology discovery, Simple Network Management Protocol(SNMP), Address Forwarding Table(AFT), thread pool, hash search

中图分类号: