JPH09149068A - Switching hub - Google Patents

Switching hub

Info

Publication number
JPH09149068A
JPH09149068A JP7307259A JP30725995A JPH09149068A JP H09149068 A JPH09149068 A JP H09149068A JP 7307259 A JP7307259 A JP 7307259A JP 30725995 A JP30725995 A JP 30725995A JP H09149068 A JPH09149068 A JP H09149068A
Authority
JP
Japan
Prior art keywords
frame
error occurrence
transfer mode
error
transfer
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
JP7307259A
Other languages
Japanese (ja)
Inventor
Katsuhiro Kasai
克洋 笠井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Cable Ltd
Original Assignee
Hitachi Cable Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Cable Ltd filed Critical Hitachi Cable Ltd
Priority to JP7307259A priority Critical patent/JPH09149068A/en
Publication of JPH09149068A publication Critical patent/JPH09149068A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To select the efficient frame transfer mode in response to a state of a network. SOLUTION: A transfer mode decision means 101 monitors the frequency of occurrence of errors of a port and the cut through system or the store and forward system is adopted for a frame transfer mode depending on the frequency of occurrence of the errors. When the frequency of occurrence of the errors is low, the error check is omitted to reduce a transfer delay time. When the frequency of occurrence of the errors is high, transfer of undesired frames is avoided by error check.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ポート間でフレー
ム転送を行うスイッチングハブに係り、特に、ネットワ
ークの状況に応じて効率の良いフレーム転送モードを選
択できるスイッチングハブに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a switching hub that transfers frames between ports, and more particularly to a switching hub that can select an efficient frame transfer mode according to the network conditions.

【0002】[0002]

【従来の技術】ネットワークに用いられるハブは、端末
を接続するポートを複数有し、ポート間でフレーム転送
を行うものである。ハブにはスイッチングハブがある。
2. Description of the Related Art A hub used in a network has a plurality of ports for connecting terminals and transfers frames between the ports. The hub has a switching hub.

【0003】通常のハブ(リピーティングハブ)は一つ
のポートに到着したフレームを他の全てのポートに対し
て転送するのに対し、スイッチングハブはそのフレーム
内の宛先MACアドレスの判定を行い、例えば、そのM
ACアドレスがユニキャストの場合、そのMACアドレ
スの設定された端末が接続されているポートにのみフレ
ームを転送する。
A normal hub (repeat hub) transfers a frame arriving at one port to all the other ports, whereas a switching hub determines a destination MAC address in the frame. That M
When the AC address is unicast, the frame is transferred only to the port to which the terminal to which the MAC address is set is connected.

【0004】スイッチングハブがフレームを転送する方
式(フレーム転送モード)には、カットスルー方式とス
トアアンドフォワード方式とがある。
There are a cut-through method and a store-and-forward method as a method (frame transfer mode) for the switching hub to transfer a frame.

【0005】カットスルー方式は、フレームの内容を内
部メモリに保持せずに、フレームの先頭にある宛先アド
レスのみを抽出して、その宛先アドレスに従ったポート
に対して即座にフレームを転送する。
The cut-through method extracts only the destination address at the beginning of the frame without holding the contents of the frame in the internal memory and immediately transfers the frame to the port according to the destination address.

【0006】これに対し、ストアアンドフォワード方式
は、フレームの内容を一時的に内部メモリに保持し、フ
レームのエラーチェックをした後に、その宛先アドレス
に従ったポートに対してフレームを転送する。
On the other hand, in the store-and-forward method, the contents of the frame are temporarily held in the internal memory, the error of the frame is checked, and then the frame is transferred to the port according to the destination address.

【0007】スイッチングハブを設ける際には、これら
のフレーム転送モードのうち、どちらかいずれかを有す
るスイッチングハブを選択する。
When a switching hub is provided, a switching hub having one of these frame transfer modes is selected.

【0008】[0008]

