JPH11112540A - Switching hub - Google Patents

Switching hub

Info

Publication number
JPH11112540A
JPH11112540A JP9274332A JP27433297A JPH11112540A JP H11112540 A JPH11112540 A JP H11112540A JP 9274332 A JP9274332 A JP 9274332A JP 27433297 A JP27433297 A JP 27433297A JP H11112540 A JPH11112540 A JP H11112540A
Authority
JP
Japan
Prior art keywords
switching hub
address table
address
port
cpu
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
JP9274332A
Other languages
Japanese (ja)
Inventor
Teruaki Aoki
照明 青木
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 JP9274332A priority Critical patent/JPH11112540A/en
Publication of JPH11112540A publication Critical patent/JPH11112540A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To immediately start the transfer processing of a reception frame without the need of registering the MAC addresses of respective terminals at the time of supplying power at next time even if the power source of a switching hub is once turned off by providing a non-volatile memory holding the content of an address table. SOLUTION: The non-volatile memory 14 for storing the content of the address table 15 is provided for the switching hub. CPU 11 periodically reads the content of the address table 15 and writes it in the non-volatile memory 14. At the time of supplying power, CPU 11 reads the content of the non-volatile memory 14 and writes the content in the address table 15. The switching hub starts a frame transfer operation by setting a state just after the address is written as an initial state. Thus, it is not necessary to reregister the MAC addresses of the respective terminals at the time of resupplying power and the frame transmission operation is immediately realized.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、イーサネット上で
受信したフレームを宛先アドレスに対応する特定のポー
トに中継するスイッチングハブに関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a switching hub for relaying a frame received on an Ethernet to a specific port corresponding to a destination address.

【0002】[0002]

【従来の技術】スイッチングハブは、イーサネット上で
受信したフレームを宛先アドレスに対応する特定のポー
トに中継することにより、複数のポート間で同時に通信
を可能にする重要な中継機器である。
2. Description of the Related Art A switching hub is an important relay device that enables simultaneous communication between a plurality of ports by relaying a frame received on an Ethernet to a specific port corresponding to a destination address.

【0003】図2は、従来のスイッチングハブの内部構
成図である。スイッチングハブは、CPU31、転送デ
ータバス32、宛先判定部33、アドレステーブル3
5、バッファメモリ36、転送制御部37、通信制御L
SI38〜41、ポート1(42)、ポート2(4
3)、ポート3(44)、ポート4(45)から構成さ
れている。
FIG. 2 is an internal configuration diagram of a conventional switching hub. The switching hub includes a CPU 31, a transfer data bus 32, a destination determining unit 33, an address table 3
5, buffer memory 36, transfer control unit 37, communication control L
SI 38 to 41, port 1 (42), port 2 (4
3), port 3 (44), and port 4 (45).

【0004】CPU31、宛先判定部33、アドレステ
ーブル35、バッファメモリ36、転送制御部37、通
信制御LSI38〜41は転送データバス32を介して
相互に接続されている。
[0006] The CPU 31, the destination determination unit 33, the address table 35, the buffer memory 36, the transfer control unit 37, and the communication control LSIs 38 to 41 are mutually connected via a transfer data bus 32.

【0005】CPU31はスイッチングハブ全体の制御
を行なう。バッファメモリ36はスイッチングハブが受
信したフレームを一時格納する送受信バッファとして使
用される。通信制御LSI38〜41はIEEE80
2.3規格に準拠した通信を行なう。宛先判定部33は
受信したフレームをどのポート宛てに出力するかを判定
する。転送制御部37は通信制御LSI38〜41間の
データ転送を制御する。
[0005] The CPU 31 controls the entire switching hub. The buffer memory 36 is used as a transmission / reception buffer for temporarily storing frames received by the switching hub. Communication control LSIs 38 to 41 are IEEE80
The communication conforms to the 2.3 standard. The destination determining unit 33 determines to which port the received frame is to be output. The transfer control unit 37 controls data transfer between the communication control LSIs 38 to 41.

【0006】スイッチングハブ内部のフレームの流れを
以下、図2を用いて説明する。
The flow of the frame inside the switching hub will be described below with reference to FIG.

【0007】今仮に、スイッチングハブ内の通信制御L
SI38がポート1(42)からフレームを受信したと
する。受信フレームは転送データバス32を経由してバ
ッファメモリ36に格納される。同時に、通信制御LS
I38内部では、受信フレームのエラーチェックが行な
われ、異常なフレームであればそのフレームは廃棄さ
れ、正常なフレームであればそのフレームの宛先アドレ
スが抽出される。
It is now assumed that the communication control L in the switching hub is
Assume that the SI 38 receives a frame from the port 1 (42). The received frame is stored in the buffer memory 36 via the transfer data bus 32. At the same time, the communication control LS
Inside the I38, the received frame is checked for errors. If the frame is abnormal, the frame is discarded. If the frame is normal, the destination address of the frame is extracted.

