JP2005064710A - Switching hub - Google Patents

Switching hub Download PDF

Info

Publication number
JP2005064710A
JP2005064710A JP2003290362A JP2003290362A JP2005064710A JP 2005064710 A JP2005064710 A JP 2005064710A JP 2003290362 A JP2003290362 A JP 2003290362A JP 2003290362 A JP2003290362 A JP 2003290362A JP 2005064710 A JP2005064710 A JP 2005064710A
Authority
JP
Japan
Prior art keywords
flooding
time limit
fdb
registered
switching hub
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
JP2003290362A
Other languages
Japanese (ja)
Inventor
Tsutomu Sawaguchi
力 澤口
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 JP2003290362A priority Critical patent/JP2005064710A/en
Publication of JP2005064710A publication Critical patent/JP2005064710A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a switching hub cpable of controlling the time limit of a filtering database and suppressing the frequency of flooding. <P>SOLUTION: This hub is provided with a plurality of ports 2, a filtering database 3 to which addresses of terminals are registered in accordance with the ports 2 and an aging timer deleting a registered content of the filtering database 3 when it becomes the time limit. The switching hub 1 performs filtering or flooding by referring to the filtering database 3. When the number of registered data in the filtering database 3 reaches an upper limit which is previously set, the time limit of the aging timer is shortened, and the time limit of the aging timer is prolonged when frequency when flooding is performed reaches the upper limit which is previously set. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、端末のアドレスに基づいてフレームの中継を行うスイッチングハブに係り、特に、フィルタリングデータベースの時間期限を調節し、フラッディングの頻度を抑制できるスイッチングハブに関するものである。   The present invention relates to a switching hub that relays frames based on the address of a terminal, and more particularly, to a switching hub that can adjust the time limit of a filtering database and suppress the frequency of flooding.

スイッチングハブは、複数のポートと、これらのポートに対応して端末のアドレスを登録したフィルタリングデータベース(以下、FDBという)と、このFDBの登録内容を所定の時間期限になると抹消するエージングタイマとを有し、ポートで受信したフレームを他のポートから中継する際に、このFDBを参照してフィルタリングを行うか又はフラッディングを行うものである。   The switching hub includes a plurality of ports, a filtering database (hereinafter referred to as FDB) in which terminal addresses are registered corresponding to these ports, and an aging timer that deletes the registered contents of the FDB when a predetermined time limit expires. And, when a frame received at a port is relayed from another port, filtering or flooding is performed with reference to this FDB.

スイッチングハブは、ポートでフレームを受信したとき、その受信フレームの送信元MACアドレスを読み取り、そのMACアドレスがFDBに登録されていなければ、そのMACアドレスをフレームの受信ポートに対応付けてFDBに登録する。これにより、当該ポートには登録したMACアドレスを持つ端末が接続されていることが学習される。この動作をアドレスの学習という。また、この登録と同時にエージングタイマが起動され、最初は0であったエージングタイマの値がその後の時間の経過に従い大きくなる。   When a switching hub receives a frame at a port, it reads the transmission source MAC address of the received frame, and if the MAC address is not registered in the FDB, the MAC address is registered in the FDB in association with the reception port of the frame. To do. Thereby, it is learned that a terminal having the registered MAC address is connected to the port. This operation is called address learning. At the same time as this registration, the aging timer is started, and the value of the aging timer, which was 0 at first, becomes larger as time passes thereafter.

そのまま時間が経過してエージングタイマの値が予め設定した時間期限の値に達すると、当該登録内容は抹消される。   When the time elapses and the value of the aging timer reaches a preset time limit value, the registered content is deleted.

エージングタイマの値が予め設定した時間期限の値に達する以前に受信フレームから読み取ったMACアドレスがFDBに既に登録されていれば、エージングタイマがリセットされ、値が0に戻される。これにより、見掛け上、上記時間期限が延長されることになるので、繰り返しフレームを送信している端末のMACアドレスはFDBへの登録が長らく保持され、めったにフレームを送信しない端末のMACアドレスは時間期限が来てFDBから抹消される。時間期限が短い場合、相当頻繁にフレームを送信している端末のMACアドレスしかFDBには残りにくいが、時間期限が長くなると、ときたまフレームを送信している端末のMACアドレスもFDBに残るようになる。   If the MAC address read from the received frame is already registered in the FDB before the value of the aging timer reaches a preset time limit value, the aging timer is reset and the value is returned to zero. As a result, the time limit is apparently extended, so that the MAC address of the terminal that repeatedly transmits the frame is kept in the FDB for a long time, and the MAC address of the terminal that rarely transmits the frame is the time. The deadline comes and it will be deleted from the FDB. When the time limit is short, only the MAC address of the terminal that sends the frame quite often remains in the FDB. However, when the time limit is long, the MAC address of the terminal that occasionally transmits the frame also remains in the FDB. Become.

