Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7112353B2 - Communication device - Google Patents
[go: Go Back, main page]

JP7112353B2 - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
JP7112353B2
JP7112353B2 JP2019033401A JP2019033401A JP7112353B2 JP 7112353 B2 JP7112353 B2 JP 7112353B2 JP 2019033401 A JP2019033401 A JP 2019033401A JP 2019033401 A JP2019033401 A JP 2019033401A JP 7112353 B2 JP7112353 B2 JP 7112353B2
Authority
JP
Japan
Prior art keywords
communication device
ring
control frame
fdb
port
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.)
Active
Application number
JP2019033401A
Other languages
Japanese (ja)
Other versions
JP2020141177A (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.)
Alaxala Networks Corp
Original Assignee
Alaxala Networks Corp
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 Alaxala Networks Corp filed Critical Alaxala Networks Corp
Priority to JP2019033401A priority Critical patent/JP7112353B2/en
Publication of JP2020141177A publication Critical patent/JP2020141177A/en
Application granted granted Critical
Publication of JP7112353B2 publication Critical patent/JP7112353B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

本発明は、データを送受信する通信装置に関する。 The present invention relates to a communication device that transmits and receives data.

リングプロトコルは、ユーザフレームを中継する通信装置をリング状に接続し、レイヤ2で通信経路を冗長化する技術である。代表的なリングプロトコルとして、特許文献1がある。リング状に構成されたネットワーク(リングネットワーク。以下、単に、「リング」と称す。)を構成する通信装置は、マスタ装置とトランジット装置の何れかの役割を持つ。 The ring protocol is a technique of connecting communication devices that relay user frames in a ring shape and making communication paths redundant in Layer 2. FIG. Patent Document 1 is a typical ring protocol. A communication device that constitutes a network configured in a ring (ring network, hereinafter simply referred to as a “ring”) has a role of either a master device or a transit device.

リング状という構成上の特徴から経路内で通信がループしてしまうループ構成を防止するために、リングプロトコルは、ネットワークにおいてユーザフレームが転送できない状態(以下、ブロッキング状態と称す。)と、ブロッキング状態を解除してユーザフレームが転送可能な状態(以下、フォワーディング状態と称す。)によりリングを制御する。 In order to prevent a loop configuration in which communication loops within a route due to the characteristic of the ring configuration, the ring protocol defines a state in which user frames cannot be transferred in the network (hereinafter referred to as a blocking state) and a blocking state. is released and the ring is controlled in a state in which user frames can be transferred (hereinafter referred to as a forwarding state).

マスタ装置は、ブロッキング状態とフォワーディング状態との制御をユーザフレームの通信に使われるVLAN(Virtual Local Area Network)単位で行う。以下、このようなVLANを「データVLAN」と称す。なお、制御フレームは、リングの制御に関わるフレームが通信するVLAN(以下、制御VLANと称す。)を伝送する。制御VLANはブロッキング状態またはフォワーディング状態の制御対象にはならない。 The master device controls the blocking state and the forwarding state for each VLAN (Virtual Local Area Network) used for communication of user frames. Such a VLAN is hereinafter referred to as a "data VLAN". The control frame transmits a VLAN (hereinafter referred to as a control VLAN) through which frames related to ring control communicate. The control VLAN is not subject to blocking or forwarding states.

リングの通信経路は、マスタ装置のリングポートのブロッキング状態とフォワーディング状態で決まる。リングの障害状況が正常状態であるとき、マスタ装置Maは、自身が有する2つのリングポートのうち、1つのリングポートをブロッキング状態とし、もう1つのリングポートをフォワーディング状態とする。これにより、マスタ装置Maは、リングの通信経路がループ構成になることを防ぐ。マスタ装置Maは障害を検出すると、ブロッキング状態にしていたリングポートをフォワーディング状態にして障害個所を回避した通信経路を確保する。 The communication path of the ring is determined by the blocking state and forwarding state of the ring port of the master device. When the ring failure status is normal, the master device Ma puts one of its two ring ports into the blocking state and the other into the forwarding state. As a result, the master device Ma prevents the ring communication path from forming a loop. When the master device Ma detects a fault, it puts the ring port in the blocking state into the forwarding state to secure a communication path that avoids the faulty location.

リングの障害状況が正常状態であるときに、フォワーディング状態であるリングポートをプライマリポートと呼ぶ。リングの障害状況が正常状態であるときにブロッキング状態であるリングポートをセカンダリポートと呼ぶ。 A ring port that is in forwarding state when the fault condition of the ring is normal is called a primary port. A ring port that is in a blocking state when the ring fault condition is normal is called a secondary port.

また、リングのトラフィック量制御方式の一例として、リング内を流れるフレームに対して伝送帯域を設定する方式がある(たとえば、下記特許文献2を参照)。特許文献2の方式は、リングを流れるフレームの優先度毎に伝送帯域を設定することで、リングのトラフィック量を制御する方式である。 Further, as an example of a ring traffic volume control method, there is a method of setting a transmission band for frames flowing within a ring (see, for example, Patent Document 2 below). The method of Patent Document 2 is a method of controlling the amount of traffic on the ring by setting a transmission band for each priority of frames flowing through the ring.

特開2008-136013号公報JP 2008-136013 A 特開2006-261825号公報JP 2006-261825 A

しかし、上述したトラフィック量制御のためにデータVLANのプライマリポートとセカンダリポートを切り替えて経路変更する際に、リングを構成する通信装置は未学習のMACアドレスを送信先に指定されたフレームを受信すると、受信したデータVLANに属する全ポートに送信(以降、フラッディングと称す。)する。フラッディングはトラフィック量を増大させる。したがって、トラフィック量制御のために経路変更が実行されると、一時的にトラフィック量が増大し、フレームロスや遅延の発生確率を上げてしまう。 However, when changing the route by switching the primary port and secondary port of the data VLAN for traffic volume control as described above, when the communication device constituting the ring receives a frame with an unlearned MAC address as the destination, , to all ports belonging to the received data VLAN (hereinafter referred to as flooding). Flooding increases traffic volume. Therefore, when a route is changed for traffic volume control, the traffic volume temporarily increases, increasing the probability of frame loss and delay.

本発明は、ブロッキングポート変更の際に、フラッディングを発生させないようにして、トラフィック量を抑制することを目的とする。 An object of the present invention is to suppress the amount of traffic by preventing flooding when changing a blocking port.

本願において開示される発明の一側面となる通信装置は、リングプロトコルによって規定されるリングネットワークを構成する通信装置群のうちいずれかの通信装置であって、前記リングネットワーク内でユーザフレームが送受信される第1仮想ネットワークについてMACアドレスおよびポート番号の組み合わせを登録可能な第1転送先情報と、前記リングネットワーク内でユーザフレームが送受信される第2仮想ネットワークについてMACアドレスおよびポート番号の組み合わせを登録可能な第2転送先情報と、を有する記憶部と、運用系の仮想ネットワークを前記第1仮想ネットワークから前記第2仮想ネットワークに切り替える場合に、前記運用系の仮想ネットワークに適用される転送先情報を、前記第1転送先情報から前記第2転送先情報に切り替える制御部と、を有することを特徴とする。 A communication device, which is one aspect of the invention disclosed in the present application, is one of a group of communication devices constituting a ring network defined by a ring protocol, and a user frame is transmitted and received within the ring network. First transfer destination information capable of registering a combination of a MAC address and a port number for a first virtual network in which a MAC address and a port number are registered, and a combination of a MAC address and a port number can be registered for a second virtual network in which user frames are transmitted and received within the ring network. and second transfer destination information; and transfer destination information applied to the active virtual network when switching the active virtual network from the first virtual network to the second virtual network. and a control unit for switching from the first transfer destination information to the second transfer destination information.

本発明の代表的な実施の形態によれば、通信経路の切替時にフラッディングが発生させないようにして、トラフィック量を抑制することができる。 According to the representative embodiment of the present invention, it is possible to suppress the amount of traffic by preventing flooding from occurring when switching communication paths.

図1は、実施例1にかかるネットワークシステムの構成例を示す説明図である。FIG. 1 is an explanatory diagram of a configuration example of a network system according to a first embodiment; 図2は、実施例1にかかる通信装置のモジュール構成例を示すブロック図である。FIG. 2 is a block diagram of a module configuration example of the communication apparatus according to the first embodiment; 図3は、MACアドレス学習完了後に通信装置が保持するFDBの一例を示す説明図である。FIG. 3 is an explanatory diagram showing an example of the FDB held by the communication device after MAC address learning is completed. 図4は、実施例1にかかる制御フレームのフォーマットを示す説明図である。FIG. 4 is an explanatory diagram of a format of a control frame according to the first embodiment; 図5は、マスタ装置のリング外ポートでMACアドレス学習およびMACアドレスクリアした場合のリングネットワーク全体の処理を示す装置間シーケンス図である。FIG. 5 is a device-to-device sequence diagram showing processing of the entire ring network when MAC address learning and MAC address clearing are performed at the external ring port of the master device. 図6は、トランジット装置のリング外ポートでMACアドレス学習およびMACアドレスクリアした場合のリングネットワーク全体の処理を示す装置間シーケンス図である。FIG. 6 is a device-to-device sequence diagram showing the processing of the entire ring network when MAC address learning and MAC address clearing are performed at an external ring port of a transit device. 図7は、通信経路切り替え時のリングネットワーク全体の処理を示す通信装置間シーケンス図である。FIG. 7 is a sequence diagram between communication devices showing processing of the entire ring network when switching communication paths. 図8は、MACアドレス学習時の通信装置内のシーケンス図である。FIG. 8 is a sequence diagram within the communication device during MAC address learning. 図9は、MACアドレスクリア時の通信装置内のシーケンス図である。FIG. 9 is a sequence diagram in the communication device when clearing the MAC address. 図10は、待機系MACアドレス追加の制御フレームの受信時の通信装置内のシーケンス図である。FIG. 10 is a sequence diagram in the communication device when a control frame for adding a standby MAC address is received. 図11は、待機系MACアドレスクリア制御フレームの受信時の通信装置内のシーケンス図である。FIG. 11 is a sequence diagram in the communication device when receiving the standby MAC address clear control frame. 図12は、実施例1にかかる通信経路切替時におけるマスタ装置内のシーケンス図である。12 is a sequence diagram in the master device at the time of communication path switching according to the first embodiment; FIG. 図13は、実施例1にかかる切替指示の制御フレーム受信時の通信装置内のシーケンス図である。FIG. 13 is a sequence diagram in the communication apparatus when receiving a control frame for a switching instruction according to the first embodiment; 図14は、ユーザフレーム転送パターン1における通信装置内のシーケンス図である。FIG. 14 is a sequence diagram in the communication device in user frame transfer pattern 1. FIG. 図15は、ユーザフレーム転送パターン2における通信装置内のシーケンス図である。FIG. 15 is a sequence diagram in the communication device in user frame transfer pattern 2. FIG. 図16は、ユーザフレーム転送パターン3における通信装置内のシーケンス図である。FIG. 16 is a sequence diagram in the communication device in user frame transfer pattern 3. FIG. 図17は、運用系FDBの切り替え処理の通信装置内シーケンスである。FIG. 17 is a sequence within the communication device for switching processing of the active FDB. 図18は、実施例2にかかる通信装置のモジュール構成例を示すブロック図である。FIG. 18 is a block diagram of a module configuration example of the communication apparatus according to the second embodiment; 図19は、実施例2にかかる制御フレームのフォーマット例を示す説明図である。FIG. 19 is an explanatory diagram of a format example of a control frame according to the second embodiment. 図20は、実施例2にかかる通信経路切替時のリングネットワーク全体の処理を示す通信装置間シーケンス図である。FIG. 20 is a sequence diagram between communication devices showing processing of the entire ring network at the time of communication path switching according to the second embodiment. 図21は、実施例2にかかる通信経路切替時におけるマスタ装置内のシーケンス図である。FIG. 21 is a sequence diagram in the master device at the time of communication path switching according to the second embodiment. 図22は、実施例2にかかる切替指示の制御フレームの受信時の通信装置内シーケンスである。FIG. 22 is a sequence within the communication apparatus when a control frame for switching instructions is received according to the second embodiment.

本実施の形態では、リングネットワークを構成する全通信装置が、通信経路切り替え後におけるフレームの転送先情報(Fowarding Data Base。以下、FDBと称す。)を、切り替え前に予め作成し、マスタ装置の指示でリングに属する全通信装置のFDBを切り替える。 In the present embodiment, all communication devices constituting a ring network create in advance forwarding destination information (forwarding data base, hereinafter referred to as FDB) of frames after communication route switching, before switching, and forwarding information to the master device. The FDBs of all communication devices belonging to the ring are switched according to the instruction.

これを実現するため、通信経路切り替え前に使用するFDB(以降、運用系FDBと称す。)と、通信経路切り替え後に使用するFDB(以降、待機系FDBと称す。)の2種のFDBを、各通信装置が持つ。運用系FDBには、受信フレームの送信元MACアドレスが登録される。待機系FDBには、他の通信装置から制御フレームにより通知されたMACアドレスが登録される。そのため、あるリングに属する通信装置は、運用系FDBで学習したMACアドレスを他のリングに属する通信装置へ通知する。 In order to realize this, two types of FDBs, an FDB used before communication path switching (hereinafter referred to as an active FDB) and an FDB used after communication path switching (hereinafter referred to as a standby FDB), are Each communication device has. The source MAC address of the received frame is registered in the active FDB. The MAC address notified by the control frame from another communication device is registered in the standby FDB. Therefore, a communication device belonging to a certain ring notifies a communication device belonging to another ring of the MAC address learned by the active FDB.

通信経路の切り替えは、リングに属する全通信装置のうちマスタ装置からトランジット装置への指示により実行される。指示を受けトランジット装置は、待機系FDBを運用系FDBへ切り替えてフレーム転送を行う。FDBは切り替え前に構築済みであるから、通信経路切り替え時のフラッディングは発生しない。 Switching of the communication path is executed by an instruction from the master device to the transit device among all the communication devices belonging to the ring. Upon receiving the instruction, the transit device switches the standby FDB to the active FDB and transfers the frame. Since the FDB has already been constructed before switching, flooding does not occur when the communication path is switched.

実施例1にかかるネットワークシステムは、リングネットワークにおいてデータVLANを2つ(データVLAN1,データVLAN2)用いる。リングネットワークを構成する各通信装置は、データVLAN1で適用されるFDBと、データVLAN2で適用されるFDBと、を有する。運用系の通信経路がデータVLAN1からデータVLAN2に切り替わると、運用系のFDBも、データVLAN1で適用されるFDBから、データVLAN2で適用されるFDBに切り替わる。 The network system according to the first embodiment uses two data VLANs (data VLAN1 and data VLAN2) in the ring network. Each communication device that configures the ring network has an FDB applied in the data VLAN1 and an FDB applied in the data VLAN2. When the active communication path switches from the data VLAN1 to the data VLAN2, the active FDB also switches from the FDB applied in the data VLAN1 to the FDB applied in the data VLAN2.

(1-1)ネットワークシステムの構成
図1は、実施例1にかかるネットワークシステム100の構成例を示す説明図である。マスタ装置Maおよび複数のトランジット装置(図1では、一例として2台のトランジット装置Mb,Mc)は、ユーザフレームを中継する通信装置であり、リングネットワークを構成する。
(1-1) Configuration of Network System FIG. 1 is an explanatory diagram illustrating a configuration example of a network system 100 according to the first embodiment. A master device Ma and a plurality of transit devices (in FIG. 1, two transit devices Mb and Mc as an example) are communication devices that relay user frames, and constitute a ring network.

マスタ装置Maは、2つのリングポートpa1,pa2とリングポートでないポート(以下、リング外ポートと称す。)pa3を有する。トランジット装置Mbは、2つのリングポートpb1,pb2とリング外ポートpb3を有する。トランジット装置Mcは、2つのリングポートpc1,pc2とリング外ポートpc3を有する。 The master device Ma has two ring ports pa1 and pa2 and a non-ring port (hereinafter referred to as an extra-ring port) pa3. The transit device Mb has two ring ports pb1, pb2 and an extra-ring port pb3. The transit device Mc has two ring ports pc1, pc2 and an extra-ring port pc3.

マスタ装置Maは、物理回線であるリンクLanによりネットワークNaに接続される。ネットワークNaには、たとえば、通信装置Na1が存在する。通信装置Na1のMACアドレスを、「aa‐aa‐aa‐00‐00‐11」とする。 Master device Ma is connected to network Na by link Lan, which is a physical line. The network Na has, for example, a communication device Na1. Assume that the MAC address of the communication device Na1 is "aa-aa-aa-00-00-11".

トランジット装置Mbは、物理回線であるリンクLbnによりネットワークNbに接続される。ネットワークNbには、たとえば、通信装置Nb1が存在する。通信装置Nb1のMACアドレスを、「bb‐bb‐bb‐00‐00‐11」とする。 A transit device Mb is connected to a network Nb by a link Lbn, which is a physical line. For example, a communication device Nb1 exists in the network Nb. Assume that the MAC address of the communication device Nb1 is "bb-bb-bb-00-00-11".

