JP2003324463A - Communication path switching apparatus - Google Patents

Communication path switching apparatus

Info

Publication number
JP2003324463A
JP2003324463A JP2002127223A JP2002127223A JP2003324463A JP 2003324463 A JP2003324463 A JP 2003324463A JP 2002127223 A JP2002127223 A JP 2002127223A JP 2002127223 A JP2002127223 A JP 2002127223A JP 2003324463 A JP2003324463 A JP 2003324463A
Authority
JP
Japan
Prior art keywords
port
failure
physical layer
mac
fault
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.)
Pending
Application number
JP2002127223A
Other languages
Japanese (ja)
Inventor
Yuji Ando
雄二 安藤
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2002127223A priority Critical patent/JP2003324463A/en
Publication of JP2003324463A publication Critical patent/JP2003324463A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a communication path switching apparatus in which a transmission destination of a packet is detoured before a packet wherein a fault occurs arrives by detecting the fault in a layer 1, and a time for detecting the fault on a path where the fault occurs is shortened. <P>SOLUTION: A PHY part 11 detects a fault in a physical layer, and an LF/RF detecting part 12 changes a port status table 21 to be referred to by a layer 2 switch 30 based upon a status of fault occurrence. When the fault is a local fault, in order to report the fault in an up communication direction as well, an RF transfer part 13 prepares an RF packet and outputs it by inserting a remote fault/RF/ between a terminate/T/ and an idle/I/ of data generated by a MAC part 14. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、回線障害検出およ
びデータ転送に関するものであり、特に、イーサネット
(登録商標)における物理レイヤ上の回線障害検出およ
びデータ転送を行う通信経路切替装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to line failure detection and data transfer, and more particularly to a communication path switching device for detecting line failure and data transfer on a physical layer in Ethernet (registered trademark). .

【0002】[0002]

【従来の技術】LAN(Local Area Network)は、構内
またはビル内などの限られたネットワークであったが、
近年では、ルータなどのLAN同士を接続する機器もあ
り、広い範囲でのネットワークを構成することができる
ようになっている。
2. Description of the Related Art A LAN (Local Area Network) is a limited network such as a premises or a building.
In recent years, there are devices such as routers that connect LANs to each other, and it is possible to configure a network in a wide range.

【0003】このような従来技術として、特開2001
−186140号公報には、LANインターフェース機
能を有するATM(Asynchronous Transfer Mode)交換
機の技術が開示されている。
As such a conventional technique, Japanese Patent Laid-Open No. 2001-2001
Japanese Patent Laid-Open No. 186140 discloses a technology of an ATM (Asynchronous Transfer Mode) exchange having a LAN interface function.

【0004】図15は、従来技術で用いられているLA
Nアダプタ部50の構成を示すブロック図である。LA
Nアダプタ部50は、物理インターフェース部52−1
〜52−4と、処理部54と、アドレステーブル56
と、メモリ58と、セルスイッチインターフェース部6
0と制御インターフェース部62を備えている。
FIG. 15 shows an LA used in the prior art.
3 is a block diagram showing a configuration of an N adapter unit 50. FIG. LA
The N adapter unit 50 includes a physical interface unit 52-1.
To 52-4, the processing unit 54, and the address table 56.
, Memory 58, and cell switch interface unit 6
0 and a control interface unit 62.

【0005】処理部54は、LANアダプタ部50が行
う各種処理、例えばレイヤ2のアドレス解決機能および
アドレス学習機能を制御する。物理インターフェース部
52−1〜52−4は、例えばイーサネット(登録商
標)の物理インターフェースであって、10BASE−
T/100BASE−TXを自動的に切替えることがで
きる。
The processing unit 54 controls various processes performed by the LAN adapter unit 50, such as a layer 2 address resolution function and an address learning function. The physical interface units 52-1 to 52-4 are physical interfaces of Ethernet (registered trademark), for example, and 10BASE-
T / 100BASE-TX can be automatically switched.

【0006】アドレステーブル56は、レイヤ2または
レイヤ3のアドレス管理テーブルを構成している。メモ
リ58は、処理部54のマイクロプログラムおよび必要
なデータを記録している。セルスイッチインタフェース
部60は、処理部54とセルスイッチとの間のインター
フェースである。また、制御インターフェース部62
は、LANアダプタ部50とATM交換機の制御部との
間のインターフェースである。
The address table 56 constitutes a layer 2 or layer 3 address management table. The memory 58 stores the microprogram of the processing unit 54 and necessary data. The cell switch interface unit 60 is an interface between the processing unit 54 and the cell switch. In addition, the control interface unit 62
Is an interface between the LAN adapter unit 50 and the control unit of the ATM exchange.

【0007】LANアダプタ部50は、少なくとも宛先
MACアドレスと送信元MACアドレスを含むユニキャ
ストフレームの送受信を行う。
The LAN adapter section 50 transmits and receives a unicast frame including at least a destination MAC address and a source MAC address.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上記従
来技術では、受信したパケットのレイヤ1(物理層)で
は障害検出を行わずにパケットの送信先MACアドレス
をアドレス管理テーブルから参照して送信先セルアドレ
スを決定しているため、レイヤ2(データリンク層)に
おいて障害検出を行った場合に、その障害検出が間に合
わず、障害の生じたセルが送信されてしまうという問題
がある。
However, in the above-mentioned conventional technique, the destination MAC address of the packet is referred to from the address management table without detecting the failure in the layer 1 (physical layer) of the received packet, and the destination cell is referred to. Since the address is determined, when a failure is detected in the layer 2 (data link layer), there is a problem that the failure is not detected in time and the cell with the failure is transmitted.

【0009】また、MACアドレスそのものに障害が生
じた場合は、障害の生じたMACアドレスを障害発生前
のアドレステーブルから参照することになり、誤切替え
が生じるという問題もある。
Further, when a failure occurs in the MAC address itself, the failed MAC address is referred to from the address table before the failure, which causes a problem of erroneous switching.

【0010】この発明は上記に鑑みてなされたもので、
レイヤ1において障害検出を行い、障害の生じたパケッ
トが到着する前にパケットの送信先を迂回させるととも
に、障害の発生した経路の障害検出時間の短い通信経路
切替装置を得ることを目的としている。
The present invention has been made in view of the above,
An object of the present invention is to detect a fault in layer 1, to bypass the destination of the packet before the faulty packet arrives, and to obtain a communication route switching device in which the fault detection time of the faulty route is short.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するため
に、この発明にかかる通信経路切替装置は、物理層の通
信制御を行い、物理層における障害を物理層にて検出す
る物理レイヤ障害検出手段と、前記物理レイヤ障害検出
手段で検出された障害が物理層からMAC層への通信方
向の障害である場合、対向通信のデータにも前記検出さ
れた障害を通知する物理レイヤ障害転送手段と、MAC
層の通信制御を行うMAC手段とを備える複数のポート
と、前記複数のポートの状態を記憶するポート状態記憶
手段と、前記複数のポートの通信経路をポートアドレス
によって記憶しているアドレス記憶手段と、前記複数の
ポートが接続され、レイヤ2切替えを行うレイヤ2切替
手段とを備えることを特徴とする。
In order to achieve the above object, a communication path switching device according to the present invention performs physical layer communication control and detects a physical layer fault in the physical layer. And a physical layer failure transfer means for notifying the detected failure to the data of the opposite communication when the failure detected by the physical layer failure detection means is a failure in the communication direction from the physical layer to the MAC layer. , MAC
A plurality of ports provided with MAC means for controlling communication of layers, a port state storage means for storing states of the plurality of ports, and an address storage means for storing communication paths of the plurality of ports by port addresses. , A plurality of ports are connected, and a layer 2 switching unit for performing layer 2 switching is provided.

【0012】この発明によれば、物理レイヤ障害検出手
段は、物理層における障害を物理層にて検出し、検出し
た障害が物理層からMAC層への通信方向の障害である
場合、物理レイヤ障害転送手段は、対向通信のデータに
も前記検出された障害を通知するようにしている。
According to the present invention, the physical layer failure detecting means detects a failure in the physical layer in the physical layer, and when the detected failure is a failure in the communication direction from the physical layer to the MAC layer, the physical layer failure is detected. The transfer means also notifies the data of the opposite communication of the detected failure.