一方、スイッチングハブは、受信フレームに対しFDBを参照してフィルタリングを行うか又はフラッディングを行う。即ち、受信フレームの宛先MACアドレスを読み取り、そのMACアドレスがFDBに登録されていれば、そのMACアドレスに対応して登録されているポートを転送先ポートとし、その転送先ポートのみに受信フレームを転送する。この転送先ポートに登録したMACアドレスを持つ端末が接続されているということが前述のように学習されているので、フレームは宛先MACアドレスを持つ端末に正しく中継される。このように、端末が接続されていることが分っているポートのみに受信フレームを転送することをフィルタリングという。   On the other hand, the switching hub performs filtering or flooding on the received frame with reference to the FDB. That is, when the destination MAC address of the received frame is read and the MAC address is registered in the FDB, the port registered corresponding to the MAC address is set as the transfer destination port, and the received frame is transmitted only to the transfer destination port. Forward. Since it is learned that the terminal having the registered MAC address is connected to the transfer destination port as described above, the frame is correctly relayed to the terminal having the destination MAC address. In this way, transferring a received frame only to a port that is known to be connected to a terminal is called filtering.

受信フレームの宛先MACアドレスがFDBに登録されていなければ、このMACアドレスが未学習(時間期限切れによる抹消を含む)である。言い換えるとこのMACアドレスを持つ端末がどのポートに接続されているか不明ということであるから、受信ポートを除く全てのポートに受信フレームに転送する。これにより上記宛先MACアドレスを持つ端末がどこかのポートに接続されていれば、フレームが端末に中継されることが期待できる。このように全てのポートに受信フレームを転送することをフラッディングという。   If the destination MAC address of the received frame is not registered in the FDB, this MAC address is unlearned (including deletion due to time expiration). In other words, since it is unclear to which port the terminal having this MAC address is connected, the received frame is transferred to all ports except the receiving port. Thus, if a terminal having the destination MAC address is connected to some port, it can be expected that the frame is relayed to the terminal. Transferring received frames to all ports in this way is called flooding.

この分野における先行技術文献として特許文献1がある。特許文献1では、時間期限を調節できるようにしている。即ち、エージングタイマがリセットされた登録内容に対しては時間期限を長くすることにより、新しくFDBに登録されたMACアドレスのエージングタイムと異ならせ、端末が移動されたポートへの不要な中継を減らしている。   Patent Document 1 is a prior art document in this field. In Patent Document 1, the time limit can be adjusted. In other words, by extending the time limit for the registered contents for which the aging timer has been reset, the aging time of the MAC address newly registered in the FDB is made different, and unnecessary relay to the port to which the terminal has been moved is reduced. ing.

特開2000−196643号公報JP 2000-196643 A

ところで、FDBに登録可能な件数には限りがある。なぜなら、FDBとしてあまりにも大容量のメモリを組み込むことは、スイッチングハブの小型化やコストダウンの障害となるからである。フィルタリングの速度を高めるためにCAM(内容アドレスメモリ)が用いられることが多いが、大容量のCAMは価格が非常に高いのである。   By the way, the number of items that can be registered in the FDB is limited. This is because incorporating an excessively large memory as an FDB is an obstacle to downsizing and cost reduction of the switching hub. A CAM (Content Address Memory) is often used to increase the filtering speed, but a large-capacity CAM is very expensive.