トランジット装置Mcは、物理回線であるリンクLcnによりネットワークNcに接続される。ネットワークNcには、たとえば、通信装置Nc1が存在する。通信装置Nc1のMACアドレスを、「cc‐cc‐cc‐00‐00‐11」とする。 A transit device Mc is connected to a network Nc by a link Lcn, which is a physical line. For example, a communication device Nc1 exists in the network Nc. Assume that the MAC address of the communication device Nc1 is "cc-cc-cc-00-00-11".

マスタ装置Maとトランジット装置Mbとの間では、マスタ装置Maのリングポートpa1とトランジット装置Mbのリングポートpb2とを接続する物理回線であるリンクLabにより通信経路が確保される。 A communication path is secured between the master device Ma and the transit device Mb by a link Lab, which is a physical line connecting the ring port pa1 of the master device Ma and the ring port pb2 of the transit device Mb.

マスタ装置Maとトランジット装置Mcとの間では、マスタ装置Maのリングポートpa2とトランジット装置Mcのリングポートpc1とを接続する物理回線であるリンクLacにより通信経路が確保される。 A communication path is secured between the master device Ma and the transit device Mc by a link Lac, which is a physical line connecting the ring port pa2 of the master device Ma and the ring port pc1 of the transit device Mc.

トランジット装置Mbとトランジット装置Mcとの間では、トランジット装置Mbのリングポートpb1とトランジット装置Mcのリングポートpc2とを接続する物理回線であるリンクLbcにより通信経路が確保される。 A communication path is secured between the transit device Mb and the transit device Mc by a link Lbc, which is a physical line connecting the ring port pb1 of the transit device Mb and the ring port pc2 of the transit device Mc.

すべての通信装置Ma,Mb,Mc間でリンクLab,Lbc,Lacが形成されると、ネットワーク構成はリング状になる。各リングポートpa1,pa2,pb1,pb2,pc1,pc2およびリンクLab,Lbc,Lacにより、ユーザフレームが流れるデータVLAN1およびデータVLAN2と、制御フレームが流れる制御VLAN3と、が設定される。 When links Lab, Lbc, and Lac are formed between all communication devices Ma, Mb, and Mc, the network configuration becomes ring-shaped. A data VLAN1 and a data VLAN2 through which user frames flow, and a control VLAN3 through which control frames flow are set by the respective ring ports pa1, pa2, pb1, pb2, pc1, pc2 and links Lab, Lbc, Lac.

リングの通信経路は、マスタ装置100により制御される。マスタ装置Maの一方のリングポートをプライマリポートと呼び、他方のリングポートをセカンダリポートと呼ぶ。プライマリポートはリングが正常であるとき、通信可能なフォワーディング状態になるリングポートである。セカンダリポートはリングが正常であるとき、ブロッキング状態となるリングポートである。プライマリポートとセカンダリポートはデータVLAN1,2毎に制御される。 The communication path of the ring is controlled by master device 100 . One ring port of the master device Ma is called a primary port, and the other ring port is called a secondary port. A primary port is a ring port that becomes a forwarding state capable of communication when the ring is normal. A secondary port is a ring port that is in a blocking state when the ring is normal. A primary port and a secondary port are controlled for each data VLAN1,2.

マスタ装置Maにおいては、データVLAN1では、リングポートpa1がプライマリポート111、リングポートpa2がセカンダリポート121となり、データVLAN2では、リングポートpa2がプライマリポート122、リングポートpa1がセカンダリポート112となる。 In the master device Ma, the ring port pa1 is the primary port 111 and the ring port pa2 is the secondary port 121 in the data VLAN1, and the ring port pa2 is the primary port 122 and the ring port pa1 is the secondary port 112 in the data VLAN2.

これに対応して、データVLAN1では、トランジット装置Mbのリングポートpb2は、プライマリポート113となり、リングポートpb1は、プライマリポート115となる。また、データVLAN2では、トランジット装置Mcのリングポートpb2は、プライマリポート114となり、リングポートpb1は、プライマリポート116となる。 Correspondingly, in the data VLAN 1 , the ring port pb 2 of the transit device Mb becomes the primary port 113 and the ring port pb 1 becomes the primary port 115 . Also, in the data VLAN2, the ring port pb2 of the transit device Mc becomes the primary port 114, and the ring port pb1 becomes the primary port 116. FIG.

同様に、VLAN1では、トランジット装置Mcのリングポートpc2は、プライマリポート117となり、リングポートpc1は、プライマリポート119となる。また、VLAN2では、トランジット装置Mcのリングポートpc2は、プライマリポート118となり、リングポートpc1は、プライマリポート120となる。 Similarly, in VLAN 1 , the ring port pc 2 of the transit device Mc becomes the primary port 117 and the ring port pc 1 becomes the primary port 119 . Also, in VLAN2, the ring port pc2 of the transit device Mc becomes the primary port 118, and the ring port pc1 becomes the primary port 120. FIG.

データVLAN1とデータVLAN2の2つのデータVLANは、一方が運用系FDB、もう一方が待機系FDBとして動作する。通信装置Ma,Mb,McとネットワークNa,Nb,Ncとの通信はVLAN1で実行される。各通信装置Ma,Mb,Mcは、ユーザフレームのVLANタグを変換することで運用系FDBを切り替える。 One of the two data VLANs, data VLAN1 and data VLAN2, operates as an active FDB and the other as a standby FDB. Communication between the communication devices Ma, Mb, Mc and the networks Na, Nb, Nc is performed in VLAN1. Each of the communication devices Ma, Mb, and Mc switches the active FDB by converting the VLAN tag of the user frame.

(1-2)リングに属する通信装置の構成
図2は、実施例1にかかる通信装置200(マスタ装置Maおよびトランジット装置Mb,Mc)のモジュール構成例を示すブロック図である。通信装置200は、物理的にメモリ210、CPU(Central Processing Unit)220、CAM(Content Addressable Memory)230、データ転送系ASIC(Application Specific Integrated Circuit)240、カプセル化系ASIC250、ポート261~265から構成される。
(1-2) Configuration of Communication Device Belonging to Ring FIG. 2 is a block diagram showing an example of the module configuration of the communication device 200 (master device Ma and transit devices Mb and Mc) according to the first embodiment. The communication device 200 physically includes a memory 210, a CPU (Central Processing Unit) 220, a CAM (Content Addressable Memory) 230, a data transfer system ASIC (Application Specific Integrated Circuit) 240, an encapsulation system ASIC 250, and ports 261 to 265. be done.

メモリ210は、CPU220が実行するプログラムを格納する。CPU220は、メモリ210に格納されたプログラムを実行する。CAM230は、FDBを格納し、FDBの検索を高速に実行する機能を有する。データ転送系ASIC240は、主にフレームの転送を担う。カプセル化系ASIC250は、フレームのカプセル化およびデカプセル化を担う。 The memory 210 stores programs executed by the CPU 220 . CPU 220 executes programs stored in memory 210 . The CAM 230 has a function of storing the FDB and executing FDB searches at high speed. The data transfer system ASIC 240 is mainly responsible for transferring frames. Encapsulation system ASIC 250 is responsible for frame encapsulation and decapsulation.

ポート261~265は、通信装置200外部とのインターフェースであり、他の通信装置200とのフレーム送受信を行う。ポート261~265のうち、ポート261,262をリングポート、ポート263~265をリング外ポートとする。たとえば、通信装置200がマスタ装置Maである場合、ポート261がポートPa1、ポート262がポートPa2、ポート263~265のいずれか1つが、ポートPa3に対応する。 Ports 261 to 265 are interfaces with the outside of the communication device 200 and perform frame transmission/reception with other communication devices 200 . Of the ports 261 to 265, ports 261 and 262 are ring ports, and ports 263 to 265 are extra-ring ports. For example, when communication device 200 is master device Ma, port 261 corresponds to port Pa1, port 262 corresponds to port Pa2, and one of ports 263 to 265 corresponds to port Pa3.

通信装置200がトランジット装置Mbである場合、ポート261がポートPb1、ポート262がポートPb2、ポート263~265のいずれか1つが、ポートPb3に対応する。通信装置200がトランジット装置Mcである場合、ポート261がポートPc1、ポート262がポートPc2、ポート263~265のいずれか1つが、ポートPc3に対応する。 When the communication device 200 is the transit device Mb, the port 261 corresponds to the port Pb1, the port 262 corresponds to the port Pb2, and one of the ports 263 to 265 corresponds to the port Pb3. When the communication device 200 is the transit device Mc, the port 261 corresponds to the port Pc1, the port 262 corresponds to the port Pc2, and one of the ports 263 to 265 corresponds to the port Pc3.

上記の物理的な構成要素で、実施例1に必要な次の機能が動作する。メモリ210にはリング制御プログラム211と装置管理プログラム214が展開されている。CAM230が持つFDBは論理的に2つのFDB231,232を含む。FDB231,232は、転送先に転送するポートのポート番号と転送先のMACアドレスの組をエントリとして有する。転送系ASIC240は、転送エンジン241を有する。カプセル化系ASIC250は、フレームカプセリング・デカプセリング機能251を有する。 The physical components described above perform the following functions required for the first embodiment. A ring control program 211 and a device management program 214 are developed in the memory 210 . The FDBs held by the CAM 230 logically include two FDBs 231 and 232 . The FDBs 231 and 232 have as entries pairs of the port number of the port for transfer to the transfer destination and the MAC address of the transfer destination. The transfer system ASIC 240 has a transfer engine 241 . The encapsulation system ASIC 250 has a frame encapsulation/decapsulation function 251 .

以下、各構成要素について詳述する。なお、「プログラム」を主語(動作主体)として説明を行うが、プログラムはプロセッサによって実行されることで定められた処理をメモリおよびポートを用いながら行うため、プロセッサを主語とした説明としてもよい。 Each component will be described in detail below. Note that the description will be made with the “program” as the subject (subject of action), but since the program is executed by the processor and performs predetermined processing using memory and ports, the description may be with the processor as the subject.

リング制御プログラム211は、リング負荷制御プログラム212とFDB制御プログラム213とを有する。リング負荷制御プログラム212は、リングの状態を監視し、トラフィック量の情報に従ってリングの構成を制御する。FDB制御プログラム213は、CAM230に登録されるFDB231,232のエントリを管理する。具体的には、転送エンジン241が、待機系FDBの構築と、転送エンジン241のVLANタグ変換機能242とを用いて、ユーザフレームの転送で参照するFDBの制御を担う。 The ring control program 211 has a ring load control program 212 and an FDB control program 213 . The ring load control program 212 monitors the ring status and controls the ring configuration according to traffic volume information. The FDB control program 213 manages the entries of the FDBs 231 and 232 registered in the CAM 230 . Specifically, the transfer engine 241 constructs a standby FDB and uses the VLAN tag conversion function 242 of the transfer engine 241 to control the FDB referred to in transferring the user frame.

装置管理プログラム214は、転送エンジン241やポート261~265のリンク状態を制御する。CAM230が保持するFDB231,232はそれぞれ、データVLAN1、データVLAN2のFDBである。一方のFDBが運用系FDB、他方のFDBが待機系FDBとなる。 The device management program 214 controls the transfer engine 241 and the link states of the ports 261-265. FDBs 231 and 232 held by the CAM 230 are FDBs for data VLAN1 and data VLAN2, respectively. One FDB is an active FDB and the other FDB is a standby FDB.

転送エンジン241は、MACアドレス学習、MACアドレスクリア、およびフレームの転送を行う。また、転送エンジン241は、VLANタグ変換機能242とMACアドレス通知機能243とを有する。転送エンジン241は、フレームを受信するとCAM230の運用系FDBを検索し、受信フレームの送信元MACアドレスが運用系FDBに登録されているか確認する。運用系FDBに登録されていなければ、運用系FDBに当該送信元MACアドレスを登録する(MACアドレス学習)。 The forwarding engine 241 performs MAC address learning, MAC address clearing, and frame forwarding. The transfer engine 241 also has a VLAN tag conversion function 242 and a MAC address notification function 243 . When the transfer engine 241 receives the frame, it searches the active FDB of the CAM 230 to check whether the source MAC address of the received frame is registered in the active FDB. If not registered in the active FDB, the source MAC address is registered in the active FDB (MAC address learning).

また、転送エンジン241は、受信フレームの送信先MACアドレスを運用系FDBから検索し、登録された情報に従ってフレーム転送する。運用系FDBに登録されたMACアドレスは保持時間に制限があり、保持時間が満了となると削除される(MACアドレスクリア)。なお、MACアドレスクリアは、リングプロトコルによる経路変更やユーザの操作でも実行可能である。 The transfer engine 241 also searches the active FDB for the destination MAC address of the received frame, and transfers the frame according to the registered information. The MAC address registered in the active FDB has a limited retention time, and is deleted when the retention time expires (MAC address clear). Note that the MAC address clearing can also be executed by a route change using a ring protocol or by a user's operation.

VLANタグ変換機能242は、転送エンジン241が転送するフレームのVLANタグを書き換える。VLANタグ変換機能242により変換されたVLANタグの変換先のVLAN IDが、運用系FDBとなる。VLANタグ変換機能242を使用してリング制御プログラム211のFDB制御プログラム213が、運用系FDBを決定する。 The VLAN tag conversion function 242 rewrites the VLAN tag of the frame transferred by the transfer engine 241 . The destination VLAN ID of the VLAN tag converted by the VLAN tag conversion function 242 becomes the active FDB. The FDB control program 213 of the ring control program 211 determines the active FDB using the VLAN tag conversion function 242 .

MACアドレス通知機能243は、MACアドレス学習時とMACアドレスクリア時に、MACアドレス学習またはMACアドレスクリアの対象となるMACアドレスを、CPU220(リング制御プログラム211のFDB制御プログラム213)へ通知する。 During MAC address learning and MAC address clearing, the MAC address notification function 243 notifies the CPU 220 (FDB control program 213 of the ring control program 211) of the target MAC address for MAC address learning or MAC address clearing.

フレームカプセリング・デカプセリング機能251は、リングを流れるトラフィック量を計測するため、リングポート261,262で受信したユーザフレームや、リングポート261,262から送信するユーザフレームにヘッダを追加したり追加されたヘッダを削除したりする。また、フレームカプセリング・デカプセリング機能251は、ユーザフレームに付与した情報から各経路の統計を取得する。 The frame encapsulation/decapsulation function 251 adds headers to user frames received at the ring ports 261 and 262 and user frames transmitted from the ring ports 261 and 262 in order to measure the amount of traffic flowing through the ring. or remove the header. Also, the frame encapsulating/decapsulating function 251 acquires the statistics of each route from the information attached to the user frame.

図3は、MACアドレス学習完了後に通信装置200が保持するFDBの一例を示す説明図である。(A)は、マスタ装置Ma内のFDB231,232を示す(以下、FDB231a,232aと称す)。(B)は、トランジット装置Mb内のFDB231,232を示す(以下、FDB231b,232bと称す)。(C)は、トランジット装置Mc内のFDB231,232を示す(以下、FDB231c,232cと称す)。データVLAN1が運用系FDB231a,231b,231c、データVLAN2が待機系FDB232a,232b,232cとする。 FIG. 3 is an explanatory diagram showing an example of the FDB held by the communication device 200 after MAC address learning is completed. (A) shows the FDBs 231 and 232 in the master device Ma (hereinafter referred to as FDBs 231a and 232a). (B) shows the FDBs 231 and 232 in the transit device Mb (hereinafter referred to as FDBs 231b and 232b). (C) shows the FDBs 231 and 232 in the transit device Mc (hereinafter referred to as FDBs 231c and 232c). Assume that the data VLAN1 is the active FDBs 231a, 231b, and 231c, and the data VLAN2 is the standby FDBs 232a, 232b, and 232c.

(1-3)制御フレーム
図4は、実施例1にかかる制御フレームのフォーマットを示す説明図である。制御フレーム401は、リングを構成する通信装置間でリングの制御に関する情報を伝達するために使用する。制御フレーム401は、DMAC(Destination Media Access Control)アドレス403、SMAC(ステップSource Media Access Control)アドレス404、VLANタグ405、EtherType406、リングID407、種別408、シーケンス番号409、データ領域410、FCS(Frame Check Sequence)411を有する。
(1-3) Control Frame FIG. 4 is an explanatory diagram showing the format of a control frame according to the first embodiment. The control frame 401 is used to transmit information related to ring control between communication devices forming a ring. The control frame 401 includes DMAC (Destination Media Access Control) address 403, SMAC (Step Source Media Access Control) address 404, VLAN tag 405, EtherType 406, Ring ID 407, Type 408, Sequence number 409, Data area 410, FCS (Frame Check Sequence) 411.

DMACアドレス403には、送信先のMACアドレスが格納され、SMACアドレス404には、送信元のMACアドレスが格納される。VLANタグ405には、制御フレームの転送先に指定された制御VLAN3のVLAN IDが格納される。EtherType406には、上位プロトコルを識別するための番号が格納され、制御フレーム401においては、リングプロトコルであることを示す情報が格納される。 The DMAC address 403 stores the MAC address of the transmission destination, and the SMAC address 404 stores the MAC address of the transmission source. The VLAN tag 405 stores the VLAN ID of the control VLAN3 designated as the transfer destination of the control frame. EtherType 406 stores a number for identifying a higher-level protocol, and control frame 401 stores information indicating a ring protocol.