【0013】つぎの発明にかかる通信経路切替装置は、
上記の発明において、前記物理レイヤ障害転送手段は、
前記物理レイヤ障害検出手段が障害を検出した場合に、
前記ポート状態記憶手段のポート状態を変更し、前記レ
イヤ2切替手段は、前記変更されたポート状態記憶手段
のポート状態に基づき障害の発生したポートを迂回して
パケットを送信するように前記アドレス記憶手段内の障
害が検出されたポートに関する経路情報を変更し、前記
パケットを送信することを特徴とする。
A communication path switching device according to the next invention is
In the above invention, the physical layer failure transfer means is
When the physical layer failure detection means detects a failure,
The port state of the port state storage means is changed, and the layer 2 switching means stores the address so as to transmit the packet by bypassing the faulty port based on the changed port state of the port state storage means. It is characterized in that the route information regarding a port in which a failure is detected is changed and the packet is transmitted.

【0014】この発明によれば、物理レイヤ障害転送手
段は、物理レイヤ障害検出手段が障害を検出した場合
に、ポート状態記憶手段のポート状態を変更し、レイヤ
2切替手段は、変更されたポート状態記憶手段のポート
状態に基づき障害の発生したポートを迂回してパケット
を送信するようにアドレス記憶手段内の障害が検出され
たポートに関する経路情報を変更し、前記パケットを送
信するようにしている。
According to the present invention, the physical layer failure transfer means changes the port status of the port status storage means when the physical layer failure detection means detects a failure, and the layer 2 switching means changes the port status. Based on the port state of the state storage means, the route information relating to the port in which the failure is detected in the address storage means is changed so that the packet is transmitted around the faulty port, and the packet is transmitted. .

【0015】つぎの発明にかかる通信経路切替装置は、
上記の発明において、前記MAC手段は、MACパケッ
ト内のデータ領域に、前記物理レイヤ障害検出手段が障
害を検出したことを通知するための物理レイヤ障害情報
を挿入することを特徴とする。
A communication path switching device according to the next invention is
In the above invention, the MAC unit inserts physical layer failure information for notifying that the physical layer failure detection unit has detected a failure into a data area in a MAC packet.

【0016】この発明によれば、MAC手段は、MAC
パケット内のデータ領域に、物理レイヤ障害検出手段が
障害を検出したことを通知するための物理レイヤ障害情
報を挿入するようにしている。
According to the present invention, the MAC means is a MAC
Physical layer failure information for notifying that the physical layer failure detection means has detected a failure is inserted in the data area in the packet.

【0017】つぎの発明にかかる通信経路切替装置は、
上記の発明において、前記MAC手段は、前記物理レイ
ヤ障害情報が挿入されたMACパケットの送信元アドレ
スおよび宛先アドレスを前記ポート状態記憶手段および
前記アドレス記憶手段より取得することを特徴とする。
A communication path switching device according to the next invention is
In the above invention, the MAC unit acquires the source address and the destination address of the MAC packet in which the physical layer failure information is inserted from the port state storage unit and the address storage unit.

【0018】この発明によれば、MAC手段は、物理レ
イヤ障害情報が挿入されたMACパケットの送信元アド
レスおよび宛先アドレスをポート状態記憶手段およびア
ドレス記憶手段より取得するようにしている。
According to the present invention, the MAC means acquires the source address and the destination address of the MAC packet in which the physical layer failure information is inserted from the port state storage means and the address storage means.

【0019】つぎの発明にかかる通信経路切替装置は、
上記の発明において、前記物理レイヤ障害転送手段は、
障害検出を他ノードに通知する場合、前記MAC手段か
ら送信されたパケット列とは異なるタイムスロットに障
害を通知する情報を挿入することを特徴とする。
A communication path switching device according to the next invention is
In the above invention, the physical layer failure transfer means is
When notifying the failure detection to the other node, the information notifying the failure is inserted into a time slot different from the packet sequence transmitted from the MAC means.

【0020】この発明によれば、物理レイヤ障害転送手
段は、障害検出を他ノードに通知する場合、MAC手段
から送信されたパケット列とは異なるタイムスロットに
障害を通知する情報を挿入するようにしている。
According to the present invention, the physical layer failure transfer means inserts the failure notification information into a time slot different from the packet sequence transmitted from the MAC means when notifying the failure detection to another node. ing.

【0021】[0021]

【発明の実施の形態】以下に添付図面を参照して、この
発明にかかる通信経路切替装置の好適な実施の形態を詳
細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Preferred embodiments of a communication path switching device according to the present invention will be described in detail below with reference to the accompanying drawings.

【0022】図1は、本実施の形態の通信経路切替装置
の構成を示すブロック図である。本実施の形態の通信経
路切替装置は、イーサネット(登録商標)の送受信を行
う複数の(この場合n個)ポート10と、MACアドレ
スおよびポート状態を記憶するテーブル部20と、レイ
ヤ2スイッチ30を備えている。
FIG. 1 is a block diagram showing the configuration of the communication path switching apparatus of this embodiment. The communication path switching device of the present embodiment includes a plurality of (n in this case) ports 10 for transmitting and receiving Ethernet (registered trademark), a table unit 20 for storing MAC addresses and port states, and a layer 2 switch 30. I have it.

【0023】ポート10は、PHY部11とLF/RF
検出部12と、RF転送部13とMAC部14を備えて
いる。
The port 10 has a PHY unit 11 and LF / RF.
The detection unit 12, the RF transfer unit 13, and the MAC unit 14 are provided.

【0024】PHY部11は、伝送路を介して他ノード
と接続されており、レイヤ2(この場合MAC部14)
と他ノードとのインターフェース機能を有し、RF転送
部13から入力されたデータを他ノードに送信(上り通
信)するとともに、他ノードからのデータを受信(下り
通信)しLF/RF検出部12に出力する。また、下り
通信での障害(ローカルフォルト)を検出する。
The PHY unit 11 is connected to another node via a transmission line, and is in layer 2 (in this case, the MAC unit 14).
And an interface function with another node, transmitting the data input from the RF transfer unit 13 to the other node (uplink communication), and receiving the data from the other node (downlink communication), the LF / RF detection unit 12 Output to. Also, it detects a failure (local fault) in downlink communication.

【0025】LF/RF検出部12は、ローカルフォル
トまたはリモートフォルトが検出された場合に、ポート
状態テーブル21の変更を行う。
The LF / RF detector 12 changes the port state table 21 when a local fault or a remote fault is detected.

【0026】RF転送部13は、PHY部11において
検出されたローカルフォルトを下流側の他ノードへ通知
するために、対向データ内にリモートフォルトを通知す
るデータを挿入する。
The RF transfer unit 13 inserts the data for notifying the remote fault into the opposite data in order to notify the other node on the downstream side of the local fault detected by the PHY unit 11.

【0027】MAC部14は、レイヤ2インターフェー
ス機能を有し、PHY部11がローカルフォルトを検出
した場合は、ポート10にローカルフォルトが発生して
いることを他のポートに通知するためのRFパケットを
生成し、レイヤ2スイッチ30に出力する。
The MAC unit 14 has a layer 2 interface function, and when the PHY unit 11 detects a local fault, an RF packet for notifying another port that a local fault has occurred in the port 10. Is generated and output to the layer 2 switch 30.

【0028】テーブル部20は、ポート状態テーブル2
1と、アドレステーブル22を備えている。ポート状態
テーブル21は、図8に示すようにレイヤ2スイッチ3
0に接続されているすべてのポートであるポート番号P
#1〜P#nごとにその状態を記憶している。例えば、
図8(a)はすべてのポートが通常の場合を示してお
り、ポート番号に対応して、そのポートが使用可能であ
ることを示す「OK」が記憶されている。アドレステー
ブル22は、図9に示すように本装置のポート10の経
路状態を記憶している。例えば、図9(a)は、ポート
10P#1とポート10P#2〜P#nが1対n−1で
接続されている経路状態を示している。
The table unit 20 is a port state table 2
1 and an address table 22. As shown in FIG. 8, the port status table 21 includes the layer 2 switch 3
Port number P which is all ports connected to 0
The state is stored for each of # 1 to P # n. For example,
FIG. 8A shows a case where all the ports are normal, and "OK" indicating that the port is available is stored corresponding to the port number. The address table 22 stores the route status of the port 10 of this device as shown in FIG. For example, FIG. 9A shows a route state in which the port 10P # 1 and the ports 10P # 2 to P # n are connected in a one-to-n-1 manner.

