JP5427665B2 - Spanning tree reconfiguration method and communication apparatus - Google Patents

Spanning tree reconfiguration method and communication apparatus Download PDF

Info

Publication number
JP5427665B2
JP5427665B2 JP2010076574A JP2010076574A JP5427665B2 JP 5427665 B2 JP5427665 B2 JP 5427665B2 JP 2010076574 A JP2010076574 A JP 2010076574A JP 2010076574 A JP2010076574 A JP 2010076574A JP 5427665 B2 JP5427665 B2 JP 5427665B2
Authority
JP
Japan
Prior art keywords
received
communication device
root bridge
information
control packet
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
Application number
JP2010076574A
Other languages
Japanese (ja)
Other versions
JP2011211454A (en
Inventor
清隆 高橋
健一 坂本
謙尚 松本
剛志 柴田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2010076574A priority Critical patent/JP5427665B2/en
Publication of JP2011211454A publication Critical patent/JP2011211454A/en
Application granted granted Critical
Publication of JP5427665B2 publication Critical patent/JP5427665B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

本発明は,広域イーサネットサービスでスパニングツリーを再構成する範囲を局所化する手法に関するものである。   The present invention relates to a technique for localizing a range for reconfiguring a spanning tree in a wide area Ethernet service.

広域イーサネットサービスは,地理的に離れた加入者のLAN(Local Area Network)をイーサネットインターフェースで相互接続する。当該サービスは,LAN内でIP(Internet Protocol)以外の通信プロトコルを利用していても,相互接続されたLAN上の機器間で通信することが出来る。また,当該サービスは色々なトポロジーでサービスを実現する。
MEF(Metro Ethernet Forum)は広域イーサネットサービスを規定する団体で,ポイント・ツー・ポイント 接続のE−LINEサービス,ポイント・ツー・マルチポイント接続のE−TREEサービス,およびマルチポイント接続のE−LANサービスの3種類のサービスを規定している。当該サービスは,通信事業者のPE(Provider Edge)装置でIEEE 802.1Dが規定するSTP(Spanning Tree Protocol)を透過,終端,破棄を選択できることが仕様として定義されている(例えば非特許文献1)。
The wide area Ethernet service interconnects LANs (Local Area Networks) of geographically distant subscribers with an Ethernet interface. The service can communicate between devices on the interconnected LAN even if a communication protocol other than IP (Internet Protocol) is used in the LAN. In addition, the service implements services with various topologies.
MEF (Metro Ethernet Forum) is an organization that prescribes wide area Ethernet services. Point-to-point connection E-LINE service, point-to-multipoint connection E-TREE service, and multipoint connection E-LAN service Three types of services are defined. It is defined as a specification that the service can select STP (Spanning Tree Protocol) defined by IEEE 802.1D by a telecommunications carrier's PE (Provider Edge) device, and can select transmission, termination, and destruction (for example, Non-Patent Document 1). ).

広域イーサネットサービスで相互接続された加入者のLANにおいて,別の通信事業者の提供するサービスで当該LANが相互接続された場合,広域イーサネットサービスをまたがったループ経路が構成される。広域イーサネットサービスを利用するとき偶発的に,このようなループ経路が構成され,加入者のネットワークに障害が起きることを回避しなければならないと言う問題があった。   In a subscriber's LAN interconnected by a wide area Ethernet service, when the LAN is interconnected by a service provided by another communication carrier, a loop path across the wide area Ethernet service is configured. When using the wide area Ethernet service, there is a problem that such a loop route is accidentally formed and it is necessary to avoid the failure of the subscriber network.

一方,広域イーサネットサービスによる相互接続の信頼性を高めるために,障害検出を行うOAM(Operation Administration and Maintenance)や,障害発生時に自動的な通信経路切替えを行うAPS(Automatic Protection Switching)について,ITU−T(International Telecommunication Union−Telecommunication sector)やIEEE(Institute of Electrical and Electronic Engineers)などが標準化作業を行っている。これを受けて,通信事業者はOAMやAPSを自社の提供する広域イーサネットサービスの通信経路に適用し信頼性を高めているが,地震や停電などによる大規模災害を想定すると,OAMやAPSでは必ずしも十分に対応できるとは言えない。これは、1通信事業者で冗長化を行うことを想定しているためである。そこで,加入者は複数の通信事業者の提供する相互接続サービスを利用することで,通信経路の冗長化を図り信頼性を向上させる。このような構成は上記ループ経路と同じ構成になるので,加入者が通信経路の信頼性を向上させるために当該構成を意図的に行う事を可能にしなければならないと言う課題があった。   On the other hand, in order to improve the reliability of interconnection by wide area Ethernet service, OAM (Operation Administration and Maintenance) for detecting a failure and APS (Automatic Protection Switching) for automatically switching a communication path when a failure occurs are described in ITU- T (International Telecommunication Union-Telecommunication sector), IEEE (Institut of Electrical and Electronic Engineers), etc. are standardizing work. In response to this, telecommunications carriers have applied OAM and APS to the communication path of the wide-area Ethernet service provided by their own companies to improve reliability. However, assuming large-scale disasters such as earthquakes and power outages, OAM and APS It cannot be said that it can respond sufficiently. This is because it is assumed that redundancy is performed by one communication carrier. Therefore, the subscriber uses the interconnection service provided by a plurality of communication carriers to make the communication path redundant and improve the reliability. Since such a configuration is the same as the above-described loop route, there is a problem that the subscriber must be able to intentionally perform the configuration in order to improve the reliability of the communication route.

上記問題および課題を解決するために加入者のLANを構成するスイッチにおいてIEEE 802.1Dで規定するSTPを動作させることが提案されている。STPが動作することにより,偶然または意図的に構成されたループ経路を自動的に検出して解消することができる。   In order to solve the above problems and problems, it has been proposed to operate STP defined in IEEE 802.1D in a switch constituting a subscriber's LAN. By operating the STP, it is possible to automatically detect and eliminate a loop path that is accidentally or intentionally configured.

特許文献2には、広域イーサネットサービスを提供する通信装置が,加入者のLANに対してスパニングツリーのルートブリッジの機能を提供することにより,相互接続する加入者のLANで1つのスパニングツリーを構築することを可能にすることが記載されている。   In Patent Document 2, a communication device that provides a wide area Ethernet service provides a spanning tree root bridge function to a subscriber's LAN, thereby constructing one spanning tree in the interconnected subscriber's LAN. It is described that makes it possible to do.

しかし,広域イーサネットサービスにより相互接続された加入者のLAN間でSTPを動作させると,ある加入者のLAN内で起きた装置の構成変更イベント(装置の障害・追加,回線の障害,装置の設定変更,およびトポロジーの変更)が,本来影響の及ぶ必要のない広域イーサネットサービスにより相互接続された加入者の他LANに波及し,当該LAN内のスイッチでスパニングツリーの再構築やFDB(Filtering Database)のリセット処理が行われる場合がある。STPの場合,スパニングツリーの再構築処理が行われるとデータ通信が50秒程度遮断される。また,FDBがリセットされると,MACアドレス学習のために本来であれば不必要なトラフィックのフラッディングが起こり,ネットワークの負荷が増加することが考えられる。   However, when STP is operated between LANs of subscribers interconnected by a wide area Ethernet service, a device configuration change event (device failure / addition, line failure, device setting) occurred within a certain subscriber's LAN. Change and topology change) are spread to other LANs of subscribers interconnected by wide-area Ethernet services that do not need to be affected. Spanning tree reconstruction and FDB (Filtering Database) are performed by switches in the LAN. Reset processing may be performed. In the case of STP, when the spanning tree reconstruction process is performed, data communication is interrupted for about 50 seconds. Further, when the FDB is reset, unnecessary traffic flooding may occur for MAC address learning, and the network load may increase.

特許文献3には、IEEE 802.1Qで規定されるMultiple Spanning Tree Protocol(MSTP)のBPDUのフィールドの利用方法を変更することにより,VLAN IDを追加・削除が発生した場合にどのスパニングツリーインスタンスで起きたかを識別し、VLAN IDを追加・削除していないMSTI(多元スパニングツリーインスタンス)に対しては影響を及ぼさず、トポロジーの再構築を行わず、信頼性の高い広域LANサービスの提供が可能となる多元スパニングツリープロトコルネットワークを提供することが記載されている。具体的には、ネットワーク装置は、トポロジー毎にネットワーク識別情報を作成するネットワーク識別情報処理部と、隣接装置からのネットワーク識別情報を受信し、抽出する受信部と、抽出されたネットワーク識別情報と、ネットワーク識別情報処理部で生成された自装置のネットワーク識別情報とを比較して変化を検知する比較部及び、比較部により変化が検出される場合、変化を検知されたトポロジ(スパニングツリーインスタンス)に対してのみ再構築を行うトポロジー情報構築部を有するトポロジー変更検出処理部とを有することが記載されている。   Patent Document 3 describes in which spanning tree instance when a VLAN ID is added / deleted by changing the method of using the BPDU field of Multiple Spanning Tree Protocol (MSTP) defined in IEEE 802.1Q. It does not affect MSTI (Multiple Spanning Tree Instance) that has been identified and VLAN ID is not added / deleted, and it is possible to provide a highly reliable wide area LAN service without restructuring the topology. Providing a multiple spanning tree protocol network. Specifically, the network device includes a network identification information processing unit that creates network identification information for each topology, a reception unit that receives and extracts network identification information from neighboring devices, the extracted network identification information, A comparison unit that detects a change by comparing with the network identification information of its own device generated by the network identification information processing unit, and when the change is detected by the comparison unit, the topology (spanning tree instance) in which the change is detected And a topology change detection processing unit having a topology information construction unit that performs reconstruction only for the document.

また、特許文献1に記載の技術では,MSTPにおいて、ネットワーク装置が属する第1リージョンとは別の第2のリージョンに属するネットワーク装置からトポロジー変更通知を受信したと判断すると、当該トポロジー変更通知を第1リージョンに属するネットワーク装置に送信するか否かを判断することが開示されているが、トポロジー変更通知を他のリージョン転送するか否かを判断するためにルートブリッジID(ブリッジのMACアドレスと優先度を組み合わせた値)の大小により判断している。   Further, in the technique described in Patent Document 1, when it is determined that a topology change notification is received from a network device belonging to a second region different from the first region to which the network device belongs in MSTP, the topology change notification is sent to the first region. Although it is disclosed to determine whether or not to transmit to a network device belonging to one region, the root bridge ID (bridge MAC address and priority) is used to determine whether or not the topology change notification is transferred to another region. The value is a combination of degrees).