リングID407には、制御フレーム401が属するリングを一意に特定するIDが格納される。1つの通信装置200に複数のリングIDが設定された場合に、制御フレーム401が制御対象としているリングを識別するために使用される。 The ring ID 407 stores an ID that uniquely identifies the ring to which the control frame 401 belongs. When multiple ring IDs are set in one communication device 200, the control frame 401 is used to identify the ring to be controlled.

種別408には、制御フレーム401の種別312が格納される。シーケンス番号409には、制御フレーム401の送信順序を示すシーケンス番号が格納される。データ領域410は、制御フレーム401の種別に応じた情報313が格納される。FCS411には、受信したフレームに誤りがないか調べるために付加されるデータが格納される。 The type 408 stores the type 312 of the control frame 401 . Sequence number 409 stores a sequence number indicating the transmission order of control frame 401 . Information 313 corresponding to the type of the control frame 401 is stored in the data area 410 . The FCS 411 stores data added to check for errors in the received frame.

また、種別408には、待機系MACアドレス追加414、待機系MACアドレス削除415、切替指示416が格納される。種別408にMACアドレス追加414またはMACアドレス削除415が格納された制御フレーム401は、データ領域410にMACアドレスが格納される。データ領域410に格納されたMACアドレスは、待機系FDB232a,232b,232cの構築に使われる。 The type 408 stores standby MAC address addition 414 , standby MAC address deletion 415 , and switching instruction 416 . In the control frame 401 having MAC address addition 414 or MAC address deletion 415 stored in the type 408 , the MAC address is stored in the data area 410 . The MAC addresses stored in the data area 410 are used to construct the standby FDBs 232a, 232b, and 232c.

種別408に切替指示416が格納された制御フレーム401は、データ領域410にVLAN IDが格納される。データ領域410に格納されたVLAN IDは、切り替え後に使用するFDBのVLAN IDである。 The control frame 401 having the switching instruction 416 stored in the type 408 stores the VLAN ID in the data area 410 . The VLAN ID stored in the data area 410 is the VLAN ID of the FDB to be used after switching.

(1-4)全体の処理
ネットワークシステム100は、リング構成におけるマスタ装置Maのプライマリポートの切り替えに際し、切り替え後のFDBを待機系FDBとして切り替え前に構築すること、および、リングを流れるユーザフレームの転送に使用する運用系FDBを待機系FDBに切り替えることである。以下にリングネットワーク全体の処理(装置間シーケンス)を概説する。
(1-4) Overall Processing When switching the primary port of the master device Ma in the ring configuration, the network system 100 constructs the FDB after switching as a standby FDB before switching, and processes user frames flowing through the ring. It is to switch the active FDB used for transfer to the standby FDB. The processing of the entire ring network (sequence between devices) will be outlined below.

リングネットワークの運用開始時、通信装置200は、ユーザフレーム転送用の運用系FDBと待機系FDBとを決める。運用系FDBおよび待機系FDBの各VLAN IDの初期値(リングネットワーク運用開始時の値)は、全通信装置Ma,Mb,Mbで一致する値であれば、どのような方式でもよい。ユーザが通信装置200に対して設定する方式でもよいし、マスタ装置Maが決定する方式でもよい。 When starting operation of the ring network, the communication device 200 determines an active FDB and a standby FDB for forwarding user frames. The initial value (value at the start of ring network operation) of each VLAN ID of the active FDB and the standby FDB may be any method as long as it is the same value for all the communication devices Ma, Mb, Mb. The method may be set by the user to the communication device 200, or may be determined by the master device Ma.

通信装置200は、待機系FDBの構築をMACアドレス学習またはMACアドレスクリアした際に実行する。該当する通信装置200は、学習またはクリアしたMACアドレスを含む制御フレーム401を他の通信装置200へ通知する。 The communication device 200 constructs the standby FDB when learning the MAC address or clearing the MAC address. The corresponding communication device 200 notifies the other communication devices 200 of the control frame 401 including the learned or cleared MAC address.

学習したMACアドレスを含む制御フレーム401とは、種別408の待機系MACアドレス追加414のデータ領域410に学習したMACアドレスを含む制御フレーム(以降、「待機系MACアドレス追加414の制御フレーム」と称す。)401である。クリアしたMACアドレスを含む制御フレーム401とは、種別408の待機系MACアドレス削除415のデータ領域410にクリアしたMACアドレスを含む制御フレーム(以降、「待機系MACアドレス削除415の制御フレーム」と称す。)401である。 The control frame 401 including the learned MAC address is a control frame including the learned MAC address in the data area 410 of the additional standby MAC address 414 of the type 408 (hereinafter referred to as the "control frame of the additional standby MAC address 414"). .) 401. The control frame 401 including the cleared MAC address is a control frame including the cleared MAC address in the data area 410 of the standby MAC address deletion 415 of the type 408 (hereinafter referred to as "control frame of the standby MAC address deletion 415"). .) 401.

当該制御フレーム401を受信した通信装置200は、通知されたMACアドレスを待機系FDBへ登録(学習の場合)または削除(クリアの場合)する。マスタ装置Maとトランジット装置Mb,Mcで制御フレーム401の受信後の処理が異なる。 The communication device 200 that has received the control frame 401 registers (in the case of learning) or deletes (in the case of clearing) the notified MAC address in the standby system FDB. The processing after receiving the control frame 401 differs between the master device Ma and the transit devices Mb and Mc.

リングネットワークを構成する全通信装置Ma,Mb,Mcは、フレームカプセリング・デカプセリング機能251を使用し、リングを流れるトラフィック量を測定する。各通信装置Mb,Mcが測定したトラフィック量は、マスタ装置Maに収集される。マスタ装置Maは、トラフィック量からプライマリポートの切り替え要否を判断する。 All the communication devices Ma, Mb, and Mc forming the ring network use the frame encapsulation/decapsulation function 251 to measure the amount of traffic flowing through the ring. The traffic volume measured by each communication device Mb, Mc is collected by the master device Ma. The master device Ma determines whether or not it is necessary to switch the primary port based on the amount of traffic.

マスタ装置Maは、プライマリポート(フォワーディング状態)の切替指示416の制御フレーム401を、トランジット装置Mb,Mcに送信する。切替指示416の制御フレーム401とは、種別408のプライマリポート(フォワーディング状態)の切替指示416のデータ領域410にVLAN IDを含む制御フレームである。 Master device Ma transmits control frame 401 of primary port (forwarding state) switching instruction 416 to transit devices Mb and Mc. The control frame 401 of the switching instruction 416 is a control frame including the VLAN ID in the data area 410 of the switching instruction 416 of the primary port of type 408 (forwarding state).

トランジット装置Mb,Mcは、運用系FDBを、制御フレーム401で指示されたVLAN IDで特定されるFDBに切り替える。たとえば、運用系FDBがデータVLAN1のFDB231b,231cで、制御フレーム401で指示されたVLAN IDが「2」である場合、トランジット装置Mb,Mcは、運用系FDBをデータVLAN2のFDB232b,232cに切り替える。以下、これら待機系FDB構築と通信経路切り替えにおけるリングネットワーク全体の処理(装置間シーケンス)について詳述する。 The transit devices Mb and Mc switch the active FDB to the FDB specified by the VLAN ID indicated by the control frame 401 . For example, when the active FDBs are the FDBs 231b and 231c of the data VLAN1 and the VLAN ID indicated by the control frame 401 is "2", the transit devices Mb and Mc switch the active FDBs to the FDBs 232b and 232c of the data VLAN2. . In the following, the processing of the entire ring network (sequence between devices) in the construction of the standby FDB and the communication path switching will be described in detail.

なお、運用系FDBをデータVLAN1のFDB231、待機系FDBをデータVLAN2のFDB232とする。すなわち、マスタ装置Maにおいて、運用系FDBがデータVLAN1の場合、運用系FDBのセカンダリポートはリングポートpa2、運用系FDBがデータVLAN2の場合、リングポートpa1となる。 Assume that the active FDB is the FDB 231 of the data VLAN1, and the standby FDB is the FDB 232 of the data VLAN2. That is, in the master device Ma, when the active FDB is in data VLAN1, the secondary port of the active FDB is ring port pa2, and when the active FDB is in data VLAN2, ring port pa1.

(1-4-1)マスタ装置MaにおけるMACアドレス学習およびMACアドレスクリア
図5は、マスタ装置Maのリング外ポートでMACアドレス学習およびMACアドレスクリアした場合のリングネットワーク全体の処理を示す装置間シーケンス図である。
(1-4-1) MAC address learning and MAC address clearing in master device Ma FIG. 5 is a device-to-device sequence showing processing of the entire ring network when MAC address learning and MAC address clearing are performed at the external ring port of master device Ma. It is a diagram.

マスタ装置Maは、マスタ装置Maのリング外ポートpa3でMACアドレス学習により運用系FDB(FDB231a)にMACアドレスを登録、またはMACアドレスクリアにより運用系FDB(FDB231a)からMACアドレスを削除する(ステップS501)。 The master device Ma registers the MAC address in the active FDB (FDB 231a) by MAC address learning at the external ring port pa3 of the master device Ma, or deletes the MAC address from the active FDB (FDB 231a) by clearing the MAC address (step S501). ).

MACアドレスを登録または削除した場合(ステップS501)、マスタ装置Maは、待機系FDB(FDB232a)にMACアドレスを登録、または待機系FDB(FDB232a)からMACアドレスを削除する(ステップS502)。そして、マスタ装置Maは、待機系MACアドレス追加414または待機系MACアドレス削除415の制御フレーム401(以下、制御フレーム504)を、運用系FDB(FDB231a)で特定されるデータVLAN1でブロッキング状態であるセカンダリポート121(pa2)から送信する(ステップS503)。 When the MAC address is registered or deleted (step S501), the master device Ma registers the MAC address in the standby FDB (FDB 232a) or deletes the MAC address from the standby FDB (FDB 232a) (step S502). The master device Ma blocks the control frame 401 (hereinafter referred to as the control frame 504) of the standby MAC address addition 414 or the standby MAC address deletion 415 in the data VLAN 1 specified by the active FDB (FDB 231a). It is transmitted from the secondary port 121 (pa2) (step S503).

制御フレーム504をセカンダリポート121(pa2)から送信する理由は、運用系FDB(FDB231a)のセカンダリポート121(pa2)が、通信経路切替後のプライマリポート122となるためである。通信経路切替後に通信可能になるポートを使用してフレーム転送できるFDBを構築するために、運用系FDBのセカンダリポートからFDB構築用の制御フレーム504が送信される。 The reason for transmitting the control frame 504 from the secondary port 121 (pa2) is that the secondary port 121 (pa2) of the active FDB (FDB 231a) becomes the primary port 122 after the communication path switching. A control frame 504 for constructing an FDB is transmitted from the secondary port of the active FDB in order to construct an FDB capable of frame transfer using a port that becomes communicable after the communication path switching.

制御フレーム504を受信したトランジット装置Mcは、通知されたMACアドレスを待機系FDB(FDB232c)へ登録、または待機系FDB(FDB232c)から削除する(ステップS505)。 The transit device Mc that received the control frame 504 registers the notified MAC address in the standby system FDB (FDB 232c) or deletes it from the standby system FDB (FDB 232c) (step S505).

MACアドレスを登録または削除した場合(ステップS505)、トランジット装置Mcは、その制御フレーム504(以下、制御フレーム507)を、受信したリングポートpc1(119)とは別のリングポートpc2(117)から送信する(ステップS506)。 When the MAC address is registered or deleted (step S505), the transit device Mc transmits the control frame 504 (hereinafter, control frame 507) from the ring port pc2 (117) different from the received ring port pc1 (119). Send (step S506).

その制御フレーム504を受信したトランジット装置Mbは、通知されたMACアドレスを待機系FDB(FDB232b)へ登録、または待機系FDB(FDB232b)から削除する(ステップS508)。 The transit device Mb that receives the control frame 504 registers the notified MAC address in the standby system FDB (FDB 232b) or deletes it from the standby system FDB (FDB 232b) (step S508).

MACアドレスを登録または削除した場合(ステップS508)、トランジット装置Mbは、その制御フレーム507(以下、制御フレーム510)を、受信したリングポートpb1(115)とは別のリングポートpb1(113)から転送する(ステップS509)。制御フレーム510は最終的にマスタ装置Maに到達する。マスタ装置Maは、リングポートpa1(111)で受信した制御フレーム510を廃棄する(ステップS511)。これにより、図3の(A)に示すように、マスタ装置MaのFDB231a,232aが構築される。 When the MAC address is registered or deleted (step S508), the transit device Mb sends the control frame 507 (hereinafter, control frame 510) from the ring port pb1 (113) different from the received ring port pb1 (115). Transfer (step S509). The control frame 510 finally reaches the master device Ma. Master device Ma discards control frame 510 received at ring port pa1 (111) (step S511). As a result, the FDBs 231a and 232a of the master device Ma are constructed as shown in FIG. 3A.

(1-4-2)トランジット装置におけるMACアドレス学習およびMACアドレスクリア
図6は、トランジット装置Mcのリング外ポートpc3でMACアドレス学習およびMACアドレスクリアした場合のリングネットワーク全体の処理を示す装置間シーケンス図である。トランジット装置Mcは、リング外ポートpc3でMACアドレス学習により運用系FDB(FDB231c)にMACアドレスを登録、またはMACアドレスクリアにより運用系FDB(FDB231c)からMACアドレスを削除する(ステップS601)。
(1-4-2) MAC address learning and MAC address clearing in transit device FIG. 6 is an inter-device sequence showing processing of the entire ring network when MAC address learning and MAC address clearing are performed at the out-ring port pc3 of the transit device Mc. It is a diagram. The transit device Mc registers the MAC address in the working FDB (FDB 231c) by MAC address learning at the external ring port pc3, or deletes the MAC address from the working FDB (FDB 231c) by clearing the MAC address (step S601).

MACアドレスを登録または削除した場合(ステップS601)、トランジット装置Mcは、待機系FDB(FDB232c)にMACアドレスを登録、または待機系FDBからMACアドレスを削除する(ステップS602)。そして、トランジット装置Mcは、自装置Mcの全リングポートpc1,pc2から、待機系MACアドレス追加414または待機系MACアドレス削除415の制御フレーム401(以下、制御フレーム604,605)を送信する(ステップS603)。 When the MAC address is registered or deleted (step S601), the transit device Mc registers the MAC address in the standby FDB (FDB 232c) or deletes the MAC address from the standby FDB (step S602). Then, the transit device Mc transmits a control frame 401 for standby MAC address addition 414 or standby MAC address deletion 415 (hereinafter, control frames 604 and 605) from all ring ports pc1 and pc2 of its own device Mc (step S603).

ただし、トランジット装置Mcは、自装置Mcの全リングポートpc1,pc2からMACアドレスを配布しているが、制御VLAN3を用いて全リングポートpc1,pc2から制御フレーム604,605を送信する。したがって、全リングポートpc1,pc2からの制御フレーム604,605の送信は、フラッディングには該当しない。 However, although the transit device Mc distributes MAC addresses from all ring ports pc1 and pc2 of its own device Mc, it uses control VLAN3 to transmit control frames 604 and 605 from all ring ports pc1 and pc2. Therefore, transmission of control frames 604 and 605 from all ring ports pc1 and pc2 does not correspond to flooding.

制御フレーム605を受信したトランジット装置Mbは、前述(1-4-1)と同様、通知されたMACアドレスを待機系FDB(FDB232b)へ登録、または待機系FDB(FDB232b)から削除する(ステップS606)。 The transit device Mb that has received the control frame 605 registers the notified MAC address in the standby system FDB (FDB 232b) or deletes it from the standby system FDB (FDB 232b), as in (1-4-1) described above (step S606). ).

MACアドレスを登録または削除した場合(ステップS606)、トランジット装置Mbは、その制御フレーム605(以下、制御フレーム608)を、受信したリングポートpb1(115)とは別のリングポートpb1(113)から転送する(ステップS607)。 When the MAC address is registered or deleted (step S606), the transit device Mb sends the control frame 605 (hereinafter, control frame 608) from the ring port pb1 (113) different from the received ring port pb1 (115). Transfer (step S607).

制御フレーム604,608を受信したマスタ装置Maは、その受信ポートが運用系FDB(FDB231a)のセカンダリポート(ブロッキング状態)である場合、待機系FDB(FDB232a)にMACアドレスを登録、または待機系FDB(FDB232a)から削除する(ステップS609)。受信ポートが運用系FDB(FDB231a)で特定されるデータVLANのプライマリポート(フォワーディング状態)である場合、制御フレーム401を廃棄する(ステップS610)。これにより、図3の(B)(C)に示すように、トランジット装置MbのFDB231b,232bとトランジット装置McのFDB231c,232cが構築される。 When the receiving port of the master device Ma that receives the control frames 604 and 608 is the secondary port (blocking state) of the active FDB (FDB 231a), the master device Ma registers the MAC address in the standby FDB (FDB 232a) or registers the MAC address in the standby FDB (FDB 232a). Delete from (FDB 232a) (step S609). If the receiving port is the primary port (forwarding state) of the data VLAN specified by the active FDB (FDB 231a), the control frame 401 is discarded (step S610). As a result, as shown in FIGS. 3B and 3C, the FDBs 231b and 232b of the transit device Mb and the FDBs 231c and 232c of the transit device Mc are constructed.