登録件数が増えてFDBが満杯になると、それ以上登録ができないため、新しくフレームを送信してきた端末が学習されなくなる。そうするとその端末を宛先とするフレームはフラッディングされるので、フラッディングの頻度が増すことになる。また、エージング用に設定する時間期限を短くすると、既に登録されている登録内容が抹消されやすくなるので、フラッディングの頻度が増すことになる。逆に、エージング用に設定する時間期限を長くすると、登録内容が抹消されにくくなるので、FDBが満杯になりやすく、結局、フラッディングの頻度が増すことになる。   If the number of registrations increases and the FDB becomes full, no more registrations can be made, so that a terminal that has transmitted a new frame cannot be learned. Then, since the frame destined for the terminal is flooded, the frequency of flooding increases. Further, if the time limit set for aging is shortened, the registered contents that have already been registered are easily deleted, and the frequency of flooding increases. On the other hand, if the time limit set for aging is lengthened, the registered contents are less likely to be deleted, so the FDB is likely to become full, and eventually the frequency of flooding increases.

フラッディングにおいては、受信ポートを除く全てのポートからフレームが送信されるので、ネットワークの負荷が高まる。フラッディングの頻度が増すと、ネットワークの負荷がいっそう高まるので、好ましくない。   In flooding, frames are transmitted from all ports except the receiving port, which increases the load on the network. Increasing the frequency of flooding is not desirable because it increases the load on the network.

フラッディングの頻度を小さくするには、FDBが満杯になるほど時間期限が長くてもよくないし、登録内容がすぐに抹消されるほど時間期限が短くても良くないのである。   In order to reduce the frequency of flooding, the time limit may not be so long that the FDB is full, and the time limit may not be so short that the registered contents are deleted immediately.

そこで、本発明の目的は、上記課題を解決し、フィルタリングデータベースの時間期限を調節し、フラッディングの頻度を抑制できるスイッチングハブを提供することにある。   Therefore, an object of the present invention is to provide a switching hub capable of solving the above-described problems, adjusting the time limit of a filtering database, and suppressing the frequency of flooding.

上記目的を達成するために本発明は、複数のポートと、これらのポートに対応して端末のアドレスを登録したフィルタリングデータベースと、このフィルタリングデータベースの登録内容を時間期限になると抹消するエージングタイマとを有し、このフィルタリングデータベースを参照してフィルタリングを行うか又はフラッディングを行うスイッチングハブにおいて、上記フィルタリングデータベースの登録件数が予め設定した上限に達したら上記エージングタイマの時間期限を短くし、フラッディングを行う頻度が予め設定した上限に達したら上記エージングタイマの時間期限を長くするものである。   In order to achieve the above object, the present invention includes a plurality of ports, a filtering database in which terminal addresses are registered corresponding to these ports, and an aging timer for deleting the registered contents of the filtering database when the time limit expires. In the switching hub that performs filtering by referring to this filtering database or performs flooding, the frequency of performing flooding by shortening the time limit of the aging timer when the registered number of the filtering database reaches a preset upper limit When the value reaches the preset upper limit, the time limit of the aging timer is lengthened.

上記フィルタリングデータベースへの新規な登録があったときに1カウントアップし、抹消があったときに1カウントダウンする登録件数カウント回路を設けてもよい。   There may be provided a registered number counting circuit that counts up by 1 when new registration is made in the filtering database and counts down by 1 when there is a deletion.

フラッディングを行ったときに1カウントアップし、フラッディングを行ってから所定時間毎に1カウントダウンするフラッディング頻度カウント回路を設けてもよい。   A flooding frequency counting circuit that counts up by 1 when flooding is performed and counts down by 1 every predetermined time after performing flooding may be provided.

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

(1)フラッディングの頻度を抑制できる。   (1) The frequency of flooding can be suppressed.

以下、本発明の一実施形態を添付図面に基づいて詳述する。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

図1に示されるように、本発明に係るスイッチングハブ1は、複数のポート2と、これらのポート2に対応して端末のアドレスを登録したフィルタリングデータベース(以下、FDB)3と、このFDB3の登録内容を時間期限になると抹消するエージングタイマとを有し、このFDB3を参照してフィルタリングを行うか又はフラッディングを行うものである。   As shown in FIG. 1, a switching hub 1 according to the present invention includes a plurality of ports 2, a filtering database (hereinafter referred to as FDB) 3 in which terminal addresses are registered corresponding to these ports 2, and the FDB 3 It has an aging timer that deletes registered contents when the time expires, and performs filtering or flooding with reference to this FDB3.