特開2007−97004JP2007-97004 特開2007−158800JP2007-158800 WO2005/057863WO2005 / 057863

IEEE 802.1D−1998 8章IEEE 802.1D-1998 Chapter 8

しかしながら,特許文献2に記載の発明では、加入者のLANで発生した構成変更イベントを局所化するための機能を提供していないという問題点があった。すなわち、発生した構成変更イベントの影響範囲が、当該イベントの発生したLAN内で収束し、他LANを含むネットワーク全体に及ばない場合にも他のLANに構成変更イベントを転送することとなるので当該構成変更イベントに伴う不必要なFDBのリセットで発生するトラフィックのフラッディングによるネットワーク負荷の増加が発生する。   However, the invention described in Patent Document 2 has a problem that it does not provide a function for localizing a configuration change event that has occurred in a subscriber's LAN. In other words, even if the influence range of the generated configuration change event converges in the LAN in which the event occurs and does not reach the entire network including the other LAN, the configuration change event is transferred to the other LAN. An increase in network load due to traffic flooding caused by unnecessary FDB reset due to a configuration change event occurs.

また,上記特許文献1に記載の技術では,リージョンの境界に存在するネットワーク装置間の通信経路は固定されているため、他リージョンの構成変更が自リージョンに影響を及ぼすか否かを判断するにはにルートブリッジID(ブリッジのMACアドレスと優先度を組み合わせた値)の大小により判断すれば十分であった。しかしながら、通信装置間の通信経路はSTPでは通常固定されていないため、ルートブリッジまでの最短経路の変更などの構成変更の場合には再構成が行われるため、局所化が可能か否かを判断する必要がある。同一のルートブリッジが動作していながら,当該ルートブリッジまでの最短経路の変更などの構成変更イベントが発生した場合も局所所化が可能か否かを判断する必要がある。   In the technique described in Patent Document 1, since a communication path between network devices existing at the boundary of a region is fixed, it is determined whether or not a configuration change in another region affects its own region. It was sufficient to judge based on the size of the root bridge ID (a value obtained by combining the MAC address and priority of the bridge). However, since the communication path between the communication devices is not normally fixed in STP, reconfiguration is performed in the case of a configuration change such as a change of the shortest path to the root bridge, so whether or not localization is possible is determined. There is a need to. Even when the same root bridge is operating and a configuration change event such as a change of the shortest route to the root bridge occurs, it is necessary to determine whether or not local localization is possible.

また,上記特許文献3に記載の技術では,広域LANサービスにおいて、複数管理しているSTPインスタンスの1つにVLANの追加/削除が起きた時に、その他インスタンスへの影響を抑える事を目的にしているため、1つのSTPインスタンス内で構成変更を局所化するか否かについては判断していない。また,当該拡張を行っていない通信機器に実装されたMSTPとの接続性にも問題があった。   In addition, in the technology described in Patent Document 3, when a VLAN is added / deleted to one of multiple managed STP instances in the wide area LAN service, the purpose is to suppress the influence on other instances. Therefore, it is not determined whether or not the configuration change is localized within one STP instance. In addition, there was a problem with the connectivity with the MSTP installed in a communication device that has not been expanded.

本発明は,広域イーサネットサービスで相互接続された任意のLANで起きた構成変更イベントを,相互接続された他LANへ伝達されスパニングツリーの再構築などの不必要な処理が行われることを抑制することを目的とする。   The present invention prevents a configuration change event occurring in an arbitrary LAN interconnected by a wide-area Ethernet service from being transmitted to another interconnected LAN and performing unnecessary processing such as spanning tree reconstruction. For the purpose.

また、1つのLANでスパニングツリーを構成する場合にも本発明の装置を適用することにより、特定の範囲内で局所化可能か否かを判断し、1つのLAN内でデータ断の短縮化、あるいはパケット量の軽減を実現することを目的とする。   In addition, even when a spanning tree is configured with one LAN, by applying the apparatus of the present invention, it is determined whether or not it can be localized within a specific range, and shortening of data interruption within one LAN. Another object is to realize a reduction in the amount of packets.

また,MEFの規定する広域イーサネットサービスの1つであるE−TREEサービスでは,スパニングツリーのルートブリッジが配置される場所にかかわらずSTPを正しく動作させることを目的とする。   In addition, the E-TREE service, which is one of the wide area Ethernet services defined by MEF, aims to operate the STP correctly regardless of the location where the root bridge of the spanning tree is placed.

本発明は,広域イーサネットサービスを提供するPE装置で,相互接続するLAN間で交換されるSTPパケットを監視し,構成されるスパニングツリーのルートブリッジを把握することで,発生した構成変更イベントの影響する範囲を正しく認識し,当該イベントの影響を局所化することを最も主要な特徴とする。   The present invention monitors the STP packets exchanged between interconnected LANs by a PE device that provides a wide area Ethernet service, and grasps the root bridge of the spanning tree to be configured. The most important feature is to correctly recognize the range to be performed and to localize the influence of the event.

本発明のスパニングツリーの再構築方法は,発生した構成変更イベントの影響範囲を当該イベントの発生したLAN内で収束するか,または他LANを含むネットワーク全体に及ぶかを識別して,影響がないと判断したLANには構成変更イベントを転送しないので,当該構成変更イベントに伴う不必要なスパニングツリーの再構築によるデータ通信断や,FDBのリセットで発生するトラフィックのフラッディングによるネットワーク負荷の増加を抑制できる。また、1つのLANでスパニングツリーを構成する場合にも本発明の装置を適用することにより、特定の範囲内で局所化可能か否かを判断し、1つのLAN内でデータ断の短縮化、あるいはパケット量の軽減を実現することができる また,E−TREEサービスにおいてスパニングツリーのルートブリッジが配置される場所にかかわらず,常にSTPを正しく動作させることが可能になる。   The spanning tree restructuring method of the present invention has no effect by identifying whether the influence range of the generated configuration change event converges within the LAN in which the event has occurred or extends to the entire network including other LANs. Since the configuration change event is not forwarded to the determined LAN, it suppresses an increase in the network load due to data communication interruption due to unnecessary spanning tree reconstruction associated with the configuration change event and traffic flooding caused by FDB reset it can. In addition, even when a spanning tree is configured with one LAN, by applying the apparatus of the present invention, it is determined whether or not it can be localized within a specific range, and shortening of data interruption within one LAN. Alternatively, the amount of packets can be reduced. In addition, the STP can always operate correctly regardless of the location where the root bridge of the spanning tree is arranged in the E-TREE service.

本発明を適用したPE装置のSTP代理応答を説明する図The figure explaining the STP proxy response of PE apparatus to which the present invention is applied 広域イーサネットサービスで装置及び通信経路を冗長化した図Diagram of redundant equipment and communication paths in wide area Ethernet service 従来PE装置で構成するネットワークでSTPの動作を説明する図The figure explaining operation | movement of STP in the network comprised by the conventional PE apparatus. PE装置でSTPパケット受信時の処理の流れを説明する図The figure explaining the flow of processing at the time of STP packet reception in PE apparatus Config BPDU受信時の処理の流れを説明する図The figure explaining the flow of processing at the time of Config BPDU reception TCN受信時の処理の流れを説明する図The figure explaining the flow of processing at the time of TCN reception PE装置で保持するルートブリッジに関連する情報の内容を示した図The figure which showed the contents of the information related to the root bridge held in the PE device E−TREEサービスのルートセグメントにルートブリッジが配置されたときのSTPパケットの流れを示す図The figure which shows the flow of an STP packet when a root bridge is arrange | positioned at the root segment of an E-TREE service. E−TREEサービスのリーフセグメントにルートブリッジが配置されたときのSTPパケットの流れを示す図The figure which shows the flow of an STP packet when a root bridge is arrange | positioned to the leaf segment of E-TREE service. 本発明を適用してE−TREEサービスのリーフセグメントにルートブリッジが配置されたときのSTPパケットの流れの変化を示す図The figure which shows the change of the flow of a STP packet when a root bridge is arrange | positioned to the leaf segment of E-TREE service by applying this invention. E−TREEサービスでSTPを利用するために拡張したHelloパケットの処理の流れを説明する図The figure explaining the flow of a process of the Hello packet extended in order to use STP with an E-TREE service 本発明を適用したスイッチを企業LAN内に配置した1構成例One configuration example in which a switch to which the present invention is applied is arranged in a corporate LAN 本発明を適用したスイッチを企業LAN内に配置した1構成例One configuration example in which a switch to which the present invention is applied is arranged in a corporate LAN 本発明を適用する通信装置の内部構造例Example of internal structure of communication apparatus to which the present invention is applied PE装置内で保持するConfig BPDUを転送する可能性のあるポートの情報の内容を示した図The figure which showed the content of the information of the port which may transfer Config BPDU hold | maintained in PE apparatus PE装置内で保持する装置が装備するポートの情報の内容を示した図The figure which showed the contents of the information of the port with which the device held in the PE device is equipped 保留タイマーの亭主処理の流れを説明する図The figure explaining the flow of the master process of the hold timer 受信Config BPDUによるPE装置内で保持するブリッジ情報の更新を保留する処理の流れを説明する図The figure explaining the flow of the process which defers the update of the bridge information hold | maintained in PE apparatus by reception Config BPDU. 保留タイマーのタイムアウト時に実行する処理の流れを説明する図Diagram explaining the flow of processing executed when the hold timer times out Helloタイマーのタイムアウト時に実行する処理の流れを説明する図The figure explaining the flow of the processing performed at the time-out of a Hello timer

広域イーサネットサービスを利用して相互接続するLANにおいてループ経路を自動的に検出して解消するためにSTPを利用するとき,スパニングツリーの再構築の影響を必要最小限に局所化する方法を実現した。   Implemented a method to localize the effects of spanning tree restructuring to the minimum necessary when using STP to automatically detect and resolve loop paths in LANs interconnected using wide area Ethernet services .