(1-4-4)通信経路の切り替え
図7は、通信経路切り替え時のリングネットワーク全体の処理を示す装置間シーケンス図である。一部の経路を流れるトラフィック量がポートの帯域に迫っており、なおかつトラフィックが流れる経路に偏りがある場合がある。
(1-4-4) Communication Path Switching FIG. 7 is an inter-device sequence diagram showing the processing of the entire ring network when the communication path is switched. The amount of traffic flowing through some paths is close to the bandwidth of the port, and there are cases where the paths through which traffic flows are uneven.

マスタ装置Maは、リングの構成変更によるトラフィックの平滑化のため、通信経路の切り替えが必要と判断する。その場合、まず、マスタ装置Maは、運用系FDBを切り替える(ステップS701)。具体的には、たとえば、データVLANのVLAN IDを切り替える。詳細は(1-5-5)で後述する。 The master device Ma determines that it is necessary to switch the communication path in order to smooth the traffic due to the change in ring configuration. In that case, first, the master device Ma switches the active FDB (step S701). Specifically, for example, the VLAN ID of the data VLAN is switched. Details will be described later in (1-5-5).

つぎに、マスタ装置Maは、切替指示416の制御フレーム401(以下、制御フレーム703)を全リングポート(pa1とpa2)から送信する(ステップS702)。ただし、図7では、説明上、マスタ装置Maによるリングポートpa2からの制御フレーム703の送信を省略している。制御フレーム703を受信したトランジット装置Mbは、運用系FDBを制御フレーム703で指示されたVLAN IDのFDBに切り替える(ステップS704)。詳細は(1-5-6)で後述する。 Next, the master device Ma transmits the control frame 401 (hereinafter referred to as control frame 703) of the switching instruction 416 from all ring ports (pa1 and pa2) (step S702). However, in FIG. 7, the transmission of the control frame 703 from the ring port pa2 by the master device Ma is omitted for the sake of explanation. Upon receiving the control frame 703, the transit device Mb switches the active FDB to the FDB of the VLAN ID indicated by the control frame 703 (step S704). Details will be described later in (1-5-6).

つぎに、トランジット装置Mbは、制御フレーム703を受信したポートとは別のリングポートから制御フレーム703(以下、制御フレーム706)を転送する(ステップS705)。制御フレーム706を受信したトランジット装置Mcは、運用系FDBを制御フレーム706で指示されたVLAN IDのFDBに切り替える(ステップS707)。詳細は(1-5-6)で後述する。 Next, transit device Mb transfers control frame 703 (hereinafter referred to as control frame 706) from a ring port other than the port that received control frame 703 (step S705). The transit device Mc that received the control frame 706 switches the active FDB to the FDB of the VLAN ID indicated by the control frame 706 (step S707). Details will be described later in (1-5-6).

つぎに、トランジット装置Mbは、制御フレーム706を受信したポートとは別のリングポートから、制御フレーム706(以下、制御フレーム709)を転送する(ステップS708)。最終的にマスタ装置Maへ制御フレーム709がマスタ装置Maに返ってくるが、マスタ装置Maは制御フレーム709を廃棄する(ステップS710)。 Next, transit device Mb transfers control frame 706 (hereinafter referred to as control frame 709) from a ring port different from the port that received control frame 706 (step S708). Finally, the control frame 709 is returned to the master device Ma, but the master device Ma discards the control frame 709 (step S710).

(1-5)通信装置200内の処理例
つぎに、通信装置200内のシーケンスを説明する。
(1-5) Example of Processing in Communication Apparatus 200 Next, a sequence in the communication apparatus 200 will be described.

(1-5-1)MACアドレス学習
図8は、MACアドレス学習時の通信装置200内のシーケンス図である。図8は、図5のS501からS503、および、図6のS601からS603における処理の詳細を示す。通信装置200は、ポート261~265でユーザフレームを受信し、転送エンジン241は、受信したポートのポート番号およびMACアドレスを運用系FDBに登録する(ステップS801)。
(1-5-1) MAC Address Learning FIG. 8 is a sequence diagram in communication apparatus 200 during MAC address learning. FIG. 8 shows the details of the processing from S501 to S503 in FIG. 5 and from S601 to S603 in FIG. The communication device 200 receives user frames at ports 261 to 265, and the transfer engine 241 registers the port numbers and MAC addresses of the received ports in the active FDB (step S801).

転送エンジン241は、ユーザフレームを転送した後(ステップS802)、登録したMACアドレスをCPU(リング制御プログラム211)220へ通知する(ステップS803)。CPU(リング制御プログラム211のFDB制御プログラム213)220は、ステップS801でMACアドレスを学習したポートがリングポート261,262であるか確認する(ステップS804)。リングポート261,262である場合(ステップS804:Yes)、何も処理をしない。 After transferring the user frame (step S802), the transfer engine 241 notifies the registered MAC address to the CPU (ring control program 211) 220 (step S803). The CPU (FDB control program 213 of the ring control program 211) 220 confirms whether the ports that have learned the MAC address in step S801 are the ring ports 261 and 262 (step S804). If it is the ring port 261 or 262 (step S804: Yes), no processing is performed.

MACアドレスを学習したポートがリングポート261,262ではない場合(ステップS804:No)、CPU(リング制御プログラム211のFDB制御プログラム213)220は、そのユーザフレームを受信したポートのポート番号およびMACアドレスを待機系FDBに登録する(ステップS805)。 If the port that learned the MAC address is not the ring ports 261, 262 (step S804: No), the CPU (FDB control program 213 of the ring control program 211) 220 acquires the port number and MAC address of the port that received the user frame. is registered in the standby FDB (step S805).

つぎに、CPU(リング制御プログラム211のFDB制御プログラム213)220は、その通信装置200の役割を確認する(ステップS806)。通信装置200がマスタ装置Maである場合(ステップS806:マスタ)、CPU(リング制御プログラム211のFDB制御プログラム213)220は、運用系VLANのセカンダリポート(ブロッキング状態)から、ステップS805で登録されたMACアドレスをデータ領域410に含む待機系MACアドレス追加414の制御フレーム401を送信する(ステップS807)。 Next, the CPU (FDB control program 213 of the ring control program 211) 220 confirms the role of the communication device 200 (step S806). When the communication device 200 is the master device Ma (step S806: master), the CPU (the FDB control program 213 of the ring control program 211) 220 starts from the secondary port (blocking state) of the active VLAN registered in step S805. The control frame 401 of the standby system MAC address addition 414 including the MAC address in the data area 410 is transmitted (step S807).

その通信装置200がトランジット装置Mb,Mcである場合(ステップS806:トランジット)、CPU(リング制御プログラム211のFDB制御プログラム213)220は、全リングポート261,262から、ステップS805で登録されたMACアドレスをデータ領域410に含む待機系MACアドレス追加414の制御フレーム401を送信する(ステップS808)。 If the communication device 200 is a transit device Mb, Mc (step S806: transit), the CPU (FDB control program 213 of the ring control program 211) 220 transmits the MAC registered in step S805 from all the ring ports 261, 262. The control frame 401 of the standby system MAC address addition 414 including the address in the data area 410 is transmitted (step S808).

(1-5-2)MACアドレスクリア
図9は、MACアドレスクリア時の通信装置200内のシーケンス図である。図9は、図5のS501からS503、および、図6のS601からS603における処理の詳細を示す。通信装置200は、転送エンジン241でMACアドレスの保持時間満了、またはリングプロトコルによる経路変更(リング外ポートからの待機系MACアドレス削除415の制御フレームの受信を含む)やユーザにより削除の操作を検出する(ステップS901)。
(1-5-2) MAC Address Clearing FIG. 9 is a sequence diagram within the communication apparatus 200 when clearing the MAC address. FIG. 9 shows the details of the processing from S501 to S503 in FIG. 5 and from S601 to S603 in FIG. The communication device 200 detects expiration of the MAC address holding time in the transfer engine 241, or a route change by the ring protocol (including reception of a control frame for standby MAC address deletion 415 from the external ring port), or a deletion operation by the user. (step S901).

MACアドレスの保持時間満了または削除操作が検出された場合(ステップS901)、転送エンジン241は、運用系FDBからMACアドレスを削除し(ステップS902)、CPU(リング制御プログラム211)220へMACアドレスクリアを通知する(ステップS903)。 When the MAC address retention time expires or a deletion operation is detected (step S901), the transfer engine 241 deletes the MAC address from the active FDB (step S902), and clears the MAC address to the CPU (ring control program 211) 220. is notified (step S903).

CPU(リング制御プログラム211のFDB制御プログラム213)220は、ステップS902で削除したMACアドレスクリアに対応するポート(MACアドレスクリアしたポート)がリングポート261,262であるか確認する(ステップS904)。リングポート261,262であった場合(ステップS904:Yes)、何も処理しない。 The CPU (FDB control program 213 of the ring control program 211) 220 confirms whether the ports corresponding to the MAC address cleared deleted in step S902 (MAC address cleared ports) are the ring ports 261 and 262 (step S904). If it is the ring ports 261 and 262 (step S904: Yes), nothing is processed.

一方、MACアドレスクリアしたポートがリングポート261,262ではない場合(ステップS904:No)、CPU(リング制御プログラム211のFDB制御プログラム213)220は、待機系FDBからMACアドレスクリアしたポートのポート番号およびMACアドレスクリアされたMACアドレスを削除する(ステップS905)。 On the other hand, if the ports whose MAC addresses have been cleared are not the ring ports 261 and 262 (step S904: No), the CPU (FDB control program 213 of the ring control program 211) 220 obtains the port numbers of the ports whose MAC addresses have been cleared from the standby FDB. And the cleared MAC address is deleted (step S905).

つぎに、CPU(リング制御プログラム211)220は、その通信装置200の役割を確認する(ステップS906)。その通信装置200がマスタ装置Maである場合(ステップS906:マスタ)、CPU(FDB制御プログラム213)220は、運用系FDBのセカンダリポート(ブロッキング状態)から、MACアドレスクリアされたMACアドレスをデータ領域410に含む待機系MACアドレス削除415の制御フレーム401を送信する(ステップS907)。その通信装置200がトランジット装置Mb,Mcである場合(ステップS906:トランジット)、CPU(リング制御プログラム211)220は、全リングポート261,262から、MACアドレスクリアされたMACアドレスをデータ領域410に含む待機系MACアドレス削除415の制御フレーム401を送信する(ステップS908)。 Next, the CPU (ring control program 211) 220 confirms the role of the communication device 200 (step S906). If the communication device 200 is the master device Ma (step S906: master), the CPU (FDB control program 213) 220 stores the cleared MAC address in the data area from the secondary port (blocking state) of the active FDB. The control frame 401 of the standby system MAC address deletion 415 included in 410 is transmitted (step S907). If the communication device 200 is a transit device Mb or Mc (step S906: transit), the CPU (ring control program 211) 220 stores the cleared MAC address in the data area 410 from all ring ports 261 and 262. The control frame 401 of the standby system MAC address deletion 415 is transmitted (step S908).

(1-5-3)待機系MACアドレス追加414の制御フレーム401の受信
図10は、待機系MACアドレス追加414の制御フレーム401の受信時の通信装置200内のシーケンス図である。図10は、図5のS505からS506、S508からS509、S511、および、図6のS606からS607、S609からS610における処理の詳細を示す。
(1-5-3) Reception of Control Frame 401 for Standby System MAC Address Addition 414 FIG. FIG. 10 shows the details of the processing in steps S505 to S506, S508 to S509 and S511 in FIG. 5 and S606 to S607 and S609 to S610 in FIG.

待機系MACアドレス追加414の制御フレーム401を受信すると、転送エンジン241は、CPU(リング制御プログラム211)220へ待機系MACアドレス追加414の制御フレーム401を転送する(ステップS1001)。CPU(リング制御プログラム211のFDB制御プログラム213)220は、その通信装置200の役割を確認する(ステップS1002)。 Upon receiving the control frame 401 for standby system MAC address addition 414, the transfer engine 241 transfers the control frame 401 for standby system MAC address addition 414 to the CPU (ring control program 211) 220 (step S1001). The CPU (FDB control program 213 of the ring control program 211) 220 confirms the role of the communication device 200 (step S1002).

その通信装置200がマスタ装置Maである場合(ステップS1002:マスタ)、CPU(リング制御プログラム211のFDB制御プログラム213)220は、待機系MACアドレス追加414の制御フレーム401を受信したポートの種別を確認する(ステップS1003)。 If the communication device 200 is the master device Ma (step S1002: master), the CPU (FDB control program 213 of the ring control program 211) 220 determines the type of the port that received the control frame 401 of the standby MAC address addition 414. Confirm (step S1003).

待機系MACアドレス追加414の制御フレーム401を受信したポートの種別が運用系FDBのプライマリポート(フォワーディング状態)である場合(ステップS1003:プライマリポート)、CPU(リング制御プログラム211のFDB制御プログラム213)220は、MACアドレス追加414の制御フレーム401を廃棄する(ステップS1004)。 If the type of the port that received the control frame 401 of the standby system MAC address addition 414 is the primary port (forwarding state) of the active system FDB (step S1003: primary port), the CPU (FDB control program 213 of the ring control program 211) 220 discards the MAC address addition 414 control frame 401 (step S1004).

セカンダリポート(ブロッキング状態)である場合(ステップS1003:セカンダリポート)、CPU(リング制御プログラム211のFDB制御プログラム213)220は、待機系MACアドレス追加414の制御フレーム401のデータ領域410に含まれるAMACアドレスを待機系FDBに登録する(ステップS1005)。 If it is the secondary port (blocking state) (step S1003: secondary port), the CPU (FDB control program 213 of the ring control program 211) 220 adds the AMAC contained in the data area 410 of the control frame 401 of the standby MAC address addition 414. The address is registered in the standby FDB (step S1005).

CPU(リング制御プログラム211のFDB制御プログラム213)220は、その通信装置200の役割を確認(ステップS1002)した結果、その通信装置200がトランジット装置Mb,Mcである場合(ステップS1002:トランジット)、CPU(リング制御プログラム211のFDB制御プログラム213)220は、待機系MACアドレス追加414の制御フレーム401のデータ領域410に含まれるMACアドレスを待機系FDBに登録する(ステップS1006)。 CPU (FDB control program 213 of ring control program 211) 220 confirms the role of communication device 200 (step S1002). The CPU (FDB control program 213 of the ring control program 211) 220 registers the MAC address included in the data area 410 of the control frame 401 of the standby system MAC address addition 414 in the standby system FDB (step S1006).

つぎに、CPU(リング制御プログラム211のFDB制御プログラム213)220は、待機系MACアドレス追加414の制御フレーム401を受信したポートではないリングポートから、待機系MACアドレス追加414の制御フレーム401を送信する(ステップS1007)。 Next, the CPU (FDB control program 213 of the ring control program 211) 220 transmits the control frame 401 of the standby system MAC address addition 414 from the ring port that is not the port that received the control frame 401 of the standby system MAC address addition 414. (step S1007).

(1-5-4)待機系MACアドレス削除415の制御フレーム401の受信
図11は、待機系MACアドレス削除415の制御フレーム401の受信時の通信装置200内のシーケンス図である。図11は、図5のS505からS506、S508からS509、および、図6のS606からS607、S609からS610における処理の詳細を示す。
(1-5-4) Receipt of Control Frame 401 for Standby System MAC Address Deletion 415 FIG. FIG. 11 shows the details of the processing from S505 to S506 and from S508 to S509 in FIG. 5 and from S606 to S607 and from S609 to S610 in FIG.

待機系MACアドレス削除415の制御フレーム401を受信すると、転送エンジン241は、CPU(リング制御プログラム211)220に待機系MACアドレス削除415の制御フレーム401を転送する(ステップS1101)。CPU(リング制御プログラム211のFDB制御プログラム213)220は、その通信装置200の役割を確認する(ステップS1102)。その通信装置200がマスタ装置Maである場合(ステップS1102:マスタ)、CPU(リング制御プログラム211のFDB制御プログラム213)220は、待機系MACアドレス削除415の制御フレーム401を受信したポートの種別を確認する(ステップS1103)。 Upon receiving the control frame 401 for the standby system MAC address deletion 415, the transfer engine 241 transfers the control frame 401 for the standby system MAC address deletion 415 to the CPU (ring control program 211) 220 (step S1101). The CPU (FDB control program 213 of the ring control program 211) 220 confirms the role of the communication device 200 (step S1102). If the communication device 200 is the master device Ma (step S1102: master), the CPU (FDB control program 213 of the ring control program 211) 220 determines the type of the port that received the control frame 401 of the standby MAC address deletion 415. Confirm (step S1103).