このスイッチングハブ1には、FDB3への新規な登録があったときに1カウントアップし、抹消があったときに1カウントダウンする登録件数カウント回路4と、フラッディングを行ったときに1カウントアップし、フラッディングを行ってから所定時間毎に1カウントダウンするフラッディング頻度カウント回路5とが設けられ、FDB3の登録件数が予め設定した上限に達したら上記エージングタイマの時間期限を短くし、フラッディングを行う頻度が予め設定した上限に達したら上記エージングタイマの時間期限を長くするようになっている。   The switching hub 1 counts up by 1 when there is a new registration in the FDB 3, and counts up by 1 when the flooding is performed. A flooding frequency counting circuit 5 that counts down by 1 every predetermined time after flooding is provided. When the number of registrations in the FDB 3 reaches a preset upper limit, the time limit of the aging timer is shortened, and the frequency of flooding is preset. When the set upper limit is reached, the time limit of the aging timer is extended.

時間期限調節部6は、登録件数カウント回路4が出力する登録件数とフラッディング頻度カウント回路5が出力するフラッディング頻度とを総合して判断しエージングタイマの時間期限を調節するものである。   The time limit adjusting unit 6 adjusts the time limit of the aging timer by comprehensively judging the number of registrations output from the registration number counting circuit 4 and the flooding frequency output from the flooding frequency counting circuit 5.

FDB3は、MACアドレスの欄、VIDの欄、ポート番号の欄、エージングタイマの欄からなり、1件の登録内容は図1の横一列分のそれぞれの欄に格納された情報からなる。例えば、最上列の登録内容を見ると、MACアドレスが00:40:66:95:35:F8でVIDが3の端末が15番のポートに接続されており、最後にこの端末からフレームを受信してから30の時間が経過していることが分る。エージングタイマで計数する時間単位は何でもよく、定期的なクロックにより1ずつカウントアップするようにしておく。時間期限は例示していないが、エージングタイマの欄に格納されている値がカウントアップして徐々に大きくなり、時間期限に達すると、この登録内容は抹消される。また、当該MACアドレスを送信元とするフレームが当該ポートから受信されると、エージングタイマの欄に格納されている値が0に戻される(タイマの更新)。   The FDB 3 includes a MAC address column, a VID column, a port number column, and an aging timer column, and one registration content includes information stored in each column for one horizontal row in FIG. For example, looking at the registration contents in the top row, a terminal with a MAC address of 00: 40: 66: 95: 35: F8 and a VID of 3 is connected to the port 15 and finally receives a frame from this terminal. It can be seen that 30 hours have passed since then. The time unit for counting by the aging timer may be anything, and is incremented by one by a regular clock. Although the time limit is not illustrated, the value stored in the aging timer column is incremented and gradually increases. When the time limit is reached, the registered content is deleted. When a frame having the MAC address as the transmission source is received from the port, the value stored in the aging timer column is reset to 0 (timer update).

登録件数の上限は満杯より小さく設定してもよいが、ここではFDB3が満杯である値とする。つまり、FDB3が満杯になる以前には時間期限を短くする調節は行わず、FDB3が満杯になったときに時間期限を短くする調節を行うようにしてある。   Although the upper limit of the number of registrations may be set smaller than full, it is assumed here that FDB3 is full. That is, the adjustment for shortening the time limit is not performed before the FDB 3 is full, and the adjustment for shortening the time limit is performed when the FDB 3 is full.

フラッディング頻度の上限は適宜に設定してよい。   You may set the upper limit of flooding frequency suitably.

エージングタイマの時間期限には調節が可能な最大値を決めておき、スイッチングハブ1の立ち上げ時には時間期限をその最大値に設定しておく。その後の調節により、時間期限は増減されるが最大値を越えることはない。   A maximum adjustable value is determined for the time limit of the aging timer, and the time limit is set to the maximum value when the switching hub 1 is started up. Subsequent adjustments will increase or decrease the time limit, but will not exceed the maximum value.

図1のスイッチングハブ1における時間期限調節の動作を説明する。   The operation of time limit adjustment in the switching hub 1 of FIG. 1 will be described.

