[go: up one dir, main page]

JP2008199179A - Relief method in case of communication failure between layer 2 switch device and inter-card card - Google Patents

Relief method in case of communication failure between layer 2 switch device and inter-card card Download PDF

Info

Publication number
JP2008199179A
JP2008199179A JP2007030498A JP2007030498A JP2008199179A JP 2008199179 A JP2008199179 A JP 2008199179A JP 2007030498 A JP2007030498 A JP 2007030498A JP 2007030498 A JP2007030498 A JP 2007030498A JP 2008199179 A JP2008199179 A JP 2008199179A
Authority
JP
Japan
Prior art keywords
interface card
packet
communication
card
interface
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.)
Withdrawn
Application number
JP2007030498A
Other languages
Japanese (ja)
Inventor
Kenichi Hikiji
憲一 引持
Yoshinari Akakura
良成 赤倉
Yuichi Yamagishi
友一 山岸
Norihiro Yoshida
憲弘 吉田
Hirotaka Yamada
弘隆 山田
Kiyoshi Miyano
潔 宮野
Tatsuya Abe
達也 安部
Shigemori Okawa
茂盛 大川
Takeshi Oki
武 大木
Masaki Oi
雅貴 大井
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2007030498A priority Critical patent/JP2008199179A/en
Publication of JP2008199179A publication Critical patent/JP2008199179A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

【課題】レイヤ2スイッチ装置及び装置内カード間通信障害時の救済法に関し、置内のインタフェースカード間の接続路に通信障害が発生しても、パケット転送に切断が生じないようにする。
【解決手段】インタフェースカードの各々に、通信状態管理ブロック8と振り分けブロック31と選択ブロック41とを備え、通信状態管理ブロック8で各インタフェースカード間の接続路の通信状態を管理し、振り分けブロック31で、パケットの転送先のインタフェースカードの通信状態を、通信状態管理ブロック8を参照して判定し、通信不能の場合に、通信可能な他のインタフェースカードの接続路へ該パケットを転送し、選択ブロック41で、転送されてきたパケットの宛先が自インタフェースカードであるか否かを判定し、自カード宛である場合に該パケットを出力処理部4に送出し、自カード宛でない場合に、該パケットを振り分けブロック31に転送する。
【選択図】図1
The present invention relates to a remedy method when a communication failure occurs between a layer 2 switch device and an intra-device card so that a packet transfer is not disconnected even if a communication failure occurs on a connection path between interface cards in the device.
Each interface card includes a communication state management block 8, a distribution block 31, and a selection block 41. The communication state management block 8 manages the communication state of the connection path between each interface card. Then, the communication state of the interface card to which the packet is transferred is determined with reference to the communication state management block 8, and when communication is impossible, the packet is transferred to the connection path of another interface card that can communicate and selected. In block 41, it is determined whether or not the destination of the transferred packet is the local interface card. If the destination is the local card, the packet is sent to the output processing unit 4; The packet is transferred to the distribution block 31.
[Selection] Figure 1

Description

本発明は、多数の通信ケーブルが接続されるインタフェースカード(LIU:Line Interface Unit)と該インタフェースカード(LIU)のハードウェア機能を制御する中央処理装置(CPU:Central Processing Unit)とを実装したレイヤ2スイッチ装置及びその装置内カード間通信障害時の救済法に関する。   The present invention relates to a layer in which an interface card (LIU: Line Interface Unit) to which a large number of communication cables are connected and a central processing unit (CPU: Central Processing Unit) that controls hardware functions of the interface card (LIU) are mounted. The present invention relates to a two-switch device and a relief method in the event of a communication failure between cards in the device.

図13は本発明の適用対象であるレイヤ2スイッチ装置の構成例の概観を示す。同図に示すようにレイヤ2スイッチ装置は、多数のインタフェースカードLIU1〜LIU3と、該インタフェースカードLIU1〜LIU3を制御する中央処理装置(CPU)を搭載したCPUカードとを実装している。各インタフェースカードLIU1〜LIU3は、イーサネット(登録商標)規格のLAN(Local Area Network)ケーブルが接続される複数のポートを有し、該ポートに接続されたケーブル間に選択的に接続経路を形成する機能を有する。   FIG. 13 shows an overview of a configuration example of a layer 2 switch device to which the present invention is applied. As shown in the figure, the layer 2 switching device has a large number of interface cards LIU1 to LIU3 and a CPU card on which a central processing unit (CPU) for controlling the interface cards LIU1 to LIU3 is mounted. Each of the interface cards LIU1 to LIU3 has a plurality of ports to which Ethernet (registered trademark) standard LAN (Local Area Network) cables are connected, and selectively forms a connection path between the cables connected to the ports. It has a function.

図14は従来のレイヤ2スイッチ装置内部の構成例を示す。各インタフェースカードLIU1〜LIU3は、それぞれ他のインタフェースカードとメッシュ状にシリアライザ/デシリアライザ(SerDes)1〜1によりシリアル接続される。内部には、LANケーブルが装着されるポート2〜2、入力処理部(Ingress)3〜3、振り分けブロック31〜31、出力処理部(Egress)4〜4、制御用LANポート5〜5、インタフェースカードCPU(LIU−CPU)6〜6を備える。 FIG. 14 shows an example of the internal structure of a conventional layer 2 switch device. Each interface card LIU1~LIU3 are respectively serially connected by a serializer / deserializer (SerDes) 1 1 ~1 3 to other interface cards and the mesh-like. Inside, ports 2 1 to 2 3 to which LAN cables are attached, input processing units (Ingress) 3 1 to 3 3 , distribution blocks 31 1 to 31 3 , output processing units (Egress) 4 1 to 4 3 , control LAN ports 5 1 to 5 3 and interface card CPUs (LIU-CPUs) 6 1 to 6 3 are provided.

なお、各インタフェースカードLIU1〜LIU3の各構成要素に付した符号の下付き添え字は、それぞれインタフェースカードLIU1〜LIU3毎に対応させて表したものであり、インタフェースカードLIU1〜LIU3毎の区別が不要なときは、該下付き添え字を省略して記載する。   The subscripts attached to the constituent elements of the interface cards LIU1 to LIU3 are shown corresponding to the interface cards LIU1 to LIU3, respectively, and need not be distinguished for each of the interface cards LIU1 to LIU3. In such cases, the subscript is omitted.

レイヤ2スイッチ装置内の各機能部について以下に説明する。ポート2は、イーサネット(登録商標)規格のLANケーブルで他の通信機器等と接続され、該通信機器等とパケットを送受する。通信速度や伝送媒体の種類により、10BASE−T、100BASE−TX、1000BASE−SX等の様々な種類がある。それらは、IEEE802.3で規格化されている。   Each functional unit in the layer 2 switch device will be described below. The port 2 is connected to another communication device or the like by an Ethernet (registered trademark) standard LAN cable, and transmits / receives a packet to / from the communication device or the like. There are various types such as 10BASE-T, 100BASE-TX, and 1000BASE-SX depending on the communication speed and the type of transmission medium. They are standardized by IEEE 802.3.

入力処理部3は、ポート2から入力される受信パケットの制御を行う機能ブロックであり、MAC(Media Access Control)アドレスの学習、VLAN(Virtual LAN)設定に従ったパケット制御、パケットのフィルタリング、QoS(Quality of Service)設定に従った帯域制御、レイヤ1ヘッダの付与等を行う機能を有する。   The input processing unit 3 is a functional block that controls received packets input from the port 2, learning MAC (Media Access Control) addresses, packet control according to VLAN (Virtual LAN) settings, packet filtering, QoS (Quality of Service) It has functions for performing bandwidth control according to settings, adding a layer 1 header, and the like.

振り分けブロック31は、パケット転送(フォワーディング)の機能を有し、入力処理部3で付与されたレイヤ1ヘッダを元に、転送先のインタフェースカードへパケット転送する機能を有する。シリアライザ/デシリアライザ1は、転送するパケットのパラレル信号をシリアル信号に変換して他のインタフェースカードへ送信し、また、他のインタフェースカードからシリアル信号で受信されるパケットをパラレル信号に変換して自カード内の出力処理部4へ出力する機能を有する。   The distribution block 31 has a function of packet transfer (forwarding), and has a function of transferring a packet to a transfer destination interface card based on the layer 1 header given by the input processing unit 3. The serializer / deserializer 1 converts a parallel signal of a packet to be transferred into a serial signal and transmits it to another interface card. Also, the serializer / deserializer 1 converts a packet received as a serial signal from another interface card into a parallel signal. It has the function to output to the output processing part 4 in the inside.

出力処理部4は、送信パケットの制御を行う機能を有し、入力処理部3で付与されたレイヤ1ヘッダの削除、MACアドレスの学習、シェーピング、QoS設定に従った帯域制御、パケットの廃棄制御等の処理を行う機能を有する。制御用LANポート5は、CPUカード7の中央処理装置(CPU)71と制御パケットを通信するポートである。   The output processing unit 4 has a function to control the transmission packet, and deletes the layer 1 header given by the input processing unit 3, learns the MAC address, shaping, bandwidth control according to the QoS setting, packet discard control And the like. The control LAN port 5 is a port for communicating control packets with a central processing unit (CPU) 71 of the CPU card 7.