待機系MACアドレス削除415の制御フレーム401を受信したポートの種別が運用系FDBのプライマリポート(フォワーディング状態)である場合(ステップS1103:プライマリポート)、CPU(リング制御プログラム211)220は、待機系MACアドレス削除415の制御フレーム401を廃棄する(ステップS1104)。セカンダリポート(ブロッキング状態)である場合(ステップS1103:セカンダリポート)、CPU(FDB制御プログラム)220は、待機系FDBから待機系MACアドレス削除415のデータ領域401に存在するMACアドレスおよびそのポート番号を削除する(ステップS1105)。 If the type of the port that received the control frame 401 of the standby system MAC address deletion 415 is the primary port (forwarding state) of the active FDB (step S1103: primary port), the CPU (ring control program 211) 220 executes the standby system The control frame 401 for MAC address deletion 415 is discarded (step S1104). If it is the secondary port (blocking state) (step S1103: secondary port), the CPU (FDB control program) 220 deletes the MAC address and its port number existing in the data area 401 of the standby system MAC address deletion 415 from the standby system FDB. Delete (step S1105).

その通信装置200の役割を確認(ステップS1102)した結果、トランジット装置である場合(ステップS1102:トランジット)、CPU(FDB制御プログラム)220は、待機系FDBから待機系MACアドレス削除415のデータ領域401に存在するMACアドレスを削除する(ステップS1106)。つぎに、CPU(FDB制御プログラム)220は、待機系MACアドレス削除415の制御フレーム401を受信したポートではないリングポートから、待機系MACアドレス削除415の制御フレーム401を送信する(ステップS1107)。 As a result of confirming the role of the communication device 200 (step S1102), if it is a transit device (step S1102: transit), the CPU (FDB control program) 220 deletes the data area 401 of the standby system MAC address deletion 415 from the standby system FDB. delete the MAC address existing in (step S1106). Next, the CPU (FDB control program) 220 transmits the control frame 401 for the standby MAC address deletion 415 from the ring port that is not the port that received the control frame 401 for the standby MAC address deletion 415 (step S1107).

(1-5-5)マスタ装置Maにおける通信経路切り替え処理
図12は、実施例1にかかる通信経路切替時におけるマスタ装置Ma内のシーケンス図である。図12は、図7のS701からS702における処理の詳細を示す。まず、CPU(リング制御プログラム211のリング負荷制御プログラム212)220は、プライマリポート(フォワーディング状態)の切り替えタイミングを決める(ステップS1201)。CPU(FDB制御プログラム213)220は、VLANタグ変換を設定し、運用系FDBを切り替える(ステップS1202)。運用系FDBの切り替え処理の詳細は(1-5-8)で説明する。その後、CPU(FDB制御プログラム213)220は、切替指示416の制御フレーム401を送信する(ステップS1203)。
(1-5-5) Communication Path Switching Process in Master Device Ma FIG. 12 is a sequence diagram in the master device Ma at the time of communication path switching according to the first embodiment. FIG. 12 shows the details of the processing from S701 to S702 in FIG. First, the CPU (the ring load control program 212 of the ring control program 211) 220 determines the switching timing of the primary port (forwarding state) (step S1201). The CPU (FDB control program 213) 220 sets VLAN tag conversion and switches the active FDB (step S1202). Details of the switching process of the active FDB will be described in (1-5-8). After that, the CPU (FDB control program 213) 220 transmits the control frame 401 of the switching instruction 416 (step S1203).

(1-5-6)切替指示416の制御フレーム401の受信
図13は、実施例1にかかる切替指示416の制御フレーム401受信時の通信装置200内のシーケンス図である。図13は、図6のS704からS705、S707からS708、S710における処理の詳細を示す。切替指示416の制御フレーム401を受信すると、転送エンジン241は、CPU(リング制御プログラム211)220に切替指示416の制御フレーム401を転送する(ステップS1301)。
(1-5-6) Reception of Control Frame 401 of Switching Instruction 416 FIG. 13 is a sequence diagram in the communication apparatus 200 when receiving the control frame 401 of the switching instruction 416 according to the first embodiment. FIG. 13 shows the details of the processing in steps S704 to S705, S707 to S708, and S710 in FIG. Upon receiving the control frame 401 of the switching instruction 416, the transfer engine 241 transfers the control frame 401 of the switching instruction 416 to the CPU (ring control program 211) 220 (step S1301).

CPU(リング制御プログラム211のFDB制御プログラム213)220は、その通信装置200の役割を確認する(ステップS1302)。その通信装置200がマスタ装置Maである場合(ステップS1302:マスタ)、CPU(リング制御プログラム211のFDB制御プログラム213)220は、切替指示416の制御フレーム401を廃棄する(ステップS1303)。 The CPU (FDB control program 213 of the ring control program 211) 220 confirms the role of the communication device 200 (step S1302). If the communication device 200 is the master device Ma (step S1302: master), the CPU (FDB control program 213 of the ring control program 211) 220 discards the control frame 401 of the switching instruction 416 (step S1303).

その通信装置200がトランジット装置Mb,Mcである場合(ステップS1302:トランジット)、CPU(リング制御プログラム211のFDB制御プログラム213)220は、切替先のFDBを確認する(ステップS1304)。切替先のFDBが待機系の場合(ステップS1304:待機系)、CPU(FDB制御プログラム213)220は、VLANタグ変換を設定し、運用系FDBを切替指示416の制御フレーム401で指示されたVLAN IDのVLANに切り替える(ステップS1305)。 If the communication device 200 is a transit device Mb, Mc (step S1302: transit), the CPU (FDB control program 213 of the ring control program 211) 220 confirms the FDB of the switching destination (step S1304). When the switching destination FDB is the standby system (step S1304: standby system), the CPU (FDB control program 213) 220 sets VLAN tag conversion, and switches the active FDB to the VLAN instructed by the control frame 401 of the switching instruction 416. Switch to the ID VLAN (step S1305).

運用系FDBの切替処理の詳細は(1-5-8)で説明する。その後、CPU(FDB制御プログラム213)220は、切替指示416の制御フレーム401を受信したポートではないリングポートから切替指示416の制御フレーム401を送信する(ステップS1306)。切替先のFDBが運用系の場合(ステップS1304:運用系)、CPU(FDB制御プログラム213)220は、切替指示416の制御フレーム401を受信したポートではないリングポートから、切替指示416の制御フレーム401を送信する(ステップS1307)。 Details of the switching process of the active FDB will be described in (1-5-8). After that, the CPU (FDB control program 213) 220 transmits the control frame 401 of the switching instruction 416 from the ring port that is not the port that received the control frame 401 of the switching instruction 416 (step S1306). If the FDB to be switched to is the active system (step S1304: active system), the CPU (FDB control program 213) 220 receives the control frame of the switching instruction 416 from the ring port that is not the port that received the control frame 401 of the switching instruction 416. 401 is transmitted (step S1307).

(1-5-7)ユーザフレームの転送
実施例1の通信装置200は、2つのデータVLANでFDBを二重化するため、リング外ポート263~265とリングポート261,262のVLAN IDが不一致となる場合がある。そのため、ユーザフレームを転送するいくつかのパターンでVLANタグの変換が必要になる。ユーザフレーム転送パターンは、下記の8つとなる。
(1-5-7) User Frame Transfer Since the communication apparatus 200 of the first embodiment duplicates the FDB with two data VLANs, the VLAN IDs of the external ring ports 263 to 265 and the ring ports 261 and 262 do not match. Sometimes. Therefore, some patterns for transferring user frames require VLAN tag conversion. There are eight user frame transfer patterns as follows.

1.リング外ポート263~265とリングポート261,262でVLAN IDが異なる場合に、通信装置200は、リング外ポート263~265からリングポート261,262にユーザフレームを転送する。 1. When the extra-ring ports 263 to 265 and the ring ports 261 and 262 have different VLAN IDs, the communication device 200 transfers user frames from the extra-ring ports 263 to 265 to the ring ports 261 and 262 .

2.リング外ポート263~265とリングポート261,262でVLAN IDが異なる場合に、通信装置200は、リングポート261,262からリング外ポート263~265にユーザフレームを転送する。 2. When the VLAN IDs of the extra-ring ports 263-265 and the ring ports 261, 262 are different, the communication device 200 transfers user frames from the ring ports 261, 262 to the extra-ring ports 263-265.

3.リング外ポート263~265とリングポート261,262でVLAN IDが異なる場合に、通信装置200は、リング外ポート263~265からリング外ポート263~265にユーザフレームを転送する。 3. When the VLAN IDs of the extra-ring ports 263-265 and the ring ports 261 and 262 are different, the communication device 200 transfers user frames from the extra-ring ports 263-265 to the extra-ring ports 263-265.

4.リング外ポート263~265とリングポート261,262でVLAN IDが異なる場合に、通信装置200は、リングポート261,262からリングポート261,262にユーザフレームを転送する。 4. When the extra-ring ports 263 to 265 and the ring ports 261 and 262 have different VLAN IDs, the communication device 200 transfers user frames from the ring ports 261 and 262 to the ring ports 261 and 262 .

5.リング外ポート263~265とリングポート261,262でVLAN IDが同じ場合に、通信装置200は、リング外ポート263~265からリングポート261,262にユーザフレームを転送する。 5. When the VLAN IDs of the extra-ring ports 263 to 265 and the ring ports 261 and 262 are the same, the communication device 200 transfers user frames from the extra-ring ports 263 to 265 to the ring ports 261 and 262 .

6.リング外ポート263~265とリングポート261,262でVLAN IDが同じ場合に、通信装置200は、リングポート261,262からリング外ポート263~265にユーザフレームを転送する。 6. When the extra-ring ports 263-265 and the ring ports 261, 262 have the same VLAN ID, the communication device 200 transfers the user frame from the ring ports 261, 262 to the extra-ring ports 263-265.

7.リング外ポート263~265とリングポート261,262でVLAN IDが同じ場合に、通信装置200は、リング外ポート263~265からリング外ポート263~265にユーザフレームを転送する。 7. When the VLAN IDs of the extra-ring ports 263-265 and the ring ports 261 and 262 are the same, the communication device 200 transfers user frames from the extra-ring ports 263-265 to the extra-ring ports 263-265.

8.リング外ポート263~265とリングポート261,262でVLAN IDが同じ場合に、通信装置200は、リングポート261,262からリングポート261,262にユーザフレームを転送する。 8. When the extra-ring ports 263 to 265 and the ring ports 261 and 262 have the same VLAN ID, the communication device 200 transfers the user frame from the ring ports 261 and 262 to the ring ports 261 and 262 .

ユーザフレーム転送パターン1~8のうち、ユーザフレーム転送パターン4~8についてはフレーム転送時のVLANタグ変換は不要であり、一般的なフレーム転送と変わらないため、説明を省く。ユーザフレーム転送パターン1~3の通信装置200内シーケンスについて、図14~図16で述べる。 Of the user frame transfer patterns 1 to 8, the user frame transfer patterns 4 to 8 do not require VLAN tag conversion during frame transfer, and are the same as general frame transfer, so the description is omitted. Sequences in the communication apparatus 200 for user frame transfer patterns 1 to 3 will be described with reference to FIGS. 14 to 16. FIG.

図14は、ユーザフレーム転送パターン1における通信装置200内のシーケンス図である。ここでは、データVLAN1に属するリング外ポート263~265から、データVLAN2に属するリングポート261,262にユーザフレームを転送する場合について説明する。 FIG. 14 is a sequence diagram in communication apparatus 200 in user frame transfer pattern 1. As shown in FIG. Here, a case will be described where user frames are transferred from the external ring ports 263 to 265 belonging to data VLAN1 to the ring ports 261 and 262 belonging to data VLAN2.

転送エンジン241は、リング外ポート263~265で受信したユーザフレームのVLANタグ405を、データVLAN1からデータVLAN2に変換する(ステップS1401)。転送エンジン241は、変換後のデータVLAN2のFDB232を参照し、ユーザフレームの宛先のMACアドレスとそのリングポート261,262のポート番号を特定する(ステップS1402)。これにより、転送エンジン241は、データVLAN1に属するリング外ポート263~265で受信したユーザフレームをデータVLAN2に属するリングポート261,262に転送する。 The transfer engine 241 converts the VLAN tag 405 of the user frame received at the extra-ring ports 263 to 265 from data VLAN1 to data VLAN2 (step S1401). The transfer engine 241 refers to the FDB 232 of the data VLAN2 after conversion, and identifies the destination MAC address of the user frame and the port numbers of the ring ports 261 and 262 (step S1402). As a result, the transfer engine 241 transfers the user frames received by the extra-ring ports 263 to 265 belonging to the data VLAN1 to the ring ports 261 and 262 belonging to the data VLAN2.

図15は、ユーザフレーム転送パターン2における通信装置200内のシーケンス図である。ここでは、データVLAN2に属するリングポート261,262からデータVLAN1に属するリング外ポート263~265に、ユーザフレームを転送する場合について説明する。 FIG. 15 is a sequence diagram in communication apparatus 200 in user frame transfer pattern 2. As shown in FIG. Here, a case will be described where user frames are transferred from the ring ports 261 and 262 belonging to the data VLAN2 to the extra-ring ports 263 to 265 belonging to the data VLAN1.

転送エンジン241は、リングポート261,262で受信したユーザフレームを、変換前のデータVLAN2のFDB232を参照し、ユーザフレームの宛先のMACアドレスとそのリング外ポート263~265のポート番号を特定する(ステップS1501)。転送エンジン241は、VLANタグ405をデータVLAN2からデータVLAN1に変換して、VLANタグ405の変換後のユーザフレームを、リング外ポート263~265へ転送する(ステップS1502)。 The transfer engine 241 refers to the FDB 232 of the data VLAN 2 before conversion for the user frames received at the ring ports 261 and 262, and identifies the MAC address of the destination of the user frame and the port numbers of the external ring ports 263 to 265 ( step S1501). Transfer engine 241 converts VLAN tag 405 from data VLAN2 to data VLAN1, and transfers the user frame after conversion of VLAN tag 405 to extra-ring ports 263 to 265 (step S1502).

図16は、ユーザフレーム転送パターン3における通信装置200内のシーケンス図である。ここでは、データVLAN1に属するリング外ポート263~265から、データVLAN1に属する他のリング外ポート263~265にユーザフレームを転送する場合について説明する。 FIG. 16 is a sequence diagram in communication apparatus 200 in user frame transfer pattern 3. As shown in FIG. Here, a case will be described in which user frames are transferred from the extra-ring ports 263 to 265 belonging to the data VLAN1 to other extra-ring ports 263 to 265 belonging to the data VLAN1.

転送エンジン241は、リング外ポート263~265で受信したユーザフレームのVLANタグ405を、データVLAN1からデータVLAN2に変換する(ステップS1601)。転送エンジン241は、ステップS1601の変換後のデータVLAN2のFDB232を参照し、ユーザフレームの宛先のMACアドレスとそのリング外ポート263~265のポート番号を特定する(ステップS1602)。再度、転送エンジン241は、VLANタグ405をデータVLAN2からデータVLAN1に変換し、ステップS1602で特定したリング外ポート263~265にユーザフレームを転送する(ステップS1603)。 The transfer engine 241 converts the VLAN tag 405 of the user frame received at the extra-ring ports 263 to 265 from data VLAN1 to data VLAN2 (step S1601). The transfer engine 241 refers to the FDB 232 of the data VLAN2 after conversion in step S1601, and identifies the MAC address of the destination of the user frame and the port numbers of the external ring ports 263 to 265 (step S1602). The transfer engine 241 again converts the VLAN tag 405 from the data VLAN2 to the data VLAN1, and transfers the user frame to the extra-ring ports 263 to 265 identified in step S1602 (step S1603).

(1-5-8)運用系FDBの切り替え
図17は、運用系FDBの切り替え処理の装置内シーケンスである。運用系FDBの切り替え処理とは、図7のS701、S704、S707、および、後述する図18のS1811における処理である。
(1-5-8) Switching of Active FDB FIG. 17 is an internal sequence of switching processing of the active FDB. The active FDB switching process is the process in S701, S704, and S707 in FIG. 7 and S1811 in FIG. 18 to be described later.

運用系FDBを切り替える際、CPU(リング制御プログラム211のFDB制御プログラム213)220は、転送エンジン241に対して切り替え後の運用系FDBのMACアドレス学習とMACアドレス保持時間の監視を有効に設定する(ステップS1701)。つぎに、CPU(リング制御プログラム211のFDB制御プログラム213)220は、転送エンジン241に対して切り替え後の待機系FDBのMACアドレス学習とMACアドレス保持時間の監視を無効に設定する(ステップS1702)。 When switching the active FDB, the CPU (FDB control program 213 of the ring control program 211) 220 enables the transfer engine 241 to learn the MAC address of the active FDB after switching and monitor the MAC address holding time. (Step S1701). Next, the CPU (FDB control program 213 of the ring control program 211) 220 disables the MAC address learning and MAC address holding time monitoring of the standby FDB after switching to the transfer engine 241 (step S1702). .