スイッチングハブ1は、フレームを受信すると従来と同様に、アドレスの学習、エージングタイマの起動或いはリセットを行うと共に、フィルタリング或いはフラッディングを行う。種々の端末からフレームを受信することにより、FDB3の登録件数が増加し、登録件数カウント回路4でカウントした登録件数が大きくなる。もちろん時間経過と共に登録内容が抹消されることもあるが、ここでは新規登録の件数のほうが抹消される件数よりも多いものとする。一方、このようにアドレスの学習が進むことにより、フラッディングの回数はあまり多くならない。   When receiving a frame, the switching hub 1 learns an address, starts or resets an aging timer, and performs filtering or flooding as in the prior art. By receiving frames from various terminals, the number of registrations in the FDB 3 increases, and the number of registrations counted by the registration number counting circuit 4 increases. Of course, the registration contents may be deleted over time, but here, it is assumed that the number of new registrations is larger than the number of deletions. On the other hand, the progress of address learning in this way does not increase the number of floods.

FDB3が登録で満杯になると登録件数カウント回路4における登録件数が上限に達する。そこで、スイッチングハブ1は、エージングタイマの時間期限を予め決めた値だけ短くする。時間期限が短くなったことにより、FDB3から抹消される件数が以前よりも多くなる。これにより、FDB3に空きが生じやすくなるので、新規のアドレスの学習による登録が可能になり、FDB3の満杯に起因するフラッディングが抑制される。ただし、新規登録のペースが抹消のペースを上回るようであれば、登録件数カウント回路4における登録件数が上限に達する。その時は、スイッチングハブ1は、エージングタイマの時間期限をさらに短くする。   When the FDB 3 is full of registration, the number of registrations in the registration number counting circuit 4 reaches the upper limit. Therefore, the switching hub 1 shortens the time limit of the aging timer by a predetermined value. Because the time limit is shortened, the number of cases deleted from the FDB 3 becomes larger than before. As a result, empty space is likely to occur in the FDB 3, so that registration by learning a new address becomes possible, and flooding due to the full FDB 3 is suppressed. However, if the pace of new registration exceeds the pace of deletion, the number of registrations in the registration number counting circuit 4 reaches the upper limit. At that time, the switching hub 1 further shortens the time limit of the aging timer.

抹消のペースが新規登録のペースを上回るようであれば、FDB3の登録件数が徐々に減っていく。これにより、新規のアドレスの学習による登録を受け付ける余力は増すが、その一方で、フラッディングの頻度が増すことになる。   If the rate of deletion exceeds the pace of new registration, the number of registrations in FDB3 will gradually decrease. This increases the capacity to accept registration by learning a new address, but increases the frequency of flooding.

フラッディング頻度カウント回路5では、フラッディングを行ったときに1カウントアップし、フラッディングを行ってから所定時間毎に1カウントダウンする。FDB3に登録されているMACアドレスを宛先としたフレームとFDB3に登録されていないMACアドレスを宛先としたフレームとをほどよい比率で受信しているときには、フラッディング頻度カウント回路5がカウントしている値もほどよい値を推移するが、FDB3の登録件数が減ってくると、それに応じて受信したフレームがフィルタリングされる確率が低くなり、フラッディングされる確率が高くなる。このため、フラッディング頻度カウント回路5のカウント値は上昇する。   The flooding frequency counting circuit 5 counts up by 1 when flooding is performed, and counts down by 1 every predetermined time after performing flooding. When the frame addressed to the MAC address registered in the FDB3 and the frame addressed to the MAC address not registered in the FDB3 are received at an appropriate ratio, the value counted by the flooding frequency counting circuit 5 Although the value changes moderately, if the number of registrations in the FDB 3 decreases, the probability of filtering received frames correspondingly decreases and the probability of flooding increases. For this reason, the count value of the flooding frequency counting circuit 5 increases.

フラッディング頻度カウント回路5のカウント値が上限に達したら、スイッチングハブ1はエージングタイマの時間期限を予め決めた値だけ長くする。時間期限が長くなったことにより、FDB3から抹消される件数が以前よりも少なくなる。これにより、受信したフレームがフィルタリングされる確率が高くなり、フラッディングされる確率が低くなる。   When the count value of the flooding frequency count circuit 5 reaches the upper limit, the switching hub 1 increases the time limit of the aging timer by a predetermined value. Due to the longer time limit, the number of cases deleted from the FDB 3 becomes smaller than before. As a result, the probability that the received frame is filtered increases and the probability that it is flooded decreases.

以上の動作により、エージングタイマの時間期限が最大値からそれより小さい値の間で適宜に推移し、FDB3が満杯にならず、登録件数が少なすぎる状態にもならず、フラッディングの頻度が抑制される。   With the above operation, the time limit of the aging timer is appropriately changed between the maximum value and a value smaller than the maximum value, the FDB 3 is not full, the number of registrations is not too small, and the frequency of flooding is suppressed. The