【0029】レイヤ2スイッチ30は、複数のポート1
0(この場合n個)が接続され、ポートから送信された
パケットを解析し、送信先のポート状態を確認し、ポー
トの切替えを行う。
The layer 2 switch 30 includes a plurality of ports 1
0 (n in this case) is connected, the packet transmitted from the port is analyzed, the port state of the transmission destination is confirmed, and the port is switched.

【0030】図2は、PHY部11とMAC部14との
間のデータフォーマットを示している。PHY部11と
MAC部14との間のデータフォーマットはスタートフ
ラグ/S/とターミネート/T/で囲まれたカプセル化
データ形式となっている。スタートフラグ/S/とター
ミネート/T/の間に、1つまたは複数のデータ領域デ
ータ/D/があり、このデータ/D/には、図3に示す
MACフレームが収容されパケットを構成する。このパ
ケットの間にはアイドル/I/が挿入される。
FIG. 2 shows a data format between the PHY unit 11 and the MAC unit 14. The data format between the PHY section 11 and the MAC section 14 is an encapsulated data format surrounded by a start flag / S / and a terminate / T /. Between the start flag / S / and the terminate / T /, there is one or more data area data / D /, and the data / D / accommodates the MAC frame shown in FIG. 3 to form a packet. Idle / I / is inserted between these packets.

【0031】図3は、MAC部14とレイヤ2スイッチ
30との間のMACフレームフォーマットを示してい
る。MAC部14とレイヤ2スイッチ30との間のMA
Cフレームフォーマットは、同期確立のために使用され
る7byteのプリアンブルPRと、1byteのフレ
ーム開始デリミタSFDと、パケットの宛先アドレスを
示す6byteの宛先アドレスDAと、パケットの送信
元アドレスを示す6byteの送信元アドレスSAと、
パケットの長さおよび種類を示す2byteのパケット
長/種類Lnと、46〜1500Byteの可変長の送
信データDATAと、フレームのデータ誤りを検出する
ために用いられる4byteのフレームチェックFCS
で構成される。
FIG. 3 shows a MAC frame format between the MAC unit 14 and the layer 2 switch 30. MA between the MAC unit 14 and the layer 2 switch 30
The C frame format is a 7-byte preamble PR used for synchronization establishment, a 1-byte frame start delimiter SFD, a 6-byte destination address DA indicating a packet destination address, and a 6-byte transmission indicating a packet source address. Original address SA,
A packet length / type Ln of 2 bytes indicating the length and type of the packet, transmission data DATA of a variable length of 46 to 1500 bytes, and a frame check FCS of 4 bytes used for detecting a data error of the frame.
Composed of.

【0032】図4〜図7のフローチャートを参照して、
本実施の形態の通信経路切替装置の動作を説明する。ま
ず、ポート10P#1とポート10P#2〜P#nが1
対n−1で接続されている時の正常時における下り通信
の動作を、ポート10P#3に着目した例を挙げて説明
する。
Referring to the flow charts of FIGS. 4 to 7,
The operation of the communication path switching device of this embodiment will be described. First, port 10P # 1 and ports 10P # 2-P # n are 1
The operation of the downlink communication in the normal state when the pair n-1 is connected will be described with an example focusing on the port 10P # 3.

【0033】ポート10P#3のPHY部11が他ノー
ドから図2に示したデータフォーマットのデータ(正常
時のデータ)を受信する。データを受信すると、PHY
部11は、障害検出を行う。障害は、例えば、復号処理
が符号化則に違反しているコードであった場合、ビット
エラーなどで検出される。光ケーブルで接続されている
場合には信号の断でも検出できる。障害がない場合、P
HY部11は、受信したデータをそのままLF/RF検
出部12に出力する。
The PHY unit 11 of the port 10P # 3 receives the data of the data format shown in FIG. 2 (data at the normal time) from another node. When data is received, PHY
The unit 11 detects a failure. The failure is detected as a bit error, for example, when the decoding process is a code that violates the coding rule. When connected by an optical cable, it can be detected even if the signal is broken. If there is no obstacle, P
The HY unit 11 outputs the received data as it is to the LF / RF detection unit 12.

【0034】PHY部11からデータが入力されると、
LF/RF検出部12は、PHY部11から入力された
データにリモートフォルトが発生したことを通知する情
報が含まれているか否かを検出する(図4ステップS1
00)。リモートフォルトが発生している場合は、図1
3に示すように、PHY部11とMAC部14との間の
データフォーマットのターミネート/T/の直後にリモ
ートフォルト/RF/が挿入されているので、データ内
にこのリモートフォルト/RF/が含まれているかの検
出を行う。この場合は、PHY部11から入力されたデ
ータは図2に示したようにターミネート/T/の直後
は、アイドル/I/であるので、リモートフォルトは検
出されない。
When data is input from the PHY unit 11,
The LF / RF detection unit 12 detects whether or not the data input from the PHY unit 11 includes information notifying that a remote fault has occurred (step S1 in FIG. 4).
00). If a remote fault has occurred, see Figure 1.
As shown in 3, since the remote fault / RF / is inserted immediately after the termination / T / of the data format between the PHY unit 11 and the MAC unit 14, this remote fault / RF / is included in the data. Is detected. In this case, since the data input from the PHY unit 11 is idle / I / immediately after termination / T / as shown in FIG. 2, the remote fault is not detected.

【0035】リモートフォルトが検出されなかった場
合、LF/RF検出部12は、データ内にローカルフォ
ルトが発生したことを通知する情報が含まれているか否
かを検出する(図4ステップS120)。ローカルフォ
ルトが発生している場合は、図11に示すように、デー
タ内にローカルフォルト/LF/が挿入されているの
で、データ内にこのローカルフォルト/LF/が含まれ
ているかの検出を行う。この場合は、PHY部11から
入力されたデータは図2に示したようにローカルフォル
ト/LF/は含まれていない。したがって、ローカルフ
ォルトは検出されない。LF/RF検出部12は、リモ
ートフォルトおよびローカルフォルトの検出が終了する
と、MAC部14にデータを出力する。
When the remote fault is not detected, the LF / RF detection unit 12 detects whether or not the data contains information notifying that a local fault has occurred (step S120 in FIG. 4). When a local fault has occurred, as shown in FIG. 11, since the local fault / LF / is inserted in the data, it is detected whether or not this local fault / LF / is included in the data. . In this case, the data input from the PHY unit 11 does not include the local fault / LF / as shown in FIG. Therefore, no local fault is detected. When the detection of the remote fault and the local fault is completed, the LF / RF detection unit 12 outputs the data to the MAC unit 14.

【0036】LF/RF検出部12からデータが入力さ
れると、MAC部14は、入力されたデータ内にローカ
ルフォルトが発生したことを通知する情報が含まれてい
るか否かを検出する(図6ステップS300)。検出
は、LF/RF検出部12と同様にデータ内にローカル
フォルト/LF/が含まれているか否かで行われ、正常
時には、図2に示したデータであるのでローカルフォル
ト/LF/は検出されない。
When data is input from the LF / RF detection unit 12, the MAC unit 14 detects whether or not the input data includes information for notifying that a local fault has occurred (see FIG. 6 steps S300). Similar to the LF / RF detection unit 12, the detection is performed depending on whether or not the data includes the local fault / LF /. In normal operation, since the data is the data shown in FIG. 2, the local fault / LF / is detected. Not done.

【0037】データ内にローカルフォルト/LF/が検
出されなかった場合、つまり、データが正常な場合は、
MAC部12は、図3に示すような通常のMACパケッ
トを作成しレイヤ2スイッチ30にデータを送信する
(図6ステップS310)。この場合は、宛先アドレス
DAにはポート10P#1のMACアドレスを、送信元
アドレスSAにはポート10P#3のMACアドレスが
それぞれ挿入される。
When the local fault / LF / is not detected in the data, that is, when the data is normal,
The MAC unit 12 creates a normal MAC packet as shown in FIG. 3 and transmits the data to the layer 2 switch 30 (step S310 in FIG. 6). In this case, the MAC address of port 10P # 1 is inserted into the destination address DA, and the MAC address of port 10P # 3 is inserted into the source address SA.