インタフェースカードCPU6は、シリアライザ/デシリアライザ1、ポート2、入力処理部3、出力処理部4及びを制御/監視する中央処理装置(CPU)である。CPUカード7からのハードウェア機能の設定又は状態情報の読み出し等の要求を、制御用LANポート5を介して受信し、該要求に従って制御を行い、その制御結果をCPUカード7の中央処理装置(CPU)71に通知する。   The interface card CPU 6 is a central processing unit (CPU) that controls / monitors the serializer / deserializer 1, the port 2, the input processing unit 3, and the output processing unit 4. A request for setting hardware functions or reading status information from the CPU card 7 is received via the control LAN port 5, control is performed according to the request, and the control result is sent to the central processing unit (CPU) ( CPU) 71.

中央処理装置(CPU)が搭載されているCPUカード7は、各インタフェースカードLIU1〜LIU3と制御用LANポート72〜72によって接続され、制御パケットを各インタフェースカードLIU1〜LIU3と該制御用LANポート72〜72を介して遣り取りし、各インタフェースカードLIU1〜LIU3に搭載されたインタフェースカードCPU6は、該制御パケットに従って自インタフェースカードを制御する。 CPU card 7 by the central processing unit (CPU) is mounted, is connected by the control LAN port 72 1-72 3 and each interface card LIU1~LIU3, the control packet each interface card LIU1~LIU3 and該制patronized LAN The interface card CPU 6 exchanged via the ports 72 1 to 723 and mounted on the interface cards LIU 1 to LIU 3 controls the own interface card according to the control packet.

各インタフェースカードLIU1〜LIU3における信号送受の動作は以下のとおりである。例えば、インタフェースカードLIU1のポート2から入力されたパケットは、入力処理部3を通り、入力処理部3内の振り分けブロック31でレイヤ1ヘッダを元に振り分けられ、転送先のインタフェースカード例えばLIU2へシリアライザ/デシリアライザ1を介して転送される。 The operation of signal transmission / reception in each of the interface cards LIU1 to LIU3 is as follows. For example, interface packet input from the port 2 1 cards LIU1 passes the input processing unit 3 1, sorted based on Layer 1 header distribution block 31 of the input processor 3 1, destination interface card for example transferred via the serializer / deserializer 1 1 to LIU2.

転送先のインタフェースカードLIU2では、転送元のインタフェースカードLIU1のシリアライザ/デシリアライザ1からシリアライザ/デシリアライザ1を経由して入力されたパケットを、出力処理部5を通してポート2から外部へ送出する。 In the transfer destination interface card LIU2, sent from the serializer / deserializer 1 1 of the transfer source interface cards LIU1 a packet inputted via the serializer / deserializer 1 2, through the output processing section 5 2 from port 2 2 to the outside .

上記のような多数のインタフェースカードを具備するレイヤ2スイッチ装置において、各インタフェースカード相互間又は各インタフェースカードとCPUカードとの間の接続路に通信異常が発生した場合、以下のような障害が発生する。
(1)同一装置内のインタフェースカードLIUX−LIUY間(X,Yはカードスロット番号、図14の構成例においては1〜3)で通信異常が発生した場合、インタフェースカードLIUX−LIUY間での同一装置内パケット転送が不可能となる。
(2)同一装置内のインタフェースカードLIUX(Xはカードスロット番号、図14の構成例においては1〜3)とCPUカード7間で通信異常が発生した場合、通信異常が発生したインタフェースカードLIUXへの各種設定が不可能となる。
In the layer 2 switch device having a large number of interface cards as described above, when a communication error occurs between the interface cards or between the interface cards and the CPU card, the following failure occurs. To do.
(1) When a communication error occurs between interface cards LIUX-LIUY (X and Y are card slot numbers, 1 to 3 in the configuration example of FIG. 14) in the same device, the same between interface cards LIUX-LIUY Intra-device packet transfer becomes impossible.
(2) When a communication error occurs between the interface card LIUX (X is a card slot number, 1 to 3 in the configuration example of FIG. 14) and the CPU card 7 in the same device, the interface card LIUX in which the communication error has occurred Various settings are impossible.

図15は上記(1)の障害発生の一例を示し、インタフェースカードLIU2のシリアライザ/デシリアライザ1に故障が発生した場合を示している。該シリアライザ/デシリアライザ1は、インタフェースカードLIU1と接続されているものとする。インタフェースカードLIU1のポート2を通って入力され、インタフェースカードLIU2へ転送すべきパケットは、入力処理部3を通り、振り分けブロック31でレイヤ1ヘッダを元に、送信先のインタフェースカードLIU2に接続されたシリアライザ/デシリアライザ1へ出力される。 Figure 15 shows an example of a failure of (1) shows a case where a failure occurs in the serializer / deserializer 1 2 interface card LIU2. The serializer / deserializer 1 2 assumed to be connected to the interface card LIU1. Is input through port 2 1 interface card LIU1, packet to be transferred to the interface card LIU2 passes the input processing unit 3 1, based on a layer 1 header sorting block 31 1, the destination interface card LIU2 It is output to the connected serializer / deserializer 1 1.

しかし、インタフェースカードLIU1に接続されたインタフェースカードLIU2のシリアライザ/デシリアライザ1に障害が発生しているため、インタフェースカードLIU1からインタフェースカードLIU2へのパケット転送ができず、インタフェースカードLIU1からインタフェースカードLIU2へ向けた通信が途絶してしまい、インタフェースカードLIU1及びLIU2のポート2及び2接続されているユーザ機器に通信障害を与えてしまう。 However, since the serializer / deserializer 1 2 interface cards LIU2 connected to the interface card LIU1 has failed, from the interface card LIU1 can not forward packets to the interface card LIU2, from the interface card LIU1 to the interface card LIU2 toward the communication will be interrupted, thereby giving port 2 1 and 2 2 connected to a communication failure to the user equipment and the interface card LIU1 and LIU2.

同様にインタフェースカードLIU2のポート2から入力されたパケットを、インタフェースカードLIU1へ転送する場合についても、インタフェースカードLIU1と接続されているシリアライザ/デシリアライザ1が故障しているため、インタフェースカードLIU2からインタフェースカードLIU1へパケットの転送を行うことができないこととなる。 Similarly a packet input from port 2 2 interface cards LIU2, the case to be transferred to the interface card LIU1 also for interface cards LIU1 in which serializer / deserializer 1 2 is connected to have failed, the interface card LIU2 The packet cannot be transferred to the interface card LIU1.

このようなパケット転送の障害の復旧方法としては、故障したシリアライザ/デシリアライザ1を含むインタフェースカードLIU2を交換するのみであり、その交換作業を実施するまでの間は、インタフェースカードLIU1とインタフェースカードLIU2との間の通信は切断された状態となったたままとなる。 As a method for recovering such a packet transfer failure, only to replace the interface card LIU2 containing the failed serializer / deserializer 1 2, Until carrying out the replacement work, the interface card LIU1 and interface cards LIU2 The communication between and remains disconnected.

図16は上記(2)の障害発生の一例を示し、インタフェースカードLIU2の制御用LANポート5に障害が発生し、CPUカード7とインタフェースカードLIU2とのLAN接続が切断された場合を示している。この状態においては、CPUカード7とインタフェースカードLIU2との通信が不能となり、CPUカード7からインタフェースカードLIU2への全てのハードウェア設定用の制御パケットを送信することができないため、インタフェースカードLIU2のハードウェアの機能設定を行うことができない状態となる。 Figure 16 shows an example of a failure of the (2), failure occurs in the control LAN port 5 2 interface cards LIU2, shows a case where the LAN connection between the CPU card 7 and the interface card LIU2 is disconnected Yes. In this state, communication between the CPU card 7 and the interface card LIU2 becomes impossible, and all control packets for hardware setting from the CPU card 7 to the interface card LIU2 cannot be transmitted. Therefore, the hardware of the interface card LIU2 The hardware function cannot be set.

このようなハードウェアの機能設定の障害の復旧方法としては、故障したシリアライザ/デシリアライザ1を含むインタフェースカードLIU2を交換するのみであり、該交換作業を実施するまでの間は、インタフェースカードLIU2のハードウェアの機能設定を行うことができない状態となる。 As a method for recovering failure of such hardware feature settings, only to replace the interface card LIU2 containing the failed serializer / deserializer 1 2, until carrying out the replacement work, the interface card LIU2 The hardware function cannot be set.

上述の(1)のインタフェースカード相互間で通信異常が発生した場合の動作フローを図17の(a)に、上述の(2)のインタフェースカードとCPUカードとの間の通信異常が発生した場合の動作フローを図17の(b)に示している。   FIG. 17A shows an operation flow when a communication abnormality occurs between the interface cards in (1) described above, and a communication abnormality occurs between the interface card in (2) above and the CPU card. The operation flow is shown in FIG.