図1は本発明のスパニングツリー再構成方法の1実施例を示すネットワーク構成図である。10〜13のPE装置で構成されるネットワーク500で広域イーサネットサービスを提供している。100,110,120,および130は当該サービスにより相互接続される加入者のLANである。1〜4は加入者のLANを構成するスイッチであり,当該スイッチでループ経路の検出および解消のためにSTPを動作させている。   FIG. 1 is a network configuration diagram showing an embodiment of a spanning tree reconfiguration method of the present invention. A wide area Ethernet service is provided by a network 500 including 10 to 13 PE devices. Reference numerals 100, 110, 120, and 130 denote subscriber LANs interconnected by the service. Reference numerals 1 to 4 denote switches constituting the subscriber's LAN, which operate the STP for detecting and eliminating the loop path.

ここで,加入者のLAN120でネットワークの構成変更が発生した場合,加入者のLAN120に隣接するネットワーク500のPE装置12が,加入者のLAN120でネットワークの構成変更が発生する前までに加入者のLAN間で交換されるSTPパケットの内容を踏まえて,当該構成変更がLAN120に局所化が可能か判断を行う。PE装置12が局所化できると判断した場合,当該構成変更イベントの内容に応じてスイッチ3からネットワーク500に伝達される構成変更を示すSTPパケットを破棄する。または,PE装置12は前述の構成変更を示すSTPパケットに対してスイッチ1,2,または4が本来応答するSTPパケットを代理で構成してスイッチ3に応答する。PE装置12が局所化できないと判断した場合,従来通り当該STPパケット50を加入者のLAN100,110,および130に転送する。   Here, when a network configuration change occurs in the subscriber's LAN 120, the PE device 12 of the network 500 adjacent to the subscriber's LAN 120 does not change the subscriber's LAN 120 before the network configuration change occurs. Based on the content of the STP packet exchanged between the LANs, it is determined whether the configuration change can be localized in the LAN 120. When it is determined that the PE device 12 can be localized, the STP packet indicating the configuration change transmitted from the switch 3 to the network 500 is discarded according to the content of the configuration change event. Alternatively, the PE device 12 responds to the switch 3 by configuring the STP packet that the switch 1, 2, or 4 originally responds to the STP packet indicating the above-described configuration change as a proxy. If it is determined that the PE device 12 cannot be localized, the STP packet 50 is transferred to the subscriber LANs 100, 110, and 130 as usual.

図2は,地震や停電などによる大規模災害を想定した場合に,OAMやAPSでは必ずしも十分ないため複数の通信事業者の提供する相互接続サービスを利用することで,通信経路の冗長化を図り信頼性を向上させるために,2つのLAN間を通信装置および通信経路に対して冗長構成を施した例を示す。ネットワーク500は第1の通信事業者の提供するネットワークで、PE装置10、11は、ネットワーク500のエッジに位置し、加入者のLAN100、110とネットワークを介して接続されている。スイッチ1は第1の通信事業者のネットワーク500と接続され、加入者のLAN100内に位置する。ネットワーク600は第2の通信事業者の提供するネットワークで、PE装置20、21は、ネットワーク600のエッジに位置し、加入者のLAN100、110とネットワークを介して接続されている。スイッチ2は第2の通信事業者のネットワーク500と接続され、加入者のLAN100内に位置する。LAN100の加入者装置は、LAN110の加入者装置と通信する場合に、第1の通信事業者、及び第2の通信事業者のネットワーク500、及び600を介して通信することにより冗長化を実現している。   Figure 2 shows that when large-scale disasters such as earthquakes and power outages are assumed, OAM and APS are not always sufficient, and the interconnection service provided by multiple carriers is used to make communication paths redundant. In order to improve reliability, an example will be described in which a redundant configuration is applied to a communication device and a communication path between two LANs. The network 500 is a network provided by the first communication carrier. The PE devices 10 and 11 are located at the edge of the network 500 and are connected to the subscriber's LANs 100 and 110 via the network. The switch 1 is connected to the network 500 of the first carrier and is located in the subscriber's LAN 100. The network 600 is a network provided by the second communication carrier. The PE apparatuses 20 and 21 are located at the edge of the network 600 and are connected to the subscriber's LANs 100 and 110 via the network. The switch 2 is connected to the network 500 of the second communication carrier and is located in the subscriber's LAN 100. When the LAN 100 subscriber device communicates with the LAN 110 subscriber device, the LAN 100 subscriber device communicates via the networks 500 and 600 of the first communication carrier and the second communication carrier to realize redundancy. ing.

この構成では異なる通信事業者のサービスにより2つのLAN間が接続されているが,各通信事業者のPE装置が連携動作してループ経路を解消することは難しい。そのため,当該LANでスパニングツリープロトコルを動作させループ経路を解消する必要がある。例えば、この想定環境において,本発明は加入者のLANを構成するスイッチ1〜4,もしくは,通信事業者のPE装置10〜13に適応する事が出来る。   In this configuration, two LANs are connected by services of different telecommunications carriers, but it is difficult for the PE devices of each telecommunications carrier to cooperate to eliminate the loop path. Therefore, it is necessary to operate the spanning tree protocol in the LAN to eliminate the loop path. For example, in this assumed environment, the present invention can be applied to the switches 1 to 4 constituting the subscriber's LAN or the PE devices 10 to 13 of the communication carrier.

図4は本発明のスパニングツリー再構成方法で対象とする図1においてPE装置12がSTPパケットを受信したときの処理の流れを示す。本発明では構成変更イベントを伝達するSTP BPDU(Bridge Protocol Data Unit)としてConfiguration BPDU(Config BPDU)およびTopology Change Notification BPDU(TCN)を扱う。   FIG. 4 shows the flow of processing when the PE device 12 in FIG. 1 targeted by the spanning tree reconfiguration method of the present invention receives an STP packet. In the present invention, Configuration BPDU (Configuration BPDU) and Topology Change Notification BPDU (TCN) are handled as STP BPDU (Bridge Protocol Data Unit) for transmitting a configuration change event.

PE装置12は、図14に示すイーサネットIF601−1〜nを介して入力処理部1010で、スイッチ3からパケットを受信すると、NIF管理部1000において次の処理を行う。受信パケット内の情報に基づいて受信したパケットが、STP制御パケットであるか否かを判断し、STP制御パケットである場合は図4のフローを実行する。PE装置12は、受信したSTP制御パケットの情報に基づいて該STPパケットが、Config BPDUパケットである場合は(S100)、Config BPDU処理を行う(S120)。Config BPDU処理については図5で後述する。Config BPDU処理を行うと図4のフローを終了する。一方、S100において、受信したSTP制御パケットは、Config BPDUパケットでない場合は、受信したSTP制御パケットが、Topology Change Notification BPDUパケットであるか否かを判断する(S110)。受信したSTP制御パケットがTCNパケットである場合は、TCN処理を行う(S130)。尚、TCN処理については図6で後述する。S110において、STP制御パケットが、TCNパケットでないと判断された場合、または、S130のTCN処理が終了すると図4のフローを終了する。   When the PE apparatus 12 receives a packet from the switch 3 at the input processing unit 1010 via the Ethernet IFs 601-1 to 601-n illustrated in FIG. 14, the NIF management unit 1000 performs the following processing. It is determined whether the received packet is an STP control packet based on the information in the received packet. If the received packet is an STP control packet, the flow of FIG. 4 is executed. If the STP packet is a Config BPDU packet based on the received STP control packet information (S100), the PE device 12 performs Config BPDU processing (S120). The Config BPDU process will be described later with reference to FIG. When the Config BPDU process is performed, the flow of FIG. 4 ends. On the other hand, if the received STP control packet is not a Config BPDU packet in S100, it is determined whether or not the received STP control packet is a topology change notification BPDU packet (S110). If the received STP control packet is a TCN packet, TCN processing is performed (S130). The TCN process will be described later with reference to FIG. When it is determined in S110 that the STP control packet is not a TCN packet, or when the TCN process in S130 is completed, the flow in FIG. 4 is terminated.

図5はPE装置においてConfig BPDUを受信したときの処理の流れを示す。   FIG. 5 shows the flow of processing when a Config BPDU is received by the PE device.

本発明のスパニングツリー再構成方法を実装したPE装置のNIF管理部1000において,後述する図7に示すテーブルに基づいて、受信したConfig BPDUの示すルートブリッジIDの値と,当該PE装置がこれまでSTP制御パケットを監視して認識し保持している現在構築されているスパニングツリーのルートブリッジIDの値の大小を比較する(S301)。
受信したConfig BPDUが示すルートブリッジIDと当該PEの保持するルートブリッジIDが一致した場合,受信したConfig BPDUが示すルートブリッジまでのパスコストの値と,当該PEの保持するルートブリッジまでのパスコストの値の大小を比較する(S302)。
In the NIF management unit 1000 of the PE apparatus in which the spanning tree reconfiguration method of the present invention is implemented, the value of the root bridge ID indicated by the received Config BPDU and the PE apparatus up to now are determined based on the table shown in FIG. The values of the root bridge ID values of the currently constructed spanning tree that monitors, recognizes and holds the STP control packet are compared (S301).
If the root bridge ID indicated by the received Config BPDU matches the root bridge ID held by the PE, the value of the path cost to the root bridge indicated by the received Config BPDU and the path cost to the root bridge held by the PE The values are compared in magnitude (S302).

受信したConfig BPDUが示すルートブリッジIDが当該PEの保持するルートブリッジIDより小さい,または受信したConfig BPDUが示すルートブリッジIDが当該PEの保持するルートブリッジIDに等しい,且つ受信したConfig BPDUが示すルートブリッジまでのパスコストが当該PEの保持するルートブリッジまでのパスコストより小さい場合,保留タイマーの停止処理(S310)を実施、Helloタイマー停止(S320)、受信Config BPDUが示す情報により当該PEが保持するルートブリッジに関連する情報の内容、すなわち、図7のテーブルを更新する(S330)。   The root bridge ID indicated by the received Config BPDU is smaller than the root bridge ID held by the PE, or the root bridge ID indicated by the received Config BPDU is equal to the root bridge ID held by the PE, and the received Config BPDU indicates When the path cost to the root bridge is smaller than the path cost to the root bridge held by the PE, the hold timer stop process (S310) is performed, the Hello timer stop (S320), and the PE is determined by the information indicated by the received Config BPDU. The contents of the information related to the stored root bridge, that is, the table of FIG. 7 is updated (S330).

