CN1997002B - multiple spanning tree protocol compatible method, system and related switch - Google Patents
multiple spanning tree protocol compatible method, system and related switch Download PDFInfo
- Publication number
- CN1997002B CN1997002B CN200610000387A CN200610000387A CN1997002B CN 1997002 B CN1997002 B CN 1997002B CN 200610000387 A CN200610000387 A CN 200610000387A CN 200610000387 A CN200610000387 A CN 200610000387A CN 1997002 B CN1997002 B CN 1997002B
- Authority
- CN
- China
- Prior art keywords
- spanning tree
- multiple spanning
- protocol
- data unit
- bridging
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000004891 communication Methods 0.000 claims description 49
- 238000012795 verification Methods 0.000 claims description 41
- 101001042190 Medicago scutellata Bowman-Birk type proteinase inhibitor Proteins 0.000 claims description 22
- 230000005540 biological transmission Effects 0.000 claims description 19
- 238000007689 inspection Methods 0.000 claims description 14
- 238000006243 chemical reaction Methods 0.000 claims description 13
- 238000005538 encapsulation Methods 0.000 claims description 7
- 101710167643 Serine/threonine protein phosphatase PstP Proteins 0.000 claims description 4
- DWSYCUKCNSVBRA-UHFFFAOYSA-N 4-(5-methylsulfonyltetrazol-1-yl)phenol Chemical compound CS(=O)(=O)C1=NN=NN1C1=CC=C(C=C1)O DWSYCUKCNSVBRA-UHFFFAOYSA-N 0.000 claims 2
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
技术领域technical field
本发明是有关于一种多生成树协议(multiple spanning tree protocol,MSTP)运作的方法,特别是有关于一种适用于不同多生成树协议间运作的方法。The present invention relates to a method for operating multiple spanning tree protocols (multiple spanning tree protocol, MSTP), in particular to a method suitable for operation between different MSTPs.
背景技术Background technique
一般通称的扩张树协议(spanning tree protocol,STP),是指架构于IEEE802.1标准上的连结管理协议,其功能在于控管网络(network)中各个桥接(bridge)装置的状态。使用扩张树协议可减少网络路径(path)重复或赘行的情形,并有效地避免不必要的回路(loop)。在网络中所传输的数据是以封包(packet)的方式进行,而在网络中不同的局部局域网络(local area network,LAN)过滤及转出封包的装置即为交换器(switch)。The commonly known spanning tree protocol (STP) refers to a link management protocol based on the IEEE802.1 standard, and its function is to control the status of each bridge device in the network. The use of the expanded tree protocol can reduce the situation of repeated or redundant network paths (path), and effectively avoid unnecessary loops (loop). The data transmitted in the network is carried out in the form of packets, and the device for filtering and transferring packets in different local area networks (LAN) in the network is a switch.
由于网络技术的快速发展,当一个实体局域网络分割为多个虚拟局域网络(virtual LAN,VLAN)时,单一扩张树协议往往无法适切地计算出符合每个虚拟局域网络的网络拓扑(topology)需求,因此多生成树协议(MSTP)便应运而生,也就是说应用多生成树协议可计算出网络的多重拓扑(multipletopology)。多生成树协议是以区域(region)为单位进行运作,相同区域内的交换器具有相同的多生成树设定参数(parameter)。形成区域后,对一区域外的交换器而言,会将此区域视为整合式的大型交换器一般。Due to the rapid development of network technology, when a physical local area network is divided into multiple virtual local area networks (virtual LAN, VLAN), the single expansion tree protocol often cannot properly calculate the network topology (topology) that meets each virtual local area network. Therefore, the Multiple Spanning Tree Protocol (MSTP) came into being, that is to say, the multiple topology of the network can be calculated by using the MSTP. The Multiple Spanning Tree Protocol operates in units of regions, and switches in the same region have the same multiple spanning tree setting parameters. Once a zone is formed, the zone will be treated as an integrated large switch to switches outside the zone.
然而,由于多生成树协议可能基于不同的标准(standard)制定而成。例如,IEEE 802.1标准以及思科标准(Cisco standard)。因此,符合IEEE标准多生成树协议(IEEE 802.1 standard)的交换器与符合思科多生成树协议(Cisco standard)的交换器间,并未必能相容运作。请参照图1a-图1c,假设网络环境中存在交换器100、102及104,交换器102为思科交换器(符合思科标准多生成树协议),交换器104为标准交换器(符合IEEE标准多生成树协议)。若将思科交换器102及标准交换器104设定为同一区域时,理想状态应形成如108所示的一个区域,而思科交换器102及标准交换器104应会形成一虚拟交换器106,如图1b所示。然而,由于思科交换器102及标准交换器104并不兼容,因此实际运作后便形成如图1c所示,思科交换器102形成区域110,标准交换器104形成区域112,两者无法合成一区域。However, the Multiple Spanning Tree Protocol may be formulated based on different standards. For example, IEEE 802.1 standard and Cisco standard (Cisco standard). Therefore, switches conforming to the IEEE 802.1 standard and switches conforming to the Cisco standard may not be compatible with each other. Please refer to Fig. 1a-Fig. 1c, assume that there are
因此,使符合不同多生成树协议的交换器可兼容运作的方法或系统,是未来网络应用技术中的一重要课题。Therefore, a method or system for compatible operation of switches conforming to different MSTPs is an important subject in future network application technologies.
发明内容Contents of the invention
有鉴于此,本发明是以不同多生成树协议的差异为主,对于所接收的桥接协议数据单元(bridge protocol data unit,BPDU)进行检验,使得数据封包在交换器的以太网络驱动程序模块(LLC layer&Ethernet driver module)及IEEE标准多生成树模块(MST module)间进行检验,以确保数据封包可在不同交换器间兼容运作。In view of this, the present invention is based on the difference of different multiple spanning tree protocols, and checks the received bridge protocol data unit (bridge protocol data unit, BPDU), so that the data packet is transmitted in the Ethernet driver module ( LLC layer&Ethernet driver module) and IEEE standard multiple spanning tree module (MST module) are checked to ensure that data packets can be compatible between different switches.
为达成上述目的,本发明提供一种多生成树协议兼容的方法,首先提供检验模块于标准多生成树模块以及以太网络驱动程序模块间,避免更动到现有的多生成树模块.检验模块用以执行接收检验程序以及传送检验程序.检验模块、标准多生成树模块以及以太网络驱动程序模块设置于一交换器中.In order to achieve the above object, the present invention provides a method compatible with multiple spanning tree protocols. First, a verification module is provided between the standard multi-spanning tree module and the Ethernet driver module, so as to avoid changing to the existing multi-spanning tree module. Verification module It is used to execute the receiving inspection program and the transmission inspection program. The inspection module, standard multiple spanning tree module and Ethernet driver module are set in a switch.
检验模块用以接收桥接协议数据单元并检验调整。当桥接协议数据单元来自以太网络驱动程序模块时,对于桥接协议数据单元执行接收检验程序,及当桥接协议数据单元来自标准多生成树模块时,对于桥接协议数据单元执行传送检验程序。The verification module is used for receiving the bridging PDU and verifying the adjustment. A receipt check is performed on the bridging PDU when it is from the Ethernet driver module, and a delivery check is performed on the bridging PDU when it is from a standard MPDU.
接收检验程序包括下列步骤,首先判别桥接协议数据单元的种类,即依照桥接协议数据单元格式的差异辨别该桥接协议数据单元是否符合交换器本身多生成树格式或已知可兼容的多生成树格式。交换器本身多生成树可为IEEE标准多生成树协议,已知可兼容的多生成树可为思科标准多生成树协议。The receiving inspection procedure includes the following steps. Firstly, the type of bridging protocol data unit is judged, that is, it is judged whether the bridging protocol data unit conforms to the multi-spanning tree format of the switch itself or a known compatible multi-spanning tree format according to the difference in the format of the bridging protocol data unit. . The multiple spanning tree of the switch itself may be an IEEE standard multiple spanning tree protocol, and the known compatible multiple spanning tree may be a Cisco standard multiple spanning tree protocol.
如桥接协议数据单元符合交换器本身多生成树格式或为未知的格式。确认交换器接收该桥接协议数据单元的通信端口的多生成树协议记录是否符合。如不符合,则调整该通信端口的协议记录并更新该通信端口已记录识别码信息(MST设定识别码字段)。其中该识别码信息是用来记录多生成树协议的重要设定核对信息,可由桥接协议数据单元中取得。For example, the bridge protocol data unit conforms to the multiple spanning tree format of the switch itself or is an unknown format. Confirm whether the multiple spanning tree protocol record of the communication port where the switch receives the bridging protocol data unit complies. If not, adjust the protocol record of the communication port and update the recorded identification code information of the communication port (MST setting identification code field). The identification code information is used to record important setting check information of the MST protocol, and can be obtained from the bridging protocol data unit.
如桥接协议数据单元符合已知可兼容的多生成树格式。验证该桥接协议数据单元的区域组态设定与交换器本身多生成树的组态设定是否一致,如确认桥接协议数据单元中的组态名称字段(Configuration Name)及MSTI信息(MSTI message)数量与交换器本身多生成树的组态名称及符合条件的扩张树数量是否相同。当确定桥接协议数据单元与交换器本身多生成树的区域组态设定一致时,更新该通信端口的识别码信息为桥接协议数据单元中的识别码信息(MST设定识别码字段)并确认交换器接收该桥接协议数据单元的通信端口的多生成树协议记录是否符合。如不符合,则调整该通信端口的协议记录。For example, the bridging protocol data unit conforms to the known compatible multiple spanning tree format. Verify that the regional configuration settings of the bridge protocol data unit are consistent with the configuration settings of the multi-spanning tree of the switch itself, such as confirming the configuration name field (Configuration Name) and MSTI information (MSTI message) in the bridge protocol data unit Whether the quantity is the same as the configuration name of the multi-spanning tree of the switch itself and the quantity of eligible expansion trees. When it is determined that the bridge protocol data unit is consistent with the area configuration setting of the multiple spanning tree of the switch itself, update the identification code information of the communication port to the identification code information (MST setting identification code field) in the bridge protocol data unit and confirm Whether the multiple spanning tree protocol record of the communication port that the switch receives the bridging protocol data unit complies with. If not, adjust the protocol record of the communication port.
当判定桥接协议数据单元与交换器本身多生成树格式不同,但符合已知可兼容的多生成树格式时,将桥接协议数据单元格式重新封装转换为交换器本身多生成树的格式。交由交换器的多生成树模块进行协议运作。When it is determined that the bridging protocol data unit is different from the switch's mspanning tree format but conforms to a known compatible mspanning tree format, the bridging protocol data unit format is recapsulated and converted into the switch's own mspanning tree format. The protocol operation is performed by the multiple spanning tree module of the switch.
传送检验程序包括下列步骤,首先判别交换器传送该桥接协议数据单元的通信端口的多生成树协议记录是否为已知可兼容的多生成树协议。The transmission checking procedure includes the following steps. Firstly, it is judged whether the MSTP record of the communication port where the switch transmits the bridging PDU is a known compatible MSTP.
如该通信端口的协议记录符合已知可兼容的多生成树协议,将桥接协议数据单元格式重新封装转换为已知可兼容的多生成树格式。交由交换器的以太网络驱动程序模块进行封包传送。If the protocol record of the communication port conforms to the known and compatible multiple spanning tree protocol, the bridging protocol data unit format is re-encapsulated and converted into the known and compatible multiple spanning tree format. Hand over to the Ethernet driver module of the switch for packet transmission.
此外,本发明还提出一种多生成树协议兼容的系统,包括检验模块,此检验模块包括协议识别模块、区域验证模块以及封包转换模块。检验模块设置于交换器的标准多生成树模块以及以太网络驱动程序模块间,其用以执行前述的接收检验程序以及传送检验程序。协议识别模块、区域验证模块及封包转换模块用以提供进行接收检验程序及传送检验程序时所需的检验功能及数据记录。检验模块、标准多生成树模块以及以太网络驱动程序模块设置于一交换器中。In addition, the present invention also proposes a multiple spanning tree protocol compatible system, which includes a verification module, and the verification module includes a protocol identification module, an area verification module and a packet conversion module. The verification module is arranged between the standard MST module and the Ethernet driver module of the switch, and is used for executing the aforementioned reception verification program and transmission verification program. The protocol identification module, area verification module and packet conversion module are used to provide inspection functions and data records required for receiving inspection procedures and transmission inspection procedures. The verification module, the standard multiple spanning tree module and the Ethernet driver module are arranged in a switch.
协议识别模块包含桥接协议数据单元种类判别功能以及通信端口多生成树协议记录,供进行接收检验程序及传送检验程序时使用.区域验证模块包含桥接协议数据单元区域验证功能以及通信端口识别码信息记录,供进行接收检验程序时使用.封包转换模块包含桥接协议数据单元重新封装功能,供进行接收检验程序及传送检验程序时使用,转换封包为已知的多生成树格式.The protocol identification module includes the bridge protocol data unit type discrimination function and the multiple spanning tree protocol record of the communication port, which is used for the receiving inspection program and the transmission inspection program. The area verification module includes the bridge protocol data unit area verification function and the communication port identification code information record , for use in the receiving inspection program. The packet conversion module includes the bridging protocol data unit re-encapsulation function, which is used in the receiving inspection program and the transmission inspection program, and converts the packet into a known multiple spanning tree format.
另外,本发明还提出一种交换器,该交换器包括上述多生成树协议兼容的系统。In addition, the present invention also proposes a switch, which includes the above-mentioned multiple spanning tree protocol compatible system.
通过本发明,可确保数据封包在不同交换器间兼容运作。Through the invention, it can ensure the compatible operation of the data package among different switches.
本发明的详细特征及优点将在实施方式中详细叙述,其内容足以使任何熟习相关技艺者了解本发明的技术并据以实施,且任何与本发明相关的优点及目的可轻易地从本说明书所揭露的内容、申请专利范围及图式中理解。The detailed features and advantages of the present invention will be described in detail in the implementation manner, and its content is enough to make any person familiar with the related art understand the technology of the present invention and implement it accordingly, and any advantages and objectives related to the present invention can be easily read from this description The content disclosed, the scope of the patent application and the drawings are understood.
以上的关于本发明内容的说明及以下的实施方式的说明是用以示范与解释本发明的原理,并且提供本发明的专利申请范围更进一步的解释。The above description about the content of the present invention and the following description of the implementation are used to demonstrate and explain the principle of the present invention, and provide further explanation of the patent application scope of the present invention.
附图说明Description of drawings
图1a-图1c显示现行符合不同多生成树协议标准的交换器的运作方式。Figures 1a-1c show how current switches that comply with different MSP standards operate.
图2显示本发明所揭示的交换器的示意图。Fig. 2 shows a schematic diagram of the exchanger disclosed in the present invention.
图3a显示本发明所揭示的方法中接收检验程序的执行流程图。Fig. 3a shows a flow chart of the execution of the acceptance verification procedure in the method disclosed in the present invention.
图3b显示本发明所揭示的方法中传送检验程序的执行流程图。FIG. 3b shows a flow chart of the execution of the transmission verification program in the method disclosed in the present invention.
图4a显示符合IEEE标准多生成树协议的桥接协议数据单元的字段格式。Fig. 4a shows the field format of the bridging PDU conforming to the IEEE standard multiple spanning tree protocol.
图4b显示符合思科标准多生成树协议的桥接协议数据单元的字段格式。Figure 4b shows the field format of the bridging PDU according to the Cisco standard multiple spanning tree protocol.
图4c显示符合IEEE标准多生成树协议的桥接协议数据单元的设定识别码字段格式。FIG. 4c shows the format of the set identifier field of the bridging PDU conforming to the IEEE standard MSTP.
图4d显示符合思科标准多生成树协议的桥接协议数据单元的设定识别码字段格式。FIG. 4d shows the format of the setting identifier field of the bridging PDU conforming to the Cisco standard MSTP.
图4e显示符合IEEE标准多生成树协议的桥接协议数据单元的MSTI信息字段格式。Fig. 4e shows the format of the MSTI information field of the bridging PDU conforming to the IEEE standard multiple spanning tree protocol.
图4f显示符合思科标准多生成树协议的桥接协议数据单元的MSTI信息字段格式。Figure 4f shows the format of the MSTI information field of a bridging PDU conforming to the Cisco standard Multiple Spanning Tree Protocol.
图5a显示本发明所揭示的方法的一实施例的示意图。Figure 5a shows a schematic diagram of an embodiment of the method disclosed in the present invention.
图5b显示本发明所揭示的方法的另一实施例的示意图。Figure 5b shows a schematic diagram of another embodiment of the method disclosed in the present invention.
符号说明:Symbol Description:
100-交换器;100-exchange;
102-思科交换器;102-Cisco switch;
104-IEEE标准交换器;104-IEEE standard switch;
106-多生成树所形成的虚拟交换器;106-a virtual switch formed by multiple spanning trees;
108、110、112-多生成树所形成的区域;108, 110, 112-areas formed by multiple spanning trees;
20-交换器;20 - exchanger;
200-检验模块;200-inspection module;
202-IEEE标准多生成树模块;202-IEEE standard multiple spanning tree module;
204-以太网络驱动程序模块;204-Ethernet driver module;
210-接收检验程序;210 - acceptance inspection procedure;
212-传送检验程序;212-transmit inspection procedure;
230-协议辨识模块;230-protocol identification module;
240-区域验证模块;240-area verification module;
250-封包转换模块;250-packet conversion module;
400、402-第三版长度(Version 3 Length)字段;400, 402-the third version length (Version 3 Length) field;
410-MST延伸信息长度字段;410-MST extended information length field;
412、420-MST设定识别码;412, 420-MST setting identification code;
414、422-CIST桥接器辨识码;414, 422-CIST bridge identification code;
404、406-MSTI信息;404, 406-MSTI information;
430、440-多生成树设定识别码的组态设定名称(Configuration Name);430, 440-the configuration setting name (Configuration Name) of the multi-spanning tree setting identification code;
450-MSTI扩张树编号;450-MSTI expansion tree number;
452、460-区域根识别码;452, 460-area root identification code;
454-MSTI桥接器识别码;454-MSTI bridge identification code;
456-MSTI通信端口识别码;456-MSTI communication port identification code;
462-MSTI桥接器优先权;462-MSTI bridge priority;
464-MSTI通信端口优先权;464-MSTI communication port priority;
500、510-加强型交换器(符合本发明所提的方法);500, 510-reinforced type exchanger (according to the method proposed by the present invention);
502-其它交换器(支持其它多生成树);502-other switches (supporting other multiple spanning trees);
504-思科交换器(支持思科标准多生成树);504-Cisco switch (support Cisco standard multiple spanning tree);
506、516-多生成树所形成的区域;506, 516-areas formed by multiple spanning trees;
512-思科标准多生成树所形成的区域;512-Area formed by Cisco standard multiple spanning tree;
514-IEEE标准多生成树所形成的区域。514-IEEE standard multiple spanning tree formed area.
具体实施方式Detailed ways
有关本发明的特征与实作,将配合图式作最佳实施例详细说明如下,请参照图2。图2是显示本发明所揭示的交换器的示意图。在一实施例中,本发明提供一种交换器20,其是以多生成树协议兼容的方法所制成。交换器本身的多生成树协议以IEEE标准多生成树模块为例,交换器已知可兼容的多生成树协议以思科标准多生成树模块为例。Regarding the characteristics and implementation of the present invention, the best embodiment will be described in detail as follows with reference to the drawings, please refer to FIG. 2 . FIG. 2 is a schematic diagram showing the exchanger disclosed in the present invention. In one embodiment, the present invention provides a
首先,提供检验模块200于IEEE标准多生成树模块(MST module)202及以太网络驱动程序模块(LLC Layer&Ethernet Driver Module)204间,检验模块200用以执行接收检验程序210以及传送检验程序212。检验模块200包括协议识别模块230、区域验证模块240以及封包转换模块250。检验模块200、IEEE标准多生成树模块202以及以太网络驱动程序模块204设置于交换器20中。First, a
检验模块200用以接收桥接协议数据单元并检验调整之。当桥接协议数据单元来自以太网络驱动程序模块204时,对于桥接协议数据单元执行接收检验程序210,及当桥接协议数据单元来自IEEE标准多生成树模块202时,对于桥接协议数据单元执行传送检验程序212。The
接收检验程序210细部流程示意图,如图3a所示。首先,当以太网络驱动程序模块204收到桥接协议数据单元(步骤S300),通过协议识别模块230的桥接协议数据单元种类判别功能进行种类判定(步骤S302)。A schematic flow chart of the details of the receiving
当判定桥接协议数据单元符合IEEE标准多生成树格式时,检查交换器收到该桥接协议数据单元的通信端口的多生成树协议记录是否设为思科标准多生成树(步骤S304).如该协议记录为思科标准多生成树,则将该协议记录设定为IEEE标准多生成树(步骤S306)并清除该通信端口的识别码信息记录(步骤S308).When judging that the bridging protocol data unit conforms to the IEEE standard multiple spanning tree format, check whether the switch receives the multiple spanning tree protocol record of the communication port of the bridging protocol data unit and is set to Cisco standard multiple spanning tree (step S304). The record is the Cisco standard MST, then the protocol record is set to the IEEE standard MST (step S306) and clears the identification code information record of the communication port (step S308).
当判定桥接协议数据单元符合思科标准多生成树格式时,通过区域验证模块240的桥接协议数据单元区域验证功能进行区域识别(步骤S310)。验证桥接协议数据单元与交换器的多生成树具有相同区域组态时,记录该桥接协议数据单元中的设定识别码412(请参见图4b)于收到该桥接协议数据单元的通信端口的识别码信息记录中(步骤S312),并将该通信端口的协议记录设定为思科标准多生成树(步骤S314)。When it is judged that the bridge protocol data unit conforms to the Cisco standard multiple spanning tree format, the region identification is performed through the region verification function of the bridge protocol data unit of the region verification module 240 (step S310 ). When verifying that the bridge PDU has the same area configuration as the multiple spanning tree of the switch, record the setting identification code 412 (see FIG. 4b) in the bridging PDU in the communication port receiving the bridging PDU The identification code information is being recorded (step S312), and the protocol record of the communication port is set as the Cisco standard multiple spanning tree (step S314).
最后,如桥接协议数据单元为思科标准多生成树格式,通过封包转换模块250的桥接协议数据单元重新封装功能将该桥接协议数据单元转换为IEEE标准多生成树格式(步骤S316)。然后,通知IEEE标准多生成树模块202收到桥接协议数据单元(步骤S318)。Finally, if the bridging PDU is in the Cisco standard MST format, the bridging PDU is converted into the IEEE standard MST format through the bridging PDU re-encapsulation function of the packet conversion module 250 (step S316). Then, the IEEE standard multiple spanning
其中,协议识别模块230的桥接协议数据单元种类判别功能,请参照图4a-图4b。图4a是显示符合IEEE标准多生成树协议的桥接协议数据单元格式字段,图4b是显示符合思科标准多生成树协议的桥接协议数据单元格式字段。可以下列条件判定为思科多生成树格式,即桥接协议数据单元中的第三版长度(Version 3 Length)字段400数值为0,桥接协议数据单元中的多生成树延伸信息长度(MST Extended Length)字段410数值大于或等于64,桥接协议数据单元的总长度减38需大于或等于多生成树延伸信息长度字段410的数值,桥接协议数据单元的总长度减103需为26的倍数,以及多生成树延伸信息长度字段410数值减64需为26的倍数。For the bridging PDU type discrimination function of the
区域验证模块240的桥接协议数据单元区域验证功能,请一并参照图4c-图4d。图4c是显示符合IEEE标准多生成树协议的设定识别码字段420的格式,图4d是显示符合思科标准多生成树协议的设定识别码字段412的格式。可以下列条件判定IEEE标准与思科标准多生成树的区域组态设定相同,即桥接协议数据单元中设定识别码字段412的组态名称(ConfigurationName)字段430及包含的MSTI信息(MSTI message)数量与交换器本身多生成树的组态名称及符合条件的扩张树数量相符。Please also refer to FIG. 4 c - FIG. 4 d for the bridging PDU area verification function of the
封包转换模块250的桥接协议数据单元重新封装功能,请参照图4a-图4b、图4e-图4f。图4a是显示符合IEEE标准多生成树协议的桥接协议数据单元格式字段,图4b是显示符合思科标准多生成树协议的桥接协议数据单元格式字段,图4e是显示符合IEEE标准多生成树协议的MSTI信息字段(Message)406的格式,图4d是显示符合思科标准多生成树协议的MSTI信息字段404的格式。思科标准多生成树封包格式(图4b)转为IEEE标准多生成树封包格式(图4a),即将延伸信息长度字段410数值(64+26*N)转换成为第三版长度字段402数值(64+16*N),复制交换器本身多生成树协议的区域组态识别码数据成为设定识别码字段420数据,其余字段直接设定对应字段数据。思科MSTI信息字段格式(图4f)转为IEEE标准MSTI信息字段格式(图4e),即将区域根识别码(Regional Root Identity)452的第二个字节替换成MSTI扩张树编号450后设成区域根识别码(Regional RootIdentity)460字段数据,MSTI桥接器识别码(Bridge Identity)454的第一个字节设成MSTI桥接器优先权(Bridge Priority)462字段数据,MSTI通信端口识别码(Port Identity)456的第一个字节设成MSTI通信端口优先权(Port Priority)464字段数据,其余字段直接设定对应字段数据。For the bridging PDU re-encapsulation function of the
传送检验程序212细部流程示意图,如图3b所示。首先,当IEEE标准多生成树模块202发送桥接协议数据单元(步骤S320)。通过协议识别模块230的通信端口多生成树协议记录数据进行格式判定(步骤S322)。A schematic diagram of the detailed flow of the
当判定欲发送桥接协议数据单元的通信端口的协议记录为思科标准多生成树时,通过封包转换模块250的桥接协议数据单元重新封装功能将该桥接协议数据单元转换为思科标准多生成树格式(步骤S324)。最后,通知以太网络驱动程序模块204传送桥接协议数据单元(步骤S318)。When it is determined that the protocol record of the communication port to send the bridging PDU is a Cisco standard MST, the bridging PDU is converted into the Cisco standard MST format ( Step S324). Finally, notify the
其中,封包转换模块250的桥接协议数据单元重新封装功能,请参照图4a-图4b、图4e-图4f。图4a是显示符合IEEE标准多生成树协议的桥接协议数据单元格式字段,图4b是显示符合思科标准多生成树协议的桥接协议数据单元格式字段,图4e是显示符合IEEE标准多生成树协议的MSTI信息字段406的格式,图4f是显示符合思科标准多生成树协议的MSTI信息字段404的格式。IEEE标准多生成树封包格式(图4a)转为思科标准多生成树封包格式(图4b),即将第三版长度字段402数值(64+16*N)转换成延伸信息长度字段410数值(64+26*N),而第三版长度字段400数值设为0,复制交换器欲发送封包的通信端口的识别码信息记录成为设定识别码字段412数据,其余字段直接设定对应字段数据。IEEE标准MSTI信息字段格式(图4e)转为思科MSTI信息字段格式(图4f),即将区域根识别码460转换成为区域根识别码452字段数据,区域根识别码460的第二个字节设成MSTI扩张树编号450字段数值,CIST桥接器辨识码(Bridge Identity)422的第一个字节替换成MSTI桥接器优先权462后成为MSTI桥接器识别码454数据,MSTI通信端口优先权464与交换器欲发送封包的通信端口的通信端口编号组成MSTI通信端口识别码456,其余字段直接设定对应字段数据。For the bridging PDU re-encapsulation function of the
请再参照图2,图2是显示本发明所揭示的交换器的示意图。在一实施例中,本发明提出一种多生成树协议兼容的系统,包括检验模块200,检验模块200包括协议识别模块230、区域验证模决240及封包转换模块250。检验模块200设置于标准多生成树模块202以及以太网络驱动程序模块204间,其用以执行接收检验程序210以及传送检验程序212。检验模块200、标准多生成树模块202以及以太网络驱动程序模块204设置于交换器20中。Please refer to FIG. 2 again. FIG. 2 is a schematic diagram showing the switch disclosed by the present invention. In one embodiment, the present invention proposes a system compatible with multiple spanning tree protocols, including a
协议识别模块230包含桥接协议数据单元种类判别功能以及通信端口多生成树协议记录,供进行接收检验程序及传送检验程序时使用。协议识别模块230的桥接协议数据单元种类判别功能如前所述的方法步骤,在此不予赘述。The
区域验证模块240的桥接协议数据单元区域验证功能以及通信端口识别码信息记录,供进行接收检验程序时使用。区域验证模块240包含桥接协议数据单元区域验证功能如前所述的方法步骤,在此不予赘述。The area verification function of the bridge protocol data unit and the information record of the communication port identification code of the
封包转换模块250包含桥接协议数据单元重新封装功能,供进行接收检验程序及传送检验程序时使用。封包转换模块250的桥接协议数据单元重新封装功能,包含转换IEEE标准多生成树格式成为思科标准多生成树格式以及转换思科标准多生成树格式成为IEEE标准多生成树格式两部分,如前所述的方法步骤,在此不予赘述。The
请参照图5a-图5b,假设网络中具有三个交换器500、502及504,交换器500为应用本发明所提出的方法所制成的交换器(以下称加强型交换器),交换器502为一般或符合其它多生成树协议的交换器(以下称其它交换器),交换器504为符合思科标准多生成树协议的交换器(以下称思科交换器).当思科交换器504与加强型交换器500设定为同一区域时,则加强型交换器500与思科交换器504可形成一区域506,与理想状况相符.Please refer to Fig. 5a-Fig. 5b, assuming that there are three switches 500, 502 and 504 in the network, the switch 500 is a switch (hereinafter referred to as an enhanced switch) made by applying the method proposed by the present invention, the switch 502 is a switch (hereinafter referred to as other switches) that is general or conforms to other multiple spanning tree protocols, and switch 504 is a switch (hereinafter referred to as a Cisco switch) that conforms to the Cisco standard multiple spanning tree protocol. When the enhanced switch 500 is set to the same area, the enhanced switch 500 and the Cisco switch 504 can form an area 506, which is consistent with the ideal situation.
当网络系统较复杂时,如图5b所示,交换器510为加强型交换器,区域514由多台思科交换器所形成,区域516由多台标准交换器(符合IEEE标准多生成树协议)所形成,由于中间以加强型交换器510相耦接,因此便可形成新的多生成树区域516。When the network system is more complex, as shown in Figure 5b, the
虽然本发明已以较佳实施例揭露如上,然其并非用以限定本发明,任何熟习此技艺者,在不脱离本发明的精神和范围内,当可作些许的更动与润饰,因此本发明的保护范围当视申请专利范围所界定的为准。Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Anyone skilled in the art can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, this The scope of protection of an invention shall be determined by the scope of the patent application.
Claims (19)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610000387A CN1997002B (en) | 2006-01-06 | 2006-01-06 | multiple spanning tree protocol compatible method, system and related switch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610000387A CN1997002B (en) | 2006-01-06 | 2006-01-06 | multiple spanning tree protocol compatible method, system and related switch |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1997002A CN1997002A (en) | 2007-07-11 |
CN1997002B true CN1997002B (en) | 2010-05-12 |
Family
ID=38251932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200610000387A Expired - Fee Related CN1997002B (en) | 2006-01-06 | 2006-01-06 | multiple spanning tree protocol compatible method, system and related switch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1997002B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1353902A (en) * | 1999-12-06 | 2002-06-12 | 阿尔卡塔尔公司 | Telecommunication gateway between private network and mobile network |
US20030152085A1 (en) * | 1996-12-25 | 2003-08-14 | Tetsuro Yoshimoto | IP switch, interface circuit and ATM switch used for IP switch, and IP switch network system |
US6667985B1 (en) * | 1998-10-28 | 2003-12-23 | 3Com Technologies | Communication switch including input bandwidth throttling to reduce output congestion |
WO2004039015A2 (en) * | 2002-10-24 | 2004-05-06 | Cisco Technology, Inc. | Modified spanning tree protocol for metropolitan area network |
CN1620056A (en) * | 2003-11-21 | 2005-05-25 | 诠盛科技股份有限公司 | Bridge protocol data unit verification method using bridge address permission table |
-
2006
- 2006-01-06 CN CN200610000387A patent/CN1997002B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030152085A1 (en) * | 1996-12-25 | 2003-08-14 | Tetsuro Yoshimoto | IP switch, interface circuit and ATM switch used for IP switch, and IP switch network system |
US6667985B1 (en) * | 1998-10-28 | 2003-12-23 | 3Com Technologies | Communication switch including input bandwidth throttling to reduce output congestion |
CN1353902A (en) * | 1999-12-06 | 2002-06-12 | 阿尔卡塔尔公司 | Telecommunication gateway between private network and mobile network |
WO2004039015A2 (en) * | 2002-10-24 | 2004-05-06 | Cisco Technology, Inc. | Modified spanning tree protocol for metropolitan area network |
CN1620056A (en) * | 2003-11-21 | 2005-05-25 | 诠盛科技股份有限公司 | Bridge protocol data unit verification method using bridge address permission table |
Also Published As
Publication number | Publication date |
---|---|
CN1997002A (en) | 2007-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2535134C (en) | Compatible methods and systems for multiple spanning tree protocols | |
US7991351B2 (en) | Extension of wired controller area networks to wireless personal area networks | |
US8705502B2 (en) | Using encapsulation to enable 802.1 bridging across 802.11 links | |
JP5345942B2 (en) | Ethernet OAM in intermediate nodes of PBT network | |
EP1890518B1 (en) | Communication system, wireless-communication device, and control method therefor | |
US8576727B2 (en) | System and method for unique identifier exchange during auto-negotiation | |
JP2011515057A5 (en) | ||
CN102821050A (en) | Processing method for applying rapid spanning tree protocol to monocyclic network topology | |
US6741566B1 (en) | Remote management ethernet network and device | |
EP1327328B1 (en) | Method for linking several communication busses using wireless links | |
CN113892247A (en) | Relay device, vehicle, communication method, and communication program | |
KR20020025847A (en) | Internal communication protocol for data switching equipment | |
CN104283746A (en) | System and method for realizing integration of three networks of digital transformer substation by using FPGA | |
KR101016234B1 (en) | Device for connecting the wireless network to at least one other network | |
CN1997002B (en) | multiple spanning tree protocol compatible method, system and related switch | |
CN113194494A (en) | Air interface resource control method, device, network side equipment and terminal | |
JP4076160B2 (en) | Method for managing a communication network including a wireless link having more than two wireless devices | |
CN1825832B (en) | Fast Ring Spanning Tree Protocol | |
JP5089363B2 (en) | Communication system and ring node device | |
KR101538348B1 (en) | Method and system for setting detection frame timeout duration of ethernet node | |
JP3908667B2 (en) | Mechanism to extract LARQ header and regenerate FCS to support return to sleep mode | |
CN104079485A (en) | Method and device of transmitting appointed forwarder information | |
JP4467500B2 (en) | Network relay device | |
US20030206543A1 (en) | Partitioned medium access control | |
WO2013185535A1 (en) | Apparatus, method, and system for convergence and compatibility of protocol stack |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100512 Termination date: 20210106 |
|
CF01 | Termination of patent right due to non-payment of annual fee |