その後、CPU(リング制御プログラム211のFDB制御プログラム213)220は、切り替え後の運用系FDBのVLAN IDを確認する(ステップS1703)。切り替え後の運用系FDBのVLAN IDがリング外ポート263~265のVLAN IDと一致する場合(ステップS1703:一致)、CPU(リング制御プログラム211のFDB制御プログラム213)220は、転送エンジン241のVLANタグ変換機能242に対し、リング外ポート263~265の受信および送信のVLANタグ変換を無効に設定する(ステップS1704)。 After that, the CPU (FDB control program 213 of the ring control program 211) 220 confirms the VLAN ID of the active FDB after switching (step S1703). If the VLAN ID of the active FDB after switching matches the VLAN IDs of the external ring ports 263 to 265 (step S1703: match), the CPU (FDB control program 213 of the ring control program 211) 220 sets the VLAN of the transfer engine 241. For the tag conversion function 242, the VLAN tag conversion for reception and transmission of the external ring ports 263 to 265 is disabled (step S1704).

切り替え後の運用系FDBのVLAN IDがリング外ポート263~265のVLAN IDと不一致となる場合(ステップS1703:不一致)、CPU(リング制御プログラム211のFDB制御プログラム213)220は、転送エンジン241のVLANタグ変換機能242に対し、リング外ポート263~265の受信時のVLANタグ変換先のVLAN IDを切り替え後の運用系FDBのVLAN IDに設定する(ステップS1705)。 If the VLAN ID of the active FDB after switching does not match the VLAN IDs of the external ring ports 263 to 265 (step S1703: mismatch), the CPU (FDB control program 213 of the ring control program 211) 220 changes the transfer engine 241 For the VLAN tag conversion function 242, the VLAN ID of the VLAN tag conversion destination at the time of reception of the external ring ports 263 to 265 is set to the VLAN ID of the active FDB after switching (step S1705).

つぎに、CPU(リング制御プログラム211のFDB制御プログラム213)220は、転送エンジン241のVLANタグ変換機能242に対し、リング外ポート263~265の送信のVLANタグ変換先のVLAN IDをリング外ポート263~265のVLAN IDに設定する(ステップS1706)。この処理を行った後、切り替え後の待機系FDBは、運用系であった時のFDBを保持したまま動作を継続する。 Next, the CPU (FDB control program 213 of the ring control program 211) 220 sends the VLAN ID of the VLAN tag conversion destination of the transmission of the external ring ports 263 to 265 to the VLAN tag conversion function 242 of the transfer engine 241 as the external ring port. 263 to 265 are set (step S1706). After performing this processing, the standby FDB after switching continues operation while retaining the FDB when it was the active system.

[1] このように、実施例1にかかる通信装置200は、記憶部(CAM230)と、制御部(リング制御プログラム211)とを有する。記憶部(CAM230)は、リングネットワーク内でユーザフレームが送受信される第1仮想ネットワーク(データVLAN1)についてMACアドレスおよびポート番号の組み合わせを登録可能な第1転送先情報(FDB231)と、リングネットワーク内でユーザフレームが送受信される第2仮想ネットワーク(データVLAN2)についてMACアドレスおよびポート番号の組み合わせを登録可能な第2転送先情報(FDB232)と、を有する。制御部(リング制御プログラム211)は、運用系の仮想ネットワークを第1仮想ネットワーク(データVLAN1)から第2仮想ネットワーク(データVLAN2)に切り替える場合に、運用系の仮想ネットワークに適用される転送先情報を、第1転送先情報(FDB231)から前記第2転送先情報(FDB232)に切り替える。 [1] As described above, the communication device 200 according to the first embodiment includes a storage unit (CAM 230) and a control unit (ring control program 211). The storage unit (CAM 230) stores first transfer destination information (FDB 231) capable of registering a combination of MAC address and port number for the first virtual network (data VLAN 1) through which user frames are transmitted and received within the ring network, and second transfer destination information (FDB 232) capable of registering a combination of a MAC address and a port number for a second virtual network (data VLAN 2) through which user frames are transmitted and received. When the control unit (ring control program 211) switches the active virtual network from the first virtual network (data VLAN1) to the second virtual network (data VLAN2), the transfer destination information applied to the active virtual network. is switched from the first transfer destination information (FDB 231) to the second transfer destination information (FDB 232).

これにより、第2転送先情報(FDB232)は切替前に構築済みであるから、ブロッキングポート変更の際に、通信経路(運用系の仮想ネットワーク)切替時のフラッディングを発生させないようにして、トラフィック量を抑制することができる。 As a result, since the second forwarding destination information (FDB 232) has already been constructed before switching, when changing the blocking port, flooding is not generated when switching the communication path (active virtual network), and the traffic volume is reduced. can be suppressed.

[2] 上記[1]の通信装置200において、制御部(リング制御プログラム211)は、自装置200が通信装置群を管理するマスタ装置Maである場合、リングネットワーク内でリングネットワークを制御する制御フレーム401が送受信される第3仮想ネットワーク(制御VLAN3)を用いて、転送先情報の切替指示(切替先の仮想ネットワークの識別情報(たとえば、VLAN ID))を含む制御フレーム703を転送先の他の通信装置(トランジット装置Mb)に送信する。 [2] In the communication device 200 of [1] above, the control unit (ring control program 211) controls the ring network within the ring network when the own device 200 is the master device Ma that manages the communication device group. Using the third virtual network (control VLAN 3) in which the frame 401 is transmitted/received, the control frame 703 including the transfer destination information switching instruction (identification information (for example, VLAN ID) of the switching destination virtual network) is transmitted to the other of the transfer destination. to the communication device (transit device Mb).

これにより、トランジット装置Mbは、運用系の仮想ネットワークに適用される転送先情報を、第1転送先情報(FDB231)から前記第2転送先情報(FDB232)に切り替えることができる。 Thereby, the transit device Mb can switch the transfer destination information applied to the active virtual network from the first transfer destination information (FDB231) to the second transfer destination information (FDB232).

[3] 上記[2]の通信装置200において、制御部(リング制御プログラム211)は、運用系の仮想ネットワークにおけるプライマリポートで切替指示を含む制御フレーム709を受信した場合に、切替指示を含む制御フレーム709を廃棄する。 [3] In the communication device 200 of [2] above, when the control unit (ring control program 211) receives the control frame 709 including the switching instruction at the primary port in the active virtual network, the control including the switching instruction is performed. Discard frame 709 .

これにより、切替指示を含む制御フレーム709の無限循環を防止することができる。 This can prevent endless circulation of the control frame 709 containing the switching instruction.

[4] 上記[1]の通信装置200において、制御部(リング制御プログラム211)は、リングネットワーク内でリングネットワークを制御する制御フレーム401が送受信される第3仮想ネットワーク(制御VLAN3)を用いて、通信装置群を管理するマスタ装置Maが生成した転送先情報の切替指示を含む制御フレーム(703、706)を受信した場合、運用系の仮想ネットワークに適用される転送先情報を、第1転送先情報(FDB231)から第2転送先情報(FDB232)に切り替えるとともに、前記切替指示を含む制御フレーム(703、706)を、転送先の他の通信装置(Mb,Ma)に送信する。 [4] In the communication device 200 of [1] above, the control unit (ring control program 211) uses the third virtual network (control VLAN 3) in which the control frame 401 for controlling the ring network is transmitted and received within the ring network. , when a control frame (703, 706) containing a switching instruction of transfer destination information generated by the master device Ma managing the communication device group is received, the transfer destination information applied to the active virtual network is transferred to the first transfer While switching from the destination information (FDB 231) to the second transfer destination information (FDB 232), the control frames (703, 706) including the switching instruction are transmitted to the other communication devices (Mb, Ma) of the transfer destination.

これにより、リングネットワーク内の各トランジット装置でFDBの切替を実現することができる。 As a result, FDB switching can be realized in each transit device in the ring network.

[5] 上記[1]の通信装置200は、リング外ポート263~265から、送信元MACアドレスを含むフレームを受信すると、送信元MACアドレスとポート263~265のポート番号との組み合わせを第1転送先情報(FDB231)に登録する学習部(転送エンジン241)を有する。制御部(リング制御プログラム211)は、学習部(転送エンジン241)による学習結果を第2転送先情報(FDB232)に登録するとともに、リングネットワーク内でリングネットワークを制御する制御フレーム401が送受信される第3仮想ネットワーク(制御VLAN3)を用いて、第2転送先情報(FDB232)への学習結果の追加指示を含む制御フレーム(504,507,510)を、転送先の他の通信装置に送信する。 [5] When the communication device 200 of [1] above receives a frame including a source MAC address from the external ring ports 263 to 265, the combination of the source MAC address and the port numbers of the ports 263 to 265 is It has a learning unit (transfer engine 241) registered in the transfer destination information (FDB 231). The control unit (ring control program 211) registers the result of learning by the learning unit (transfer engine 241) in the second transfer destination information (FDB 232), and a control frame 401 for controlling the ring network is transmitted/received within the ring network. Using the third virtual network (control VLAN 3), a control frame (504, 507, 510) including an instruction to add the learning result to the second transfer destination information (FDB 232) is transmitted to another communication device of the transfer destination. .

これにより、通信経路の切替前に、自装置の第1転送先情報(FDB231)のMACアドレスの学習結果を、自装置および他装置の第2転送先情報(FDB232)に反映することができる。 As a result, the learning result of the MAC address of the first transfer destination information (FDB 231) of the own device can be reflected in the second transfer destination information (FDB 232) of the own device and other devices before switching the communication path.

[6] 上記[5]の通信装置200において、制御部(リング制御プログラム211)は、自装置200が通信装置群を管理するマスタ装置Maである場合、追加指示を含む制御フレーム401を、運用系の仮想ネットワークのセカンダリポートから他の通信装置に送信する。 [6] In the communication device 200 of [5] above, the control unit (ring control program 211) operates the control frame 401 including the additional instruction when the own device 200 is the master device Ma that manages the communication device group. Send to other communication devices from the secondary port of the virtual network of the system.

これにより、通信経路切替後に通信可能になるポートを使用してフレーム転送できるFDBを構築することができる。 As a result, it is possible to construct an FDB capable of frame transfer using a port that becomes communicable after communication path switching.

[7] 上記[5]の通信装置200において、制御部(リング制御プログラム211)は、自装置200が通信装置群内のマスタ装置Maに管理されるトランジット装置Mb,Mcである場合、追加指示を含む制御フレームを受信すると、学習結果を第2転送先情報(FDB232)に登録する。 [7] In the communication device 200 of [5] above, if the own device 200 is the transit device Mb or Mc managed by the master device Ma in the communication device group, the control unit (ring control program 211) gives an additional instruction When a control frame including is received, the learning result is registered in the second transfer destination information (FDB 232).

これにより、他の通信装置からの制御フレームを受信した場合でも、第2転送先情報(FDB232)を学習することができる。 Thereby, even when a control frame is received from another communication device, the second forwarding destination information (FDB 232) can be learned.

[8] 上記[7]の通信装置200において、制御部(リング制御プログラム211)は、追加指示を含む制御フレームを、リングネットワーク内の全ポートから送信する。 [8] In the communication device 200 of [7] above, the control unit (ring control program 211) transmits a control frame including an addition instruction from all ports in the ring network.

これにより、制御フレームを用いて学習対象のMACアドレスを配布することができる。 As a result, the learning target MAC address can be distributed using the control frame.

[9] 上記[6]の通信装置200において、制御部(リング制御プログラム211)は、運用系の仮想ネットワークにおけるプライマリポートで追加指示を含む制御フレーム608を受信した場合に、追加指示を含む制御フレーム608を廃棄する。 [9] In the communication device 200 of [6] above, when the control unit (ring control program 211) receives the control frame 608 including the addition instruction at the primary port in the active virtual network, the control including the addition instruction Discard frame 608 .

これにより、追加指示を含む制御フレーム608の無限循環を防止することができる。 This makes it possible to prevent endless circulation of control frames 608 containing additional instructions.

[10] 上記[6]の通信装置200において、制御部(リング制御プログラム211)は、運用系の仮想ネットワークにおけるセカンダリポートで追加指示を含む制御フレーム608を受信した場合に、第2転送先情報(FDB232)に学習結果を登録する。 [10] In the communication device 200 of [6] above, when the control unit (ring control program 211) receives the control frame 608 including the addition instruction at the secondary port in the active virtual network, the second transfer destination information Register the learning result in (FDB 232).

これにより、追加指示を含む制御フレーム608が廃棄されずに、第2転送先情報(FDB232)を学習することができる。 As a result, the second forwarding destination information (FDB 232) can be learned without discarding the control frame 608 including the addition instruction.

[11] 上記[1]の通信装置200は、MACアドレスの削除指示を受けると、削除指示のMACアドレスと当該MACアドレスに対応するポートのポート番号との組み合わせを第1転送先情報(FDB231)から削除する学習部(転送エンジン241)を有する。制御部(リング制御プログラム211)は、学習部(転送エンジン241)によって削除された組み合わせを第2転送先情報(FDB232)から削除するとともに、リングネットワーク内でリングネットワークを制御する制御フレーム401が送受信される第3仮想ネットワーク(制御VLAN3)を用いて、第2転送先情報(FDB232)からの削除された組み合わせの削除指示を含む制御フレーム(504,507,510,604,605,608)を、転送先の他の通信装置に送信する。 [11] When the communication device 200 of [1] above receives a MAC address deletion instruction, the combination of the deletion instruction MAC address and the port number of the port corresponding to the MAC address is stored in the first transfer destination information (FDB 231). It has a learning unit (transfer engine 241) that deletes from. The control unit (ring control program 211) deletes the combination deleted by the learning unit (transfer engine 241) from the second transfer destination information (FDB 232), and transmits and receives a control frame 401 for controlling the ring network within the ring network. Control frames (504, 507, 510, 604, 605, 608) containing deletion instructions for the deleted combination from the second transfer destination information (FDB 232) using the third virtual network (control VLAN 3), Send to other communication device of transfer destination.

これにより、通信経路の切替前に、自装置の第1転送先情報(FDB231)のMACアドレスのクリア結果を、自装置および他装置の第2転送先情報(FDB232)に反映することができる。 As a result, the result of clearing the MAC address of the first transfer destination information (FDB 231) of the own device can be reflected in the second transfer destination information (FDB 232) of the own device and other devices before switching the communication path.

[12] 上記[11]の通信装置200において、制御部(リング制御プログラム211)は、自装置が通信装置群を管理するマスタ装置Maである場合、削除指示を含む制御フレーム401を、運用系の仮想ネットワークのセカンダリポートから他の通信装置に送信する。 [12] In the communication device 200 of [11] above, the control unit (ring control program 211) sends the control frame 401 including the deletion instruction to the active system when the own device is the master device Ma that manages the communication device group. to the other communication device from the secondary port of the virtual network of

これにより、通信経路切替後に通信可能になるポートを使用してフレーム転送できるFDBを構築することができる。 As a result, it is possible to construct an FDB capable of frame transfer using a port that becomes communicable after communication path switching.

[13] 上記[11]の通信装置200において、制御部(リング制御プログラム211)は、自装置が通信装置群内のマスタ装置Maに管理されるトランジット装置Mb,Mcである場合、削除指示を含む制御フレーム401を受信すると、削除された組み合わせを第2転送先情報(FDB232)から削除する。 [13] In the communication device 200 of [11] above, the control unit (ring control program 211) issues a deletion instruction when the own device is the transit device Mb or Mc managed by the master device Ma in the communication device group. When receiving the control frame 401 including, the deleted combination is deleted from the second forwarding destination information (FDB 232).

これにより、他の通信装置からの制御フレームを受信した場合でも、第2転送先情報(FDB232)を学習することができる。 Thereby, even when a control frame is received from another communication device, the second forwarding destination information (FDB 232) can be learned.

[14] 上記[13]の通信装置200において、制御部(リング制御プログラム211)は、削除指示を含む制御フレームを、リングネットワーク内の全ポートから送信する。 [14] In the communication device 200 of [13] above, the control unit (ring control program 211) transmits a control frame including a deletion instruction from all ports in the ring network.

これにより、制御フレームを用いて学習対象のMACアドレスを配布することができる。 As a result, the learning target MAC address can be distributed using the control frame.

[15] 上記[12]の通信装置200において、制御部(リング制御プログラム211)は、運用系の仮想ネットワークにおけるプライマリポートで削除指示を含む制御フレーム510を受信した場合に、削除指示を含む制御フレーム510を廃棄する。 [15] In the communication device 200 of [12] above, when the control unit (ring control program 211) receives the control frame 510 including the deletion instruction at the primary port in the active virtual network, the control including the deletion instruction is performed. Discard frame 510 .

これにより、削除指示を含む制御フレーム608の無限循環を防止することができる。 This makes it possible to prevent endless circulation of control frames 608 containing deletion instructions.

[16] 上記[12]の通信装置200において、制御部(リング制御プログラム211)は、運用系の仮想ネットワークにおけるセカンダリポートで削除指示を含む制御フレーム510を受信した場合に、学習部によって削除された組み合わせを第2転送先情報(FDB232)から削除する。 [16] In the communication device 200 of [12] above, when the control unit (ring control program 211) receives the control frame 510 including the deletion instruction at the secondary port in the active virtual network, the control frame 510 is deleted by the learning unit. delete the combination from the second forwarding destination information (FDB 232).

これにより、削除指示を含む制御フレーム608が廃棄されずに、第2転送先情報(FDB232)を学習することができる。 As a result, the second transfer destination information (FDB 232) can be learned without discarding the control frame 608 containing the deletion instruction.