Config BPDUは、図7のテーブルが持つ各フィールドに対応する値を保持するので、本更新は受信したConfig BPDUの各フィールドから値をテーブルにコピーする。本更新により、対象とするネットワークの構成変更に対して必要な情報を、常に最新の状態を図7のテーブルとして保持する事が可能になる。そのため、当該ネットワークで発生する構成変更に適切に対応できる。 S330の場合、すなわち、受信したConfig BPDUが示すルートブリッジIDが当該PEの保持するルートブリッジID704より小さい,または受信したConfig BPDUが示すルートブリッジIDが当該PEの保持するルートブリッジID704に等しい,且つ受信したConfig BPDUが示すルートブリッジまでのパスコストが当該PEの保持するルートブリッジまでのパスコスト704より小さい場合、当該Config BPDUの運ぶ構成情報によるネットワークの構成変更は局所化することができないので,出力処理部1020において、当該PE装置が当該Config BPDUを受信したポート以外の全ポートへ当該Config BPDUを転送する(S340)。例えば、ルートブリッジの変更やネットワーク構成の変化によってルートブリッジまでのパスコストが変化した場合、構成変更を局所化する事が出来ない。   Since the Config BPDU holds values corresponding to the fields of the table of FIG. 7, this update copies values from the fields of the received Config BPDU to the table. With this update, it is possible to always keep the latest information in the table shown in FIG. 7 for information necessary for changing the configuration of the target network. Therefore, it is possible to appropriately cope with a configuration change that occurs in the network. In the case of S330, that is, the root bridge ID indicated by the received Config BPDU is smaller than the root bridge ID 704 held by the PE, or the root bridge ID indicated by the received Config BPDU is equal to the root bridge ID 704 held by the PE. If the path cost to the root bridge indicated by the received Config BPDU is smaller than the path cost 704 to the root bridge held by the PE, the network configuration change by the configuration information carried by the Config BPDU cannot be localized. In the output processing unit 1020, the PE device transfers the Config BPDU to all ports other than the port that has received the Config BPDU (S340). For example, when the path cost to the root bridge changes due to a change in the root bridge or a change in the network configuration, the configuration change cannot be localized.

NIF管理部1000において、受信したConfig BPDUが示すルートブリッジIDが当該PEの保持するルートブリッジIDに等しい(S301),且つ受信したConfig BPDUが示すルートブリッジまでのパスコストが当該PEの保持するルートブリッジまでのパスコストに等しい場合(S302),当該PE装置は当該Config BPDUを当該スパニングツリーのルートブリッジが定期的に送信するSTPパケット(Helloパケット)であると判断して,保留タイマーの停止処理(S311)を実施し、Helloタイマー停止(S321)し、出力処理部1020において、パケット内のTopology Changeフラグをオフにして当該Config BPDUを受信したポート以外の全ポートへ転送し(S350)、Helloタイマーを開始する(S360)。   In the NIF management unit 1000, the root bridge ID indicated by the received Config BPDU is equal to the root bridge ID held by the PE (S301), and the path cost to the root bridge indicated by the received Config BPDU is the route held by the PE. When it is equal to the path cost to the bridge (S302), the PE device determines that the Config BPDU is an STP packet (Hello packet) periodically transmitted by the root bridge of the spanning tree, and stops the hold timer. (S311) is executed, the Hello timer is stopped (S321), and the output processing unit 1020 turns off the Topology Change flag in the packet and switches to all ports other than the port that received the Config BPDU. Send (S350) and start the Hello timer (S360).

Helloタイマーに設定するタイムアウト時間は、ノード管理部が持つデフォルト値を設定する。また、Helloタイマーに設定するタイムアウト時間は、管理者により運用するネットワークの構成等により変更可能とする。本判断により、ルートブリッジが配置するセグメント上の構成変更に対して、当該構成変更の影響が及ばない他セグメントの装置が不必要にFDBをリセットする事を抑止できる。また、構成変更を伴わなく、且つHelloパケットでないConfig BPDUはPE装置で破棄する事が出来る。   A default value of the node management unit is set as the timeout time set in the Hello timer. In addition, the timeout time set in the Hello timer can be changed by the configuration of the network operated by the administrator. By this determination, it is possible to prevent an apparatus of another segment that is not affected by the configuration change from unnecessarily resetting the FDB with respect to the configuration change on the segment arranged by the root bridge. In addition, a Config BPDU that is not accompanied by a configuration change and is not a Hello packet can be discarded by the PE device.

NIF管理部1000において、受信したConfig BPDUが示すルートブリッジIDが当該PEの保持するルートブリッジIDより大きい(S301),且つ当該PE装置の保持するルートブリッジからのConfig BPDUを受信したポートからConfig BPDUを受信した場合(S303),または、受信したConfig BPDUが示すルートブリッジIDが当該PEの保持するルートブリッジIDに等しい(S303),且つ受信したConfig BPDUが示すルートブリッジまでのパスコストが当該PEの保持するルートブリッジまでのパスコストより大きい場合(S302),ブリッジ情報更新を保留する処理を実施する(S370)。ブリッジ情報更新を保留する処理については図18で説明する。例えば、加入者装置の再起動等で、これまで学習したスパニングツリーの情報が消去された場合、自装置がルートブリッジとして改めて再構成しようとする。この動作に対して、ルートブリッジと同じセグメントに配置されているスイッチには、ルートブリッジからの情報が直接伝達するので、当該PE装置が代理応答する必要はない。ただし、当該PEがルートブリッジとして認識しているスイッチが障害などで動作していない場合に、他スイッチがルートブリッジになる事も想定される。このルートブリッジの交代動作を阻害しないために、当該PEが保持するルートブリッジの情報より、ブリッジIDが大きい、またはパスコストが大きい場合も一定期間受信した情報を保持して対処できるようにする。   In the NIF management unit 1000, the root bridge ID indicated by the received Config BPDU is larger than the root bridge ID held by the PE (S 301), and the Config BPDU is received from the port that received the Config BPDU from the root bridge held by the PE device. Is received (S303), or the root bridge ID indicated by the received Config BPDU is equal to the root bridge ID held by the PE (S303), and the path cost to the root bridge indicated by the received Config BPDU is equal to the PE. If it is larger than the path cost to the root bridge held by (S302), a process of holding the bridge information update is implemented (S370). The process of deferring bridge information update will be described with reference to FIG. For example, when the spanning tree information learned so far is erased by restarting the subscriber unit, the own unit tries to reconfigure it as a root bridge. In response to this operation, information from the root bridge is directly transmitted to the switch arranged in the same segment as the root bridge, so that the PE device does not need to make a proxy response. However, when the switch recognized by the PE as the root bridge is not operating due to a failure or the like, it is also assumed that another switch becomes the root bridge. In order not to hinder the replacement operation of the root bridge, even when the bridge ID is higher or the path cost is higher than the information of the root bridge held by the PE, the information received for a certain period can be held and dealt with.

また、NIF管理部1000において、受信したConfig BPDUが示すルートブリッジIDが当該PEの保持するルートブリッジIDより大きい(S301),且つ当該PE装置の保持するルートブリッジからのConfig BPDUを受信したポート以外からConfig BPDUを受信した場合(S303),当該PE装置が図7に示すテーブルで保持するルートブリッジの情報を参照してConfig BPDUを構成し、Config BPDUを受信したポートへ送信する(S380)。当該PE装置が代理応答する事で迅速なSTPによる学習動作の収束を支援する。すなわち、PE装置はConfig BPDUを受信したポート以外のポートにConfig BPDUを転送しないため、通信量を削減することができる。さらに、Config BPDUを送信した加入者装置は、ルートブリッジからではなくPE装置からルートブリッジの情報が更新されたConfig BPDUを受信することができるため、迅速にルートブリッジの情報を得ることができる。   Further, in the NIF management unit 1000, the root bridge ID indicated by the received Config BPDU is larger than the root bridge ID held by the PE (S301), and other than the port that received the Config BPDU from the root bridge held by the PE device. When the Config BPDU is received from the network (S303), the PE device configures the Config BPDU with reference to the root bridge information held in the table shown in FIG. 7, and transmits the Config BPDU to the port that has received the Config BPDU (S380). The PE device responds as a proxy to support the rapid convergence of learning operation by STP. That is, since the PE device does not transfer the Config BPDU to a port other than the port that has received the Config BPDU, the amount of communication can be reduced. Furthermore, since the subscriber apparatus that has transmitted the Config BPDU can receive the Config BPDU in which the information on the root bridge is updated not from the root bridge but from the PE apparatus, the information about the root bridge can be obtained quickly.

図17は保留タイマー停止処理の流れを示す。
NIF管理部1000において、保留タイマーの停止処理を行い(S800)、当該PEが保持するブリッジ情報を格納する保留用保存データ領域を初期化する(S810)。この初期化処理ではブリッジ情報としてブリッジIDとして当該IDの最大値、および、パスコストとしてパスコストの最大値を設定するので、本処理以降に受信したConfig BPDUの情報で、大きなブリッジIDを持つスイッチでもルートブリッジの候補として扱えるようにする。ブリッジ情報の保留用保存データ領域は、図7、図15、および図16に示すデータ構造を持ち、当該PE装置の各ポートに1エントリずつ用意する。
FIG. 17 shows the flow of the hold timer stop process.
The NIF management unit 1000 performs a hold timer stop process (S800), and initializes a save data area for hold that stores bridge information held by the PE (S810). In this initialization processing, the maximum value of the ID is set as the bridge ID as the bridge information, and the maximum value of the path cost is set as the path cost. Therefore, the switch having a large bridge ID in the Config BPDU information received after this processing But it can be treated as a root bridge candidate. The holding data area for holding bridge information has the data structure shown in FIGS. 7, 15, and 16, and one entry is prepared for each port of the PE device.