本発明に関連する先行技術文献として、下記の特許文献1には、パケットの転送先の回線の障害を監視し、障害が検出された場合、該障害が検出された出力側回線に転送されるパケットを異なる方路を介して異なる出力側回線に転送することにより、2重化された回線や回線カードにおける障害時や異常負荷状態等を原因とする方路変更を迅速に行い、方路を変更している間にパケットが障害の発生している回線に送信されてしまうことがないようにしたパケット転送方法及びパケット転送装置について記載されている。   As a prior art document related to the present invention, the following Patent Document 1 monitors a failure of a packet transfer destination line, and when a failure is detected, the packet is transferred to the output side line where the failure is detected. By transferring packets to different output lines via different routes, the route can be quickly changed due to a fault or abnormal load condition in the duplicated line or line card. A packet transfer method and a packet transfer apparatus are described in which a packet is not transmitted to a faulty line during a change.

但し、同文献に記載のものは、2重化した回線で一方の回線が切断した場合のパケット通信断を最小限に抑えるものであり、1つの装置内に入力されるパケットに対して、装置内のインタフェースカード間の通信障害時にパケット通信断の救済に係るものではない。
特開2002−9833号公報
However, the one described in the same document is to minimize packet communication disconnection when one line is disconnected with a duplex line. It does not relate to relief of packet communication interruption at the time of communication failure between the internal interface cards.
Japanese Patent Laid-Open No. 2002-9833

従来のレイヤ2スイッチ装置では、インタフェースカード相互間を接続するシリアライザ/デシリアライザ等の接続路に障害が発生すると、該障害の発生した接続路で接続されたインタフェースカード間にパケット通信要求が有った場合、必ず該パケット通信がさえぎられ、障害が発生したインタフェースカードのポートに接続されているユーザ機器に異常動作の影響を与え、その障害復旧の方法としては、障害発生したインタフェースカードの交換しかなく、即座にその交換作業を実施する必要があるが、その作業が済むまでの間は、障害の有ったインタフェースカードを通るパケット通信は救済することができなかった。   In a conventional layer 2 switching device, when a failure occurs in a connection path such as a serializer / deserializer that connects between interface cards, there is a packet communication request between the interface cards connected in the connection path where the failure has occurred. In this case, the packet communication is always interrupted, and the user equipment connected to the port of the interface card in which the failure has occurred is affected by the abnormal operation. The only way to recover from the failure is to replace the interface card in which the failure has occurred. It is necessary to carry out the replacement work immediately, but packet communication through the faulty interface card cannot be relieved until the work is completed.

また、インタフェースカードとCPUカードとの間の接続路に通信障害が発生した場合、CPUカードからインタフェースカードへ、ハードウェアの設定又は制御のための制御パケットを送信することができず、インタフェースカードのハードウェアの設定又は制御を行うことができなくなるが、このような障害の復旧方法としては、故障の発生したインタフェースカードを交換するのみであり、該交換作業が済むまでの間は、インタフェースカードのハードウェアの機能設定を行うことができない状態のままであった。   In addition, when a communication failure occurs in the connection path between the interface card and the CPU card, a control packet for hardware setting or control cannot be transmitted from the CPU card to the interface card. Although the hardware cannot be set or controlled, the only way to recover from such a failure is to replace the interface card in which the failure has occurred. The hardware function settings could not be set.

本発明は、レイヤ2スイッチ装置内のインタフェースカード相互間の接続路に通信障害が発生しても、その間のパケット通信に切断が発生しないようにし、該インタフェースカードのポートに接続されているユーザ機器に影響を与えないレイヤ2スイッチ装置を提供する。また、インタフェースカードとCPUカードとの間の接続路に通信障害が発生しても、該インタフェースカードに対してハードウェアの設定又は制御のための制御パケットを送信し、該インタフェースカードのハードウェアの設定又は制御を行うことができるレイヤ2スイッチ装置を提供する。   The present invention prevents a disconnection from occurring in packet communication during a communication failure in a connection path between interface cards in a layer 2 switch device, and user equipment connected to a port of the interface card A layer 2 switching device that does not affect the network is provided. Even if a communication failure occurs on the connection path between the interface card and the CPU card, a control packet for hardware setting or control is transmitted to the interface card, and the hardware of the interface card is Provided is a layer 2 switch device which can be set or controlled.

本発明は、通信ケーブルが接続されるポートを有する複数のインタフェースカードを実装し、各インタフェースカード間を相互に接続する接続路を介してパケットを転送し、前記ポートに接続されたケーブル間に選択的に接続経路を形成するレイヤ2スイッチ装置において、前記インタフェースカードの各々に通信状態管理ブロックと振り分けブロックと選択ブロックとを備え、前記通信状態管理ブロックで各インタフェースカード間の接続路の通信状態を管理し、前記振り分けブロックでは、前記ポートから入力されるパケットの転送先のインタフェースカードとの接続路の通信状態を、前記通信状態管理ブロックを参照して通信可能か否かを判定し、通信可能な場合に、該転送先のインタフェースカードの接続路に該パケットを転送し、通信不能の場合に、通信可能な他のインタフェースカードの接続路へ該パケットを転送し、前記選択ブロックでは、前記振り分けブロックを経由して入力されたパケットの宛先が自インタフェースカードであるか否かを判定し、自インタフェースカード宛である場合に、該パケットを出力処理部に送出し、自インタフェースカード宛でない場合に、該パケットを前記振り分けブロックに転送することを特徴とする。   The present invention mounts a plurality of interface cards having ports to which communication cables are connected, transfers packets via connection paths connecting the interface cards to each other, and selects between the cables connected to the ports In the layer 2 switching device that forms a connection path in an automatic manner, each of the interface cards includes a communication state management block, a distribution block, and a selection block, and the communication state management block indicates the communication state of the connection path between the interface cards. In the distribution block, the communication state of the connection path with the interface card that is the transfer destination of the packet input from the port is determined by referring to the communication state management block to determine whether communication is possible. The packet is forwarded to the connection path of the forwarding destination interface card, When the communication is impossible, the packet is transferred to a connection path of another interface card that can communicate, and in the selection block, whether or not the destination of the packet input via the distribution block is the own interface card If the packet is addressed to the own interface card, the packet is sent to the output processing unit. If the packet is not addressed to the own interface card, the packet is transferred to the distribution block.

また、前記インタフェースカードのハードウェアを、該インタフェースカード宛に制御パケットを送信して設定又は制御する中央処理装置を搭載したCPUカードを備え、前記CPUカードに、前記各インタフェースカードとの接続路の通信状態を管理する通信状態管理ブロックを備え、前記CPUカードでは、前記制御パケットの送信先のインタフェースカードとの通信が可能であるか否かを、前記通信状態管理ブロックを参照して判定し、可能な場合には該制御パケットを制御対象インタフェースカードへ送信し、通信不能の場合に、該制御パケットを通信可能な他のインタフェースカードへ送信し、前記インタフェースカードでは、受信した制御パケットが自インタフェースカード宛か否かを判定し、自インタフェースカード宛の場合には制御対象のハードウェアの設定又は制御を実施し、自インタフェースカード宛でない場合には、レイヤ1ヘッダに制御パケットであることを示す識別情報及び送信先のインタフェースカードを示すビットマップを設定して前記振り分けブロックに転送し、前記振り分けブロックを経由して入力されたパケットのレイヤ1ヘッダを元に、制御パケットであるか否かを判定し、制御パケットである場合に、該制御パケットに従って、制御対象のハードウェアの設定又は制御を実施することを特徴とする。   In addition, the hardware of the interface card includes a CPU card equipped with a central processing unit that sets or controls by transmitting a control packet to the interface card, and the CPU card has a connection path to each interface card. A communication state management block for managing a communication state, wherein the CPU card determines whether communication with an interface card that is a transmission destination of the control packet is possible with reference to the communication state management block; When possible, the control packet is transmitted to the control target interface card. When communication is not possible, the control packet is transmitted to another interface card capable of communication. In the interface card, the received control packet is transmitted to its own interface card. If it is addressed to the card and it is addressed to its own interface card Sets or controls the hardware to be controlled, and if it is not addressed to its own interface card, sets the identification information indicating that it is a control packet in the layer 1 header and the bitmap indicating the destination interface card. Based on the layer 1 header of the packet transferred to the distribution block and input via the distribution block, it is determined whether or not it is a control packet. If it is a control packet, control is performed according to the control packet. The target hardware is set or controlled.

本発明によれば、インタフェースカード相互間を接続するシリアライザ/デシリアライザ等の接続路に通信障害が発生し、該障害の発生した接続路を介するインタフェースカード間にパケット通信要求が有っても、該パケットを、通信可能な接続路で接続された他のインタフェースカードを経由して転送することにより、パケットの通信断を防ぐことができ、インタフェースカードのポートに接続されたユーザ機器に対し、通信障害による影響を低減することができる。そのため、障害の発生したインタフェースカードの交換作業を、ユーザ機器に影響を与える時間帯を避けて実施することができることとなる。   According to the present invention, even if a communication failure occurs in a connection path such as a serializer / deserializer that connects between interface cards, and there is a packet communication request between the interface cards via the connection path where the failure has occurred, By transferring the packet via another interface card connected via a communicable connection path, it is possible to prevent the packet from being disconnected, and communication failure occurs for user equipment connected to the interface card port. It is possible to reduce the influence of. Therefore, the replacement operation of the interface card in which the failure has occurred can be performed while avoiding the time zone that affects the user equipment.