実施例1では、切替指示416の制御フレーム401を受信した通信装置200から運用系FDBを切り替える。このため、マスタ装置Maが通信経路およびFDBを切り替えてからリングネットワークの全通信装置200のFDBの切り替えが終わるまでの間、フレームロスが発生する。実施例2は、このフレームロスを緩和する。 In the first embodiment, the active FDB is switched from the communication device 200 that receives the control frame 401 of the switching instruction 416 . For this reason, a frame loss occurs from the time the master device Ma switches the communication path and FDB until the end of the switching of the FDBs of all the communication devices 200 in the ring network. Example 2 mitigates this frame loss.

実施例1と実施例2の差分は、通信経路切替の方式である。実施例2では、通信装置200間で時刻が同期され、同一時刻に通信経路および運用系FDBが切り替えられる。実施例1との差分を中心に実施例2の詳細を述べ、実施例1と同一部分については同一符号を付してその説明を省略する。 The difference between the first embodiment and the second embodiment is the communication path switching method. In the second embodiment, the time is synchronized between the communication devices 200, and the communication path and active FDB are switched at the same time. The second embodiment will be described in detail, focusing on the differences from the first embodiment.

(2-1)リングに属する通信装置の構成
図18は、実施例2にかかる通信装置200のモジュール構成例を示すブロック図である。装置管理プログラム214は、時刻管理プログラム1801を持つ。時刻管理プログラム1801は通信装置200毎の時刻を管理し、NTP(Network Time Protocol)などで、通信装置200間の時刻を同期する。リング制御プログラム211は、時刻管理プログラム1801と連携する。時刻管理プログラム1801を除き、通信装置200のモジュール構成は実施例1と同一である。
(2-1) Configuration of Communication Apparatus Belonging to Ring FIG. 18 is a block diagram illustrating a module configuration example of the communication apparatus 200 according to the second embodiment. The device management program 214 has a time management program 1801 . The time management program 1801 manages the time for each communication device 200 and synchronizes the time between the communication devices 200 by NTP (Network Time Protocol) or the like. The ring control program 211 cooperates with the time management program 1801 . Except for the time management program 1801, the module configuration of the communication device 200 is the same as that of the first embodiment.

(2-2)制御フレームのフォーマット例
図19は、実施例2にかかる制御フレーム402のフォーマット例を示す説明図である。実施例2の制御フレーム402は、種別408の切替指示1901のデータ領域410にVLAN IDおよび切替時刻1902が格納される。この1点を除き、制御フレーム402は実施例1の制御フレーム401と同一である。
(2-2) Format Example of Control Frame FIG. 19 is an explanatory diagram of a format example of the control frame 402 according to the second embodiment. In the control frame 402 of the second embodiment, the VLAN ID and the switching time 1902 are stored in the data area 410 of the switching instruction 1901 of the type 408 . Except for this one point, the control frame 402 is the same as the control frame 401 of the first embodiment.

(2-3)全体の処理
待機系FDBの構築方法は実施例1の(1-4-1)、(1-4-2)で示した構築方法と同じである。実施例1と実施例2の差分は通信経路の切替処理にある。以下、経路切り替え時の、リングネットワーク全体の処理を示す通信装置200間シーケンスについて詳述する。
(2-3) Overall Processing The construction method of the standby FDB is the same as the construction method shown in (1-4-1) and (1-4-2) of the first embodiment. The difference between the first embodiment and the second embodiment lies in communication path switching processing. The sequence between the communication devices 200 showing the processing of the entire ring network at the time of path switching will be described in detail below.

(2-3-1)通信経路の切替
図20は、実施例2にかかる通信経路切り替え時のリングネットワーク全体の処理を示す通信装置200間シーケンス図である。一部の経路を流れるトラフィック量がポートの帯域に迫っており、なおかつトラフィックが流れる経路に偏りがある場合、マスタ装置Maはリングの構成変更によるトラフィックの平滑化のため、通信経路切り替えが必要と判断する。その場合、マスタ装置Maは、経路切り替えの時刻を登録し(ステップS2001)、種別408の切替指示416にデータ領域410として切替先のVLAN IDおよび切替時刻が格納された制御フレーム402(以下、制御フレーム2003)をリングポート261,262から送信する(ステップS2002)。
(2-3-1) Communication Path Switching FIG. 20 is a sequence diagram between the communication devices 200 showing the processing of the entire ring network at the time of communication path switching according to the second embodiment. If the amount of traffic flowing through some routes is approaching the bandwidth of the port and there is an imbalance in the routes through which the traffic flows, the master device Ma needs to switch communication routes in order to smooth the traffic by changing the ring configuration. to decide. In this case, the master device Ma registers the path switching time (step S2001), and the control frame 402 (hereinafter referred to as the control frame 2003) is transmitted from the ring ports 261 and 262 (step S2002).

制御フレーム2003を受信したトランジット装置Mbは、経路の切替時刻を登録し(ステップS2004)、その制御フレーム2003を受信したポートとは別のリングポート261,262から、制御フレーム2003(以下、制御フレーム2006)を送信する(ステップS2005)。 Transit device Mb that has received control frame 2003 registers the route switching time (step S2004), and transmits control frame 2003 (hereinafter referred to as control frame 2006) is transmitted (step S2005).

制御フレーム2006を受信したトランジット装置Mcは、経路の切替時刻を登録し(ステップS2007)、その制御フレーム2006を受信したポートとは別のリングポート261,262から、制御フレーム2006(以下、制御フレーム2009)を送信する(ステップS2008)。 The transit device Mc that received the control frame 2006 registers the route switching time (step S2007), and transmits the control frame 2006 (hereinafter referred to as the control frame 2009) is transmitted (step S2008).

最終的にマスタ装置Maへ制御フレーム2009が返ってくるが、マスタ装置Maは制御フレーム2009を廃棄する(ステップS2010)。このあと、切替時刻が到来すると、リングネットワークを構成する全通信装置Ma、Mb、Mcは、運用系FDBを制御フレーム402で指示されたVLANに切り替える(ステップS2011)。 Finally, the control frame 2009 is returned to the master device Ma, but the master device Ma discards the control frame 2009 (step S2010). After that, when the switching time arrives, all the communication devices Ma, Mb, and Mc forming the ring network switch the active FDB to the VLAN indicated by the control frame 402 (step S2011).

(2-4)通信装置200内の処理
通信装置200内のシーケンスを説明する。
(2-4) Processing in Communication Apparatus 200 A sequence in communication apparatus 200 will be described.

(2-4-1)マスタ装置Maにおける通信経路切り替え処理
図21は、実施例2にかかる通信経路切り替え時におけるマスタ装置Ma内のシーケンス図である。図21は、図20のS2001からS2002、S2011における処理の詳細を示す。まず、CPU(リング制御プログラム211のリング負荷制御プログラム212)220がプライマリポートの切り替えタイミングを決定する(ステップS2101)。
(2-4-1) Communication Path Switching Process in Master Device Ma FIG. 21 is a sequence diagram in the master device Ma at the time of communication path switching according to the second embodiment. FIG. 21 shows the details of the processing from S2001 to S2002 and S2011 in FIG. First, the CPU (ring load control program 212 of the ring control program 211) 220 determines the switching timing of the primary port (step S2101).

CPU(FDB制御プログラム213)220は、CPU(装置管理プログラム214の時刻管理プログラム1801)220に切替時刻を設定する(ステップS2102)。その後、CPU(FDB制御プログラム213)220は、切替指示1901の制御フレーム402を送信する(ステップS2103)。 The CPU (FDB control program 213) 220 sets the switching time in the CPU (time management program 1801 of the device management program 214) 220 (step S2102). After that, the CPU (FDB control program 213) 220 transmits the control frame 402 of the switching instruction 1901 (step S2103).

CPU(時刻管理プログラム1801)220は、CPU(FDB制御プログラム213)220に指定された時刻に通知する(ステップS2104)。通知を受けたCPU(時刻管理プログラム1801)220は、VLANタグ変換を設定し、運用系FDBを切り替える(ステップS2105)。運用系FDBの切替処理の詳細は、上記(1-5-8)で説明した通りである。 The CPU (time management program 1801) 220 notifies at the time specified by the CPU (FDB control program 213) 220 (step S2104). The CPU (time management program 1801) 220 that has received the notification sets VLAN tag conversion and switches the active FDB (step S2105). The details of the switching process of the active FDB are as described in (1-5-8) above.

(2-4-2)切替指示1901の制御フレーム402の受信
図22は、実施例2にかかる切替指示1901の制御フレーム402の受信時の通信装置200内シーケンスである。図22は、図20のS2004からS2005、S2007からS2008、S2010、S2011における処理の詳細を示す。切替指示1901の制御フレーム402を受信すると、転送エンジン241は、CPU(リング制御プログラム211)220に切替指示1901の制御フレーム402を転送する(ステップS2201)。
(2-4-2) Reception of Control Frame 402 of Switching Instruction 1901 FIG. 22 is a sequence within the communication apparatus 200 when receiving the control frame 402 of the switching instruction 1901 according to the second embodiment. FIG. 22 shows details of the processing in steps S2004 to S2005, S2007 to S2008, S2010, and S2011 of FIG. Upon receiving the control frame 402 of the switching instruction 1901, the transfer engine 241 transfers the control frame 402 of the switching instruction 1901 to the CPU (ring control program 211) 220 (step S2201).

CPU(リング制御プログラム211)220は、その通信装置200の役割を確認する(ステップS2202)。その通信装置200がマスタ装置Maである場合(ステップS2202:マスタ)、CPU(リング制御プログラム211)220は、切替指示1901の制御フレーム402を廃棄する(ステップS2203)。 The CPU (ring control program 211) 220 confirms the role of the communication device 200 (step S2202). If the communication device 200 is the master device Ma (step S2202: master), the CPU (ring control program 211) 220 discards the control frame 402 of the switching instruction 1901 (step S2203).

その通信装置200がトランジット装置である場合(ステップS2202:トランジット)、CPU(リング制御プログラム211)220は、切替先のFDBを確認する(ステップS2204)。切替先のFDBが待機系の場合(ステップS2204:待機系)、CPU(リング制御プログラム211)220は、CPU(装置管理プログラム214の時刻管理プログラム1801)220に切替時刻を設定する(ステップS2205)。 If the communication device 200 is a transit device (step S2202: transit), the CPU (ring control program 211) 220 checks the switching destination FDB (step S2204). If the switching destination FDB is the standby system (step S2204: standby system), the CPU (ring control program 211) 220 sets the switching time in the CPU (time management program 1801 of the device management program 214) 220 (step S2205). .

その後、CPU(リング制御プログラム211)220は、切替指示1901の制御フレーム402を受信したポートではないリングポート261,262から、切替指示1901の制御フレーム402を送信する(ステップS2206)。 After that, the CPU (ring control program 211) 220 transmits the control frame 402 of the switching instruction 1901 from the ring ports 261 and 262 that are not the ports that received the control frame 402 of the switching instruction 1901 (step S2206).

CPU(リング制御プログラム211)220は、切替先のFDBが運用系の場合(ステップS2204:運用系)、切替指示1901の制御フレーム402を受信したポートではないリングポート261,262から、切替指示1901の制御フレーム402を送信する(ステップS2207)。 When the switching destination FDB is the active system (step S2204: active system), the CPU (ring control program 211) 220 receives the switching instruction 1901 from the ring ports 261 and 262 that are not ports that received the control frame 402 of the switching instruction 1901. control frame 402 (step S2207).

CPU(時刻管理プログラム)220は、CPU(リング制御プログラム211)220に、指定された切替時刻が到来したことを通知する(ステップS2208)。通知を受けたCPU(リング制御プログラム211)220は、VLANタグ変換を設定し、運用系FDBを、切替指示1901の制御フレーム402で指示されたVLAN IDのVLANに切り替える(ステップS2209)。運用系FDBの切替処理の詳細は上記(1-5-8)で説明した通りである。 The CPU (time management program) 220 notifies the CPU (ring control program 211) 220 that the designated switching time has come (step S2208). The CPU (ring control program 211) 220 that has received the notification sets VLAN tag conversion, and switches the active FDB to the VLAN of the VLAN ID indicated by the control frame 402 of the switching instruction 1901 (step S2209). The details of the switching process of the active FDB are as described in (1-5-8) above.

[17] このように、実施例2にかかる通信装置200は、上記[1]の通信装置200において、制御部(リング制御プログラム211)は、通信装置群で共通する運用系の仮想ネットワークを第1仮想ネットワーク(データVLAN1)から第2仮想ネットワーク(データVLAN2)に切り替える切替時刻が到来した場合に、運用系の仮想ネットワークに適用される転送先情報を、第1転送先情報(FDB231)から前記第2転送先情報(FDB232)に切り替える。 [17] As described above, in the communication device 200 according to the second embodiment, in the communication device 200 of [1] above, the control unit (ring control program 211) sets the active virtual network common to the communication device group as the first virtual network. When the switching time for switching from the first virtual network (data VLAN1) to the second virtual network (data VLAN2) arrives, the forwarding destination information applied to the active virtual network is changed from the first forwarding destination information (FDB 231) to the above-mentioned Switch to the second transfer destination information (FDB 232).

これにより、マスタ装置Maが通信経路およびFDBを切り替えてからリングネットワークの全通信装置200のFDBの切り替えが終わるまでの間に発生するフレームロスを緩和する。 This reduces the frame loss that occurs from the time the master device Ma switches the communication path and FDB until the end of the switching of the FDBs of all the communication devices 200 in the ring network.

[18] 上記[17]の通信装置200において、制御部(リング制御プログラム211)は、自装置200が通信装置群を管理するマスタ装置Maである場合、リングネットワーク内でリングネットワークを制御する制御フレーム402が送受信される第3仮想ネットワーク(制御VLAN3)を用いて、転送先情報の切替指示および切替時刻を含む制御フレーム2003を転送先となる他の通信装置(トランジット装置Mb)に送信する。 [18] In the communication device 200 of [17] above, the control unit (ring control program 211) controls the ring network within the ring network when the own device 200 is the master device Ma that manages the communication device group. Using the third virtual network (control VLAN 3) through which the frame 402 is transmitted/received, the control frame 2003 including the switching instruction and switching time of the transfer destination information is transmitted to another communication device (transit device Mb) as the transfer destination.

これにより、トランジット装置Mbは、切替時刻が到来すると、運用系の仮想ネットワークに適用される転送先情報を、第1転送先情報(FDB231)から前記第2転送先情報(FDB232)に切り替えることができる。 As a result, when the switching time arrives, the transit device Mb can switch the transfer destination information applied to the active virtual network from the first transfer destination information (FDB 231) to the second transfer destination information (FDB 232). can.

[19] 上記[18]の通信装置200において、制御部(リング制御プログラム211)は、運用系の仮想ネットワークにおけるプライマリポートで切替指示および切替時刻を含む制御フレーム2009を受信した場合に、切替指示および前記切替時刻を含む制御フレーム2009を廃棄する。 [19] In the communication device 200 of [18] above, when the control unit (ring control program 211) receives the control frame 2009 including the switching instruction and the switching time at the primary port in the active virtual network, the switching instruction and the control frame 2009 including the switching time is discarded.

これにより、切替指示および前記切替時刻を含む制御フレーム2009の無限循環を防止することができる。 This can prevent endless circulation of the control frame 2009 containing the switching instruction and the switching time.

[20] 上記[17]の通信装置200において、制御部(リング制御プログラム211)は、リングネットワーク内でリングネットワークを制御する制御フレーム402が送受信される第3仮想ネットワーク(制御VLAN3)を用いて、通信装置群を管理するマスタ装置Maが生成した転送先情報の切替指示および切替時刻を含む制御フレーム(2003,2006)を受信した場合、切替指示および切替時刻を含む制御フレーム(2006,2009)を、切替時刻の到来前に、転送先の他の通信装置(Mb,Ma)に送信する。 [20] In the communication device 200 of [17] above, the control unit (ring control program 211) uses the third virtual network (control VLAN 3) in which the control frame 402 for controlling the ring network is transmitted and received within the ring network. , when receiving a control frame (2003, 2006) containing a switching instruction and switching time of transfer destination information generated by the master device Ma managing the communication device group, a control frame (2006, 2009) containing a switching instruction and switching time is transmitted to another communication device (Mb, Ma) of the transfer destination before the arrival of the switching time.

これにより、切替時刻が到来すると、リングネットワーク内の各トランジット装置でFDBの切替を実現することができる。 As a result, when the switching time arrives, FDB switching can be realized in each transit device in the ring network.

100 ネットワークシステム
200 通信装置
211 リング制御プログラム
212 リング負荷制御プログラム
213 FDB制御プログラム
214 装置管理プログラム
231、232 FDB
241 転送エンジン
242 タグ変換機能
243 アドレス通知機能
251 フレームカプセリング・デカプセリング機能
261~265 ポート
401,402 制御フレーム
414 待機系MACアドレス追加
415 待機系MACアドレス削除
416,1901 切替指示
1801 時刻管理プログラム
100 network system 200 communication device 211 ring control program 212 ring load control program 213 FDB control program 214 device management program 231, 232 FDB
241 Transfer engine 242 Tag conversion function 243 Address notification function 251 Frame encapsulation/decapsulation function 261 to 265 Ports 401, 402 Control frame 414 Standby system MAC address addition 415 Standby system MAC address deletion 416, 1901 Switching instruction 1801 Time management program