図18はブリッジ情報の更新保留処理の流れを示す。
NIF管理部1000において、保留タイマーが動作しているか調べる(S500)。保留タイマーが停止していた場合、当該保留タイマーを開始する(S510)。保留タイマーに設定するタイムアウト時間はノード管理部が持つデフォルト値を設定する。また、保留タイマーに設定するタイムアウト時間は、管理者により運用するネットワークの構成等により変更可能とする。次に保留用保存データのブリッジIDと受信Config BPDUのブリッジIDを比較する(S520)。保留用保存データのブリッジIDが受信Config BPDUのブリッジIDより大きい場合、またはブリッジIDが等しく、且つ保留用保存データのパスコストが受信Config BPDUのパスコストより大きい場合、受信Config BPDUの示すブリッジ情報を保留用保存データ領域に格納する(S540)。この場合、PE装置が保持するルートブリッジの情報を受信Config BPDUにより更新する事、および受信Config BPDUを受信ポート以外のポートへ転送する事を保留タイマーがタイムアウトになるまで一時的に保留する。これにより、PE装置がルートブリッジとして認識しているスイッチが、障害等によりルートブリッジとして正常に動作できなくなった場合、これまでのルートブリッジより大きなブリッジIDを持つ他スイッチがルートブリッジになる事を可能にし、STP本来の動作を阻害しない。保留用保存データのブリッジIDが受信Config BPDUのブリッジIDより小さい場合、またはブリッジIDが等しく、且つ保留用保存データのパスコストが受信Config BPDUのパスコストより小さいか等しい場合、受信Config BPDUを破棄する(S550)。これにより、保留タイマーの動作している間にPE装置が受信するルートブリッジ以外からのConfig BPDUな中で、最もブリッジIDが小さく、パスコストの小さなブリッジの情報を一時的に保存する事を可能にする。すなわち、保留タイマーがタイムアウト後にPE装置が保持するルートブリッジの情報を更新する情報として最も適切なブリッジ情報のみを保留用保存データとしてPE装置内に保持する。
FIG. 18 shows a flow of bridge information update suspension processing.
The NIF management unit 1000 checks whether the hold timer is operating (S500). If the hold timer is stopped, the hold timer is started (S510). The timeout value set in the hold timer is set to a default value possessed by the node management unit. The timeout time set in the hold timer can be changed by the configuration of the network operated by the administrator. Next, the bridge ID of the storage data for holding is compared with the bridge ID of the received Config BPDU (S520). When the bridge ID of the stored data for holding is larger than the bridge ID of the received Config BPDU, or when the bridge ID is equal and the path cost of the stored data for holding is larger than the path cost of the received Config BPDU, the bridge information indicated by the received Config BPDU Is stored in the reserved storage data area (S540). In this case, the information on the root bridge held by the PE device is updated temporarily by the received Config BPDU, and the transfer of the received Config BPDU to a port other than the receiving port is temporarily held until the hold timer times out. As a result, when the switch that the PE device recognizes as the root bridge cannot operate normally as a root bridge due to a failure or the like, the other switch with a bridge ID higher than the previous root bridge can become the root bridge. It does not disturb the original operation of STP. When the bridge ID of the storage data for holding is smaller than the bridge ID of the received Config BPDU, or when the bridge ID is equal and the path cost of the storage data for holding is less than or equal to the path cost of the received Config BPDU, the received Config BPDU is discarded. (S550). This makes it possible to temporarily store the information of the bridge with the smallest bridge ID and the lowest path cost among the Config BPDUs other than the root bridge received by the PE device while the hold timer is operating. To. That is, only the most appropriate bridge information as information for updating the information of the root bridge held by the PE device after the hold timer times out is held in the PE device as hold storage data.

図19は保留タイマーのタイムアウト処理の流れを示す。
保留用保存データ領域に格納されているブリッジ情報をルートブリッジ情報が格納されている領域に上書きコピーして、新しいルートブリッジ情報として保存する(S600)。当該PE装置が保持するルートブリッジ情報を参照してConfig BPDUを構成して、当該ルートブリッジ情報を受信したポート以外へ送出する(S610)。これにより、ルートブリッジが配置されるセグメント以外のスイッチに対して、スパニングツリーが再構成しルートブリッジが変更になったことを通知する。最後に、当該PEが保持するブリッジ情報を格納する保留用保存データ領域を初期化する(S810)。この初期化処理ではブリッジ情報としてブリッジIDとして当該IDの最大値、および、パスコストとしてパスコストの最大値を設定するので、本処理以降に受信したConfig BPDUの情報で、大きなブリッジIDを持つスイッチでもルートブリッジの候補として扱えるようにする。
FIG. 19 shows the flow of timeout processing of the hold timer.
The bridge information stored in the storage data area for holding is overwritten and copied to the area where the root bridge information is stored, and stored as new root bridge information (S600). A Config BPDU is configured with reference to the root bridge information held by the PE device, and the root bridge information is transmitted to a port other than the received port (S610). This notifies the switch other than the segment where the root bridge is arranged that the spanning tree is reconfigured and the root bridge is changed. Finally, the reserved storage data area for storing the bridge information held by the PE is initialized (S810). In this initialization processing, the maximum value of the ID is set as the bridge ID as the bridge information, and the maximum value of the path cost is set as the path cost. Therefore, the switch having a large bridge ID in the Config BPDU information received after this processing But it can be treated as a root bridge candidate.

図20にHelloタイマーのタイムアウト処理の流れを示す。
当該PEが保持するルートブリッジ情報を格納するデータ領域を初期化する(S700)。この初期化処理ではブリッジ情報としてブリッジIDとして当該IDの最大値、および、パスコストとしてパスコストの最大値を設定するので、本処理以降に受信したConfig BPDUの情報で、大きなブリッジIDを持つスイッチでもルートブリッジとして扱えるようにする。
FIG. 20 shows the flow of timeout processing of the Hello timer.
A data area for storing root bridge information held by the PE is initialized (S700). In this initialization processing, the maximum value of the ID is set as the bridge ID as the bridge information, and the maximum value of the path cost is set as the path cost. Therefore, the switch having a large bridge ID in the Config BPDU information received after this processing But it can be treated as a root bridge.

図6はTCNを受信したときの処理の流れを示す。   FIG. 6 shows the flow of processing when a TCN is received.

NIF管理部1000において、PE装置はTCNを受信したポートと現在構築されているスパニングツリーのルートブリッジの情報を受信したポートを比較する(S200)。   In the NIF management unit 1000, the PE device compares the port that has received the TCN with the port that has received information on the root bridge of the currently established spanning tree (S200).

当該PE装置が自装置が保持する現在構築されているスパニングツリーのルートブリッジの情報を受信したポート以外のポートからTCNを受信した場合,出力処理部1020において、当該TCNの処理を局所化するために当該PE装置が本来応答すべきスイッチの代わりに代理応答を行う。これにより、他のLANには、TCNが転送されない。出力処理部1020において、当該PE装置は,Topology Change Notification AcknowledgementフラグをオンしたConfig BPDU,およびルートブリッジから定期的に送信されるConfig BPDUを図7のテーブルに格納している情報を参照し構成してTCフラグをオンにしてTCNを受信したポートへ送信する(S210)。当該PE装置の保持するルートブリッジからのConfig BPDUを受信したポートからTCNを受信した場合,ルートブリッジの配置されたセグメントで当該TCNが生成されて送出されたことが分かる。本来TCNはルートブリッジ宛に送信されるので,当該TCNは本装置を経由せずにルートブリッジに配送される。このことから、出力処理部1020において、受信した当該TCNは破棄する(S220)。これにより、PE装置はTCNを受信したポート以外にTCNを転送することなく、構成変更が実行されるので、構成変更の局所化が実現できる。   When the PE device receives a TCN from a port other than the port that has received the information of the root bridge of the currently constructed spanning tree held by the own device, the output processing unit 1020 localizes the processing of the TCN. Instead of the switch that the PE device should originally respond to, a proxy response is made. As a result, the TCN is not transferred to other LANs. In the output processing unit 1020, the PE device refers to the information stored in the table of FIG. 7 about the Config BPDU with the Topology Change Notification Acknowledgment flag turned on and the Config BPDU periodically transmitted from the root bridge. Then, the TC flag is turned on and transmitted to the port that received the TCN (S210). When the TCN is received from the port that received the Config BPDU from the root bridge held by the PE device, it can be seen that the TCN is generated and transmitted in the segment where the root bridge is arranged. Since the TCN is originally transmitted to the root bridge, the TCN is delivered to the root bridge without going through the present apparatus. Therefore, the received TCN is discarded in the output processing unit 1020 (S220). As a result, the PE apparatus can execute the configuration change without transferring the TCN to a port other than the port that has received the TCN, so that the configuration change can be localized.

図7は本発明のスパニングツリー再構成方法を実装したPE装置がNIF管理部で保持するルートブリッジに関連する情報の内容を示す。当該情報はテーブル形式として保持され、ノード管理部がPE装置内のNIF管理部に指示をして当該装置内のポートに対応するエントリを作成する。エントリの各フィールドの意味は、ルートブリッジID703,パスコスト704,ブリッジID705,ポートID701,メッセージエイジ707,最大エイジ708,ハロータイム709,および転送遅延710の情報はConfig BPDUが転送する内容に対応する。   FIG. 7 shows the contents of information related to the root bridge held in the NIF management unit by the PE device in which the spanning tree reconfiguration method of the present invention is implemented. The information is stored in a table format, and the node management unit instructs the NIF management unit in the PE device to create an entry corresponding to the port in the device. The meaning of each field of the entry corresponds to the information transferred by the Config BPDU. The information of the root bridge ID 703, path cost 704, bridge ID 705, port ID 701, message age 707, maximum age 708, hello time 709, and transfer delay 710 .