【0038】MAC部14からデータを受信すると、レ
イヤ2スイッチ30は、ポート状態テーブル21を参照
し、MACフレーム内の宛先アドレスDAおよび送信元
アドレスSAが示すポート状態を確認する(図7ステッ
プS400)。図8(a)は正常時のポート状態テーブ
ル21の内容を示している。図8(a)で示すポート状
態テーブル21では、ポート10P#1とポート10P
#3の何れのポートも「OK」の表示となっているので
ポートに障害は発生していないことが確認される。
Upon receiving the data from the MAC unit 14, the layer 2 switch 30 refers to the port state table 21 and confirms the port state indicated by the destination address DA and the source address SA in the MAC frame (step S400 in FIG. 7). ). FIG. 8A shows the contents of the port status table 21 at the normal time. In the port status table 21 shown in FIG. 8A, the port 10P # 1 and the port 10P are
Since "OK" is displayed for all the ports # 3, it is confirmed that no fault has occurred in the ports.

【0039】ポート状態テーブル21を参照してポート
状態を確認すると、レイヤ2スイッチ30は、アドレス
テーブル22を参照し、通信経路を確認する(図7ステ
ップS410)。正常時のアドレステーブル22は、図
9(a)に示すように、ポート10P#3はポート10
P#1と接続されている。
When the port status is checked by referring to the port status table 21, the layer 2 switch 30 checks the communication path by referring to the address table 22 (step S410 in FIG. 7). As shown in FIG. 9A, the address table 22 in the normal state shows that the port 10P # 3 is the port 10
It is connected to P # 1.

【0040】レイヤ2スイッチ30は、ポート状態テー
ブル21を参照した結果から、送信先のポート10にリ
モートフォルトが発生していないか否かを判定する(図
7ステップS420)。送信先のポート10にリモート
フォルトが発生していると、パケットを送信してもその
ポート10では処理できないからである。送信先のポー
ト10にリモートフォルトが発生していない場合は、通
常のプロトコルにしたがってパケット送信処理を行う
(図7ステップS430)。
The layer 2 switch 30 determines from the result of referring to the port status table 21 whether or not a remote fault has occurred in the destination port 10 (step S420 in FIG. 7). This is because if a remote fault has occurred in the destination port 10, even if a packet is transmitted, that port 10 cannot process it. When the remote fault has not occurred in the destination port 10, packet transmission processing is performed according to the normal protocol (step S430 in FIG. 7).

【0041】ここで、図10に示すようにポート10P
#3のPHY部11の受信側、または、PHY部11が
受信する信号が伝送される伝送路、他ノードで障害が発
生した(ローカルフォルトが発生した)とする。PHY
部11の受信側、または、PHY部11が受信する信号
が伝送される伝送路、他ノードで障害が発生した場合、
PHY部11は、その障害を検出し、図11に示すよう
に障害が生じたデータ全てをローカルフォルト/LF/
に変換する。PHY部11は変換されたデータをLF/
RF検出部12に出力する。
Here, as shown in FIG. 10, the port 10P
It is assumed that a failure has occurred (a local fault has occurred) in the receiving side of the # 3 PHY unit 11, the transmission path through which the signal received by the PHY unit 11 is transmitted, or another node. PHY
When a failure occurs on the receiving side of the unit 11, the transmission path on which the signal received by the PHY unit 11 is transmitted, or another node,
The PHY unit 11 detects the failure, and as shown in FIG. 11, local failure / LF /
Convert to. The PHY unit 11 converts the converted data to LF /
Output to the RF detection unit 12.

【0042】PHY部11からデータが入力されると、
LF/RF検出部12は、PHY部11から入力された
データにリモートフォルトが発生したことを通知する情
報が含まれているか否かを検出する(図4ステップS1
00)。PHY部11から入力されたデータには図11
に示すように、ターミネート/T/およびリモートフォ
ルト/RF/は含まれていないので、リモートフォルト
は検出されない。
When data is input from the PHY unit 11,
The LF / RF detection unit 12 detects whether or not the data input from the PHY unit 11 includes information notifying that a remote fault has occurred (step S1 in FIG. 4).
00). The data input from the PHY unit 11 is shown in FIG.
As shown in FIG. 3, the remote fault is not detected because the termination / T / and the remote fault / RF / are not included.

【0043】リモートフォルトが検出されなかった場
合、LF/RF検出部12は、データ内にローカルフォ
ルトが発生したことを通知する情報が含まれているか否
かを検出する(図4ステップS120)。図11に示す
ように、PHY部11から入力されたデータにはローカ
ルフォルト/LF/が含まれている。したがって、LF
/RF検出部12は、このローカルフォルト/LF/を
検出する。ローカルフォルト/LF/を検出すると、L
F/RF検出部12は、RF転送部13にローカルフォ
ルトが発生したことを通知する(図4ステップS14
0)。
When the remote fault is not detected, the LF / RF detection unit 12 detects whether or not the data includes information notifying that a local fault has occurred (step S120 in FIG. 4). As shown in FIG. 11, the data input from the PHY unit 11 includes the local fault / LF /. Therefore, LF
The / RF detection unit 12 detects this local fault / LF /. When a local fault / LF / is detected, L
The F / RF detection unit 12 notifies the RF transfer unit 13 that a local fault has occurred (step S14 in FIG. 4).
0).

【0044】RF転送部13にローカルフォルトの発生
を通知すると、LF/RF検出部12は、ポート状態テ
ーブル21の当該ポート10に対するポート状態を変更
し、ポート使用禁止処理を行う(図4ステップS15
0)。具体的には、図8(a)に示した正常時のポート
状態テーブル21を、図8(b)に示すように、ローカ
ルフォルトが発生しているポート10P#3のポート状
態を「OK」から「LF」に変更する。これにより、以
後ポート状態テーブル21を参照すると、ポート10P
#3はローカルフォルトが発生していることが認識でき
るようになる。ポート状態テーブル21を変更すると、
LF/RF検出部12は、データをMAC部14に出力
する。
When the RF transfer unit 13 is notified of the occurrence of the local fault, the LF / RF detection unit 12 changes the port state of the port 10 in the port state table 21 and performs the port use prohibition process (step S15 in FIG. 4).
0). Specifically, as shown in FIG. 8B, the normal port status table 21 shown in FIG. 8A shows the port status of the port 10P # 3 in which the local fault has occurred as “OK”. To "LF". As a result, referring to the port status table 21 thereafter, the port 10P
# 3 becomes able to recognize that a local fault has occurred. If you change the port status table 21,
The LF / RF detection unit 12 outputs the data to the MAC unit 14.

【0045】LF/RF検出部12からデータが入力さ
れると、MAC部14は、入力されたデータ内にローカ
ルフォルトが発生したことを通知する情報が含まれてい
るか否かを検出する(図6ステップS300)。LF/
RF検出部12から入力されたデータには、図11に示
すようにローカルフォルト/LF/が含まれているの
で、MAC部14は、このローカルフォルト/LF/を
検出する。LF/RF検出部12から入力されたデータ
内にローカルフォルト/LF/を検出すると、MAC部
14は、図12に示すRFパケットを作成する(図6ス
テップS320)。
When data is input from the LF / RF detection unit 12, the MAC unit 14 detects whether or not the input data includes information for notifying that a local fault has occurred (see FIG. 6 steps S300). LF /
Since the data input from the RF detection unit 12 includes the local fault / LF / as shown in FIG. 11, the MAC unit 14 detects this local fault / LF /. When the local fault / LF / is detected in the data input from the LF / RF detection unit 12, the MAC unit 14 creates the RF packet shown in FIG. 12 (step S320 in FIG. 6).