また、制御対象のインタフェースカードとCPUカードとの間の接続路に通信障害が発生した場合、通信可能な接続路で接続された他のインタフェースカードを経由して制御パケットを該制御対象のインタフェースカードに転送することにより、制御対象のインタフェースカードとCPUカードとの間に通信障害が発生した場合でも、該制御対象のインタフェースカードのハードウェアの設定又は制御を行うことが可能となる。   In addition, when a communication failure occurs in the connection path between the control target interface card and the CPU card, the control packet is transmitted to the control target interface card via another interface card connected through the communicable connection path. Therefore, even when a communication failure occurs between the control target interface card and the CPU card, the hardware of the control target interface card can be set or controlled.

図1は本発明のレイヤ2スイッチ装置の構成例を示す。同図に示すように、本発明のレイヤ2スイッチ装置は、各インタフェースカードLIU1〜LIU3及びCPUカード7にそれぞれ通信状態管理ブロック8〜8及び9を設置し、該通信状態管理ブロック8〜8でそれぞれインタフェースカードLIU1〜LIU3間の接続路の通信状態を管理し、CPUカード7の通信状態管理ブロック9で、CPUカード7と各インタフェースカードLIU1〜LIU3との間の通信状態を管理する。 FIG. 1 shows a configuration example of a layer 2 switch device of the present invention. As shown in the figure, in the layer 2 switching device of the present invention, communication state management blocks 8 1 to 8 3 and 9 are installed in the interface cards LIU1 to LIU3 and the CPU card 7, respectively, and the communication state management block 8 1 8 3 manages each communication state of the connection path between the interface cards LIU1~LIU3, communication state management block 9 of the CPU card 7, manages the communication state between the CPU card 7 and the interface card LIU1~LIU3 To do.

また、各インタフェースカードCPU6〜6には、自インタフェースカード宛でない制御パケットを、入力処理部3〜3に転送する機能を追加する。各入力処理部3〜3内の振り分けブロック31〜31には、それぞれ自インタフェースカード内の通信状態管理ブロック8〜8を参照し、通信可能なインタフェースカードへ制御パケットを振り分ける機能を追加する。 In addition, a function of transferring control packets not addressed to the own interface card to the input processing units 3 1 to 3 3 is added to the interface card CPUs 6 1 to 6 3 . The distribution blocks 31 1 to 31 3 in the input processing units 3 1 to 3 3 respectively refer to the communication state management blocks 8 1 to 8 3 in the own interface card, and distribute the control packets to the interface cards capable of communication. Add functionality.

出力処理部4〜4内の選択ブロック41〜41には、自インタフェースカード宛以外のパケットを各入力処理部3〜3の振り分けブロック31〜31に転送する機能を追加し、CPUカード7からの制御パケットを出力処理部4〜4に転送する機能を追加する。 The selection block 41 1-41 3 of the output processing section 41 to 3, the function of transferring packets other than destined for the own interface card to the distribution block 31 1-31 3 of each input processing unit 3 1 to 3 3 In addition, a function of transferring a control packet from the CPU card 7 to the output processing units 4 1 to 4 3 is added.

各出力処理部4〜4には、CPUカード7から送出された制御パケットが入力された場合は、インタフェースカードCPU6〜6へ該制御パケットを転送する機能を追加する。インタフェースカードCPU6〜6には、各通信状態管理ブロック8〜8をチェックし、通信可能なインタフェースカードLIU1〜LIU3へパケットを転送する機能を追加する。 When the control packet transmitted from the CPU card 7 is input to each of the output processing units 4 1 to 4 3 , a function of transferring the control packet to the interface card CPUs 6 1 to 6 3 is added. The interface card CPUs 6 1 to 6 3 are added with a function of checking the communication state management blocks 8 1 to 8 3 and transferring packets to the interface cards LIU 1 to LIU 3 that can communicate with each other.

上述の機能を実現する手段について以下に説明する。まず、第1の手段として、インタフェースカード相互間の接続路の通信状態を管理する手段として、各インタフェースカードLIU1〜LIU3は、通信状態の管理のため通信状態管理ブロック8〜8を設け、該通信状態管理ブロック8〜8によりシリアライザ/デシリアライザ1〜1の通信状態を監視する。 Means for realizing the above functions will be described below. First, as a first means, each interface card LIU1 to LIU3 is provided with communication state management blocks 8 1 to 8 3 for managing the communication state as means for managing the communication state of the connection path between the interface cards. monitoring a communication state of the serializer / deserializer 1 1 to 1 3 by the communication status management block 8 1-8 3.

図2に上記第1の手段の処理フローの例を示す。同図に示すように、例えば、インタフェースカードLUI1で、インタフェースカードLUI2と接続されているシリアライザ/デシリアライザ1に故障が発生した場合、インタフェースカードLUI1は、CPUカードのCPUに対して該故障の通知を行う。また、通信不能なインタフェースカードLUI2の情報を通信状態管理ブロック8に設定する。 FIG. 2 shows an example of the processing flow of the first means. As shown in the figure, for example, the interface card LUI1, when a failure in the interface card LUI2 in which serializer / deserializer 1 1 is connected to occur, interface cards LUI1, the notification of the fault to the CPU card CPU I do. Also, it sets information of the incommunicable interface cards LUI2 in communication control block 81.

インタフェースカードLUI1から故障の通知を受信したCPUカードは、該故障したシリアライザ/デシリアライザ1の接続先のインタフェースカードLIU2に対して、シリアライザ/デシリアライザ1が故障しているインタフェースカードLIU1の情報を通知する。該通知を受信したインタフェースカードLIU2は、自カード内の通信状態管理ブロック8に、インタフェースカードLIU1との通信が不可となったことを示す情報を設定する。 The CPU card that has received the failure notification from the interface card LUI1 notifies the interface card LIU1 to which the failed serializer / deserializer 11 is connected to the interface card LIU1 in which the serializer / deserializer 11 has failed. To do. Interface card LIU2 After receiving the notification, the communication status management block 82 in the own card, sets information indicating that the communication with the interface card LIU1 became impossible.

次に第2の手段として、CPUカードと各インタフェースカードとの間の接続路の通信状態を管理する手段について説明する。図3はこの手段の処理フローの例を示す。CPUカードに通信状態管理のために通信状態管理ブロック9を設け、CPUカードは該通信状態管理ブロック9により、各インタフェースカードLIUに対して、一定間隔で通信(ポーリング)を行い、各インタフェースカードLIUとの接続を司るLANドライバが通信可能か否かを判断する。   Next, a means for managing the communication state of the connection path between the CPU card and each interface card will be described as a second means. FIG. 3 shows an example of the processing flow of this means. The CPU card is provided with a communication state management block 9 for managing the communication state. The CPU card communicates (polls) with each interface card LIU at a predetermined interval by the communication state management block 9 to each interface card LIU. It is determined whether or not the LAN driver that manages the connection can communicate.

上記一定間隔毎のインタフェースカードLIUとの通信で、インタフェースカードLIUからの応答が返ってこなかった場合は、該インタフェースカードLIUのLANドライバに故障が発生したと見なし、CPUカードは自カード内の通信状態管理ブロック9に、応答が返ってこなかったインタフェースカードLIUに対して通信不能の情報を設定する。   If no response is returned from the interface card LIU during communication with the interface card LIU at regular intervals, it is assumed that a failure has occurred in the LAN driver of the interface card LIU, and the CPU card communicates within the local card. Information indicating that communication is not possible is set in the state management block 9 for the interface card LIU for which no response has been returned.

次に第3の手段として、自インタフェースカード宛でないパケットを転送する手段について説明する。振り分けブロック31にて、通信不能のインタフェースカードLIUと接続されているシリアライザ/デシリアライザ1にはパケットを入力せず、通信可能なインタフェースカードLIUと接続されているシリアライザ/デシリアライザ1にパケットを入力する機能を設ける。   Next, a means for transferring a packet not addressed to the own interface card will be described as a third means. The function of inputting packets to the serializer / deserializer 1 connected to the communicable interface card LIU in the distribution block 31 without inputting the packets to the serializer / deserializer 1 connected to the incommunicable interface card LIU Is provided.

通信可能なインタフェースカードLIUが無い場合は、パケット転送が不可能となるため、パケット(主信号)は遮断される。振り分けブロック31の振り分け処理では、例えば、若番のインタフェースカードLIUから通信可能か否かをチェックする。図4はこの手段の処理フローの例を示している。同図は、インタフェースカードLIU1の振り分けブロック311の処理フローの例を示す。   When there is no communicable interface card LIU, packet transfer is impossible, and the packet (main signal) is blocked. In the distribution process of the distribution block 31, for example, it is checked whether communication is possible from a young interface card LIU. FIG. 4 shows an example of the processing flow of this means. This figure shows an example of the processing flow of the distribution block 311 of the interface card LIU1.

インタフェースカードLIU1の振り分けブロック31は、レイヤ1ヘッダで指定された送信先インタフェースカードLIUと通信可能であるか否かを判定し(ステップ4−1)、通信可能であれば、該レイヤ1ヘッダで指定された送信先インタフェースカードLIUのシリアライザ/デシリアライザへパケットを転送する(ステップ4−2)。 Sorting block 31 of interface card LIU1 1 determines whether communication is possible with the destination interface card LIU specified at Layer 1 header (step 4-1), capable of communication, the Layer 1 header The packet is transferred to the serializer / deserializer of the destination interface card LIU specified in (4).