ポートID701は当該PE装置に装備されているポートを装置内で識別する為のIDである。グループID702はノード管理部によって設定されるIDで、あるポートで受信したConfig BPDUを転送する可能性のあるポートの集合を識別する。グループIDの値は0からNの正の数をとる。PE装置の初期化時にノード管理部が当該装置に装備されている全NIF管理部に対して全てのポートに対応するエントリの作成を指示する。ノード管理部では各ポートに対応するエントリの初期値を記憶装置に保持できる。ノード処理部は各エントリを作成するとき、ポートに対応するエントリの初期値情報が格納されていればその値で初期化し、対応する情報がなければノード管理部が持つデフォルト値で初期化する。Config BPDUを受信すると、受信したポートを持つNIF管理部が、対応するエントリを受信したポートIDをキーに検索する。NIF管理部は受信したConfig BPDUと該当するエントリを参照し図4に示したSTP制御パケット受信処理を行う。本願発明のPE装置が、本テーブルを備えることにより、発生した構成変更イベントの影響範囲を当該イベントの発生したLAN内で収束するか,または他LANを含むネットワーク全体に及ぶかを識別することができ,影響がないと判断したLANには構成変更イベントを転送しないよう制御することができる。   The port ID 701 is an ID for identifying the port equipped in the PE device within the device. The group ID 702 is an ID set by the node management unit, and identifies a set of ports that may transfer a Config BPDU received at a certain port. The value of the group ID takes a positive number from 0 to N. When the PE device is initialized, the node management unit instructs all NIF management units installed in the device to create entries corresponding to all ports. The node management unit can hold the initial value of the entry corresponding to each port in the storage device. When creating each entry, the node processing unit initializes the initial value information of the entry corresponding to the port if it is stored, and initializes it with the default value possessed by the node management unit if there is no corresponding information. When the Config BPDU is received, the NIF management unit having the received port searches using the port ID that received the corresponding entry as a key. The NIF management unit performs the STP control packet reception process shown in FIG. 4 with reference to the received Config BPDU and the corresponding entry. By providing this table, the PE device of the present invention can identify whether the affected range of the configuration change event that has occurred converges within the LAN in which the event has occurred, or extends to the entire network including other LANs. The configuration change event can be controlled not to be transferred to the LAN that is determined to have no influence.

図15はノード管理部の指示で作成されNIF管理部で保持するConfig BPDUを転送する可能性のあるポートの集合を識別する情報の内容を示す。このテーブルの各エントリはグループID1501、E−TREEフラグ1502、E−TREE STP フラグ1503、1つ以上のポート情報1504で構成される。グループID1501はノード管理部の指示でNIF管理部が設定し、PE装置内で当該集合を識別する。このテーブルのエントリとして設定されるグループID1501の値は1からNの正の数とする。グループIDの値が0は、当該ポートで本発明の機能が無効化されていることを示す。E−TREEフラグ1502はノード管理部の指示でNIF管理部が設定し、当該グループがE−TREEサービスを提供しているか否かを示す。当該フラグの値が0ならE−TREE以外のサービスを提供していることを示し、値が1ならE−TREEサービスを提供していることを示す。E−TREE STP フラグ1503はノード管理部の指示でNIF管理部が設定し、E−TREEサービスを提供している当該グループで本発明で提供するE−TREEサービスにおけるSTP支援機能の有効/無効を示す。本フラグ値が0なら無効化、1なら有効化していることを示す。ポート情報は集合を構成する全てのポートに関する情報が格納される。ポート情報1504の内容は図16を示す。   FIG. 15 shows the contents of information for identifying a set of ports that may be transferred with a Config BPDU created by an instruction from the node manager and held by the NIF manager. Each entry in this table includes a group ID 1501, an E-TREE flag 1502, an E-TREE STP flag 1503, and one or more port information 1504. The group ID 1501 is set by the NIF management unit according to an instruction from the node management unit, and identifies the set in the PE apparatus. The value of the group ID 1501 set as an entry in this table is a positive number from 1 to N. A group ID value of 0 indicates that the function of the present invention is disabled at the port. The E-TREE flag 1502 is set by the NIF management unit according to an instruction from the node management unit, and indicates whether or not the group provides the E-TREE service. If the value of the flag is 0, it indicates that a service other than E-TREE is provided, and if the value is 1, it indicates that an E-TREE service is provided. The E-TREE STP flag 1503 is set by the NIF management unit according to an instruction from the node management unit, and indicates whether the STP support function in the E-TREE service provided by the present invention is valid / invalid in the group that provides the E-TREE service. Show. If this flag value is 0, it is invalidated, and if it is 1, it is validated. The port information stores information about all the ports constituting the set. The contents of the port information 1504 are shown in FIG.

図16はPE装置が装備するポートの情報の内容を示す。この情報はリーフフラグ1601とポートID1602で構成される。リーフフラグ1602はMEFの規定するE−TREEサービスを提供するとき、当該ポートがE−TREEのリーフセグメントに接続される場合、ノード管理部の指示でNIF管理部が1に設定する。当該ポートがルートセグメントに接続される、またはE−TREEサービス以外のサービスで利用されている場合、ノード管理部の指示でNIF管理部が0に設定する
図3は従来のPE装置により提供される広域イーサネットサービスで相互接続したLANにおいてSTPを利用する1実施例を示すネットワークの構成図である。10〜13のPE装置で構成されるネットワーク500で広域イーサネットサービスを提供している。100,110,120,および130は当該サービスにより相互接続される加入者のLANである。1〜4は加入者のLANを構成するスイッチであり,ここではループ経路の検出および解消のためにSTPを動作させている。
FIG. 16 shows the contents of the information of the ports equipped in the PE device. This information includes a leaf flag 1601 and a port ID 1602. When providing the E-TREE service specified by the MEF, the leaf flag 1602 is set to 1 by the NIF management unit according to the instruction of the node management unit when the port is connected to the leaf segment of the E-TREE. When the port is connected to the root segment or used in a service other than the E-TREE service, the NIF management unit sets 0 according to the instruction of the node management unit. FIG. 3 is provided by a conventional PE apparatus. 1 is a network configuration diagram showing an embodiment in which STP is used in a LAN interconnected by a wide area Ethernet service. FIG. A wide area Ethernet service is provided by a network 500 including 10 to 13 PE devices. Reference numerals 100, 110, 120, and 130 denote subscriber LANs interconnected by the service. Reference numerals 1 to 4 denote switches constituting the subscriber's LAN. Here, the STP is operated to detect and cancel the loop path.

ここで,加入者のLAN120でネットワークの構成変更が発生した場合,スイッチ3は構成変更を伝達するSTPパケット50をネットワーク500で相互接続された加入者のLAN100,110,および130に送信する。各LANのスイッチ1,2,および4は受信したSTPパケット50への応答61,62,および64をスイッチ3に返す。このように従来のPE装置により構成された広域イーサネットサービスでは,スパニングツリーの構成変更情報はその内容にかかわらず相互接続されるすべての加入者のLANに伝達される。   Here, when a network configuration change occurs in the subscriber's LAN 120, the switch 3 transmits an STP packet 50 that conveys the configuration change to the subscriber's LANs 100, 110, and 130 interconnected by the network 500. The switches 1, 2, and 4 of each LAN return responses 61, 62, and 64 to the received STP packet 50 to the switch 3. As described above, in the wide-area Ethernet service configured by the conventional PE apparatus, the configuration change information of the spanning tree is transmitted to the LANs of all the interconnected subscribers regardless of the contents thereof.

図8はMEFの規定するE−TREEサービスで加入者のLAN100,110,120,および130を相互接続している。図8ではLAN100がE−TREEサービスのルートセグメント,LAN110,120,および130がリーフセグメントに相当する。ルートセグメントに配置される通信装置は,全てのリーフセグメントの装置と通信をすることができる。一方,リーフセグメントに配置される通信装置は,ルートセグメントに配置される通信装置と通信することはできるが,他のリーフセグメントに配置される通信装置と通信することができない。   In FIG. 8, subscribers' LANs 100, 110, 120, and 130 are interconnected by an E-TREE service defined by MEF. In FIG. 8, LAN 100 corresponds to the root segment of the E-TREE service, and LANs 110, 120, and 130 correspond to leaf segments. Communication devices arranged in the root segment can communicate with all leaf segment devices. On the other hand, a communication device arranged in the leaf segment can communicate with a communication device arranged in the root segment, but cannot communicate with a communication device arranged in another leaf segment.

図8のスイッチ1は相互接続された加入者のLANで構築されるスパニングツリーのルートブリッジを示す。この場合,当該ルートブリッジはルートセグメント100に配置されているので,ルートブリッジから送信されるSTPパケット60は全リーフセグメントに伝達され,STPは正常に動作する。   A switch 1 in FIG. 8 shows a root bridge of a spanning tree constructed by interconnected subscriber LANs. In this case, since the root bridge is arranged in the root segment 100, the STP packet 60 transmitted from the root bridge is transmitted to all the leaf segments, and the STP operates normally.

図9は相互接続された加入者のLANで構築されるスパニングツリーのルートブリッジ1がリーフセグメント110に配置された構成を示す。この場合,ルートスイッチ1から送信されるSTPパケット60はルートセグメント100にのみ伝達され,他リーフセグメント120および130には伝達されない。したがって,このようにスパニングツリーのルートブリッジがE−TREEサービスのリーフセグメントに配置されると,STPは正常に動作しない。   FIG. 9 shows a configuration in which the root bridge 1 of the spanning tree constructed by the interconnected subscriber LANs is arranged in the leaf segment 110. In this case, the STP packet 60 transmitted from the root switch 1 is transmitted only to the root segment 100 and not transmitted to the other leaf segments 120 and 130. Therefore, when the root bridge of the spanning tree is arranged in the leaf segment of the E-TREE service in this way, STP does not operate normally.

図10は本発明の図5に示したHelloパケット転送機能(S350)を拡張することで,PE装置10でHelloパケットが他リーフセグメントにも転送されるようになり,E−TREEサービスでBPDUが伝達される範囲を示す。この拡張によりE−TREEサービスのリーフセグメントにルートブリッジが配置されてもSTPが正常に動作するようになる。   FIG. 10 expands the Hello packet transfer function (S350) shown in FIG. 5 of the present invention, so that the PE packet is transferred to the other leaf segment by the PE apparatus 10, and the BPDU is transmitted by the E-TREE service. Indicates the range to be transmitted. With this extension, the STP can operate normally even if the root bridge is arranged in the leaf segment of the E-TREE service.

図11にE−TREEサービスを利用する環境でもSTPが利用できるように図5に示したHelloパケット転送機能(S350)の拡張した処理の流れを示す。   FIG. 11 shows an extended processing flow of the Hello packet transfer function (S350) shown in FIG. 5 so that the STP can be used even in an environment using the E-TREE service.