【発明が解決しようとする課題】上記フレーム転送モー
ドを比較すると、カットスルー方式の場合、フレームを
内部メモリに保持しないため転送遅延時間は非常に短く
て済む。しかし、フレームのエラーチェックを全く行わ
ないため、エラーが発生した不要なフレームを転送して
しまう。一方、ストアアンドフォワード方式では、逆に
エラーが発生した不要なフレームを転送しない代わり
に、フレームを内部メモリに一時保持するため、転送遅
延時間は大きくなってしまう。
Comparing the frame transfer modes described above, in the case of the cut-through method, since the frame is not held in the internal memory, the transfer delay time can be very short. However, since no error check is performed on the frame, an unnecessary frame in which an error has occurred is transferred. On the other hand, in the store-and-forward method, on the contrary, an unnecessary frame in which an error has occurred is not transferred, but the frame is temporarily held in the internal memory, so the transfer delay time becomes large.

【0009】このようにカットスルー方式及びストアア
ンドフォワード方式には、それぞれ正反対の特長がある
と共に問題がある。
As described above, the cut-through method and the store-and-forward method have the opposite features and problems.

【0010】そこで、本発明の目的は、上記課題を解決
し、ネットワークの状況に応じて効率の良いフレーム転
送モードを選択できるスイッチングハブを提供すること
にある。
Therefore, an object of the present invention is to solve the above problems and to provide a switching hub capable of selecting an efficient frame transfer mode according to the network condition.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するため
に本発明は、複数のポートを有し、ポート間でフレーム
転送を行うスイッチングハブにおいて、ポートのエラー
発生頻度をモニタし、そのエラー発生頻度に応じてフレ
ーム転送モードをカットスルー方式かストアアンドフォ
ワード方式かに切り替える転送モード切替手段を設けた
ものである。
To achieve the above object, the present invention monitors the error occurrence frequency of a port in a switching hub having a plurality of ports and performing frame transfer between the ports, and the error occurrence is monitored. Transfer mode switching means is provided for switching the frame transfer mode between the cut-through method and the store-and-forward method according to the frequency.

【0012】[0012]

【発明の実施の形態】本発明の実施の形態は、スイッチ
ングハブに、カットスルー方式とストアアンドフォワー
ド方式の両方の転送モードを実行できるようにしてお
く。そして、ポートのエラー発生頻度を常に観側(モニ
タ)すると共にそのエラー発生頻度に応じてフレーム転
送モードをカットスルー方式かストアアンドフォワード
方式かに切り替える転送モード切替手段を設けるもので
ある。エラー発生頻度は、所定の時間を区切り、この時
間中に発生したエラーフレームの回数を調べ、エラーフ
レーム回数/時間によって求める。このエラー発生頻度
がある一定値より小さい場合はカットスルー方式により
フレームを転送する。即ち、エラー発生の割合が低いの
でエラーチェックを省き、もっぱら転送遅延時間の短縮
を図る。反対に、エラー発生頻度がある一定値より大き
い場合はストアアンドフォワード方式によりフレームを
転送する。即ち、エラー発生の割合が高いのでエラーチ
ェックにより不要なフレームの転送をなくする。このよ
うにエラーの発生状態により自動的にフレーム転送モー
ドを切り替えることにより、ネットワークの状況に応じ
た効率の良いフレーム転送を実現する。
BEST MODE FOR CARRYING OUT THE INVENTION In the embodiment of the present invention, a switching hub is capable of executing both cut-through type and store-and-forward type transfer modes. Further, a transfer mode switching means for constantly monitoring (monitoring) the error occurrence frequency of the port and switching the frame transfer mode between the cut-through method and the store-and-forward method according to the error occurrence frequency is provided. The error occurrence frequency is obtained by dividing a predetermined time, checking the number of error frames generated during this time, and calculating the error frame count / time. When the error occurrence frequency is smaller than a certain value, the frame is transferred by the cut-through method. That is, since the rate of error occurrence is low, error checking is omitted, and the transfer delay time is exclusively shortened. On the contrary, if the error occurrence frequency is higher than a certain value, the frame is transferred by the store-and-forward method. That is, since the rate of error occurrence is high, unnecessary frame transfer is eliminated by error checking. In this way, by automatically switching the frame transfer mode depending on the error occurrence state, efficient frame transfer according to the network condition is realized.