上記振り分けブロック31で、レイヤ1ヘッダで指定された送信先インタフェースカードLIUと通信可能でないと判定された場合、他のインタフェースカードLIUと通信可能であるか否かを、若番のインタフェースカードLIUから順に判定し(ステップ4−3)、他のインタフェースカードLIUと通信可能であれば、該通信可能なインタフェースカードLIUと接続されたシリアライザ/デシリアライザへパケットを転送する(ステップ4−4)。他の何れのインタフェースカードLIUとも通信可能でないと判定された場合、転送不可のためパケットを廃棄する(ステップ4−5)。 In the sorting block 31 1, if it is determined not to be able to communicate with the destination interface card LIU specified at Layer 1 header, whether it is possible to communicate with other interface cards LIU, youth-numbered interface card LIU Are determined in order (step 4-3), and if communication with another interface card LIU is possible, the packet is transferred to the serializer / deserializer connected to the communicable interface card LIU (step 4-4). If it is determined that communication with any other interface card LIU is not possible, the packet is discarded because transfer is not possible (step 4-5).

また、出力処理部4に選択ブロック41を設け、該選択ブロック41に、入力されたパケットの送信先を示すビットマップが自インタフェースカードLIU宛でない場合は、該パケットを振り分けブロック31に転送する機能を設ける。図5に選択ブロック41の処理フローを示す。   A function of providing a selection block 41 in the output processing unit 4 and transferring the packet to the distribution block 31 when the bitmap indicating the transmission destination of the input packet is not addressed to the own interface card LIU. Is provided. FIG. 5 shows a processing flow of the selection block 41.

選択ブロック41は、入力されたパケットのレイヤ1のヘッダの送信先を示すビットマップが自カード宛を指しているか否かを判定し(ステップ5−1)、自カード宛を指している場合、該パケットを出力処理部4の従来の出力処理機能部へ転送する(ステップ5−2)。該送信先ビットマップが自カード宛を指していない場合、該パケットを入力処理部3の振り分けブロック31へ転送する(ステップ5−3)。   The selection block 41 determines whether or not the bitmap indicating the transmission destination of the layer 1 header of the input packet points to the own card (step 5-1). The packet is transferred to the conventional output processing function unit of the output processing unit 4 (step 5-2). If the destination bitmap does not point to the own card, the packet is transferred to the distribution block 31 of the input processing unit 3 (step 5-3).

次に第4の手段として、通信障害発生中のインタフェースカードに対してCPUカードから制御パケットを迂回転送する手段について説明する。CPUカードからインタフェースカードLIUに対するハードウェアの設定又は制御時、制御パケットを該当インタフェースカードLIUへ送信するが、そのインタフェースカードLIUとのLAN接続が、制御用LANポートの故障等で切断されていた場合、LAN接続が切断されていない他のインタフェースカードLIUへ該制御パケットを送信する。   Next, as a fourth means, a means for detouring transfer of the control packet from the CPU card to the interface card in which a communication failure has occurred will be described. When setting or controlling the hardware from the CPU card to the interface card LIU, a control packet is transmitted to the interface card LIU, but the LAN connection with the interface card LIU is disconnected due to a failure of the control LAN port, etc. The control packet is transmitted to another interface card LIU whose LAN connection is not disconnected.

図6はこの手段の処理フローを示す。CPUカードは、制御対象のインタフェースカードLIUと通信可能であるかどうかを、通信状態管理ブロック9の設定内容を基に判定し(ステップ6−1)、通信可能であれば、制御対象のインタフェースカードLIUへ制御パケットを送信するステップ(6−2)。   FIG. 6 shows the processing flow of this means. The CPU card determines whether or not communication with the interface card LIU to be controlled is possible based on the setting contents of the communication state management block 9 (step 6-1). Transmitting a control packet to the LIU (6-2);

制御対象のインタフェースカードLIUと通信可能でない場合、他のインタフェースカードLIUをその若番から順に通信可能かチェックし(ステップ6−3)、通信可能なインタフェースカードLIUへ、CPUカードからハードウェアの設定又は制御用パケットを送信する(ステップ6−4)。上記ステップ6−3のチェックの結果、通信可能なインタフェースカードLIUが存在しないと判定された場合、制御パケット転送不可のため、該インタフェースカードLIUのハードウェアの設定又は制御は行わない(ステップ6−5)。   If it is not possible to communicate with the interface card LIU to be controlled, it is checked whether other interface cards LIU can communicate sequentially from the lowest number (step 6-3), and the hardware setting from the CPU card to the communicable interface card LIU Alternatively, a control packet is transmitted (step 6-4). If it is determined as a result of the check in step 6-3 that there is no interface card LIU capable of communication, control packet transfer is not possible, and hardware setting or control of the interface card LIU is not performed (step 6-6). 5).

次に第5の手段として、自カード宛でないCPUカードからの制御パケットにレイヤ1ヘッダを付与し、他インタフェースカードへ転送する手段について説明する。図7はこの手段の処理フローを示す。インタフェースカードCPU6は、制御用LANポート5から受信した制御パケットが自カード宛であるか否かを判定し(ステップ7−1)、自カード宛である場合は、自カードの制御対象ハードウェアの設定又は制御を該制御パケットに従って実施する(ステップ7−2)。   Next, as a fifth means, a means for giving a layer 1 header to a control packet from a CPU card not addressed to the own card and transferring it to another interface card will be described. FIG. 7 shows the processing flow of this means. The interface card CPU 6 determines whether or not the control packet received from the control LAN port 5 is addressed to the own card (step 7-1). If the address is addressed to the own card, the interface card CPU 6 Setting or control is performed according to the control packet (step 7-2).

上記ステップ7−1における判定で、制御用LANポートから受信した制御パケットが自カード宛でないと判定された場合は、該制御パケットを入力処理部3へ転送する(ステップ7−3)。入力処理部3では、該制御パケットにレイヤ1ヘッダを付与し、振り分けブロック31へ該パケットを転送する(ステップ7−4)。   If it is determined in step 7-1 that the control packet received from the control LAN port is not addressed to the own card, the control packet is transferred to the input processing unit 3 (step 7-3). The input processing unit 3 adds a layer 1 header to the control packet and transfers the packet to the distribution block 31 (step 7-4).

該制御パケットに付与するレイヤ1ヘッダには、制御パケットであることを示す情報をフレームタイプの値として設定し、かつ宛先にインタフェースカードLIUの送信先ビットマップを設定する。入力処理部3は、振り分けブロック31でレイヤ1ヘッダを元に該制御パケットを制御対象のインタフェースカードLIUへ、シリアライザ/デシリアライザ1を介して転送する(ステップ7−5)。   In the layer 1 header added to the control packet, information indicating that the packet is a control packet is set as a frame type value, and the transmission destination bitmap of the interface card LIU is set as the destination. The input processing unit 3 transfers the control packet to the controlled interface card LIU via the serializer / deserializer 1 based on the layer 1 header in the distribution block 31 (step 7-5).

次に第6の手段として、他のインタフェースカードから入力された制御パケットをインタフェースカードCPUに転送する手段について説明する。図8にこの手段の処理フローを示す。シリアライザ/デシリアライザ1を介して選択ブロック41がパケットを受信すると、選択ブロック41では該パケットのレイヤ1ヘッダのフレームタイプの値を元に該パケットが制御パケットか否かをチェックする(ステップ8−1)。   Next, means for transferring control packets input from other interface cards to the interface card CPU will be described as sixth means. FIG. 8 shows a processing flow of this means. When the selection block 41 receives a packet via the serializer / deserializer 1, the selection block 41 checks whether the packet is a control packet based on the frame type value of the layer 1 header of the packet (step 8-1). ).

受信したパケットが制御パケットであった場合、出力処理部4においてレイヤ1ヘッダの削除を実施し(ステップ8−2)、該制御パケットをインタフェースカードCPUへ転送する(ステップ8−3)。前記ステップ8−1において、受信パケットが制御パケットでないと判定されたとき、出力処理部4においてレイヤ1ヘッダの削除を実施し(ステップ8−4)、従来と同様の通常の出力処理を実施する(ステップ8−5)。   If the received packet is a control packet, the output processing unit 4 deletes the layer 1 header (step 8-2), and transfers the control packet to the interface card CPU (step 8-3). If it is determined in step 8-1 that the received packet is not a control packet, the output processing unit 4 deletes the layer 1 header (step 8-4), and performs normal output processing similar to the conventional one. (Step 8-5).

以下に、インタフェースカード相互間の通信異常時の主信号断の救済、及びCPUカードとインタフェースカードとの間の通信異常時のハードウェア機能設定不能の救済の実施例について説明する。図9はインタフェースカードLIU1とインタフェースカードLIU2との間に通信異常が発生した場合の主信号断の救済の具体例を示している。   In the following, a description will be given of an embodiment of relief of main signal interruption at the time of communication abnormality between interface cards and relief of hardware function setting inability at the time of communication abnormality between the CPU card and the interface card. FIG. 9 shows a specific example of relief of main signal disconnection when a communication error occurs between the interface card LIU1 and the interface card LIU2.