【0046】LF/RF検出部12から入力されたデー
タは、図11に示すようにローカルフォルト/LF/が
挿入されており、図3に示した宛先アドレスDA、送信
元アドレスSAなど全て上書きされ情報が消失してい
る。MAC部14は、LF/RF検出部12によって変
更されたポート状態テーブル21から、ローカルフォル
トが発生したポートを検索する。図8(b)に示すよう
に、ポート状態テーブル21には、ポート10P#3に
ローカルフォルトを示す「LF」が記憶されているの
で、ポート10P#3が検出される。ポート10P#3
が検出されると、MAC部14は、当該する転送先のア
ドレスをアドレステーブル22より取得し、このアドレ
スをローカルフォルト/LF/が発生した信号の送信元
アドレスをRFパケットの送信元アドレスSAに挿入す
る。すなわち、ポート10P#3のアドレスをRFパケ
ットの送信元アドレスSAに挿入する。また、アドレス
テーブル22より、ポート10P#3と接続されている
ポートがポート10P#1であることがわかるので、M
AC部14は、宛先アドレスDAにポート10P#1の
アドレスを挿入する。さらに、パケット長/種類Lnと
フレームチェックFCSの間の正常時に送信データDA
TAが挿入されている部分に7byteのリモートフォ
ルト/RF/を挿入し、図12に示すRFパケットを作
成する。作成されたRFパケットは、レイヤ2スイッチ
30に送信される。
In the data input from the LF / RF detection unit 12, the local fault / LF / is inserted as shown in FIG. 11, and the destination address DA and the source address SA shown in FIG. 3 are all overwritten. Information is lost. The MAC unit 14 searches the port state table 21 changed by the LF / RF detection unit 12 for a port in which a local fault has occurred. As shown in FIG. 8B, since the port status table 21 stores “LF” indicating a local fault in the port 10P # 3, the port 10P # 3 is detected. Port 10P # 3
When the MAC address is detected, the MAC unit 14 acquires the address of the relevant transfer destination from the address table 22, and uses this address as the source address SA of the RF packet for the source address of the signal in which the local fault / LF / has occurred. insert. That is, the address of the port 10P # 3 is inserted into the source address SA of the RF packet. Further, since it is known from the address table 22 that the port connected to the port 10P # 3 is the port 10P # 1, M
The AC unit 14 inserts the address of the port 10P # 1 into the destination address DA. Further, the transmission data DA is normally transmitted between the packet length / type Ln and the frame check FCS.
A remote fault / RF / of 7 bytes is inserted in the portion where the TA is inserted, and the RF packet shown in FIG. 12 is created. The created RF packet is transmitted to the layer 2 switch 30.

【0047】ポート10P#3からMACパケットを受
信するとレイヤ2スイッチ30は、ポート状態テーブル
21を参照し、MACフレーム内の送信元アドレスSA
および宛先アドレスDAが示すポート状態を確認する
(図7ステップS400)。MACパケットの宛先アド
レスDAは、ポート10P#1であり、変更されたポー
ト状態テーブル21は、図8(b)に示すようにポート
10P#1は使用可能であるので、レイヤ2スイッチ3
0は、ポート10P#1が使用可能であることを判別す
る。宛先アドレスDAのポート状態を確認すると、レイ
ヤ2スイッチ30は、図9(b)に示すアドレステーブ
ル22を参照し送信経路がポート10P#3からポート
10P#1であることを認識する(図7ステップS41
0)。送信先、つまりMACパケットの宛先アドレスD
Aのポートであるポート10P#1がリモートフォルト
であるか否かを判定する(図7ステップS420)。ポ
ート10P#1は、使用可能であるので、レイヤ2スイ
ッチ30は、パケット送信処理を行う(図7ステップS
430)。
Upon receiving the MAC packet from the port 10P # 3, the layer 2 switch 30 refers to the port state table 21 and refers to the source address SA in the MAC frame.
Then, the port state indicated by the destination address DA is confirmed (step S400 in FIG. 7). The destination address DA of the MAC packet is the port 10P # 1, and the changed port state table 21 can use the port 10P # 1 as shown in FIG.
0 determines that the port 10P # 1 is available. When confirming the port state of the destination address DA, the layer 2 switch 30 refers to the address table 22 shown in FIG. 9B and recognizes that the transmission route is from the port 10P # 3 to the port 10P # 1 (FIG. 7). Step S41
0). Destination, that is, destination address D of MAC packet
It is determined whether or not the port 10P # 1 which is the port A is a remote fault (step S420 in FIG. 7). Since the port 10P # 1 is available, the layer 2 switch 30 performs packet transmission processing (step S in FIG. 7).
430).

【0048】レイヤ2スイッチ30が、ポート10P#
1からポート10P#3へのMACパケットを送信する
場合、レイヤ2スイッチ30は、ポート状態テーブル2
1を参照し、MACフレーム内の送信元アドレスSAお
よび宛先アドレスDAが示すポート状態を確認する(図
7ステップS400)。ポート状態テーブル21は、図
8(b)に示すようにポート10P#3のポート状態が
ローカルフォルトであることを示す「LF」が記憶され
ているので、レイヤ2スイッチ30は、ポート10P#
3がローカルフォルトであることを判別する。ポート状
態テーブル21を参照してポート状態を確認すると、レ
イヤ2スイッチ30は、アドレステーブル22を参照し
送信経路がポート10P#1からポート10P#3であ
ることを認識する(図7ステップS410)。
The layer 2 switch 30 uses the port 10P #
When transmitting a MAC packet from port 1 to port 10P # 3, the layer 2 switch 30 uses the port state table 2
1, the port state indicated by the source address SA and the destination address DA in the MAC frame is confirmed (step S400 in FIG. 7). Since the port state table 21 stores “LF” indicating that the port state of the port 10P # 3 is a local fault as shown in FIG. 8B, the layer 2 switch 30 sets the port 10P # 3 to the port 10P #.
Determine that 3 is a local fault. When the port status is confirmed by referring to the port status table 21, the layer 2 switch 30 recognizes that the transmission route is from the port 10P # 1 to the port 10P # 3 by referring to the address table 22 (step S410 in FIG. 7). .

【0049】レイヤ2スイッチ30は、送信先であるポ
ート10P#3のポート状態がリモートフォルトである
か否かを判定する(図7ステップS420)。ポート1
0P#3のポート状態はローカルフォルト、すなわち受
信側の障害であり、送信側には障害が発生していないた
め送信処理は可能であると判断し、パケット送信処理を
行う(図7ステップS430)。
The layer 2 switch 30 determines whether or not the port state of the destination port 10P # 3 is a remote fault (step S420 in FIG. 7). Port 1
The port state of 0P # 3 is a local fault, that is, a failure on the receiving side, and it is determined that transmission processing is possible because no failure has occurred on the transmitting side, and packet transmission processing is performed (step S430 in FIG. 7). .

【0050】一方、LF/RF検出部12から通知を受
けると、RF転送部13は、LF/RF検出部12から
の通知がローカルフォルトであるか否かを判定する(図
5ステップS200)。この場合は、LF/RF検出部
12でローカルフォルトが検出されている。したがっ
て、RF転送部13は、対向するデータ(MAC部14
からPHY部11への信号)に対して図13に示すよう
に、ターミネート/T/の直後にリモートフォルトを通
知するためのリモートフォルト/RF/を挿入する(図
5ステップS220)。つまり、対向するデータは、図
2に示した正常時のデータフォーマットより、挿入され
たリモートフォルト/RF/の分だけデータ長が長くな
る。リモートフォルト/RF/が挿入されたデータは、
PHY部11に出力される。PHY部11は、図13に
示すデータを他ノードへ送信する。
On the other hand, when receiving the notification from the LF / RF detection unit 12, the RF transfer unit 13 determines whether the notification from the LF / RF detection unit 12 is a local fault (step S200 in FIG. 5). In this case, the LF / RF detection unit 12 has detected a local fault. Therefore, the RF transfer unit 13 uses the opposite data (MAC unit 14
13 to the PHY unit 11), a remote fault / RF / for notifying a remote fault is inserted immediately after the termination / T / as shown in FIG. 13 (step S220 in FIG. 5). That is, the data length of the opposing data is longer than that of the normal data format shown in FIG. 2 by the inserted remote fault / RF /. The data with remote fault / RF / inserted is
It is output to the PHY unit 11. The PHY unit 11 transmits the data shown in FIG. 13 to another node.

【0051】つぎに、ポート10P#1から送信された
パケットがレイヤ2スイッチ30を介してポート10P
#3が受信した場合(上り通信)のポート10P#3の
動作を説明する。ポート10P#1がレイヤ2スイッチ
30にデータを送信するまでの動作は、上述した下り通
信の正常動作と同様であるので、ここではその説明を省
略する。
Next, the packet transmitted from the port 10P # 1 passes through the layer 2 switch 30 to the port 10P.
The operation of port 10P # 3 when # 3 receives (uplink communication) will be described. The operation until the port 10P # 1 transmits data to the layer 2 switch 30 is the same as the normal operation of the downlink communication described above, and thus the description thereof is omitted here.