【0013】図1に本発明に係るスイッチングハブの構
成を示す。スイッチングハブ106には、端末が接続さ
れる複数のポート105と、カットスルー方式のフレー
ム転送モードを提供するカットスルー方式転送手段10
4と、ストアアンドフォワード方式のフレーム転送モー
ドを提供するストアアンドフォワード方式転送手段10
3と、これらのフレーム転送モードを切り替えるスイッ
チ102と、フレームのエラー発生を検知してそのエラ
ー発生頻度を観測し、そのエラー発生頻度に応じてフレ
ーム転送モードを決定するモニタ部(転送モード決定手
段)101とが設けられている。
FIG. 1 shows the structure of a switching hub according to the present invention. The switching hub 106 has a plurality of ports 105 to which terminals are connected, and a cut-through type transfer means 10 for providing a cut-through type frame transfer mode.
4 and a store-and-forward type transfer means 10 for providing a store-and-forward type frame transfer mode
3, a switch 102 for switching between these frame transfer modes, a monitor section (transfer mode determination means) that detects an error occurrence of a frame, observes the error occurrence frequency, and determines the frame transfer mode according to the error occurrence frequency. ) 101 and are provided.

【0014】また、スイッチングハブ106には、図示
しないが、RS232C端末を接続するポート及び電源
断後も記憶内容を保持する不揮発性メモリが設けられて
いる。RS232C端末は、スイッチングハブ106に
エラー発生頻度の閾値を設定したり、電源立ち上げ時の
転送モードを設定したりするものである。また、不揮発
性メモリは、上記の閾値、電源立ち上げ時転送モードを
記憶すると共に、観測したエラー発生頻度等を記憶する
ことができる。
Although not shown, the switching hub 106 is provided with a port for connecting the RS232C terminal and a non-volatile memory that retains stored contents even after the power is turned off. The RS232C terminal sets a threshold value of an error occurrence frequency in the switching hub 106 and sets a transfer mode at power-on. In addition, the non-volatile memory can store the threshold value, the power-on transfer mode, and the observed error occurrence frequency.

【0015】本実施形態において、スイッチングハブ1
06は、RS232C端末等によりエラー発生頻度の閾
値や、電源立ち上げ時の転送モードを初期設定し、不揮
発性メモリに記憶している。従って、通常の電源立ち上
げ時には、ストアアンドフォワード方式或いはカットス
ルー方式いずれかの転送モードで動作を開始することが
できる。なお、エラー発生頻度の閾値等は、RS232
C端末からでなく、ネットワーク経由でネットワーク管
理SNMPを介して設定することもできる。
In this embodiment, the switching hub 1
Reference numeral 06 denotes an RS232C terminal or the like which initializes an error occurrence frequency threshold value and a transfer mode at power-on, and stores it in a nonvolatile memory. Therefore, when the power is turned on normally, the operation can be started in the transfer mode of either the store-and-forward method or the cut-through method. In addition, the threshold value of the error occurrence frequency is RS232.
It can also be set via the network management SNMP not via the C terminal but via the network.

【0016】スイッチングハブ106が動作を開始する
と、モニタ部101は、各ポート毎のエラー発生状況を
常にモニタする。そのモニタ内容はメモリに保持され
る。このメモリは上記不揮発性メモリであり、内容を電
源断後も保持することにより、電源再立ち上げ後に再度
参照可能である。
When the switching hub 106 starts to operate, the monitor section 101 constantly monitors the error occurrence status for each port. The monitor contents are held in the memory. This memory is the above-mentioned non-volatile memory, and by retaining the contents even after the power is turned off, it can be referred to again after the power is turned on again.

【0017】モニタ部101のモニタ内容は、エラー発
生検知及びエラー発生頻度観測である。モニタ部101
がエラー発生を検知するので、カットスルー方式でフレ
ームを転送しているときにもエラー発生を検知すること
ができる。エラー発生頻度は、ある一定時間を区切り、
この時間中に発生したエラーフレームの回数を調べ、エ
ラーフレーム回数/時間によって求める。
The monitor contents of the monitor unit 101 are error occurrence detection and error occurrence frequency observation. Monitor unit 101
Detects an error occurrence, it is possible to detect an error occurrence even when a frame is transferred by the cut-through method. The error frequency is a fixed time interval,
The number of error frames generated during this time is checked, and the number of error frames is calculated by the error frame number / time.