インタフェースカードLIU1のポート2からインタフェースカードLIU2向けのパケットが入力されると、振り分けブロック31は、通信状態管理ブロック8の設定情報を基に通信可能なインタフェースカードLIUを判定し、インタフェースカードLIU2への通信状態が切断状態となっていることを認識すると、通信可能なインタフェースカードLIU3へ該パケットを送信する。 When a packet from a port 2 1 interface card for LIU2 interface cards LIU1 is input, sorting block 31 1 determines a communicable interface card LIU based on setting information of the communication status management block 81, interface card When recognizing that the communication state to the LIU 2 is in a disconnected state, the packet is transmitted to the interface card LIU 3 that can communicate.

インタフェースカードLIU3は、インタフェースカードLIU1から上記パケットを受信すると、選択ブロック41にて該パケットのレイヤ1ヘッダの宛先ビットマップをチェックし、該宛先ビットマップが自カード宛となっていないことから、該パケットを振り分けブロック31に送出する。 Interface card LIU3 receives the packet from the interface card LIU1, since in the selected block 41 3 checks the destination bitmap Layer 1 header of the packet, the destination bitmap is not the addressed to the own card, and it sends to block 31 3 distributes the packets.

振り分けブロック31では、選択ブロック41から入力されたパケットがインタフェースカードLIU2向けのパケットであることから、該パケットをインタフェースカードLIU2と接続されているシリアライザ/デシリアライザ1に送出し、該シリアライザ/デシリアライザ1及びインタフェースカードLIU2のシリアライザ/デシリアライザ1を経由して、該パケットがインタフェースカードLIU2へ転送される。 In sorting block 31 3, and transmitted from the packet input from the selection block 41 3 is a packet for interface cards LIU2, the serializer / deserializer 1 3 connected to the packet with the interface card LIU2, the serializer / via serializer / deserializer 1 2 deserializer 1 3 and the interface card LIU2, the packet is forwarded to the interface card LIU2.

図10は、CPUカードとインタフェースカードLIU2との間の通信異常時のハードウェア機能設定不能の救済の実施例を示す。同図に示すように、CPUカード7のCPU71は、インタフェースカードLIU2のインタフェースカードCPU6と接続されている制御用LANポート5に障害が発生し、該制御用LANポート5を介した通信が不能であることを、通信状態管理ブロック9の設定情報を基に認識すると、通信可能なインタフェースカードLIU1を、通信状態管理ブロック9の設定情報を基に認識し、インタフェースカードLIU2に対する制御パケットを、インタフェースカードLIU1の制御用LANポート5に送信する。 FIG. 10 shows an embodiment of remedy that the hardware function cannot be set when communication between the CPU card and the interface card LIU2 is abnormal. As shown in the figure, communication CPU71 of CPU card 7, the interface card CPU 6 2 and connected to the control LAN port 5 2 to failure are interface cards LIU2 occurs, through the該制patronized LAN port 5 2 Is recognized based on the setting information of the communication state management block 9, the communicable interface card LIU 1 is recognized based on the setting information of the communication state management block 9, and a control packet for the interface card LIU 2 is received. , it is transmitted to the control for the LAN port 5 1 of the interface card LIU1.

インタフェースカードLIU1のインタフェースカードCPU6は、制御用LANポート5を介して制御パケットを受信すると、該制御パケットの宛先をチェックし、該宛先が自カード宛でないことを認識すると、該制御パケットを入力処理部3へ転送する。入力処理部3は、該制御パケットにレイヤ1ヘッダにインタフェースカードLIU2の送信先ビットマップを設定し、該制御パケットを振り分けブロック31へ送り、振り分けブロック31は、該制御パケットの送信先ビットマップを元に、該制御パケットをインタフェースカードLIU2へ転送する。 Interface card CPU 6 1 interface card LIU1 receives a control packet via the control LAN port 5 1, checks the destination of the control packet, recognizes that the destination is not addressed to the own card, the control packet transferred to the input processing unit 3 1. Input processing unit 3 1 sets the destination bitmap interface cards LIU2 the Layer 1 header to the control packet is sent to block 311 distributes the control packet, the sorting block 31 1, the destination of the control packet Based on the bitmap, the control packet is transferred to the interface card LIU2.

インタフェースカードLIU2では、上記インタフェースカードLIU1から送られてきたパケットが制御パケットであることを、レイヤ1ヘッダのフレームタイプを基に認識すると、出力処理部4で該制御パケットのレイヤ1ヘッダを削除し、該制御パケットをインタフェースカードCPU6へ転送する。 In interface card LIU2, that the packet sent from the interface card LIU1 is a control packet, recognizes on the basis of the frame type of the layer 1 header, delete the layer 1 header of the control packet output processing section 4 2 and, to transfer the control packet to the interface card CPU6 2.

図11の(a)は前述のインタフェースカードLIU1とインタフェースカードLIU2との間に通信異常が発生した場合の主信号断の救済の例の処理フローを示し、同図の(b)は前述のCPUカードとインタフェースカードLIU2との間の通信異常時のハードウェア設定制御不能の救済の処理フローを示す。   FIG. 11A shows a processing flow of an example of relief of main signal interruption when a communication error occurs between the interface card LIU1 and the interface card LIU2, and FIG. 11B shows the CPU described above. 8 shows a repair processing flow when hardware setting control is impossible when a communication error occurs between the card and the interface card LIU2.

同図(a)に示すように、装置内のインタフェースカードLIU1とインタフェースカードLIU2との間にパケット(主信号)の転送要求が有る状態で(11−1)、インタフェースカードLIU1とインタフェースカードLIU2とを接続するシリアライザ/デシリアライザに故障が発生した場合(11−2)、前述の図2に示した第1の手段により、インタフェースカード相互間の通信状態を管理する通信状態管理ブロックが更新され(11−3)、図4及び図5に示した第3の手段により、自インタフェースカード宛でないパケットを転送するフローが実行され(11−4)、インタフェースカードLIU1からインタフェースカードLIU2向けのパケットが、インタフェースカードLIU3を経由してインタフェースカードLIU2へ転送される(11−5)。   As shown in FIG. 5A, in the state where there is a packet (main signal) transfer request between the interface card LIU1 and the interface card LIU2 in the apparatus (11-1), the interface card LIU1 and the interface card LIU2 (11-2), the communication state management block for managing the communication state between the interface cards is updated by the first means shown in FIG. 3), the third means shown in FIGS. 4 and 5 executes a flow for transferring a packet not addressed to the own interface card (11-4), and the packet from the interface card LIU1 to the interface card LIU2 is transferred to the interface card. Interface card LI via card LIU3 It is transferred to 2 (11-5).

また、同図(b)に示すように、CPUカードとLAN接続されているインタフェースカードLIU2との間の制御用LANポートに故障が発生した場合(11−6)、図3に示した第2の手段により、インタフェースカードLIU2からの応答が無いことを検出し、CPUカード内の通信状態管理ブロックが更新され(11−7)。   Further, as shown in FIG. 3B, when a failure occurs in the control LAN port between the CPU card and the interface card LIU2 connected to the LAN (11-6), the second shown in FIG. By this means, it is detected that there is no response from the interface card LIU2, and the communication state management block in the CPU card is updated (11-7).

インタフェースカードLIU2の制御用LANポートが故障した状態で、インタフェースカードLIU2のハードウェアの設定を実施する場合(11−8)、図6に示した第4の手段により、通信障害発生中のインタフェースカードLIU2に対する制御パケットが、インタフェースカードLIU1へ送信される。   When setting the hardware of the interface card LIU2 in a state where the control LAN port of the interface card LIU2 has failed (11-8), the interface card in which a communication failure has occurred by the fourth means shown in FIG. A control packet for LIU2 is transmitted to interface card LIU1.

インタフェースカードLIU1は、図7に示した第5の手段により、自カード宛でない制御パケットにレイヤ1ヘッダを付与し、インタフェースカードLIU2へ転送する(11−10)。インタフェースカードLIU2では、図5の第3の手段により、該制御パケットを出力処理部へ転送し(11−11)、出力処理部では図8の第6の手段により、該制御パケットのレイヤ1ヘッダを削除し、該制御パケットをインタフェースカードCPUへ転送する(11−12)。   The interface card LIU1 adds the layer 1 header to the control packet not addressed to itself by the fifth means shown in FIG. 7, and transfers it to the interface card LIU2 (11-10). The interface card LIU2 transfers the control packet to the output processing unit by the third means in FIG. 5 (11-11), and the output processing unit uses the sixth means in FIG. And the control packet is transferred to the interface card CPU (11-12).

以上のフローにより、インタフェースカードLIU2のインタフェースカードCPUに、制御パケットが到達し、インタフェースカードLIU2では、該制御パケットに従って、ハードウェアの設定又は制御を実施することが可能となる(11−3)。   With the above flow, the control packet reaches the interface card CPU of the interface card LIU2, and the interface card LIU2 can perform hardware setting or control according to the control packet (11-3).