【0008】その後、宛先判定部33はアドレステーブ
ル35内部の検索を行ない転送先のポートを判定する。
仮に転送先ポートをポート3(44)とすると、ポート
3(44)に接続している通信制御LSI40は、フレ
ームの送信が可能な状態に成った時にバッファメモリ3
6からフレームを読み出してポート3(44)に送信す
る。
[0008] Thereafter, the destination determining unit 33 searches the inside of the address table 35 and determines the port of the transfer destination.
Assuming that the transfer destination port is the port 3 (44), the communication control LSI 40 connected to the port 3 (44) transmits the buffer memory 3 when the frame can be transmitted.
The frame is read out from port 6 and transmitted to port 3 (44).

【0009】また、受信したフレームの送信元アドレス
とポート番号とを対応付けしたアドレステーブル35に
おいて、アドレスの登録と検索は以下のようにして行な
われる。各通信制御LSI38〜41が受信したフレー
ムは、その送信元アドレスが既に登録されているかどう
か最初に検索される。登録されていない場合には、その
アドレスとポート番号がアドレステーブル35に登録さ
れる。送信元アドレスが既に登録されている場合には、
そのポート番号を取り出し受信ポートの番号と比較し、
異なる場合には新しいポート番号が登録される。
In the address table 35 in which the source address of the received frame and the port number are associated with each other, the registration and search of the address are performed as follows. The frame received by each of the communication control LSIs 38 to 41 is first searched for whether or not the source address has already been registered. If not registered, the address and port number are registered in the address table 35. If the sender address is already registered,
Take out the port number, compare it with the number of the receiving port,
If not, a new port number is registered.

【0010】次に受信したフレームの宛先アドレスが登
録されているかどうか検索される。既に登録されている
場合には、そのポート番号が宛先と判定され、登録され
ていない場合には、そのフレームが廃棄されるか、ある
いは全てのポートに転送される。
Next, it is searched whether the destination address of the received frame is registered. If the port number has already been registered, the port number is determined to be the destination. If the port number has not been registered, the frame is discarded or transferred to all ports.

【0011】[0011]

【発明が解決しようとする課題】従来のスイッチングハ
ブには以下の問題があった。
The conventional switching hub has the following problems.

【0012】スイッチングハブ内部のアドレステーブル
としてDRAMまたはSRAMを用いているため、スイ
ッチングハブの電源が一旦OFFになると、アドレステ
ーブルの内容は全て消えてしまう。そのため、次の電源
投入時には各端末のMACアドレスを登録する処置を行
なわなければならない。この処置に多大の時間を費や
し、受信フレームの転送処置がすぐに開始できなかっ
た。
Since a DRAM or an SRAM is used as an address table inside the switching hub, once the power of the switching hub is turned off, all the contents of the address table are erased. Therefore, at the time of the next power-on, a process of registering the MAC address of each terminal must be performed. A great deal of time was spent on this procedure, and the procedure for transferring received frames could not be started immediately.

【0013】従って本発明の目的は、前記した従来技術
の欠点を解消し、スイッチングハブの電源が再投入され
た時に、以前使用していたアドレステーブルの内容が復
元され、すぐにフレーム転送処置が可能なスイッチング
ハブを提供することにある。
Accordingly, an object of the present invention is to solve the above-mentioned disadvantages of the prior art, and when the power of the switching hub is turned on again, the contents of the address table used previously are restored, and the frame transfer processing is immediately performed. It is to provide a possible switching hub.

【0014】[0014]

【課題を解決するための手段】本発明は上記の目的を実
現するため、端末のMACアドレスをポートに対応させ
て登録したアドレステーブルと、該アドレステーブルを
前記ポートより受信したフレームの宛先アドレスにより
検索を行なう手段と、該検索手段により検索されたポー
トに前記フレームを中継する手段とを具備するスイッチ
ングハブにおいて、前記アドレステーブルの内容を保持
するための不揮発性メモリを設けた。
In order to achieve the above object, the present invention provides an address table in which a MAC address of a terminal is registered in correspondence with a port and a destination address of a frame received from the port. In a switching hub including means for performing a search and means for relaying the frame to a port searched by the search means, a nonvolatile memory for holding the contents of the address table is provided.