【0052】レイヤ2スイッチ30からデータを受信す
ると、MAC部14は、図2に示すようなフォーマット
のデータを生成しRF転送部13に出力する。ここで図
2のデータ/D/には受信したパケット(図3参照)が
挿入される。
Upon receiving the data from the layer 2 switch 30, the MAC unit 14 generates the data in the format shown in FIG. 2 and outputs it to the RF transfer unit 13. Here, the received packet (see FIG. 3) is inserted into the data / D / in FIG.

【0053】MAC部14からデータが入力されると、
RF転送部13は、データ内に、ローカルフォルトの情
報が含まれているか否かを判定する(図5ステップS2
00)。この場合は、図2に示すように、データ内にロ
ーカルフォルト/LF/は含まれていない。したがっ
て、RF転送部13は、ローカルフォルト/LF/を検
出しない。ローカルフォルト/LF/が検出されなかっ
た場合、RF転送部13は、データをそのままPHY部
11に出力する(図5ステップS210)。
When data is input from the MAC unit 14,
The RF transfer unit 13 determines whether or not the data includes information on a local fault (step S2 in FIG. 5).
00). In this case, as shown in FIG. 2, the local fault / LF / is not included in the data. Therefore, the RF transfer unit 13 does not detect the local fault / LF /. When the local fault / LF / is not detected, the RF transfer unit 13 outputs the data as it is to the PHY unit 11 (step S210 in FIG. 5).

【0054】RF転送部13からデータが入力されると
PHY部11は、他ノードへデータを出力する。
When data is input from the RF transfer unit 13, the PHY unit 11 outputs the data to another node.

【0055】つぎに、図14に示すように、ポート10
P#3のPHY部11またはポート10P#3から他ノ
ードへの伝送路において障害が発生した場合の動作をポ
ート10P#3に着目して説明する。この障害は、他ノ
ード(図示せず)のPHY部11の受信側で障害(ロー
カルフォルト)を検出し、その障害をLF/RF検出部
12がRF転送部13に通知することで、折り返しリモ
ートフォルトとしてPHY部11を介してポート10P
#3に送信される。
Next, as shown in FIG.
The operation when a failure occurs in the transmission path from the PHY unit 11 of P # 3 or the port 10P # 3 to another node will be described by focusing on the port 10P # 3. This fault is detected by the reception side of the PHY unit 11 of another node (not shown) (local fault), and the LF / RF detection unit 12 notifies the RF transfer unit 13 of the fault, so that the return remote Port 10P via PHY unit 11 as a fault
Sent to # 3.

【0056】他ノードのPHY部11が図13に示した
データを送信し、ポート10P#3のPHY部11がそ
のデータを受信する。受信側での障害は検出されないの
で、PHY部11は、受信したデータをLF/RF検出
部12に出力する。
The PHY unit 11 of the other node transmits the data shown in FIG. 13, and the PHY unit 11 of the port 10P # 3 receives the data. Since no failure is detected on the receiving side, the PHY unit 11 outputs the received data to the LF / RF detection unit 12.

【0057】PHY部11からデータが入力されると、
LF/RF検出部12は、PHY部11から入力された
データにリモートフォルトが発生したことを通知する情
報が含まれているか否かを検出する(図4ステップS1
00)。PHY部11から入力されたデータには図13
に示すように、ターミネート/T/の後ろにリモートフ
ォルト/RF/が挿入されている。したがって、LF/
RF検出部12は、このリモートフォルト/RF/を検
出する。リモートフォルト/RF/を検出すると、LF
/RF検出部12は、ポート状態テーブル21の自ポー
トに対するポート状態を変更しポート使用禁止処理を行
う(図4ステップS130)。具体的には、図8(c)
に示すように、ポート10P#3のポート状態を「R
F」に変更する。
When data is input from the PHY unit 11,
The LF / RF detection unit 12 detects whether or not the data input from the PHY unit 11 includes information notifying that a remote fault has occurred (step S1 in FIG. 4).
00). The data input from the PHY unit 11 is shown in FIG.
As shown in, the remote fault / RF / is inserted after the termination / T /. Therefore, LF /
The RF detection unit 12 detects this remote fault / RF /. LF is detected when remote fault / RF / is detected.
The / RF detection unit 12 changes the port status for the own port in the port status table 21 and performs the port use prohibition process (step S130 in FIG. 4). Specifically, FIG. 8 (c)
As shown in, the port status of port 10P # 3 is changed to "R
Change to "F".

【0058】ポート状態テーブル21の変更を行うと、
LF/RF検出部12は、データ内にローカルフォルト
が発生したことを通知する情報が含まれているか否かを
検出する(図4ステップS120)。PHY部11から
入力されたデータには図13に示すように、ローカルフ
ォルト/LF/は含まれていないので、ローカルフォル
トは検出されない。ローカルフォルトの検出が終了する
と、MAC部14にデータを出力する。
When the port status table 21 is changed,
The LF / RF detection unit 12 detects whether or not the data includes information for notifying that a local fault has occurred (step S120 in FIG. 4). Since the data input from the PHY unit 11 does not include the local fault / LF / as shown in FIG. 13, the local fault is not detected. When the detection of the local fault is completed, the data is output to the MAC unit 14.

【0059】LF/RF検出部12からデータが入力さ
れると、MAC部14は、入力されたデータ内にローカ
ルフォルトが発生したことを通知する情報が含まれてい
るか否かを検出する(図6ステップS300)。入力さ
れたデータは図13に示すように、ローカルフォルト/
LF/は含まれていないので、MAC部14は、レイヤ
2スイッチ30にパケットを送信する(図6ステップS
310)。
When data is input from the LF / RF detection unit 12, the MAC unit 14 detects whether or not the input data includes information for notifying that a local fault has occurred (see FIG. 6 steps S300). The input data is the local fault /
Since the LF / is not included, the MAC unit 14 transmits the packet to the layer 2 switch 30 (step S in FIG. 6).
310).

【0060】ここで、ポート10P#1からポート10
P#3へのパケットがレイヤ2スイッチ30に送信され
てきたとする。レイヤ2スイッチ30は、ポート状態テ
ーブル21を参照し、MACフレーム内の送信元アドレ
スSAおよび宛先アドレスDAが示すポート状態を確認
する(図7ステップS400)。ポート状態テーブル2
1は、図8(c)に示すようにポート10P#3のポー
ト状態が「RF」であるので、レイヤ2スイッチ30
は、ポート10P#3がローカルフォルトであることを
判別する。ポート状態テーブル21を参照してポート状
態を確認すると、レイヤ2スイッチ30は、アドレステ
ーブル22を参照し送信経路がポート10P#1からポ
ート10P#3であることを認識する(図7ステップS
410)。
Here, from port 10P # 1 to port 10
It is assumed that the packet for P # 3 is transmitted to the layer 2 switch 30. The layer 2 switch 30 refers to the port state table 21 and confirms the port state indicated by the source address SA and the destination address DA in the MAC frame (step S400 in FIG. 7). Port status table 2
1, the port status of the port 10P # 3 is "RF" as shown in FIG.
Determines that port 10P # 3 has a local fault. When the port status is confirmed by referring to the port status table 21, the layer 2 switch 30 recognizes that the transmission route is from the port 10P # 1 to the port 10P # 3 by referring to the address table 22 (step S in FIG. 7).
410).

【0061】レイヤ2スイッチ30は、送信先であるポ
ート10P#3のポート状態がリモートフォルトである
か否かを判定する(図7ステップS420)。ポート1
0P#3のポート状態はリモートフォルトであり、デー
タを送信しても障害により消失してしまう。そのため、
レイヤ2スイッチ30は、ポート10P#3のポート以
外のポートを選択し、アドレステーブル22を変更する
(図7ステップS440)。具体的には、図9(a)に
示す通常時のアドレステーブル22を図9(c)に示す
ように、障害が発生しているポート10P#3の送信経
路を別のポート(この場合はp)に変更する。アドレス
テーブル22が変更されたために、以降ポート10P#
3への送信は行われず、ポート10P#pに迂回され
る。
The layer 2 switch 30 determines whether or not the port state of the destination port 10P # 3 is a remote fault (step S420 in FIG. 7). Port 1
The port status of 0P # 3 is a remote fault, and even if data is transmitted, it will be lost due to the failure. for that reason,
The layer 2 switch 30 selects a port other than the port of the port 10P # 3 and changes the address table 22 (step S440 in FIG. 7). Specifically, as shown in FIG. 9C in the address table 22 in the normal state shown in FIG. 9A, the transmission path of the faulty port 10P # 3 is changed to another port (in this case, p). Since the address table 22 has been changed, port 10P #
No transmission is made to port 3, and the route is detoured to port 10P # p.