NIF管理部1000において、ルートブリッジが定期的に送信するHelloパケットを受信したPE装置がMEFの規定するE−TREEサービスを提供しているか判断する(S400)。この判断の手順は、受信したHelloパケットの受信ポートID701をキーに図7に示すテーブルで対応するエントリを検索する。次に、発見したエントリ内のグループID702をキーに図15に示すテーブルで対応するエントリを検索する。そして、発見したエントリのE−TREEフラグ1502が1ならE−TREEサービスを提供しており、0ならE−TREEサービスを提供していないと判断する.
当該PE装置がE−TREEサービスを提供していなければ,出力処理部1020において、当該Helloパケットを受信したポート以外にTCフラグをオフにして当該パケットを転送する(S470)。
In the NIF management unit 1000, it is determined whether the PE device that has received the Hello packet periodically transmitted by the root bridge provides the E-TREE service defined by the MEF (S400). This determination procedure searches the corresponding entry in the table shown in FIG. 7 using the reception port ID 701 of the received Hello packet as a key. Next, the corresponding entry is searched in the table shown in FIG. 15 using the group ID 702 in the found entry as a key. If the E-TREE flag 1502 of the found entry is 1, it is determined that the E-TREE service is provided, and if it is 0, it is determined that the E-TREE service is not provided.
If the PE device does not provide the E-TREE service, the output processing unit 1020 turns off the TC flag and transfers the packet in addition to the port that has received the Hello packet (S470).

NIF管理部1000において、当該PE装置がE−TREEサービスを提供していた場合,E−TREEサービスでSTPを利用するために本発明の機能が有効化されているか判断する(S410)。この判断の手順は、受信したHelloパケットの受信ポートIDをキーに図7に示すテーブルで対応するエントリを検索する。次に、発見したエントリ内のグループID702をキーに図15に示すテーブルで対応するエントリを検索する。そして、発見したエントリのE−TREE STPフラグ1503が1なら本機能が有効化されていて、0なら本機能が無効化されていると判断する。   In the NIF management unit 1000, when the PE device provides the E-TREE service, it is determined whether the function of the present invention is enabled to use the STP in the E-TREE service (S410). This determination procedure searches the corresponding entry in the table shown in FIG. 7 using the reception port ID of the received Hello packet as a key. Next, the corresponding entry is searched in the table shown in FIG. 15 using the group ID 702 in the found entry as a key. If the E-TREE STP flag 1503 of the found entry is 1, it is determined that this function is enabled, and if it is 0, it is determined that this function is disabled.

NIF管理部1000において、当該PE装置で当該機能が無効化されている場合,当該パケットを受信したセグメントがルートセグメントなのかリーフセグメントなのかを判断する(S420)。この判断の手順は、受信したHelloパケットの受信ポートID701をキーに図7に示すテーブルで対応するエントリを検索する。次に、発見したエントリ内のグループID702をキーに図15に示すテーブルで対応するエントリを検索する。続いて、発見したエントリ中の受信ポートと同じIDをもつ図16に示すエントリを検索する。そして、当該エントリのリーフフラグ1601が0ならばルート、1ならばリーフと判断する。   If the function is disabled in the PE device, the NIF management unit 1000 determines whether the segment that received the packet is a root segment or a leaf segment (S420). This determination procedure searches the corresponding entry in the table shown in FIG. 7 using the reception port ID 701 of the received Hello packet as a key. Next, the corresponding entry is searched in the table shown in FIG. 15 using the group ID 702 in the found entry as a key. Subsequently, the entry shown in FIG. 16 having the same ID as the receiving port in the found entry is searched. If the leaf flag 1601 of the entry is 0, it is determined that the route is 1, and if it is 1, the leaf is determined.

NIF管理部1000において、当該PE装置で当該機能が無効化されているとき当該パケットをリーフセグメントから受信した場合,ルートセグメントへTCフラグをオフにした当該パケットを転送する(S460)。   In the NIF management unit 1000, when the packet is received from the leaf segment when the function is disabled in the PE device, the packet with the TC flag turned off is transferred to the root segment (S460).

当該PE装置で当該機能が無効化されているとき当該パケットをルートセグメントから受信した場合,もしくは,当該PE装置で当該機能が有効化されているとき当該パケットをルートセグメントから受信した場合,出力処理部1020は、他ルートセグメントと全リーフセグメントへTCフラグをオフにした当該パケットを転送する(S450)。   When the packet is received from the root segment when the function is disabled on the PE device, or when the packet is received from the route segment when the function is enabled on the PE device The unit 1020 transfers the packet with the TC flag turned off to the other route segment and all the leaf segments (S450).

当該PE装置で当該機能が有効化されているとき当該パケットをリーフセグメントから受信した場合,全ルートセグメントと他リーフセグメントへTCフラグをオフにした当該パケットを転送する(S440)。これにより、スパニングツリーのルートブリッジがE−TREEサービスのリーフセグメントに配置された場合にも,STPを正常に動作させることができる。   When the packet is received from the leaf segment when the function is enabled in the PE device, the packet with the TC flag turned off is transferred to all the root segments and other leaf segments (S440). As a result, even when the root bridge of the spanning tree is arranged in the leaf segment of the E-TREE service, the STP can be operated normally.

図12は本発明のスパニングツリー再構成方法を企業LANに適用した1実施例を示すネットワーク構成図である。100,110,および120は異なるフロアに展開された加入者のLANであり,それらは本発明を適用した加入者LANに設置されるスイッチ1〜6により相互接続される。1〜6は加入者のLANを構成するスイッチであり,ここではループ経路の検出および解消のためにSTPを動作させている。この構成では加入者のLAN100,110,および120でブロードキャスト・ドメイン20を共有しながら,スパニングツリーの再構築の影響を構成変更の内容に応じて各加入者のLAN100,110,または120に局所化することを可能にする。   FIG. 12 is a network configuration diagram showing an embodiment in which the spanning tree reconfiguration method of the present invention is applied to a corporate LAN. Reference numerals 100, 110, and 120 denote subscriber LANs deployed on different floors, which are interconnected by switches 1 to 6 installed in the subscriber LAN to which the present invention is applied. Reference numerals 1 to 6 denote switches constituting the subscriber's LAN. Here, the STP is operated to detect and cancel the loop path. In this configuration, the broadcast domain 20 is shared by the subscriber's LANs 100, 110, and 120, and the effect of spanning tree reconstruction is localized to each subscriber's LAN 100, 110, or 120 according to the content of the configuration change. Make it possible to do.

図13は図12に示した実施例において,各フロアに本発明を適用したスイッチ20,21,および22を配置し加入者のLAN100,110,および120を相互接続した1実施例を示すネットワーク構成図である。図14は本発明を適用する通信装置の1内部構造例を示す。当該通信装置は,装置全体を管理するノード管理部2000,複数のネットワーク・インターフェース610−1〜610−n,およびネットワーク・インターフェースを相互接続するためのスイッチ部2100から構成される。各ネットワーク・インターフェースは,イーサネット送受信ポート601−1〜601−n,各イーサネット送受信ポートに対応するスイッチ部へのインターフェース602−1〜602−n,イーサネット送受信部を介して受信したイーサネットフレームを処理する入力処理部1010,イーサネット送受信部を介してイーサネットフレームの送信処理を行う出力処理部1020,および前述入力処理部および出力処理部を制御するネットワーク・インターフェース管理部1000で構成される。ノード管理部2000は通信装置の管理者に対して管理用インターフェースを提供して当該装置への各種設定/操作を可能にする。ノード管理部は記憶装置を保持しており装置の初期化に必要な初期設定の情報を保持できる。ノード管理部は当該装置の初期化時に、記憶装置に格納されている初期設定情報またはノード管理部が持つデフォルト値で装置内の各機能の初期化を行う。管理者により装置のノード管理部に対して行われた設定や操作は、装置に装備されているネットワーク・インターフェース610―1〜610−nうち適切なNIF管理部に適宜反映される。   FIG. 13 is a network configuration showing an embodiment in which switches 20, 21, and 22 to which the present invention is applied are arranged on each floor and subscriber LANs 100, 110, and 120 are interconnected in the embodiment shown in FIG. FIG. FIG. 14 shows an internal structure example of a communication apparatus to which the present invention is applied. The communication device includes a node management unit 2000 that manages the entire device, a plurality of network interfaces 610-1 to 610-n, and a switch unit 2100 for interconnecting the network interfaces. Each network interface processes Ethernet frames received via the Ethernet transmission / reception ports 601-1 to 601-n, interfaces 602-1 to 602-n to the switch units corresponding to the Ethernet transmission / reception ports, and the Ethernet transmission / reception units. An input processing unit 1010, an output processing unit 1020 that performs transmission processing of an Ethernet frame via the Ethernet transmission / reception unit, and a network interface management unit 1000 that controls the input processing unit and the output processing unit. The node management unit 2000 provides a management interface to the administrator of the communication device to enable various settings / operations on the device. The node management unit holds a storage device and can hold initial setting information necessary for initializing the device. When initializing the device, the node management unit initializes each function in the device with the initial setting information stored in the storage device or the default value of the node management unit. Settings and operations performed by the administrator on the node management unit of the device are appropriately reflected in an appropriate NIF management unit among the network interfaces 610-1 to 610-n installed in the device.

1〜4:加入者LANに設置されるスイッチ
10,11,12,13:通信事業者のPE装置
20,21,22:本発明を適用した加入者LANに設置されるスイッチ
50,60:STPパケット
100,110,120,130:加入者のLAN
500,600:通信事業者のネットワーク
600−1,...,600−n:イーサネット送受信ポート
602−1,...,602−n:ネットワーク・インターフェースを相互接続するスイッチ部へのインターフェース
610−1,...,610−n:ネットワーク・インターフェース
1000:ネットワーク・インターフェースの管理部
1020:ネットワーク・インターフェースのイーサネットフレームの出力処理部
1010:ネットワーク・インターフェースのイーサネットフレームの入力処理部
2000:通信装置全体を管理するノード管理部
2100:ネットワーク・インターフェースを相互接続するスイッチ部
1-4: Switches 10, 11, 12, 13 installed in the subscriber LAN: PE devices 20, 21, 22 of the communication carrier: Switches 50, 60 installed in the subscriber LAN to which the present invention is applied: STP Packet 100, 110, 120, 130: Subscriber LAN
500, 600: Network 600-1,. . . , 600-n: Ethernet transmission / reception ports 602-1,. . . 602-n: Interfaces 610-1,... To switch units interconnecting network interfaces. . . , 610-n: Network interface 1000: Network interface management unit 1020: Network interface Ethernet frame output processing unit 1010: Network interface Ethernet frame input processing unit 2000: Node management for managing the entire communication device Part
2100: Switch unit for interconnecting network interfaces