Claims (20)

リングプロトコルによって規定されるリングネットワークを構成する通信装置群のうちいずれかの通信装置であって、
前記リングネットワーク内でユーザフレームが送受信される第1仮想ネットワークについてMACアドレスおよびポート番号の組み合わせを登録可能な第1転送先情報と、前記リングネットワーク内でユーザフレームが送受信される第2仮想ネットワークについてMACアドレスおよびポート番号の組み合わせを登録可能な第2転送先情報と、を有する記憶部と、
運用系の仮想ネットワークを前記第1仮想ネットワークから前記第2仮想ネットワークに切り替える場合に、前記運用系の仮想ネットワークに適用される転送先情報を、前記第1転送先情報から前記第2転送先情報に切り替える制御部と、
を有することを特徴とする通信装置。
Any communication device among a group of communication devices constituting a ring network defined by a ring protocol,
First transfer destination information capable of registering a combination of a MAC address and a port number for a first virtual network through which user frames are transmitted and received within the ring network, and a second virtual network through which user frames are transmitted and received within the ring network a storage unit having second transfer destination information in which a combination of a MAC address and a port number can be registered;
When the active virtual network is switched from the first virtual network to the second virtual network, the forwarding destination information applied to the active virtual network is changed from the first forwarding destination information to the second forwarding destination information. a control unit that switches to
A communication device comprising:
請求項1に記載の通信装置であって、
前記制御部は、前記いずれかの通信装置が前記通信装置群を管理するマスタ装置である場合、前記リングネットワーク内で前記リングネットワークを制御する制御フレームが送受信される第3仮想ネットワークを用いて、転送先情報の切替指示を含む制御フレームを転送先の他の通信装置に送信する、
ことを特徴とする通信装置。
A communication device according to claim 1,
When one of the communication devices is a master device that manages the communication device group, the control unit uses a third virtual network in which a control frame for controlling the ring network is transmitted and received within the ring network, Transmitting a control frame including an instruction to switch the transfer destination information to another communication device of the transfer destination;
A communication device characterized by:
請求項2に記載の通信装置であって、
前記制御部は、前記運用系の仮想ネットワークにおけるプライマリポートで前記切替指示を含む制御フレームを受信した場合に、前記切替指示を含む制御フレームを廃棄する、
ことを特徴とする通信装置。
A communication device according to claim 2,
The control unit discards the control frame including the switching instruction when a control frame including the switching instruction is received at a primary port in the active virtual network.
A communication device characterized by:
請求項1に記載の通信装置であって、
前記制御部は、前記リングネットワーク内で前記リングネットワークを制御する制御フレームが送受信される第3仮想ネットワークを用いて、前記通信装置群を管理するマスタ装置が生成した転送先情報の切替指示を含む制御フレームを受信した場合、前記運用系の仮想ネットワークに適用される転送先情報を、前記第1転送先情報から前記第2転送先情報に切り替えるとともに、前記切替指示を含む制御フレームを、転送先の他の通信装置に送信する、
ことを特徴とする通信装置。
A communication device according to claim 1,
The control unit uses a third virtual network in which a control frame for controlling the ring network is transmitted and received within the ring network, and includes a switching instruction of transfer destination information generated by a master device managing the communication device group. When the control frame is received, the transfer destination information applied to the active virtual network is switched from the first transfer destination information to the second transfer destination information, and the control frame including the switching instruction is transferred to the transfer destination. to other communication devices in
A communication device characterized by:
請求項1に記載の通信装置であって、
リングネットワーク外のポートから、送信元MACアドレスを含むフレームを受信すると、前記送信元MACアドレスと前記ポートのポート番号との組み合わせを前記第1転送先情報に登録する学習部を有し、
前記制御部は、前記学習部による学習結果を前記第2転送先情報に登録するとともに、前記リングネットワーク内で前記リングネットワークを制御する制御フレームが送受信される第3仮想ネットワークを用いて、前記第2転送先情報への前記学習結果の追加指示を含む制御フレームを、転送先の他の通信装置に送信する、
ことを特徴とする通信装置。
A communication device according to claim 1,
a learning unit that, when receiving a frame including a source MAC address from a port outside the ring network, registers a combination of the source MAC address and the port number of the port in the first transfer destination information;
The control unit registers the result of learning by the learning unit in the second transfer destination information, and uses a third virtual network in which a control frame for controlling the ring network is transmitted and received within the ring network. 2 transmitting a control frame including an instruction to add the learning result to the transfer destination information to another communication device as the transfer destination;
A communication device characterized by:
請求項5に記載の通信装置であって、
前記制御部は、前記いずれかの通信装置が前記通信装置群を管理するマスタ装置である場合、前記追加指示を含む制御フレームを、前記運用系の仮想ネットワークのセカンダリポートから前記他の通信装置に送信する、
ことを特徴とする通信装置。
A communication device according to claim 5,
When one of the communication devices is a master device that manages the communication device group, the control unit transmits a control frame including the addition instruction from the secondary port of the active virtual network to the other communication device. Send,
A communication device characterized by:
請求項5に記載の通信装置であって、
前記制御部は、前記いずれかの通信装置が前記通信装置群内のマスタ装置に管理されるトランジット装置である場合、前記追加指示を含む制御フレームを受信すると、前記学習結果を前記第2転送先情報に登録する、
ことを特徴とする通信装置。
A communication device according to claim 5,
When any one of the communication devices is a transit device managed by a master device in the communication device group, the control unit transfers the learning result to the second transfer destination when receiving the control frame including the additional instruction. register for information,
A communication device characterized by:
請求項7に記載の通信装置であって、
前記制御部は、前記追加指示を含む制御フレームを、前記リングネットワーク内の全ポートから送信する、
ことを特徴とする通信装置。
A communication device according to claim 7,
wherein the control unit transmits a control frame including the additional instruction from all ports in the ring network;
A communication device characterized by:
請求項6に記載の通信装置であって、
前記制御部は、前記運用系の仮想ネットワークにおけるプライマリポートで前記追加指示を含む制御フレームを受信した場合に、前記追加指示を含む制御フレームを廃棄する、
ことを特徴とする通信装置。
A communication device according to claim 6,
When the control unit receives a control frame including the addition instruction at a primary port in the active virtual network, the control unit discards the control frame including the addition instruction.
A communication device characterized by:
請求項6に記載の通信装置であって、
前記制御部は、前記運用系の仮想ネットワークにおけるセカンダリポートで前記追加指示を含む制御フレームを受信した場合に、前記第2転送先情報に前記学習結果を登録する、
ことを特徴とする通信装置。
A communication device according to claim 6,
The control unit registers the learning result in the second transfer destination information when a control frame including the addition instruction is received at a secondary port in the active virtual network.
A communication device characterized by:
請求項1に記載の通信装置であって、
MACアドレスの削除指示を受けると、前記削除指示のMACアドレスと当該MACアドレスに対応するポートのポート番号との組み合わせを前記第1転送先情報から削除する学習部を有し、
前記制御部は、前記学習部によって削除された組み合わせを前記第2転送先情報から削除するとともに、前記リングネットワーク内で前記リングネットワークを制御する制御フレームが送受信される第3仮想ネットワークを用いて、前記第2転送先情報からの前記削除された組み合わせの削除指示を含む制御フレームを、転送先の他の通信装置に送信する、
ことを特徴とする通信装置。
A communication device according to claim 1,
a learning unit that, upon receiving a MAC address deletion instruction, deletes from the first transfer destination information a combination of the MAC address of the deletion instruction and the port number of the port corresponding to the MAC address;
The control unit deletes the combination deleted by the learning unit from the second transfer destination information, and uses a third virtual network in which a control frame for controlling the ring network is transmitted and received within the ring network, transmitting a control frame including a deletion instruction of the deleted combination from the second transfer destination information to another communication device of the transfer destination;
A communication device characterized by:
請求項11に記載の通信装置であって、
前記制御部は、前記いずれかの通信装置が前記通信装置群を管理するマスタ装置である場合、前記削除指示を含む制御フレームを、前記運用系の仮想ネットワークのセカンダリポートから前記他の通信装置に送信する、
ことを特徴とする通信装置。
12. A communication device according to claim 11, wherein
When one of the communication devices is a master device that manages the group of communication devices, the control unit transmits a control frame including the deletion instruction from the secondary port of the active virtual network to the other communication device. Send,
A communication device characterized by:
請求項11に記載の通信装置であって、
前記制御部は、前記いずれかの通信装置が前記通信装置群内のマスタ装置に管理されるトランジット装置である場合、前記削除指示を含む制御フレームを受信すると、前記削除された組み合わせを前記第2転送先情報から削除する、
ことを特徴とする通信装置。
12. A communication device according to claim 11, wherein
When any one of the communication devices is a transit device managed by a master device in the communication device group, the control unit, when receiving a control frame including the deletion instruction, converts the deleted combination to the second Delete from forwarding information,
A communication device characterized by:
請求項13に記載の通信装置であって、
前記制御部は、前記削除指示を含む制御フレームを、前記リングネットワーク内の全ポートから送信する、
ことを特徴とする通信装置。
14. A communication device according to claim 13, wherein
wherein the control unit transmits a control frame including the deletion instruction from all ports in the ring network;
A communication device characterized by:
請求項12に記載の通信装置であって、
前記制御部は、前記運用系の仮想ネットワークにおけるプライマリポートで前記削除指示を含む制御フレームを受信した場合に、前記削除指示を含む制御フレームを廃棄する、
ことを特徴とする通信装置。
13. A communication device according to claim 12,
When the control unit receives a control frame including the deletion instruction at a primary port in the active virtual network, the control unit discards the control frame including the deletion instruction.
A communication device characterized by:
請求項12に記載の通信装置であって、
前記制御部は、前記運用系の仮想ネットワークにおけるセカンダリポートで前記削除指示を含む制御フレームを受信した場合に、前記学習部によって削除された組み合わせを前記第2転送先情報から削除する、
ことを特徴とする通信装置。
13. A communication device according to claim 12,
The control unit deletes the combination deleted by the learning unit from the second transfer destination information when a control frame including the deletion instruction is received at a secondary port in the active virtual network.
A communication device characterized by:
請求項1に記載の通信装置であって、
前記制御部は、前記通信装置群で共通する前記運用系の仮想ネットワークを前記第1仮想ネットワークから前記第2仮想ネットワークに切り替える切替時刻が到来した場合に、前記運用系の仮想ネットワークに適用される転送先情報を、前記第1転送先情報から前記第2転送先情報に切り替える、
ことを特徴とする通信装置。
A communication device according to claim 1,
The control unit is applied to the active virtual network when a switching time for switching the active virtual network common to the communication device group from the first virtual network to the second virtual network arrives. switching forwarding destination information from the first forwarding destination information to the second forwarding destination information;
A communication device characterized by:
請求項17に記載の通信装置であって、
前記制御部は、前記いずれかの通信装置が前記通信装置群を管理するマスタ装置である場合、前記リングネットワーク内で前記リングネットワークを制御する制御フレームが送受信される第3仮想ネットワークを用いて、転送先情報の切替指示および前記切替時刻を含む制御フレームを転送先となる他の通信装置に送信する、
ことを特徴とする通信装置。
18. A communication device according to claim 17, wherein
When one of the communication devices is a master device that manages the communication device group, the control unit uses a third virtual network in which a control frame for controlling the ring network is transmitted and received within the ring network, Transmitting a control frame including a switch instruction of transfer destination information and the switch time to another communication device as a transfer destination;
A communication device characterized by:
請求項18に記載の通信装置であって、
前記制御部は、前記運用系の仮想ネットワークにおけるプライマリポートで前記切替指示および前記切替時刻を含む制御フレームを受信した場合に、前記切替指示および前記切替時刻を含む制御フレームを廃棄する、
ことを特徴とする通信装置。
19. A communication device according to claim 18, wherein
The control unit discards the control frame including the switching instruction and the switching time when a control frame including the switching instruction and the switching time is received at a primary port in the active virtual network.
A communication device characterized by:
請求項17に記載の通信装置であって、
前記制御部は、前記リングネットワーク内で前記リングネットワークを制御する制御フレームが送受信される第3仮想ネットワークを用いて、前記通信装置群を管理するマスタ装置が生成した転送先情報の切替指示および前記切替時刻を含む制御フレームを受信した場合、前記切替指示および前記切替時刻を含む制御フレームを、前記切替時刻の到来前に、転送先の他の通信装置に送信する、
ことを特徴とする通信装置。
18. A communication device according to claim 17, wherein
The control unit uses a third virtual network in which a control frame for controlling the ring network is transmitted and received in the ring network, and instructs switching of transfer destination information generated by a master device that manages the group of communication devices and the When a control frame containing the switching time is received, the control frame containing the switching instruction and the switching time is transmitted to another communication device as a transfer destination before the switching time arrives;
A communication device characterized by:
JP2019033401A 2019-02-26 2019-02-26 Communication device Active JP7112353B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019033401A JP7112353B2 (en) 2019-02-26 2019-02-26 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019033401A JP7112353B2 (en) 2019-02-26 2019-02-26 Communication device

Publications (2)

Publication Number Publication Date
JP2020141177A JP2020141177A (en) 2020-09-03
JP7112353B2 true JP7112353B2 (en) 2022-08-03

Family

ID=72280694

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019033401A Active JP7112353B2 (en) 2019-02-26 2019-02-26 Communication device

Country Status (1)

Country Link
JP (1) JP7112353B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003158539A (en) 2001-11-21 2003-05-30 Nec Corp Network transfer system and transfer method
US20110051732A1 (en) 2009-09-03 2011-03-03 Hitachi Cable, Ltd. Switching hub and ring network
JP2013005143A (en) 2011-06-15 2013-01-07 Nippon Telegr & Teleph Corp <Ntt> Ring type network system, network management apparatus, and layer 2 switch
JP2014183354A (en) 2013-03-18 2014-09-29 Fujitsu Ltd Relay system, relay device, and relay method
JP2015119448A (en) 2013-12-20 2015-06-25 富士通テレコムネットワークス株式会社 Transmission apparatus
JP2017028614A (en) 2015-07-27 2017-02-02 日立金属株式会社 Relay system and switch device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003158539A (en) 2001-11-21 2003-05-30 Nec Corp Network transfer system and transfer method
US20110051732A1 (en) 2009-09-03 2011-03-03 Hitachi Cable, Ltd. Switching hub and ring network
JP2011055346A (en) 2009-09-03 2011-03-17 Hitachi Cable Ltd Switching hub and ring network
JP2013005143A (en) 2011-06-15 2013-01-07 Nippon Telegr & Teleph Corp <Ntt> Ring type network system, network management apparatus, and layer 2 switch
JP2014183354A (en) 2013-03-18 2014-09-29 Fujitsu Ltd Relay system, relay device, and relay method
JP2015119448A (en) 2013-12-20 2015-06-25 富士通テレコムネットワークス株式会社 Transmission apparatus
JP2017028614A (en) 2015-07-27 2017-02-02 日立金属株式会社 Relay system and switch device

Also Published As

Publication number Publication date
JP2020141177A (en) 2020-09-03

Similar Documents

Publication Publication Date Title
JP4031500B2 (en) Node redundancy method, interface card, interface device, node device, and packet ring network system
US7898942B2 (en) Ring network system, failure recovery method, failure detection method, node and program for node
US7636299B2 (en) Packet repeater
JP5334001B2 (en) Communication system and node
JP3963728B2 (en) Spanning tree bypass method and apparatus
EP0937353B1 (en) Routing in a multi-layer distributed network element
US9491041B2 (en) Ethernet chain protection switching
CN101610193B (en) Method for automatically discovering Ethernet ring and generating ring
JP4743201B2 (en) Packet ring network system, connection method between packet rings, and connection node between rings
CN103210612B (en) Communicator, communication system and communication means
CN112422307B (en) Method, equipment and system for EVPN and VPLS coexistence dual-activity
US9660898B2 (en) Enhanced protocol independent multicast source registration over a reliable transport
CN102299835A (en) Ring network fault switching method and apparatus
JP4676528B2 (en) RPR ring network on / off ring processing, data transfer method and network equipment thereof
US20100189114A1 (en) Network communication node
JP5029612B2 (en) Packet ring network system, packet transfer method and interlink node
US8072878B2 (en) Packet ring network system, packet transfer system, redundancy node, and packet transfer program
JP7112353B2 (en) Communication device
CN107733719B (en) A Lossless Path Recovery Method for Software-Defined Anti-Destruction Networks
JP4705492B2 (en) Ring node device and ring node redundancy method
CN115766334B (en) Three-layer switch, network system and data transmission method
CN101147367A (en) Method for determining the forwarding direction of an Ethernet frame
CN100411387C (en) Dual Homing Network Support Method Based on Resilient Packet Data Ring Network
JP6061303B2 (en) Bridge device, communication control device, communication control method, bridge program, and communication control program
WO2007140720A1 (en) A method and apparatus for limiting the multicasting range in prp

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210913

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220621

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: 20220705

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220722

R150 Certificate of patent or registration of utility model

Ref document number: 7112353

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250