摘要
早期的交换设备有些只支持运行STP/RSTP协议,在与运行MSTP协议的交换设备进行组网混合应用时,无法进行多个环路的分割计算,且无法实现各个环路互不影响。为解决STP/RSTP/MSTP混合应用场景出现的这类问题,文中通过对STP/RSTP/MSTP混合场景的分析,设计一种能够进行多环路分割计算的MSTP多进程软件方案。该方案在网桥和端口结构体中添加表示进程的元素,并将对BPDU报文中的协议ID字段进行修改作为进程ID的标志,以此来区分私有报文和标准MSTP报文;其次,设计对BPDU的收发方式,从而使环路和进程相对应。通过组网搭建环境测试验证,在交换设备上使用命令行配置设计的相关功能,能够实现多环路的分割计算生成树且互不影响。
Some of the early switching equipment only support the STP/RSTP protocol.When the switching equipment running the MSTP protocol is used for networking hybrid applications,it is impossible to undertake the partition calculation of multiple loops and realize the mutual non-influence of each loop.In order to solve such problems in mixed application scenarios of STP/RSTP/MSTP,a MSTP multi-process software solution that can perform multi-loop partition calculation is designed by analyzing the mixed application scenarios of STP/RSTP/MSTP.In this scheme,some elements representing process are added to the bridge and port structure,and the protocol ID field in the BPDU message is modified as a process ID flag to distinguish private messages from standard MSTP messages.The transceiving mode for BPDU is designed to make the loop correspond to the process.After testing the networking construction environment,it is verified that the related functions designed by command line configuration on switching devices can achieve the partition calculation spanning tree of multiple loops without mutual influence.
作者
章伟
田耕
ZHANG Wei;TIAN Geng(Wuhan Research Institute of Posts and Telecommunications,Wuhan 430074,China;FiberHome Telecommunication Technology Co.,Ltd.,Wuhan 430073,China)
出处
《现代电子技术》
2022年第22期86-90,共5页
Modern Electronics Technique
关键词
交换机
多进程方案
混合场景
环境测试
分割计算
实验验证
switch
multi-process scheme
hybrid scene
environmental testing
split calculation
experimental verification