次に、本発明の他の実施形態を説明する。   Next, another embodiment of the present invention will be described.

図2に示した手順は、FDB3に新しいアドレスを登録できなかったときに時間期限を短くするものである。   The procedure shown in FIG. 2 shortens the time limit when a new address cannot be registered in the FDB 3.

図2の右上には、満杯になっているFDB3と、新規のアドレスが登録できなかった事象を検出し記憶する満杯検出部8と、フラッディングを行った事象を検出し記憶するフラッディング検出部9と、エージングタイマの時間期限を調節する時間期限調節部10とが示されている。   In the upper right of FIG. 2, a full FDB 3, a full detection unit 8 that detects and stores an event in which a new address could not be registered, and a flood detection unit 9 that detects and stores a flooded event, A time limit adjusting unit 10 for adjusting the time limit of the aging timer is shown.

まず、フレーム情報取得のステップS1で、受信フレームから宛先MACアドレス(DA)、送信元アドレス(SA)、仮想LAN識別番号(VID)を取得する。学習とタイマリセットのステップS2では、SAとVIDによりFDB3を検索し、該当するエントリ(登録されているもの)を発見した場合にはエージングタイマをリセットし、ステップS3に進む。エントリを発見しない場合にはSAとVIDを受信ポートに対応付けて登録(アドレス学習)し、ステップS3に進む。   First, in step S1 for obtaining frame information, a destination MAC address (DA), a source address (SA), and a virtual LAN identification number (VID) are obtained from the received frame. In step S2 of learning and timer reset, FDB3 is searched by SA and VID, and when an appropriate entry (registered one) is found, the aging timer is reset, and the process proceeds to step S3. If no entry is found, the SA and VID are registered (address learning) in association with the receiving port, and the process proceeds to step S3.

フィルタリング及びフラッディングのステップS3では、DAがマルチキャスト又はブロードキャストアドレスM/Bである場合には、フラッディングを行った後、ステップS4に進む。マルチキャスト又はブロードキャストアドレスM/Bでない場合には、DAとVIDによりFDB3を検索し、該当するエントリを発見しなければ、フラッディングを行った後、ステップS4に進む。該当するエントリを発見したならば、エントリ内のポートが受信ポートと一致していればそのフレームを破棄するが、一致していなければエントリ内のポートを中継先としてフィルタリングを行った後、ステップS4に進む。なお、仮想LANを構築している場合のフラッディングでは、受信ポート以外で同一仮想LANグループに属する全ポートに受信フレームを転送する。   In the filtering and flooding step S3, if the DA is a multicast or broadcast address M / B, after flooding is performed, the process proceeds to step S4. If it is not the multicast or broadcast address M / B, the FDB 3 is searched by DA and VID. If no corresponding entry is found, flooding is performed, and then the process proceeds to step S4. If a corresponding entry is found, the frame is discarded if the port in the entry matches the receiving port. If the port does not match, filtering is performed using the port in the entry as a relay destination, and then step S4 is performed. Proceed to In flooding when a virtual LAN is constructed, the received frame is transferred to all ports belonging to the same virtual LAN group other than the receiving port.

時間期限調節のステップS4では、ステップS1のアドレス学習の過程で新規のアドレスが登録できなかったかどうかをチェックする。図示しなかったがステップS1にて、このような事象を記憶しておくのは勿論である。アドレスが登録できなかったようであれば、既にFDB3が満杯であったと判断する。さらに、ステップS4では、ステップS3において受信フレームに対してフラッディングを行ったかどうかをチェックする。フラッディングを行ったのであれば、FDB3が満杯で、しかもフラッディングが行われる状況であると判断し、時間期限を短くする。FDB3が満杯であることだけを条件に時間期限を短くしてもよい。ステップS4は、満杯検出部8とフラッディング検出部9と時間期限調節部10とにより実行される。   In step S4 of time limit adjustment, it is checked whether or not a new address could not be registered in the address learning process of step S1. Although not shown, it is a matter of course that such an event is stored in step S1. If the address cannot be registered, it is determined that the FDB 3 is already full. In step S4, it is checked whether flooding has been performed on the received frame in step S3. If flooding has been performed, it is determined that the FDB 3 is full and flooding is being performed, and the time limit is shortened. The time limit may be shortened on condition that the FDB 3 is full. Step S4 is executed by the fullness detection unit 8, the flooding detection unit 9, and the time limit adjustment unit 10.