前述の図7に示した第5の手段等で制御パケットに対して設定するレイヤ1ヘッダのフォーマットの構成例を図12に示す。同図の(a)に示すレイヤ1ヘッダのフレームタイプ(Frame Type)の値として、本発明で使用する以前は使用されていない“11”を、CPUカード発の制御パケットに割り当てることにより、CPUカード発の制御パケットを識別する構成とすることができる。   FIG. 12 shows a configuration example of the format of the layer 1 header set for the control packet by the fifth means shown in FIG. By assigning “11”, which is not used before the present invention, to the control packet originating from the CPU card as the value of the frame type (Frame Type) of the layer 1 header shown in FIG. The control packet originating from the card can be identified.

また、レイヤ1ヘッダの送信先ビットマップ(Destination Card BitMap)として、同図の(b)に示すように、ビット位置4〜7にそれぞれインタフェースカードLIU1〜LIU4を対応させて割り当て、ビット位置4〜7のうち“1”の値が設定されている位置のインタフェースカードが送信先のインタフェースカードであるとし、同時に複数のインタフェースカードに対して“1”を設定することがないようにするものとする。また、インタフェースカードの枚数に応じて使用するビット領域を変更するものとする。   Further, as a destination bit map (Destination Card BitMap) of the layer 1 header, as shown in (b) of the figure, interface positions LIU1 to LIU4 are assigned to bit positions 4 to 7 in correspondence with bit positions 4 to 4, respectively. 7, the interface card at the position where the value “1” is set is the destination interface card, and “1” is not set to a plurality of interface cards at the same time. . The bit area to be used is changed according to the number of interface cards.

本発明のレイヤ2スイッチ装置の構成例を示す図である。It is a figure which shows the structural example of the layer 2 switch apparatus of this invention. 第1の手段(インタフェースカード相互間の通信状態を管理する手段)の処理フローの例を示す図である。It is a figure which shows the example of the processing flow of the 1st means (means which manage the communication state between interface cards). 第2の手段(CPUカードと各インタフェースカードとの間の通信状態を管理する手段)の処理フローの例を示す図である。It is a figure which shows the example of the processing flow of a 2nd means (means which manages the communication state between a CPU card and each interface card). 第3の手段(自インタフェースカード宛でないパケットを転送する手段)の振り分けブロックにおける処理フローの例を示す図である。It is a figure which shows the example of the processing flow in the distribution block of the 3rd means (means to transfer the packet which is not addressed to a self-interface card). 第3の手段(自インタフェースカード宛でないパケットを転送する手段)の選択ブロックにおける処理フローの例を示す図である。It is a figure which shows the example of the processing flow in the selection block of the 3rd means (means to transfer the packet which is not addressed to a self-interface card). 第4の手段(通信障害発生中のインタフェースカードに対してCPUカードから制御パケットを迂回転送する手段)の処理フローを示す図である。It is a figure which shows the processing flow of the 4th means (means which detour-transfers a control packet from a CPU card with respect to the interface card in which the communication failure has generate | occur | produced). 第5の手段(自カード宛でない制御パケットを他インタフェースカードへ転送する手段)の処理フローを示す図である。It is a figure which shows the processing flow of the 5th means (means which transfers the control packet which is not addressed to an own card to another interface card). 第6の手段(他のインタフェースカードから入力された制御パケットをインタフェースカードCPUに転送する手段)の処理フローを示す図である。It is a figure which shows the processing flow of the 6th means (means which transfers the control packet input from the other interface card to interface card CPU). インタフェースカード相互間の通信異常時の主信号断の救済の実施例を示す図である。It is a figure which shows the Example of relief of the main signal disconnection at the time of the communication abnormality between interface cards. CPUカードとインタフェースカードとの間の通信異常時のハードウェア設定制御不能の救済の実施例を示す図である。It is a figure which shows the Example of relief of the hardware setting control impossible at the time of the communication abnormality between a CPU card and an interface card. (a)インタフェースカード相互間の通信異常時の主信号断の救済の処理フロー及び(b)CPUカードとインタフェースカードとの間の通信異常時のハードウェア設定制御不能の救済の処理フローを示す図である。(A) Relief processing flow of main signal disconnection when communication between interface cards is abnormal, and (b) Relief processing flow when hardware communication cannot be controlled when communication between the CPU card and interface card is abnormal. It is. 制御パケットに対して設定するレイヤ1ヘッダのフォーマットの構成例を示す図である。It is a figure which shows the structural example of the format of the layer 1 header set with respect to a control packet. 本発明の適用対象であるレイヤ2スイッチ装置の構成例の概観図である。It is a general-view figure of the structural example of the layer 2 switch apparatus which is an application object of this invention. 従来のレイヤ2スイッチ装置内部の構成例を示す図である。It is a figure which shows the structural example inside the conventional layer 2 switch apparatus. インタフェースカード間で通信異常が発生した場合の課題の一例を示す図である。It is a figure which shows an example of the subject when communication abnormality generate | occur | produces between interface cards. インタフェースカードとCPUカードとの間で通信異常が発生した場合の課題の一例を示す図である。It is a figure which shows an example of the subject when communication abnormality generate | occur | produces between an interface card and a CPU card. (a)インタフェースカード相互間で通信異常が発生した場合の動作フロー及び(b)インタフェースカードとCPUカードとの間の通信異常が発生した場合の動作フローを示す図である。(A) Operation | movement flow when communication abnormality generate | occur | produces between interface cards, (b) It is a figure which shows the operation | movement flow when communication abnormality between an interface card and a CPU card generate | occur | produces.

符号の説明Explanation of symbols

〜1 シリアライザ/デシリアライザ(SerDes)
〜2 ポート
〜3 入力処理部
31〜31 振り分けブロック
〜4 出力処理部
41〜41 選択ブロック
〜5 制御用LANポート
〜6 インタフェースカードCPU
7 CPUカード
71 中央処理装置(CPU)
72〜72 制御用LANポート
〜8 通信状態管理ブロック
9 通信状態管理ブロック
1 1 to 1 3 Serializer / Deserializer (SerDes)
2 1 to 3 3 port 3 1 to 3 3 input processing unit 31 1 to 31 3 distribution block 4 1 to 4 3 output processing unit 41 1 to 41 3 selection block 5 1 to 5 3 LAN port for control 6 1 to 6 3 Interface card CPU
7 CPU card 71 Central processing unit (CPU)
72 1 to 72 3 LAN port for control 8 1 to 8 3 Communication state management block 9 Communication state management block

Claims (4)