Claims (11)

ネットワークを介して複数の通信装置と接続され、前記複数の通信装置との間で確立された通信経路を用いてパケットを転送する通信装置であって、
前記複数の通信装置から制御パケットを受信する入力処理部と,
前記入力処理部で受信した制御パケットに含まれる通信経路の情報に基づいて、前記入力処理部で受信した通信経路の変更に関する情報を含む他の制御パケットを破棄,または当該他の制御パケットに対して送信される応答パケットを自装置で作成して送信するかを判断するNIF管理部と,
前記NIF管理部の判断に基づいて前記他の制御パケットを破棄,または前記他の制御パケットに対して送信される応答パケットを自装置で作成して送信する出力処理部と、を有することを特徴とする通信装置。
A communication device connected to a plurality of communication devices via a network and transferring packets using a communication path established with the plurality of communication devices,
An input processing unit for receiving control packets from the plurality of communication devices;
Based on the information of the communication path included in the control packet received by the input processing unit, discarding the other control packet including information about the change of the communication path received by the input processing unit, or to the other control packet An NIF management unit that determines whether a response packet to be transmitted is generated and transmitted by the own device;
An output processing unit that discards the other control packet based on the determination of the NIF management unit, or creates and transmits a response packet to be transmitted to the other control packet. A communication device.
請求項1記載の通信装置であって,
前記通信経路は、スパニングツリープロトコルによって形成される通信経路であり、
前記NIF管理部は、スパニングツリーのルートブリッジの情報を前記制御パケットから抽出することを特徴とする通信装置。
The communication device according to claim 1,
The communication path is a communication path formed by a spanning tree protocol,
The NIF management unit extracts information of a root bridge of a spanning tree from the control packet.
請求項2記載の通信装置であって,
前記NIF管理部は、前記制御パケットの情報と前記通信機器内に保持されたルートブリッジの情報とを比較し、前記入力処理部で受信した制御パケットにより伝達されるスパニングツリーの構成変更イベントが,前記構成変更イベントの局所化が可能かを判断することを特徴とする通信装置。
The communication device according to claim 2,
The NIF management unit compares the information of the control packet with the information of the root bridge held in the communication device, and a spanning tree configuration change event transmitted by the control packet received by the input processing unit is: A communication device that determines whether the configuration change event can be localized.
請求項1記載の通信装置であって,
前記出力処理部は、前記NIF管理部が保持しているスパニングツリーのルートブリッジの情報をもとに,前記スパニングツリーの構成変更イベントに対する応答パケットを自装置で構成し,前記NIF管理部が指定する通信装置のポートから送信することを特徴とする通信装置。
The communication device according to claim 1,
The output processing unit, based on the information of the root bridge in the spanning tree which the NIF management unit holds, the response packet to the configuration change event of the spanning tree constructed by the own device, the NIF management unit designated A communication device that transmits from a port of the communication device.
請求項1記載の通信装置であって,
スパニングツリーの構成変更イベントはConfig BPDUおよびTCNによるイベント,またはConfig BPDUであることを特徴とする通信装置。
The communication device according to claim 1,
A communication apparatus, wherein the spanning tree configuration change event is an event by a Config BPDU and a TCN, or a Config BPDU.
請求項1記載の通信装置であって,
前記NIF管理部は、通信装置が提供している広域イーサネットサービスがE−TREEサービスであるとき,前記制御パケットをリーフセグメントから受信した場合,ルートセグメントと他のリーフセグメントに,スパニングツリーの構成変更イベントを転送択ることを特徴とする通信装置。
The communication device according to claim 1,
When the wide area Ethernet service provided by the communication device is an E-TREE service and the NIF management unit receives the control packet from the leaf segment, the NIF management unit changes the configuration of the spanning tree to the root segment and other leaf segments. A communication apparatus characterized by selecting an event transfer.
請求項2に記載の通信装置であって、
前記NIF管理部は、前記入力処理部が受信した制御パケットの情報に応じて通信装置が保持する前記ルートブリッジの情報の更新を実行することを特徴とする通信装置。
The communication device according to claim 2,
The communication apparatus according to claim 1, wherein the NIF management unit updates the information of the root bridge held by the communication apparatus according to the information of the control packet received by the input processing unit.
請求項2に記載の通信装置であって、
前記ルートブリッジの情報は、ルートブリッジのID及びパスコストであることを特徴とする通信装置。
The communication device according to claim 2,
The root bridge information includes a root bridge ID and a path cost.
請求項8に記載の通信装置であって、
NIF管理部は、前記受信した制御パケットに含まれるルートブリッジIDが当該通信装置が保持するルートブリッジIDより大きく,且つ当該通信装置の保持するルートブリッジIDの情報を受信したポート以外のポートから前記制御パケットを受信した場合、当該通信装置が保持するルートブリッジの情報を参照して新たな制御パケットを構成し、
前記出力処理部は、前記制御パケットを受信したポートへ前記新たな制御パケット送信することを特徴とする通信装置。
The communication device according to claim 8,
The NIF management unit has a root bridge ID included in the received control packet larger than the root bridge ID held by the communication device and the ports other than the port that has received the information of the root bridge ID held by the communication device. When a control packet is received, a new control packet is configured with reference to the root bridge information held by the communication device,
The output processing unit transmits the new control packet to a port that has received the control packet.
請求項8に記載の通信装置であって、
前記NIF管理部は、
前記通信装置が保持するルートブリッジIDが制御パケットのブリッジIDより小さい場合、またはルートブリッジIDが等しく、且つ通信装置が保持するパスコストが制御パケットに含まれるパスコストより小さいか等しい場合、受信した制御パケットを破棄することを特徴とする通信装置。
The communication device according to claim 8,
The NIF management unit
Received when the root bridge ID held by the communication device is smaller than the bridge ID of the control packet, or when the root bridge ID is equal and the path cost held by the communication device is less than or equal to the path cost included in the control packet A communication apparatus for discarding a control packet.
請求項8に記載の通信装置であって、
前記スパニングツリーの構成変更イベントはConfig BPDUおよびTCNによるイベント,またはConfig BPDUであり、
当該通信装置が保持するルートブリッジからのConfig BPDUを受信したポートからTCNを受信した場合,受信した当該TCNを破棄することを特徴とする通信装置。
The communication device according to claim 8,
The spanning tree configuration change event is an event by Config BPDU and TCN, or Config BPDU,
A communication apparatus, wherein when a TCN is received from a port that has received a Config BPDU from a root bridge held by the communication apparatus, the received TCN is discarded.
JP2010076574A 2010-03-30 2010-03-30 Spanning tree reconfiguration method and communication apparatus Expired - Fee Related JP5427665B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010076574A JP5427665B2 (en) 2010-03-30 2010-03-30 Spanning tree reconfiguration method and communication apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010076574A JP5427665B2 (en) 2010-03-30 2010-03-30 Spanning tree reconfiguration method and communication apparatus

Publications (2)

Publication Number Publication Date
JP2011211454A JP2011211454A (en) 2011-10-20
JP5427665B2 true JP5427665B2 (en) 2014-02-26

Family

ID=44942065

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010076574A Expired - Fee Related JP5427665B2 (en) 2010-03-30 2010-03-30 Spanning tree reconfiguration method and communication apparatus

Country Status (1)

Country Link
JP (1) JP5427665B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113904980B (en) * 2021-09-30 2023-07-18 北京东土科技股份有限公司 Channel switching method, device, switch and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2781571B2 (en) * 1987-11-18 1998-07-30 株式会社日立製作所 Network system control method
JP2002353998A (en) * 2001-05-30 2002-12-06 Nec Corp Communication unit and network system employing the same, and spanning tree buildup method
JP4150043B2 (en) * 2003-12-12 2008-09-17 富士通株式会社 Data transmission device
JP4467500B2 (en) * 2005-09-30 2010-05-26 アラクサラネットワークス株式会社 Network relay device
JP2007158800A (en) * 2005-12-06 2007-06-21 Mitsubishi Electric Corp Communication system and method

Also Published As

Publication number Publication date
JP2011211454A (en) 2011-10-20

Similar Documents

Publication Publication Date Title
EP2533475B1 (en) Method and system for host route reachability in packet transport network access ring
EP2643940B1 (en) Method of shrinking a data loss window in a packet network device
EP2502389B1 (en) Method for the provision of gateway anycast virtual mac reachability in extended subnets
CN102035676B (en) ARP (Address Resolution Protocol) interaction based method and equipment for detecting and recovering link fault
JP5873597B2 (en) System and method for virtual fabric link failure recovery
US20050044211A1 (en) Self-healing tree network
US7983150B2 (en) VPLS failure protection in ring networks
US9832098B2 (en) Connecting a booting switch to a network
JP2010509880A (en) Hash-based multihoming
WO2012028029A1 (en) Switching method and system
JP2008078893A (en) Redundant method for network and medium switching equipment
JP2009005053A (en) Packet ring network system and packet transfer method
WO2008154781A1 (en) A method for processing ether rig net message and an ether rig net protection system using the method
WO2012162946A1 (en) Message processing method and system
JP2003258822A (en) Packet ring network and inter-packet ring network connection method used in the same
WO2009100662A1 (en) Service switching method and device in the ring network
US6781953B1 (en) Broadcast protocol for local area networks
JP5427665B2 (en) Spanning tree reconfiguration method and communication apparatus
JP2011146977A (en) Path switching method, communication apparatus and communication system
WO2008110086A1 (en) Redundancy protection method and system for bridge mode resilient packet rings
JP2009147653A (en) Communication system and ring node device
US20180076974A1 (en) Seamless migration from multiple spanning tree protocol to ethernet ring protection switching protocol
Cisco Configuring Ethernet and Fast Ethernet Switching Modules
Cisco Configuring Ethernet and Fast Ethernet Switching Modules
Cisco Configuring Ethernet and Fast Ethernet Switching Modules

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120924

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130808

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130820

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131003

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20131105

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131202

LAPS Cancellation because of no payment of annual fees