【0062】このように本実施の形態では、PHY部1
1は物理層での障害検出を行い、LF/RF検出部12
は、障害発生の状態に基づきレイヤ2スイッチ30が参
照するポート状態テーブル21を変更する。障害がロー
カルフォルトの場合は、上り通信方向へもその障害を通
知するために、RF転送部13は、RFパケットを作成
し、MAC部14が生成したデータのターミネート/T
/とアイドル/I/の間にリモートフォルト/RF/を
挿入して出力する。これにより、物理層における障害検
出と障害が発生した時のポート切替え時間を短縮し、M
AC部14が生成したパケットに影響を与えず他ノード
に障害の発生を通知することができる。
As described above, in this embodiment, the PHY unit 1
1 detects a fault in the physical layer, and the LF / RF detection unit 12
Changes the port status table 21 referred to by the layer 2 switch 30 based on the failure occurrence status. When the fault is a local fault, the RF transfer unit 13 creates an RF packet in order to notify the fault in the upstream communication direction as well, and terminates / Ts the data generated by the MAC unit 14.
Insert remote fault / RF / between / and idle / I / and output. This reduces the physical layer failure detection and port switching time when a failure occurs,
It is possible to notify another node of the occurrence of a failure without affecting the packet generated by the AC unit 14.

【0063】なお、ローカルフォルトが発生した場合の
PHY部11が挿入するローカルフォルト/LF/の位
置は、スタートフラグ/S/以降であればどこに挿入し
てもかまわない。
When the local fault occurs, the position of the local fault / LF / inserted by the PHY unit 11 may be anywhere as long as it is the start flag / S / or later.

【0064】[0064]

【発明の効果】以上説明したように、この発明によれ
ば、物理レイヤ障害検出手段は、物理層における障害を
物理層にて検出し、検出した障害が物理層からMAC層
への通信方向の障害である場合、物理レイヤ障害転送手
段は、対向通信のデータにも前記検出された障害を通知
するようにしているため、障害検出時間を短縮すること
ができる。
As described above, according to the present invention, the physical layer failure detection means detects a failure in the physical layer at the physical layer, and the detected failure is in the communication direction from the physical layer to the MAC layer. In the case of a failure, the physical layer failure transfer means also notifies the data of the opposite communication of the detected failure, so that the failure detection time can be shortened.

【0065】つぎの発明によれば、物理レイヤ障害転送
手段は、物理レイヤ障害検出手段が障害を検出した場合
に、ポート状態記憶手段のポート状態を変更し、レイヤ
2切替手段は、変更されたポート状態記憶手段のポート
状態に基づき障害の発生したポートを迂回してパケット
を送信するようにアドレス記憶手段内の障害が検出され
たポートに関する経路情報を変更し、前記パケットを送
信するようにしているため、MAC層のみで障害検出お
よび障害が検出されたポートの切替えを行った場合より
障害検出およびポートの切替時間を短縮することができ
る。
According to the next invention, the physical layer failure transfer means changes the port status of the port status storage means when the physical layer failure detection means detects a failure, and the layer 2 switching means is changed. Based on the port status of the port status storage means, the route information regarding the port in which the failure is detected in the address storage means is changed so that the packet is sent around the failed port, and the packet is sent. Therefore, the failure detection time and the port switching time can be shortened as compared with the case where the failure detection and the port detection of the failure are performed only in the MAC layer.

【0066】つぎの発明によれば、MAC手段は、MA
Cパケット内のデータ領域に、物理レイヤ障害検出手段
が障害を検出したことを通知するための物理レイヤ障害
情報を挿入するようにしているため、イーサネット(登
録商標)においてポートに接続されている他ノードにも
障害発生を通知することができる。
According to the next invention, the MAC means is an MA.
Since the physical layer fault information for notifying that the physical layer fault detecting means has detected the fault is inserted into the data area in the C packet, other information is connected to the port in Ethernet (registered trademark). The node can also be notified of the failure occurrence.

【0067】つぎの発明によれば、MAC手段は、物理
レイヤ障害情報が挿入されたMACパケットの送信元ア
ドレスおよび宛先アドレスをポート状態記憶手段および
アドレス記憶手段より取得するようにしているため、M
ACアドレスの消失があっても、もとの宛先アドレスへ
パケットを送信することができる。
According to the next invention, the MAC means acquires the source address and the destination address of the MAC packet in which the physical layer failure information is inserted from the port state storage means and the address storage means.
Even if the AC address is lost, the packet can be sent to the original destination address.

【0068】つぎの発明によれば、物理レイヤ障害転送
手段は、障害検出を他ノードに通知する場合、MAC手
段から送信されたパケット列とは異なるタイムスロット
に障害を通知する情報を挿入するようにしているため、
正規のパケットに影響を与えずに障害を転送することが
できる。
According to the next invention, the physical layer failure transfer means inserts the failure notification information into the time slot different from the packet sequence transmitted from the MAC means when notifying the failure detection to the other node. Because
Faults can be forwarded without affecting legitimate packets.

【図面の簡単な説明】[Brief description of drawings]

【図1】 この発明にかかる通信経路切替装置の実施の
形態の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an embodiment of a communication path switching device according to the present invention.

【図2】 物理レイヤにおけるデータフォーマットを示
す図である。
FIG. 2 is a diagram showing a data format in a physical layer.

【図3】 MACレイヤにおけるデータフォーマットを
示す図である。
FIG. 3 is a diagram showing a data format in a MAC layer.

【図4】 LF/RF検出部の動作を説明するためのフ
ローチャートである。
FIG. 4 is a flowchart for explaining the operation of the LF / RF detection unit.

【図5】 RF転送部の動作を説明するためのフローチ
ャートである。
FIG. 5 is a flowchart for explaining the operation of the RF transfer unit.

【図6】 MAC部の動作を説明するためのフローチャ
ートである。
FIG. 6 is a flowchart for explaining the operation of the MAC unit.

【図7】 レイヤ2スイッチの動作を説明するためのフ
ローチャートである。
FIG. 7 is a flowchart for explaining the operation of the layer 2 switch.

【図8】 ポート状態テーブルを示す図である。FIG. 8 is a diagram showing a port status table.

【図9】 アドレステーブルを示す図である。FIG. 9 is a diagram showing an address table.

【図10】 受信側の障害が発生した場合の通信経路切
替装置の構成を示すブロック図である。
FIG. 10 is a block diagram showing a configuration of a communication path switching device when a failure occurs on the receiving side.

【図11】 ローカルフォルトが発生した場合の物理レ
イヤにおけるデータフォーマットを示す図である。
FIG. 11 is a diagram showing a data format in a physical layer when a local fault occurs.

【図12】 リモートフォルトを通知するためのRFパ
ケットのフォーマットを示す図である。
FIG. 12 is a diagram showing a format of an RF packet for notifying a remote fault.

【図13】 リモートフォルトを通知するための物理レ
イヤにおけるデータフォーマットを示す図である。
FIG. 13 is a diagram showing a data format in a physical layer for notifying a remote fault.

【図14】 送信側の障害が発生した場合の通信経路切
替装置の構成を示すブロック図である。
FIG. 14 is a block diagram showing the configuration of a communication path switching device when a failure occurs on the transmission side.

【図15】 従来のLANアダプタ部の構成を示すブロ
ック図である。
FIG. 15 is a block diagram showing a configuration of a conventional LAN adapter unit.

【符号の説明】[Explanation of symbols]