【0015】前記不揮発性メモリは、スイッチングハブ
内部のCPUが前記アドレステーブルの内容を周期的に
読み出して書き込まれるように構成した。
The nonvolatile memory is configured such that a CPU inside the switching hub periodically reads and writes the contents of the address table.

【0016】また、前記不揮発性メモリは、スイッチン
グハブ起動時に前記CPUによりその保持内容が読み出
され前記アドレステーブルに書き込めるように構成し
た。
Further, the nonvolatile memory is configured so that the content held by the CPU is read out at the time of starting the switching hub and can be written in the address table.

【0017】更に、前記不揮発性メモリは、スイッチン
グハブ起動時に前記CPUによりその保持内容が読み出
され前記アドレステーブルに書き込めるように構成して
成るか、あるいは前記CPUによりその保持内容を読み
出さずに前記アドレステーブルには新規のアドレスが登
録されるように構成して成るか、のいずれかを選択可能
にしても良い。
Further, the nonvolatile memory may be configured so that the content held by the CPU is read out at the time of starting the switching hub and can be written in the address table, or the nonvolatile content may be read out without reading out the content held by the CPU. The address table may be configured such that a new address is registered, or either of the two may be selectable.

【0018】[0018]

【発明の実施の形態】図1は、本発明のスイッチングハ
ブの一実施例を示す内部構成図である。スイッチングハ
ブは、CPU11、転送データバス12、宛先判定部1
3、不揮発性メモリ14、アドレステーブル15、バッ
ファメモリ16、転送制御部17、通信制御LSI18
〜21、ポート1(22)、ポート2(23)、ポート
3(24)、ポート4(25)から構成されている。
FIG. 1 is an internal configuration diagram showing an embodiment of a switching hub according to the present invention. The switching hub includes a CPU 11, a transfer data bus 12, and a destination determination unit 1.
3, nonvolatile memory 14, address table 15, buffer memory 16, transfer control unit 17, communication control LSI 18
21, port 1 (22), port 2 (23), port 3 (24), and port 4 (25).

【0019】アドレステーブル15の内容を格納するた
めの不揮発性メモリ14が設けられている。CPU11
は、周期的にアドレステーブル15の内容を読み出し
て、不揮発性メモリ14に書き込む。
A nonvolatile memory 14 for storing the contents of the address table 15 is provided. CPU11
Periodically reads the contents of the address table 15 and writes the contents to the nonvolatile memory 14.

【0020】電源投入時には、最初にCPU11は不揮
発性メモリ14の内容を読み出し、その内容をアドレス
テーブル15に書き込む。スイッチングハブはアドレス
が書き込まれた直後の状態を初期状態としてフレーム転
送動作を開始する。このように、電源再投入時に各端末
のMACアドレスを再登録する処置は必要なくなり、直
ちにフレーム伝送動作が可能である。
When the power is turned on, first, the CPU 11 reads the contents of the nonvolatile memory 14 and writes the contents to the address table 15. The switching hub starts a frame transfer operation with an initial state immediately after the address is written. In this way, it is not necessary to re-register the MAC address of each terminal when the power is turned on again, and the frame transmission operation can be performed immediately.

【0021】なお電源投入時に、不揮発性メモリ14の
内部に制御データの領域を設け、CPU11が不揮発性
メモリ14の内容を読み出してアドレステーブル15に
書き込むか、あるいは不揮発性メモリ14の内容を読み
出さずにアドレステーブル15に新規のアドレスが登録
できるようにするか、のいずれかを選択できるように構
成しても良い。
When the power is turned on, a control data area is provided in the nonvolatile memory 14 so that the CPU 11 reads the content of the nonvolatile memory 14 and writes it in the address table 15 or does not read the content of the nonvolatile memory 14. Or a new address may be registered in the address table 15.

【0022】[0022]

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

【0023】電源投入時に全ての端末のMACアドレス
を再登録する処置が不要となり、スイッチングハブは直
ちに受信フレームの転送処置を開始することができる。
It is not necessary to re-register the MAC addresses of all the terminals when the power is turned on, and the switching hub can immediately start the process of transferring the received frame.

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

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

【図2】従来のスイッチングハブの内部構成図である。FIG. 2 is an internal configuration diagram of a conventional switching hub.

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