図3に示した手順は、FDB3に空きがあるのに大量のフラッディングを起こすときに時間期限を長くするものである。   The procedure shown in FIG. 3 extends the time limit when a large amount of flooding occurs even though the FDB 3 is free.

図3の右上には、空きがあるFDB3と、FDB3に新規のアドレスが登録が可能であることを検出し記憶する登録可能検出部11と、しきい値を越える大量のフラッディングを検出し記憶する大量フラッディング検出部12と、エージングタイマの時間期限を調節する時間期限調節部10とが示されている。   In the upper right of FIG. 3, the FDB 3 having a space, the registerable detection unit 11 for detecting and storing that a new address can be registered in the FDB 3, and a large amount of flooding exceeding a threshold value are detected and stored. A mass flooding detection unit 12 and a time limit adjustment unit 10 that adjusts the time limit of the aging timer are shown.

ステップS1〜ステップS3は図2と同じである。   Steps S1 to S3 are the same as those in FIG.

時間期限調節のステップS5では、FDB3に新規のアドレスが登録が可能であるにもかかわらず、大量のフラッディングが起きているかどうかをチェックする。FDB3に新規のアドレスが登録が可能であるにもかかわらず、大量のフラッディングが起きている場合には、時間期限を長くする。ステップS5は、登録可能検出部11と大量フラッディング検出部12と時間期限調節部10とにより実行される。   In step S5 for adjusting the time limit, it is checked whether a large amount of flooding has occurred even though a new address can be registered in the FDB3. If a large amount of flooding occurs even though a new address can be registered in the FDB 3, the time limit is lengthened. Step S <b> 5 is executed by the registration enable detection unit 11, the large flooding detection unit 12, and the time limit adjustment unit 10.

図2及び図3の構成においても、図1の構成と同様に、FDB3の登録件数が満杯に達したらエージングタイマの時間期限を短くし、フラッディングを行う頻度がしきい値に達したらエージングタイマの時間期限を長くすることになるので、フラッディングの頻度が抑制される。   In the configurations of FIGS. 2 and 3, as in the configuration of FIG. 1, the time limit of the aging timer is shortened when the number of registrations in the FDB 3 reaches full, and when the frequency of flooding reaches a threshold, Since the time limit is lengthened, the frequency of flooding is suppressed.

本発明の一実施形態を示すスイッチングハブの構成図である。It is a block diagram of the switching hub which shows one Embodiment of this invention. 本発明の一実施形態を示す流れ図及びフィルタリングデータベース周辺の回路図である。It is the flowchart which shows one Embodiment of this invention, and the circuit diagram around a filtering database. 本発明の一実施形態を示す流れ図及びフィルタリングデータベース周辺の回路図である。It is the flowchart which shows one Embodiment of this invention, and the circuit diagram around a filtering database.

符号の説明Explanation of symbols

1 スイッチングハブ
2 ポート
3 フィルタリングデータベース(FDB)
4 登録件数カウント回路
5 フラッディング頻度カウント回路
6 時間期限調節部
1 Switching hub 2 Port 3 Filtering database (FDB)
4 Registered number counting circuit 5 Flooding frequency counting circuit 6 Time limit adjustment unit

Claims (3)