通信ケーブルが接続されるポートを有する複数のインタフェースカードを実装し、各インタフェースカード間を相互に接続する接続路を介してパケットを転送し、前記ポートに接続されたケーブル間に選択的に接続経路を形成するレイヤ2スイッチ装置において、
前記インタフェースカードの各々に、各インタフェースカード間の接続路の通信状態を管理する通信状態管理ブロックと、
前記ポートから入力されるパケットの転送先のインタフェースカードとの接続路の通信状態を、前記通信状態管理ブロックを参照して通信可能か否かを判定し、通信可能な場合に、該転送先のインタフェースカードの接続路に該パケットを転送し、通信不能の場合に、通信可能な他のインタフェースカードの接続路へ該パケットを転送する振り分けブロックと、
前記振り分けブロックを経由して入力されたパケットの宛先が自インタフェースカードであるか否かを判定し、自インタフェースカード宛である場合に、該パケットを出力処理部に送出し、自インタフェースカード宛でない場合に、該パケットを前記振り分けブロックに転送する選択ブロックと、
を備えたことを特徴とするレイヤ2スイッチ装置。
A plurality of interface cards having ports to which communication cables are connected are mounted, packets are transferred via connection paths interconnecting each interface card, and connection paths are selectively connected between the cables connected to the ports In the layer 2 switch device forming
In each of the interface cards, a communication state management block for managing a communication state of a connection path between each interface card;
The communication state of the connection path with the interface card that is the transfer destination of the packet input from the port is determined by referring to the communication state management block to determine whether or not communication is possible. A distribution block for transferring the packet to the connection path of the interface card and transferring the packet to the connection path of another interface card capable of communication when communication is impossible;
It is determined whether the destination of the packet input via the distribution block is the local interface card. If the destination is the local interface card, the packet is sent to the output processing unit and is not addressed to the local interface card. A selection block that forwards the packet to the distribution block;
A layer 2 switch device comprising:
前記インタフェースカードのハードウェアを、該インタフェースカード宛に制御パケットを送信して設定又は制御する中央処理装置を搭載したCPUカードを備え、
前記CPUカードに、前記各インタフェースカードとの接続路の通信状態を管理する通信状態管理ブロックと、
前記制御パケットの送信先のインタフェースカードとの通信が可能であるか否かを、前記通信状態管理ブロックを参照して判定し、可能な場合には該制御パケットを制御対象インタフェースカードへ送信し、通信不能の場合に、該制御パケットを通信可能な他のインタフェースカードへ送信する手段とを備え、
前記インタフェースカードに、受信した制御パケットが自インタフェースカード宛か否かを判定し、自インタフェースカード宛の場合には制御対象のハードウェアの設定又は制御を実施し、自インタフェースカード宛でない場合には、レイヤ1ヘッダに制御パケットであることを示す識別情報及び送信先のインタフェースカードを示すビットマップを設定して前記振り分けブロックに転送する手段と、
前記振り分けブロックを経由して入力されたパケットのレイヤ1ヘッダを元に、制御パケットであるか否かを判定し、制御パケットである場合に、該制御パケットに従って、制御対象のハードウェアの設定又は制御を実施する手段と
を備えたことを特徴とする請求項1に記載のレイヤ2スイッチ装置。
A CPU card equipped with a central processing unit for setting or controlling the hardware of the interface card by sending a control packet to the interface card;
A communication state management block for managing a communication state of a connection path with each interface card in the CPU card;
Whether or not communication with the interface card that is the transmission destination of the control packet is possible is determined with reference to the communication state management block, and if possible, the control packet is transmitted to the control target interface card, Means for transmitting the control packet to another interface card capable of communication when communication is impossible,
The interface card determines whether the received control packet is destined for its own interface card. If it is destined for its own interface card, the hardware to be controlled is set or controlled. Means for setting identification information indicating that it is a control packet in a layer 1 header and a bitmap indicating a destination interface card and transferring them to the distribution block;
Based on the layer 1 header of the packet input via the distribution block, it is determined whether or not the packet is a control packet. If the packet is a control packet, the hardware to be controlled is set according to the control packet or The layer 2 switch device according to claim 1, further comprising: means for performing control.
通信ケーブルが接続されるポートを有する複数のインタフェースカードを実装し、各インタフェースカード間を相互に接続する接続路を介してパケットを転送し、前記ポートに接続されたケーブル間に選択的に接続経路を形成するレイヤ2スイッチ装置の装置内カード間通信障害時の救済法であって、
前記インタフェースカードの各々に備えた通信状態管理ブロックにより、各インタフェースカード間の接続路の通信状態を管理するステップと、
前記インタフェースカードの各々に備えた振り分けブロックにおいて、前記ポートから入力されるパケットの転送先のインタフェースカードとの接続路の通信状態を、前記通信状態管理ブロックを参照して通信可能か否かを判定し、通信可能な場合に、該転送先のインタフェースカードの接続路に該パケットを転送し、通信不能の場合に、通信可能な他のインタフェースカードの接続路へ該パケットを転送するステップと、
前記インタフェースカードの各々に備えた選択ブロックにおいて、前記振り分けブロックを経由して入力されたパケットの宛先が自インタフェースカードであるか否かを判定し、自インタフェースカード宛である場合に、該パケットを出力処理部に送出し、自インタフェースカード宛でない場合に、該パケットを前記振り分けブロックに転送するステップと、
を含むことを特徴とする装置内カード間通信障害時の救済法。
A plurality of interface cards having ports to which communication cables are connected are mounted, packets are transferred via connection paths interconnecting each interface card, and connection paths are selectively connected between the cables connected to the ports A method of remedy in the event of a communication failure between cards in the layer 2 switching device forming
Managing a communication state of a connection path between each interface card by a communication state management block provided in each of the interface cards;
In the distribution block provided for each of the interface cards, the communication state of the connection path with the interface card to which the packet input from the port is transferred is determined by referring to the communication state management block. And when the communication is possible, the packet is transferred to the connection path of the transfer destination interface card, and when the communication is impossible, the packet is transferred to the connection path of another interface card capable of communication;
In the selection block provided in each of the interface cards, it is determined whether or not the destination of the packet input via the distribution block is the own interface card. Sending to the output processing unit and, if not addressed to the own interface card, transferring the packet to the distribution block;
A relief method in the event of a communication failure between intra-device cards.
前記インタフェースカードのハードウェアを、該インタフェースカード宛に制御パケットを送信して設定又は制御する中央処理装置を搭載したCPUカードにおいて、該CPUカードに備えた通信状態管理ブロックにより、前記各インタフェースカードとの通信状態を管理するステップと、
前記制御パケットの送信先のインタフェースカードとの通信が可能であるか否かを、前記通信状態管理ブロックを参照して判定し、可能な場合には該制御パケットを制御対象インタフェースカードへ送信し、通信不能の場合に、該制御パケットを通信可能な他のインタフェースカードへ送信するステップと、
前記インタフェースカードにおいて、受信した制御パケットが自インタフェースカード宛か否かを判定し、自インタフェースカード宛の場合には制御対象のハードウェアの設定又は制御を実施し、自インタフェースカード宛でない場合には、レイヤ1ヘッダに制御パケットであることを示す識別情報及び送信先のインタフェースカードを示すビットマップを設定して前記振り分けブロックに転送するステップと、
前記振り分けブロックを経由して入力されたパケットのレイヤ1ヘッダを元に、制御パケットであるか否かを判定し、制御パケットである場合に、該制御パケットに従って、制御対象のハードウェアの設定又は制御を実施するステップと
を含むことを特徴とする請求項3に記載の装置内カード間通信障害時の救済法。
In the CPU card equipped with a central processing unit for setting or controlling the hardware of the interface card by transmitting a control packet to the interface card, the communication status management block provided in the CPU card allows each interface card to Managing the communication status of
Whether or not communication with the interface card that is the transmission destination of the control packet is possible is determined with reference to the communication state management block, and if possible, the control packet is transmitted to the control target interface card, A step of transmitting the control packet to another interface card capable of communication when communication is impossible;
In the interface card, it is determined whether or not the received control packet is addressed to the own interface card. If the addressed packet is addressed to the own interface card, the hardware to be controlled is set or controlled. A step of setting identification information indicating that it is a control packet in a layer 1 header and a bitmap indicating a destination interface card and transferring the bitmap to the distribution block;
Based on the layer 1 header of the packet input via the distribution block, it is determined whether or not the packet is a control packet. If the packet is a control packet, the hardware to be controlled is set according to the control packet or The method according to claim 3, further comprising a step of performing control.
JP2007030498A 2007-02-09 2007-02-09 Relief method in case of communication failure between layer 2 switch device and inter-card card Withdrawn JP2008199179A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007030498A JP2008199179A (en) 2007-02-09 2007-02-09 Relief method in case of communication failure between layer 2 switch device and inter-card card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007030498A JP2008199179A (en) 2007-02-09 2007-02-09 Relief method in case of communication failure between layer 2 switch device and inter-card card

Publications (1)

Publication Number Publication Date
JP2008199179A true JP2008199179A (en) 2008-08-28

Family

ID=39757754

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007030498A Withdrawn JP2008199179A (en) 2007-02-09 2007-02-09 Relief method in case of communication failure between layer 2 switch device and inter-card card

Country Status (1)

Country Link
JP (1) JP2008199179A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023552627A (en) * 2020-12-11 2023-12-18 コンチネンタル オートモーティヴ テクロノジーズ ゲー・エム・ベー・ハー Method for optimizing transfer data rate in sensor networks in partial network operation in Ethernet networks

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023552627A (en) * 2020-12-11 2023-12-18 コンチネンタル オートモーティヴ テクロノジーズ ゲー・エム・ベー・ハー Method for optimizing transfer data rate in sensor networks in partial network operation in Ethernet networks
JP7681109B2 (en) 2020-12-11 2025-05-21 コンチネンタル・オートモーティヴ・テクノロジーズ・ゲゼルシャフト・ミト・ベシュレンクテル・ハフツング Method for optimizing the forwarding data rate in a sensor network during partial network operation in an Ethernet network - Patents.com
US12341626B2 (en) 2020-12-11 2025-06-24 Continental Automotive Technologies GmbH Method for optimizing the transfer data rate in a sensor network in partial network operation in an ethernet network

Similar Documents

Publication Publication Date Title
JP4688765B2 (en) Network redundancy method and intermediate switch device
US8886831B2 (en) System and methodology for fast link failover based on remote upstream failures
US9106523B2 (en) Communication device and method of controlling the same
US8437283B2 (en) Full duplex network radio bridge with low latency and high throughput
CN203747852U (en) Communication devices for redundantly operable industrial communication networks
US7660239B2 (en) Network data re-routing
CN101523803B (en) Elastic scheme in communication network
US6738344B1 (en) Link extenders with link alive propagation
JP2007531397A (en) Information transmission method in tree and ring topology of network system
CN103684845B (en) Network stand-by provision and the network system for having the network stand-by provision
WO2007022238A2 (en) High-availability networking with intelligent failover
CN105049349A (en) Relay System and Switching Device
US9571346B2 (en) Fault tolerant communication system, method, and device that uses tree searching
CN104104596B (en) A kind of IRF divides treating method and apparatus
US8724478B2 (en) Network device and network system
CN103534995B (en) A kind of interplate communication method of router cluster, router and router cluster
CN103812796B (en) Communication system and network repeater
CN101051885B (en) Access device uplink service protection method and device
JP4705492B2 (en) Ring node device and ring node redundancy method
CN110798399A (en) Network automatic link backup method and network system
JP2010141845A (en) Communication apparatus including multiple servers and communication method
US9438744B2 (en) Method and data transmission device for data transmission within an xDSL data transmission system connecting at least two ethernet networks via xDSL links
JP2008199179A (en) Relief method in case of communication failure between layer 2 switch device and inter-card card
CN100386997C (en) A data transmission system and method between telecommunication equipment based on point-to-point connection
JP6499624B2 (en) Network device and frame transfer method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20100511