11、31 CPU 12、32 転送データバス 13、33 宛先判定部 14 不揮発性メモリ 15、35 アドレステーブル 16、36 バッファメモリ 17、37 転送制御部 18〜21、38〜41 通信制御LSI 22、42 ポート1 23、43 ポート2 24、44 ポート3 25、45 ポート4 11, 31 CPU 12, 32 Transfer data bus 13, 33 Destination determination unit 14 Nonvolatile memory 15, 35 Address table 16, 36 Buffer memory 17, 37 Transfer control unit 18-21, 38-41 Communication control LSI 22, 42 port 1 23, 43 port 2 24, 44 port 3 25, 45 port 4

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】端末のMACアドレスをポートに対応させ
て登録したアドレステーブルと、該アドレステーブルを
前記ポートより受信したフレームの宛先アドレスにより
検索を行なう手段と、該検索手段により検索されたポー
トに前記フレームを中継する手段とを具備するスイッチ
ングハブにおいて、前記アドレステーブルの内容を保持
するための不揮発性メモリを設けたことを特徴とするス
イッチングハブ。
1. An address table in which a MAC address of a terminal is registered in correspondence with a port, means for searching the address table by a destination address of a frame received from the port, and a port searched by the search means. A switching hub comprising: means for relaying the frame, wherein a non-volatile memory for holding the contents of the address table is provided.
【請求項2】不揮発性メモリは、スイッチングハブ内部
のCPUが前記アドレステーブルの内容を周期的に読み
出して書き込まれるように構成して成ることを特徴とす
る請求項1記載のスイッチングハブ。
2. The switching hub according to claim 1, wherein the nonvolatile memory is configured so that a CPU inside the switching hub periodically reads and writes the contents of the address table.
【請求項3】不揮発性メモリは、スイッチングハブ起動
時に前記CPUによりその保持内容が読み出され前記ア
ドレステーブルに書き込めるように構成して成ることを
特徴とする請求項1乃至2にいずれか記載のスイッチン
グハブ。
3. The non-volatile memory according to claim 1, wherein the content stored in the non-volatile memory is read out by the CPU when the switching hub is started, and can be written in the address table. Switching hub.
【請求項4】不揮発性メモリは、スイッチングハブ起動
時に前記CPUによりその保持内容が読み出され前記ア
ドレステーブルに書き込めるように構成して成るか、あ
るいは前記CPUによりその保持内容を読み出さずに前
記アドレステーブルには新規のアドレスが登録されるよ
うに構成して成るか、のいずれかを選択可能にして成る
ことを特徴とする請求項1乃至2にいずれか記載のスイ
ッチングハブ。
4. The nonvolatile memory is configured such that the content held by the CPU is read out at the time of starting the switching hub and can be written in the address table, or the nonvolatile memory can read the address without reading out the content held by the CPU. 3. The switching hub according to claim 1, wherein the switching hub is configured so that a new address is registered in the table.
JP9274332A 1997-10-07 1997-10-07 Switching hub Pending JPH11112540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9274332A JPH11112540A (en) 1997-10-07 1997-10-07 Switching hub

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9274332A JPH11112540A (en) 1997-10-07 1997-10-07 Switching hub

Publications (1)

Publication Number Publication Date
JPH11112540A true JPH11112540A (en) 1999-04-23

Family

ID=17540188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9274332A Pending JPH11112540A (en) 1997-10-07 1997-10-07 Switching hub

Country Status (1)

Country Link
JP (1) JPH11112540A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101403580B1 (en) * 2014-04-01 2014-06-09 (주)유비쿼스 METHOD FOR APPLYING G.hn TO ACCESS NETWORK

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101403580B1 (en) * 2014-04-01 2014-06-09 (주)유비쿼스 METHOD FOR APPLYING G.hn TO ACCESS NETWORK

Similar Documents

Publication Publication Date Title
US7308612B1 (en) Fast port failover in a network switch
JPH0795231A (en) Inter-lan connecting device
EP1031216A1 (en) System and method for processing data packets
EP1777889B1 (en) Method of processing information packets and telecommunication apparatus using the same
JPH09162922A (en) Inter-network connection device
JP2002050184A (en) Associative memory
JPH11112540A (en) Switching hub
JP2001117899A (en) Multi-server system
JPH0764868A (en) Storage updating device
JP2020088819A (en) Relay device
JPH042236A (en) Bridge equipment
JPH0923245A (en) Inter-network connector
JP3508057B2 (en) Layer 3 switch
JPH11127184A (en) Routing method and router
JP2001053927A (en) Apparatus and system for communicating data
JPH1093604A (en) Switching hub
JPH10336223A (en) Communication method and communication system
JPH07143133A (en) Multi-layer protocol processor for common use of memory
JPH1127318A (en) Method for data transfer control and address retrieval method for switching hub
JPH09224047A (en) Station address setting method for loop type communication equipment
JPH1117683A (en) Switching hub
JPS6069935A (en) Data communication system
KR20020058364A (en) Router for Packet Dual Process
JPH11122280A (en) Switching hub function
JPH11191784A (en) Switching hub