複数のポートと、これらのポートに対応して端末のアドレスを登録したフィルタリングデータベースと、このフィルタリングデータベースの登録内容を時間期限になると抹消するエージングタイマとを有し、このフィルタリングデータベースを参照してフィルタリングを行うか又はフラッディングを行うスイッチングハブにおいて、上記フィルタリングデータベースの登録件数が予め設定した上限に達したら上記エージングタイマの時間期限を短くし、フラッディングを行う頻度が予め設定した上限に達したら上記エージングタイマの時間期限を長くすることを特徴とするスイッチングハブ。   It has a plurality of ports, a filtering database in which the address of the terminal is registered corresponding to these ports, and an aging timer that deletes the registered contents of this filtering database when the time expires. Filtering with reference to this filtering database In the switching hub for performing flooding or flooding, the time limit of the aging timer is shortened when the number of registrations in the filtering database reaches a preset upper limit, and when the frequency of flooding reaches a preset upper limit, the aging timer A switching hub characterized by extending the time limit of 上記フィルタリングデータベースへの新規な登録があったときに1カウントアップし、抹消があったときに1カウントダウンする登録件数カウント回路を設けたことを特徴とする請求項1記載のスイッチングハブ。   2. The switching hub according to claim 1, further comprising a registration number counting circuit that counts up by one when new registration is made in the filtering database and counts down by one when deleted. フラッディングを行ったときに1カウントアップし、フラッディングを行ってから所定時間毎に1カウントダウンするフラッディング頻度カウント回路を設けたことを特徴とする請求項1又は2記載のスイッチングハブ。   3. The switching hub according to claim 1, further comprising a flooding frequency count circuit that counts up by 1 when flooding is performed and counts down by 1 every predetermined time after performing flooding.
JP2003290362A 2003-08-08 2003-08-08 Switching hub Pending JP2005064710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003290362A JP2005064710A (en) 2003-08-08 2003-08-08 Switching hub

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003290362A JP2005064710A (en) 2003-08-08 2003-08-08 Switching hub

Publications (1)

Publication Number Publication Date
JP2005064710A true JP2005064710A (en) 2005-03-10

Family

ID=34368417

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003290362A Pending JP2005064710A (en) 2003-08-08 2003-08-08 Switching hub

Country Status (1)

Country Link
JP (1) JP2005064710A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009016701A1 (en) * 2007-07-27 2009-02-05 Fujitsu Limited Relay apparatus, relay method and relay program
JP2010057076A (en) * 2008-08-29 2010-03-11 Fujitsu Ltd Network switching device, network switching method, and network switching program
JP2015106188A (en) * 2013-11-28 2015-06-08 富士通株式会社 Data distribution device and data distribution method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009016701A1 (en) * 2007-07-27 2009-02-05 Fujitsu Limited Relay apparatus, relay method and relay program
US8305937B2 (en) 2007-07-27 2012-11-06 Fujitsu Limited Repeater and repeating method
JP5152188B2 (en) * 2007-07-27 2013-02-27 富士通株式会社 Relay device, relay method, and relay program
JP2010057076A (en) * 2008-08-29 2010-03-11 Fujitsu Ltd Network switching device, network switching method, and network switching program
JP2015106188A (en) * 2013-11-28 2015-06-08 富士通株式会社 Data distribution device and data distribution method

Similar Documents

Publication Publication Date Title
US10135740B2 (en) Method and apparatus for limiting rate by means of token bucket, and computer storage medium
US8804529B2 (en) Backward congestion notification
US9294395B2 (en) Media access control bridging in a mesh network
US6762995B1 (en) Network switch including hysteresis in signalling fullness of transmit queues
US9385835B2 (en) System and method for adaptive frame size management in a wireless multihop network
US9036660B2 (en) Method and apparatus for managing MAC address table
US20120294194A1 (en) Method and apparatus for preserving extensions in multi-vendor trill networks
EP4152705A1 (en) Network congestion control method and apparatus, device, system, and storage medium
US7760667B2 (en) First-arrival learning method, relay apparatus, and computer product
CN111800351B (en) Congestion notification packet generation by a switch
US20140051437A1 (en) Plmn specific implicit reject feature for controlling mobile station service establishment
US20190253364A1 (en) Method For Determining TCP Congestion Window, And Apparatus
US8451842B2 (en) Media access control bridging in a mesh network
EP3018868B1 (en) Congestion method, device and system
WO2015192319A1 (en) Method, device and equipment of identifying attack flow in software defined network
US9306704B2 (en) Broadcasting method and communication device
US20090201816A1 (en) Communication device, and flow control method and program product for use in the same
JP2005064710A (en) Switching hub
US9537764B2 (en) Communication apparatus, control apparatus, communication system, communication method, method for controlling communication apparatus, and program
US20030058859A1 (en) Method for controlling number of addresses in address table of switch
KR101397299B1 (en) Method and apparatus for controlling transmitting and receiving frame in ring network applied hsr protocol
CN108833604B (en) Table entry updating method and device
CN114070796B (en) Electronic device and frame transmission method for electronic device
CN115695306A (en) Message transmission system, method, device, equipment and medium
US6683875B1 (en) Network switch including restriction of source address look-ups based on receive queue length