10 ポート、11 PHY部、12 LF/RF検出
部、13 RF転送部、14 MAC部、20 テーブ
ル部、21 ポート状態テーブル、22、56アドレス
テーブル、30 レイヤ2スイッチ、50 LANアダ
プタ部、52−1、52−2、52−3、52−4 P
HY、54 処理部、60 セルスイッチインタフェー
ス部、62 制御インターフェース。
10 ports, 11 PHY section, 12 LF / RF detection section, 13 RF transfer section, 14 MAC section, 20 table section, 21 port status table, 22, 56 address table, 30 layer 2 switch, 50 LAN adapter section, 52- 1, 52-2, 52-3, 52-4 P
HY, 54 processing unit, 60 cell switch interface unit, 62 control interface.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 物理層の通信制御を行い、物理層におけ
る障害を物理層にて検出する物理レイヤ障害検出手段
と、 前記物理レイヤ障害検出手段で検出された障害が物理層
からMAC層への通信方向の障害である場合、対向通信
のデータにも前記検出された障害を通知する物理レイヤ
障害転送手段と、 MAC層の通信制御を行うMAC手段と、 を備える複数のポートと、 前記複数のポートの状態を記憶するポート状態記憶手段
と、 前記複数のポートの通信経路をポートアドレスによって
記憶しているアドレス記憶手段と、 前記複数のポートが接続され、レイヤ2切替えを行うレ
イヤ2切替手段と、 を備えることを特徴とする通信経路切替装置。
1. A physical layer failure detecting means for controlling a physical layer communication and detecting a failure in the physical layer in the physical layer, and a failure detected by the physical layer failure detecting means from the physical layer to the MAC layer. In the case of a failure in the communication direction, a physical layer failure transfer means for notifying the detected failure to the data of the opposite communication, a MAC means for controlling the communication of the MAC layer, and a plurality of ports, A port state storage unit that stores the state of the port; an address storage unit that stores the communication paths of the plurality of ports by port addresses; and a layer 2 switching unit that connects the plurality of ports and performs layer 2 switching A communication path switching device comprising:
【請求項2】 前記物理レイヤ障害転送手段は、前記物
理レイヤ障害検出手段が障害を検出した場合に、前記ポ
ート状態記憶手段のポート状態を変更し、 前記レイヤ2切替手段は、前記変更されたポート状態記
憶手段のポート状態に基づき障害の発生したポートを迂
回してパケットを送信するように前記アドレス記憶手段
内の障害が検出されたポートに関する経路情報を変更
し、前記パケットを送信することを特徴とする請求項1
に記載の通信経路切替装置。
2. The physical layer failure transfer means changes the port status of the port status storage means when the physical layer failure detection means detects a failure, and the layer 2 switching means changes the port status. Changing the route information related to the port in which the failure is detected in the address storage means based on the port state of the port state storage means so as to transmit the packet by bypassing the failed port, and transmitting the packet. Claim 1 characterized by
The communication path switching device described in.
【請求項3】 前記MAC手段は、MACパケット内の
データ領域に、前記物理レイヤ障害検出手段が障害を検
出したことを通知するための物理レイヤ障害情報を挿入
することを特徴とする請求項1または2に記載の通信経
路切替装置。
3. The MAC means inserts physical layer failure information for notifying that the physical layer failure detection means has detected a failure into a data area in a MAC packet. Alternatively, the communication path switching device according to item 2.
【請求項4】 前記MAC手段は、前記物理レイヤ障害
情報が挿入されたMACパケットの送信元アドレスおよ
び宛先アドレスを前記ポート状態記憶手段および前記ア
ドレス記憶手段より取得することを特徴とする請求項3
に記載の通信経路切替装置。
4. The MAC means acquires a source address and a destination address of a MAC packet in which the physical layer failure information is inserted from the port state storage means and the address storage means.
The communication path switching device described in.
【請求項5】 前記物理レイヤ障害転送手段は、障害検
出を他ノードに通知する場合、前記MAC手段から送信
されたパケット列とは異なるタイムスロットに障害を通
知する情報を挿入することを特徴とする請求項1〜4の
何れか一つに記載の通信経路切替装置。
5. The physical layer failure transfer means, when notifying the failure detection to another node, inserts the failure notification information into a time slot different from the packet sequence transmitted from the MAC means. The communication path switching device according to claim 1.
JP2002127223A 2002-04-26 2002-04-26 Communication path switching apparatus Pending JP2003324463A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002127223A JP2003324463A (en) 2002-04-26 2002-04-26 Communication path switching apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002127223A JP2003324463A (en) 2002-04-26 2002-04-26 Communication path switching apparatus

Publications (1)

Publication Number Publication Date
JP2003324463A true JP2003324463A (en) 2003-11-14

Family

ID=29541397

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002127223A Pending JP2003324463A (en) 2002-04-26 2002-04-26 Communication path switching apparatus

Country Status (1)

Country Link
JP (1) JP2003324463A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006325002A (en) * 2005-05-19 2006-11-30 Fujitsu Ltd Link down transfer system
JP2009135625A (en) * 2007-11-29 2009-06-18 Alaxala Networks Corp Communication equipment and communicating system, and method for detecting communication failure
WO2009138011A1 (en) * 2008-05-14 2009-11-19 华为技术有限公司 Method, apparatus, access device and system for port error detection
WO2010044248A1 (en) * 2008-10-15 2010-04-22 国立大学法人名古屋大学 Communication device, communication system, and communication method
JP2014049957A (en) * 2012-08-31 2014-03-17 Fujitsu Ltd Information processing device, data transfer device, information processing system, and method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006325002A (en) * 2005-05-19 2006-11-30 Fujitsu Ltd Link down transfer system
JP4655758B2 (en) * 2005-05-19 2011-03-23 富士通株式会社 Link-down transfer method
JP2009135625A (en) * 2007-11-29 2009-06-18 Alaxala Networks Corp Communication equipment and communicating system, and method for detecting communication failure
US8937869B2 (en) 2007-11-29 2015-01-20 Alaxala Networks Corporation Communication device, communication system, and communication fault detection method
WO2009138011A1 (en) * 2008-05-14 2009-11-19 华为技术有限公司 Method, apparatus, access device and system for port error detection
WO2010044248A1 (en) * 2008-10-15 2010-04-22 国立大学法人名古屋大学 Communication device, communication system, and communication method
JP2010098467A (en) * 2008-10-15 2010-04-30 Nagoya Univ Communication device, communication system, and communication method
CN101878618B (en) * 2008-10-15 2013-06-05 国立大学法人名古屋大学 Communication device, communication system, and communication method
US8805997B2 (en) 2008-10-15 2014-08-12 National University Corporation Nagoya University Communication apparatus detecting abnormaility by communicating an effectiveness notification
JP2014049957A (en) * 2012-08-31 2014-03-17 Fujitsu Ltd Information processing device, data transfer device, information processing system, and method

Similar Documents

Publication Publication Date Title
US7675859B2 (en) Transmission apparatus and transmission system
US7391719B2 (en) Redundant network interface for ethernet devices
CA2459286C (en) Method for supporting sdh/sonet aps on ethernet
US7440397B2 (en) Protection that automatic and speedily restore of Ethernet ring network
EP2224644B1 (en) A protection method, system and device in the packet transport network
US20080002570A1 (en) Network redundancy method, and middle apparatus and upper apparatus for the network redundancy method
US7289432B2 (en) High speed switching router using APS and method for switching the same
US20030061533A1 (en) Multi-device link aggregation
JPH0817388B2 (en) Protocol system, method for controlling the state of ports of a dynamic coupling device, dynamic switch and method for operating a bidirectional transmission system
US20130177021A1 (en) Communication device, communication system and communication method
JP4705492B2 (en) Ring node device and ring node redundancy method
US8098575B2 (en) Packet relay method and device
US20160191302A1 (en) Relay System and Switching Device
JP2008167315A (en) Redundant line connecting method and wide-area communication network node device
JP5862445B2 (en) Communication device
EP2178249B1 (en) Method of redundancy of ring network
US7061859B2 (en) Fast protection in ring topologies
JP2003324463A (en) Communication path switching apparatus
JP2016171403A (en) Transmission device and transmission method
JP2006074286A (en) Transmission apparatus
JP5169798B2 (en) Bridge device and virtual network failure switching method
JP2004096460A (en) Ethernet switch
JP4652245B2 (en) Alarm forwarding system
KR101442567B1 (en) Seamless network communication method using frame based routing on the ring topology
JPH11331231A (en) Multiplex network system and its communication equipment