通化师范学院学报2024,Vol.45Issue(4) :44-49.DOI:10.13877/j.cnki.cn22-1284.2024.04.007

SDN网络中STP避环的设计与实现

Design and Implementation of STP Loop Avoidance in SDN Networks

姚正 鲁兵
通化师范学院学报2024,Vol.45Issue(4) :44-49.DOI:10.13877/j.cnki.cn22-1284.2024.04.007

SDN网络中STP避环的设计与实现

Design and Implementation of STP Loop Avoidance in SDN Networks

姚正 1鲁兵1
扫码查看

作者信息

  • 1. 马鞍山师范高等专科学校(安徽 马鞍山 243041)
  • 折叠

摘要

软件定义网络(Software Defined Network,SDN)架构是使用软件编写代码的方式构建网络,实现控制转发平面分离,并对控制平面实现集中管理.生成树协议(Spanning Tree Protocol,STP)是交换式网络的环路避免协议,通过生成树算法(Spanning Tree Algorithm,STA),将带有环路的物理拓扑中某台设备的接口设置为阻塞状态,构建逻辑无环拓扑.该文通过Python代码编制网络拓扑文件和RYU控制器文件的方式,实施SDN中的网络环路设计,按照STA算法设计和实现STP环路避免,并在仿真实验平台运行,测试结果表明,实现了SDN网络中环路避免.

Abstract

Software-defined network(SDN)architecture is to build a network by coding software,to sepa-rate the control and forwarding planes,and to centrally manage the control planes.Spanning Tree Protocol(STP)is a loop-avoiding protocol for switched networks.By using STA algorithm,the interface of a device in a physical topology with a loop is set to block,and a logical acyclic topology is constructed.In this paper,by compiling network topology files and RYU controller files in Python code,the network loop design in SDN is implemented,and STP loop avoidance is designed and realized according to STA algo-rithm,and is run on the simulation experiment platform.The analysis of test results show that the loop avoidance in SDN is realized.

关键词

SDN/STP/交换机/拓扑/环路

Key words

SDN/STP/switch/topology/loop

引用本文复制引用

基金项目

安徽省高等学校省级质量工程项目(2020sjjd126)

安徽省高等学校省级质量工程软件技术特色专业教学资源库项目(2020zyk41)

出版年

2024
通化师范学院学报
通化师范学院

通化师范学院学报

影响因子:0.266
ISSN:1008-7974
参考文献量6
段落导航相关论文