【0018】このエラー発生頻度が閾値より高い場合、
ストアアンドフォワード方式転送手段103側にスイッ
チ102を切り替える。即ち、エラー発生の割合が高い
のでエラーチェックにより不要なフレームの転送をなく
する。逆に、エラー発生頻度が閾値より低い場合、カッ
トスルー方式転送手段104側にスイッチ102を切り
替える。即ち、エラー発生の割合が低いのでエラーチェ
ックを省き、もっぱら転送遅延時間の短縮を図ることに
なる。
If this error occurrence frequency is higher than the threshold value,
The switch 102 is switched to the store-and-forward type transfer means 103 side. That is, since the rate of error occurrence is high, unnecessary frame transfer is eliminated by error checking. On the contrary, when the error occurrence frequency is lower than the threshold value, the switch 102 is switched to the cut-through method transfer means 104 side. That is, since the rate of error occurrence is low, error checking can be omitted and the transfer delay time can be shortened.

【0019】なお、エラー発生頻度については、全ポー
ト合計のエラー発生を調べてエラー発生頻度を求め、閾
値と比較してもよいし、一つのポートのみ代表的に調べ
てエラー発生頻度を求め、閾値と比較しその結果を全ポ
ートに適用してもよいし、ポート毎にエラー発生頻度を
求め、ポート個別に閾値と比較し転送モードを切り替え
るようにしてもよい。
Regarding the error occurrence frequency, the error occurrence frequency of all the ports may be checked to find the error occurrence frequency and compared with a threshold value. Alternatively, only one port may be checked representatively to find the error occurrence frequency. The result may be compared with a threshold value and applied to all ports, or the error occurrence frequency may be obtained for each port and the transfer mode may be switched by comparing with the threshold value for each port.

【0020】[0020]

【発明の効果】本発明は次の如き優れた効果を発揮す
る。
The present invention exhibits the following excellent effects.

【0021】(1)エラー発生頻度によってフレーム転
送モードを切り替えられるので、ネットワークの状況に
応じて、ある時は遅延時間の少ないカットスルー方式
を、またある時はエラーフレームを除去できるストアア
ンドフォワード方式を自動的に選択できすることがで
き、効率の良いフレーム転送を実現できる。
(1) Since the frame transfer mode can be switched depending on the error occurrence frequency, a cut-through method with a small delay time is used at some times and a store-and-forward method capable of removing error frames at other times, depending on the network conditions. Can be automatically selected, and efficient frame transfer can be realized.

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

【図1】本発明の一実施形態を示すスイッチングハブの
構成図である。
FIG. 1 is a configuration diagram of a switching hub showing an embodiment of the present invention.

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

101 モニタ部(転送モード決定手段) 102 スイッチ 103 ストアアンドフォワード方式転送手段 104 カットスルー方式転送手段 105 ポート 101 Monitor Unit (Transfer Mode Determining Means) 102 Switch 103 Store-and-Forward Transfer Means 104 Cut-Through Method Transfer Means 105 Ports

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数のポートを有し、ポート間でフレー
ム転送を行うスイッチングハブにおいて、ポートのエラ
ー発生頻度をモニタし、そのエラー発生頻度に応じてフ
レーム転送モードをカットスルー方式かストアアンドフ
ォワード方式かに切り替える転送モード切替手段を設け
たことを特徴とするスイッチングハブ。
1. In a switching hub having a plurality of ports and performing frame transfer between ports, the error occurrence frequency of a port is monitored, and the frame transfer mode is cut-through or store-and-forward according to the error occurrence frequency. A switching hub characterized by being provided with a transfer mode switching means for switching between modes.
JP7307259A 1995-11-27 1995-11-27 Switching hub Pending JPH09149068A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7307259A JPH09149068A (en) 1995-11-27 1995-11-27 Switching hub

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7307259A JPH09149068A (en) 1995-11-27 1995-11-27 Switching hub

Publications (1)

Publication Number Publication Date
JPH09149068A true JPH09149068A (en) 1997-06-06

Family

ID=17966959

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7307259A Pending JPH09149068A (en) 1995-11-27 1995-11-27 Switching hub

Country Status (1)

Country Link
JP (1) JPH09149068A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6144668A (en) * 1997-11-26 2000-11-07 International Business Machines Corporation Simultaneous cut through and store-and-forward frame support in a network device
WO2004066562A1 (en) * 2003-01-24 2004-08-05 Fujitsu Limited Data transmission apparatus
JP2007318199A (en) * 2006-05-23 2007-12-06 Auto Network Gijutsu Kenkyusho:Kk Relay connection unit
JP2008042690A (en) * 2006-08-08 2008-02-21 Auto Network Gijutsu Kenkyusho:Kk Relay connection unit
JP2009527976A (en) * 2006-02-23 2009-07-30 サムスン エレクトロニクス カンパニー リミテッド Network relay apparatus and method thereof
WO2009118650A1 (en) * 2008-03-26 2009-10-01 Toyota Jidosha Kabushiki Kaisha Network device of transfer switching type and frame transfer method
JPWO2008126698A1 (en) * 2007-04-05 2010-07-22 株式会社オートネットワーク技術研究所 In-vehicle relay connection unit

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6144668A (en) * 1997-11-26 2000-11-07 International Business Machines Corporation Simultaneous cut through and store-and-forward frame support in a network device
WO2004066562A1 (en) * 2003-01-24 2004-08-05 Fujitsu Limited Data transmission apparatus
US7570592B2 (en) 2003-01-24 2009-08-04 Fujitsu Limited Data transfer device for executing the process discarding error frame
JP2009527976A (en) * 2006-02-23 2009-07-30 サムスン エレクトロニクス カンパニー リミテッド Network relay apparatus and method thereof
JP2007318199A (en) * 2006-05-23 2007-12-06 Auto Network Gijutsu Kenkyusho:Kk Relay connection unit
JP2008042690A (en) * 2006-08-08 2008-02-21 Auto Network Gijutsu Kenkyusho:Kk Relay connection unit
JPWO2008126698A1 (en) * 2007-04-05 2010-07-22 株式会社オートネットワーク技術研究所 In-vehicle relay connection unit
JP4880035B2 (en) * 2007-04-05 2012-02-22 株式会社オートネットワーク技術研究所 In-vehicle relay connection unit
WO2009118650A1 (en) * 2008-03-26 2009-10-01 Toyota Jidosha Kabushiki Kaisha Network device of transfer switching type and frame transfer method
US8385357B2 (en) 2008-03-26 2013-02-26 Toyota Jidosha Kabushiki Kaisha Network device of transfer switching type and frame transfer method

Similar Documents

Publication Publication Date Title
US8630188B2 (en) Monitoring link aggregation links
US8036134B2 (en) Disabled state and state signaling for link aggregation
US6981174B1 (en) Method and apparatus for a redundant port
JP2837828B2 (en) Method and apparatus for changing operation mode of local area network switch
US9473382B2 (en) Method and system for link aggregation
US8411690B2 (en) Preventing data traffic connectivity between endpoints of a network segment
US8811235B2 (en) System and method for assuring the operation of network devices in bridged networks
EP2243255B1 (en) Method and system for dynamic link failover management
US6857027B1 (en) Intelligent network topology and configuration verification using a method of loop detection
US20150288561A1 (en) Computer network method and device using link aggregation
US20060268747A1 (en) Method and apparatus for establishing spanning trees
US20040105390A1 (en) Method and system for implementing a fast recovery process in a local area network
US20040223463A1 (en) Method and apparatus for checking continuity of leaf-to-root VLAN connections
US20070058602A1 (en) Transmission apparatus and frame transmission method
US8121026B2 (en) Systems and methods for routing data in a communications network
CN112217658A (en) Stacking and splitting processing method and device
US10250528B2 (en) Packet prediction in a multi-protocol label switching network using operation, administration, and maintenance (OAM) messaging
JPH09149068A (en) Switching hub
CN112231153B (en) Equipment switching method and network equipment
JP4466245B2 (en) Redundant packet network standby system switching system and method
US11950032B2 (en) G.8032 with optical bypass
US20230198803A1 (en) Uplink connectivity in ring networks
WO2023172451A1 (en) G.8032 with optical bypass
CN117527727A (en) Hardware triggered service mirroring
CN115865635A (en) Data processing method, device and storage medium