JP2011091477A - Switching hub, and method of synchronizing fdb - Google Patents

Switching hub, and method of synchronizing fdb Download PDF

Info

Publication number
JP2011091477A
JP2011091477A JP2009241151A JP2009241151A JP2011091477A JP 2011091477 A JP2011091477 A JP 2011091477A JP 2009241151 A JP2009241151 A JP 2009241151A JP 2009241151 A JP2009241151 A JP 2009241151A JP 2011091477 A JP2011091477 A JP 2011091477A
Authority
JP
Japan
Prior art keywords
frame
fdb
learning
learning frame
buffer
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.)
Granted
Application number
JP2009241151A
Other languages
Japanese (ja)
Other versions
JP5267420B2 (en
Inventor
Kazutoshi Kariya
和俊 苅谷
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 JP2009241151A priority Critical patent/JP5267420B2/en
Publication of JP2011091477A publication Critical patent/JP2011091477A/en
Application granted granted Critical
Publication of JP5267420B2 publication Critical patent/JP5267420B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a switching hub capable of establishing synchronization among a plurality of FDBs, and to provide a method of synchronizing an FDB. <P>SOLUTION: This switching hub 1 includes a plurality of line cards each having a plurality of ports, and a frame relay path 40 for relaying a frame among the plurality of line cards, wherein each of the plurality of line cards includes: an FDB 110 for storing at least a MAC address as a registration content; a learning frame generation portion for generating a learning frame including a part of information included in the frame when the registration content stored in the FDB 110 is changed; a transmission rate control portion for controlling a transmission rate of the learning frame to the frame relay path 40 to transmit the learning frame to another line card; and a learning frame learning portion for changing the registration content of the FDB 110 based on the learning frame received from the other line card via the frame relay path 40. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、スイッチングハブ及びフォワーディングデータベース(FDB)の同期方法に関する。特に、本発明は、複数のFDBを備えるスイッチングハブ及びFDBの同期方法に関する。   The present invention relates to a switching hub and a forwarding database (FDB) synchronization method. In particular, the present invention relates to a switching hub including a plurality of FDBs and a method for synchronizing FDBs.

従来、複数のラインカードを備えるスイッチングハブであって、複数のラインカードのいずれかが有するポートに対応づけて登録されている送信元アドレスを含むパケットが、当該ラインカードが有する他のポートで受信された場合には、当該パケットに学習用情報を付加することにより学習用情報付きパケットを生成し、当該学習用情報付きパケットをスイッチ機構経由ですべてのラインカードへ転送するスイッチングハブが知られている(例えば、特許文献1参照。)。   Conventionally, a switching hub having a plurality of line cards, and a packet including a source address registered in association with a port of any of the plurality of line cards is received by another port of the line card. In such a case, a switching hub is known that generates a packet with learning information by adding learning information to the packet, and transfers the packet with learning information to all line cards via a switch mechanism. (For example, refer to Patent Document 1).

特許文献1に記載のスイッチングハブによれば、上記構成を備えるので、ステーションムーブに対応することができる。   According to the switching hub described in Patent Document 1, since the above configuration is provided, it is possible to cope with a station move.

特開2006−50493号公報JP 2006-50493 A

しかし、特許文献1に記載されているようなスイッチングハブが複数のフォワーディングデータベース(Forwarding Databse:FDB)を有している場合に、例えば、装置内部の帯域制限機能によりFDB間で同期するためのフレームが破棄される場合があり、斯かる場合、一のFDBに格納されている情報と、他のFDBに格納されている情報との間で同期が取れない場合がある。   However, when the switching hub described in Patent Document 1 has a plurality of forwarding databases (FDBs), for example, a frame for synchronizing between FDBs by a bandwidth limiting function inside the apparatus. May be discarded, and in such a case, synchronization may not be achieved between information stored in one FDB and information stored in another FDB.

したがって、本発明の目的は、複数のFDB間で確実に同期が取れるスイッチングハブ及びFDBの同期方法を提供することにある。   Accordingly, an object of the present invention is to provide a switching hub and an FDB synchronization method that can ensure synchronization among a plurality of FDBs.

本発明は、上記目的を達成するため、複数のポートを有する複数のラインカードと、複数のラインカード間でフレームを中継するフレーム中継経路とを備えるスイッチングハブであって、複数のラインカードはそれぞれ、少なくともフレームに含まれるMACアドレスを登録内容として格納するフォワーディングデータベース(FDB)と、FDBに格納されている登録内容が変更された場合に、フレームに含まれる情報の一部を含む学習用フレームを生成する学習用フレーム生成部と、学習用フレームのフレーム中継経路への送信レートを制御して学習用フレームを他のラインカードに送信する送信レート制御部と、フレーム中継経路を介して他のラインカードから受け取った学習用フレームに基づいて、FDBの登録内容を変更する学習用フレーム学習部とを備えるスイッチングハブが提供される。   To achieve the above object, the present invention provides a switching hub comprising a plurality of line cards having a plurality of ports and a frame relay path for relaying frames between the plurality of line cards, each of the plurality of line cards being A learning database (FDB) that stores at least a MAC address included in a frame as registered contents, and a learning frame that includes a part of information included in the frame when the registered contents stored in the FDB are changed A learning frame generation unit for generating, a transmission rate control unit for controlling the transmission rate of the learning frame to the frame relay path and transmitting the learning frame to another line card, and another line via the frame relay path Learning to change the FDB registration content based on the learning frame received from the card Switching hub and a frame learning unit is provided.

また、上記スイッチングハブは、FDBにアクセスするFDBアクセス部を更に備え、送信レート制御部は、学習用フレーム生成部が生成した学習用フレームを予め定められた期間、格納するバッファと、バッファに格納されている学習用フレームの格納量を監視するバッファ監視部とを有し、バッファ監視部は、バッファに格納されている学習フレームの格納量が予め定められた格納量を超えた場合、FDBアクセス部にFDBの登録内容の変更を停止させるレート制御情報を供給し、FDBアクセス部は、FDBの登録内容の変更を停止させることもできる。   The switching hub further includes an FDB access unit that accesses the FDB, and the transmission rate control unit stores a learning frame generated by the learning frame generation unit for a predetermined period, and stores the learning frame in the buffer. A buffer monitoring unit that monitors the amount of learning frames stored, and the buffer monitoring unit performs FDB access when the amount of learning frames stored in the buffer exceeds a predetermined storage amount. The rate control information for stopping the change of the registered content of the FDB is supplied to the unit, and the FDB access unit can also stop the change of the registered content of the FDB.

また、上記スイッチングハブは、学習用フレーム生成部は、生成する学習用フレームにフレームより優先的に中継することを指示する優先情報を付加することもできる。   In the switching hub, the learning frame generation unit may add priority information instructing to relay the learning frame to be generated with higher priority than the frame.

また、上記スイッチングハブは、送信レート制御部は、バッファから学習用フレームを読み出してフレーム中継経路に供給するバッファ読み出し部と、バッファ読み出し部がバッファから学習用フレームを読み出す間隔を格納するカウンタとを有することもできる。   In the switching hub, the transmission rate control unit includes a buffer reading unit that reads the learning frame from the buffer and supplies the learning frame to the frame relay path, and a counter that stores an interval at which the buffer reading unit reads the learning frame from the buffer. Can also have.

また、本発明は、上記目的を達成するため、フレームに含まれる情報を登録内容として格納するフォワーディングデータベース(FDB)と、複数のポートとを有する複数のラインカードと、複数のラインカード間でフレームを中継するフレーム中継経路とを備えるスイッチングハブでのFDBの同期方法であって、FDBに格納されている登録内容が変更された場合に、フレームに含まれる情報の一部を含む学習用フレームを生成する学習用フレーム生成段階と、学習用フレームのフレーム中継経路への送信レートを制御して学習用フレームを他のラインカードに送信する送信レート制御段階と、フレーム中継経路を介して他のラインカードから受け取った学習用フレームに基づいて、FDBの登録内容を変更する学習用フレーム学習段階とを備えるFDBの同期方法が提供される。   In order to achieve the above object, the present invention provides a forwarding database (FDB) for storing information contained in a frame as registered contents, a plurality of line cards having a plurality of ports, and a frame between the plurality of line cards. And a learning frame including a part of information included in the frame when the registered content stored in the FDB is changed. A learning frame generation stage to be generated, a transmission rate control stage for controlling the transmission rate of the learning frame to the frame relay path and transmitting the learning frame to another line card, and another line via the frame relay path A learning frame learning stage for changing the registered content of the FDB based on the learning frame received from the card The method of synchronizing FDB provided is provided.

また、上記FDBの同期方法は、複数のラインカードのそれぞれは、学習用フレームを予め定められた期間、格納するバッファと、FDBにアクセスするFDBアクセス部とを有しており、FDBの登録内容の変更を停止する変更停止段階を更に備え、送信レート制御段階は、バッファに格納されている学習用フレームの格納量を監視し、バッファに格納されている学習フレームの格納量が予め定められた格納量を超えた場合、FDBの登録内容の変更を停止させるレート制御情報をFDBアクセス部に供給するバッファ監視段階を有し、変更停止段階は、レート制御情報に基づいてFDBアクセス部がFDBの登録内容を変更することを停止させることもできる。   In the FDB synchronization method, each of the plurality of line cards has a buffer for storing a learning frame for a predetermined period, and an FDB access unit for accessing the FDB. The transmission rate control step monitors the storage amount of the learning frame stored in the buffer, and the storage amount of the learning frame stored in the buffer is determined in advance. When the storage amount is exceeded, the FDB access unit has rate monitoring information for stopping the change of the registered content of the FDB to the FDB access unit, and the change stop phase is based on the rate control information. It is also possible to stop changing the registered contents.

また、上記FDBの同期方法は、学習用フレーム生成段階は、生成する学習用フレームにフレームより優先的に中継することを指示する優先情報を付加することもできる。   In the FDB synchronization method, the learning frame generation stage can add priority information instructing to relay the learning frame to be generated with higher priority than the frame.

また、上記FDBの同期方法は、送信レート制御段階は、バッファから学習用フレームを読み出してフレーム中継経路に供給するバッファ読み出し段階と、バッファ読み出し段階において、バッファから学習用フレームを読み出す間隔を格納するカウンタ段階とを有することもできる。   In the FDB synchronization method, the transmission rate control step stores the learning frame from the buffer and reads the learning frame from the buffer and supplies it to the frame relay path, and stores the interval for reading the learning frame from the buffer in the buffer reading step. And a counter stage.

本発明に係るスイッチングハブによれば、複数のFDB間で確実に同期が取れるスイッチングハブ及びFDBの同期方法を提供できる。   According to the switching hub according to the present invention, it is possible to provide a switching hub and an FDB synchronization method capable of reliably synchronizing a plurality of FDBs.

本発明の第1の実施の形態に係るスイッチングハブの構成を示す図である。It is a figure which shows the structure of the switching hub which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るスイッチングハブが備えるラインカードの構成を示す図である。It is a figure which shows the structure of the line card with which the switching hub which concerns on the 1st Embodiment of this invention is provided. 本発明の第1の実施の形態に係るスイッチングハブが備えるFDBのデータベースの形式を示す図である。It is a figure which shows the format of the database of FDB with which the switching hub which concerns on the 1st Embodiment of this invention is provided. (a)は、イーサネット(登録商標)のフレームに装置内部ヘッダを付加した装置内部におけるフレームの構成を示す図であり、(b)は、学習用フレーム生成回路が生成する学習用フレームの構成を示す図である。(A) is a figure which shows the structure of the flame | frame in the apparatus which added the apparatus internal header to the flame | frame of Ethernet (trademark), (b) is the structure of the learning frame which a learning frame generation circuit produces | generates. FIG. (a)及び(b)は、IEEE802.1ahにより示されるMACアドレスをカプセル化したフレームから学習用フレームを生成する例を示す図である。(A) And (b) is a figure which shows the example which produces | generates the flame | frame for learning from the flame | frame which encapsulated the MAC address shown by IEEE802.1ah. 本発明の第1の実施の形態に係る送信レート制御回路の機能構成ブロック図である。FIG. 2 is a functional configuration block diagram of a transmission rate control circuit according to the first embodiment of the present invention. 本発明の第1の実施の形態に係る送信レート制御回路において送信レートが制御される概要を示す図である。It is a figure which shows the outline | summary in which the transmission rate is controlled in the transmission rate control circuit which concerns on the 1st Embodiment of this invention. 比較例に係るスイッチングハブの概要を示す図である。It is a figure which shows the outline | summary of the switching hub which concerns on a comparative example. 本発明の第2の実施の形態に係るスイッチングハブの構成を示す図である。It is a figure which shows the structure of the switching hub which concerns on the 2nd Embodiment of this invention.

[実施の形態の概要]
フレームを送受信する複数のポートを有する複数のラインカードと、前記複数のラインカード間で前記フレームを中継するフレーム中継経路とを備えるスイッチングハブにおいて、前記複数のラインカードはそれぞれ、少なくとも前記フレームに含まれるMACアドレスを登録内容として格納するフォワーディングデータベース(FDB)と、前記FDBに格納されている前記登録内容が変更された場合に、前記フレームに含まれる情報の一部を含む学習用フレームを生成する学習用フレーム生成部と、前記学習用フレームの前記フレーム中継経路への送信レートを制御して前記学習用フレームを他のラインカードに送信する送信レート制御部と、前記フレーム中継経路を介して前記他のラインカードから受け取った学習用フレームに基づいて、前記FDBの前記登録内容を変更する学習用フレーム学習部とを備えるスイッチングハブが提供される。
[Outline of the embodiment]
In a switching hub comprising a plurality of line cards having a plurality of ports for transmitting and receiving frames and a frame relay path for relaying the frames between the plurality of line cards, each of the plurality of line cards is included in at least the frame A forwarding database (FDB) that stores the MAC address to be registered as registration content, and a learning frame that includes a part of the information included in the frame when the registration content stored in the FDB is changed A learning frame generation unit; a transmission rate control unit that controls a transmission rate of the learning frame to the frame relay path to transmit the learning frame to another line card; and the frame relay path through the frame relay path. Based on learning frames received from other line cards , Switching hub and a learning frame learning unit for changing the registration contents of the FDB are provided.

[実施の形態]
図1は、本発明の第1の実施の形態に係るスイッチングハブの構成の概要を示し、図2は、本発明の第1の実施の形態に係るスイッチングハブが備えるラインカードの構成の概要を示す。
[Embodiment]
FIG. 1 shows an outline of the configuration of the switching hub according to the first embodiment of the present invention, and FIG. 2 shows an outline of the configuration of the line card included in the switching hub according to the first embodiment of the present invention. Show.

(スイッチングハブ1の構成の概要)
本発明の第1の実施の形態に係るスイッチングハブ1は、複数のラインカード(例えば、ラインカード10、ラインカード20、及びラインカード30)と、複数のラインカード間でのフレーム等の情報を中継する通信経路としてのフレーム中継経路40とを備える。各ラインカードはそれぞれ、フレーム中継経路40に接続している複数のポート(例えば、ラインカード10が有するポート100及びポート102、ラインカード20が有するポート200及びポート202、並びにラインカード30が有するポート300及びポート302)と、伝送路(例えば、伝送路50a、伝送路50b、及び伝送路50c)に接続するポート(例えば、ラインカード10が有するポート104は伝送路50aに接続し、ラインカード20が有するポート204は伝送路50bに接続し、ラインカード30が有するポート304は伝送路50cに接続する)とを有する。本実施の形態において複数のラインカードはそれぞれ同一の構成及び機能を有するので、以下、ラインカード10についてのみ説明する。
(Outline of the configuration of the switching hub 1)
The switching hub 1 according to the first embodiment of the present invention stores information such as frames between a plurality of line cards (for example, the line card 10, the line card 20, and the line card 30) and the plurality of line cards. And a frame relay path 40 as a communication path to be relayed. Each line card has a plurality of ports connected to the frame relay path 40 (for example, the port 100 and the port 102 included in the line card 10, the port 200 and the port 202 included in the line card 20, and the port included in the line card 30). 300 and the port 302) and ports (for example, the port 104 included in the line card 10) connected to the transmission line (for example, the transmission line 50a, the transmission line 50b, and the transmission line 50c) are connected to the transmission line 50a. The port 204 of the line card 30 is connected to the transmission line 50b, and the port 304 of the line card 30 is connected to the transmission line 50c). Since the plurality of line cards have the same configuration and function in this embodiment, only the line card 10 will be described below.

(ラインカード10の構成)
ラインカード10は、フレーム中継経路40との間でフレームを送受信するポート100及びポート102と、伝送路50aに接続され、外部との間でフレームを送受信するポート104とを有する。また、ラインカード10は、フレームに含まれるMACアドレスと、ラインカード10を一意に識別するラインカード識別子としてのラインカードIDと、フレームを受け取ったポートを一意に識別するポート識別子としてのポートIDとを登録内容として少なくとも格納するフォワーディングデータベース(Forwarding Database:FDB)110と、FDB110にアクセスしてFDB110の登録内容の変更を制御するFDBアクセス部としてのFDBアクセス回路120とを有する。
(Configuration of line card 10)
The line card 10 includes a port 100 and a port 102 that transmit / receive a frame to / from the frame relay path 40, and a port 104 that is connected to the transmission path 50a and transmits / receives a frame to / from the outside. The line card 10 also includes a MAC address included in the frame, a line card ID as a line card identifier that uniquely identifies the line card 10, and a port ID as a port identifier that uniquely identifies the port that has received the frame. A forwarding database (FDB) 110 that stores at least as registration contents, and an FDB access circuit 120 as an FDB access unit that accesses the FDB 110 and controls changes in the registration contents of the FDB 110.

更に、ラインカード10は、FDB110に格納されている登録内容が変更された場合に、フレームに含まれる情報の一部を含む学習用フレームを生成する学習用フレーム生成部としての学習用フレーム生成回路130と、学習用フレームのフレーム中継経路40への送信レートを制御した上で他のラインカードへ学習用フレームを送信する送信レート制御部としての送信レート制御回路140と、フレーム中継経路40を介してポート102が他のラインカードから受け取った学習用フレームに基づいて、FDB110に格納されている登録内容を変更する学習用フレーム学習部としての学習用フレーム学習回路150とを有する。   Further, the line card 10 is a learning frame generation circuit as a learning frame generation unit that generates a learning frame including a part of information included in the frame when the registered content stored in the FDB 110 is changed. 130, a transmission rate control circuit 140 as a transmission rate control unit that transmits a learning frame to another line card after controlling the transmission rate of the learning frame to the frame relay path 40, and the frame relay path 40 Then, the port 102 has a learning frame learning circuit 150 as a learning frame learning unit that changes the registered content stored in the FDB 110 based on the learning frame received from another line card.

(ポート100、ポート102)
ポート100は、FDBアクセス回路120とフレーム中継経路40との間でフレーム(例えば、ユーザーフレーム)を中継する。また、ポート102は、送信レート制御回路140とフレーム中継経路40との間、及び学習用フレーム学習回路150とフレーム中継経路40との間で学習用フレームを中継する。
(Port 100, Port 102)
The port 100 relays a frame (for example, a user frame) between the FDB access circuit 120 and the frame relay path 40. The port 102 relays the learning frame between the transmission rate control circuit 140 and the frame relay path 40 and between the learning frame learning circuit 150 and the frame relay path 40.

(ポート104)
ポート104は、外部との間でフレームを送受信する。ポート104は外部からフレームを受信した場合に、受信したフレームの先頭に装置内部用ヘッダを付加すると共に、受信したラインカード10のラインカードIDと受信したポート104のポートIDとを当該装置内部用ヘッダに格納する。ポート104は、ラインカードID及びポートIDを格納している装置内部用ヘッダが付加されたフレームを、FDBアクセス回路120に供給する。
(Port 104)
The port 104 transmits and receives frames to and from the outside. When receiving a frame from the outside, the port 104 adds a device internal header to the beginning of the received frame, and uses the received line card ID of the line card 10 and the received port ID of the port 104 for internal use of the device. Store in header. The port 104 supplies the frame to which the device internal header storing the line card ID and the port ID is added to the FDB access circuit 120.

なお、ラインカード10はスイッチングハブ1の外部に接続するポートを、ポート104以外に有していてもよい。また、ラインカード10が外部に接続するポートとしてポート104のみを有する場合、ポート104は、装置内部用ヘッダにポートIDを格納しなくてもよい。   The line card 10 may have a port connected to the outside of the switching hub 1 other than the port 104. Further, when the line card 10 has only the port 104 as a port to be connected to the outside, the port 104 may not store the port ID in the device internal header.

(FDB110)
図3は、本発明の第1の実施の形態に係るスイッチングハブが備えるFDBのデータベースの形式の概要を示す。
(FDB110)
FIG. 3 shows an overview of the format of the FDB database provided in the switching hub according to the first embodiment of the present invention.

FDB110は、スイッチングハブ1が受信したフレームに含まれるMACアドレスに対応づけて、当該MACアドレスを受信したラインカードのラインカードID、及びポートのポートIDを格納する。すなわち、FDB110は、図3に示すように、MACアドレスに、ラインカードIDと、ポートIDと、状態とを関連付けたデータベース形式で登録内容を格納する。なお、「状態」のうち「有効」とは、送信元MACアドレスを学習して、FDB110にエントリを登録した状態を指す。また、「状態」のうち「無効」とは、所定の時間、当該送信元MACアドレスを含むフレームを受信しなかった場合(すなわち、当該送信元MACアドレスの学習がなかった場合)の状態を指す。すなわち、「無効」は、FDB110にエントリがない(未登録)の状態と同一である。   The FDB 110 stores the line card ID of the line card that received the MAC address and the port ID of the port in association with the MAC address included in the frame received by the switching hub 1. That is, as shown in FIG. 3, the FDB 110 stores registration contents in a database format in which a line card ID, a port ID, and a state are associated with a MAC address. Note that “valid” in “state” refers to a state in which an entry is registered in the FDB 110 by learning a source MAC address. In addition, “invalid” of “state” indicates a state when a frame including the source MAC address is not received for a predetermined time (that is, when the source MAC address is not learned). . That is, “invalid” is the same as a state where there is no entry (not registered) in the FDB 110.

また、FDB110は、FDBアクセス回路120からフレームの宛先検索の指示を受け取った場合、検索結果をFDBアクセス回路120に返す機能を有する。すなわち、FDB110は、FDBアクセス回路120から宛先検索の指示を受け取ったことを契機として、フレームに含まれる宛先MACアドレスを用いてデータベース(すなわち、FDB110に格納されている登録内容)を検索する。そして、FDB110は、検索結果、すなわち、FDB110が宛先MACアドレスに関連付けて格納しているラインカードID及びポートIDをFDBアクセス回路120に供給する。   Further, the FDB 110 has a function of returning a search result to the FDB access circuit 120 when receiving a frame destination search instruction from the FDB access circuit 120. That is, the FDB 110 searches the database (that is, the registered contents stored in the FDB 110) using the destination MAC address included in the frame when receiving the destination search instruction from the FDB access circuit 120. Then, the FDB 110 supplies the search result, that is, the line card ID and the port ID stored in the FDB 110 in association with the destination MAC address to the FDB access circuit 120.

また、FDB110は、FDBアクセス回路120又は学習用フレーム学習回路150からラインカードID、ポートID、及びMACアドレス(すなわち、フレームの送信元のMACアドレス)を受け取り、当該ラインカードIDと、当該ポートIDと、当該MACアドレスとを相互に関連付けてFDB110に格納する機能を有する。   Further, the FDB 110 receives the line card ID, the port ID, and the MAC address (that is, the MAC address of the frame transmission source) from the FDB access circuit 120 or the learning frame learning circuit 150, and receives the line card ID and the port ID. And the MAC address are stored in the FDB 110 in association with each other.

(FDBアクセス回路120)
(送信元MACアドレス学習)
FDBアクセス回路120は、ポート104から受け取ったフレームに含まれる送信元MACアドレスを用いてFDB110を検索する機能、及びFDB110の登録内容を変更する機能を有する。また、FDBアクセス回路120は、ポート104から受け取ったフレームを学習用フレーム生成回路130に供給する機能を有する。
(FDB access circuit 120)
(Source MAC address learning)
The FDB access circuit 120 has a function of searching the FDB 110 using the source MAC address included in the frame received from the port 104 and a function of changing the registered content of the FDB 110. Further, the FDB access circuit 120 has a function of supplying the frame received from the port 104 to the learning frame generation circuit 130.

具体的に、FDBアクセス回路120は、ポート104から受け取ったフレームに含まれる送信元MACアドレスと、FDB110に格納されているMACアドレスとを比較する。そして、FDBアクセス回路120は、当該送信元MACアドレスと同一のMACアドレスがFDB110に格納されていないと判断した場合、及び当該送信元MACアドレスと同一のMACアドレスがFDB110に格納されているもののエントリの内容が異なっていると判断した場合、当該フレームを受け取ったラインカード10のラインカードIDと、ポート104のポートIDと、当該フレームに含まれる送信元MACアドレスとを関連付けて登録内容としてFDB110に格納する。   Specifically, the FDB access circuit 120 compares the source MAC address included in the frame received from the port 104 with the MAC address stored in the FDB 110. When the FDB access circuit 120 determines that the same MAC address as the transmission source MAC address is not stored in the FDB 110, and the entry of the MAC address that is stored in the FDB 110 is the same as the transmission source MAC address. If the contents of the line card 10 are determined to be different, the line card ID of the line card 10 that has received the frame, the port ID of the port 104, and the transmission source MAC address included in the frame are associated with each other in the FDB 110 as registered contents. Store.

なお、本実施の形態において「エントリ」とは、FDB110に格納されている登録内容をいう。また、本実施の形態において「エントリの内容が異なっている場合」とは、MACアドレスに関連付けてFDB110が格納しているラインカードID及びポートIDと、フレームを受け取ったラインカードのラインカードID及びポートのポートIDとが異なっている場合をいう。   In the present embodiment, “entry” refers to registered contents stored in the FDB 110. In the present embodiment, “the contents of the entries are different” means that the line card ID and port ID stored in the FDB 110 in association with the MAC address, the line card ID of the line card that received the frame, and A case where the port ID of the port is different.

更に、FDBアクセス回路120は、FDB110に格納したエントリを有効にして、学習用フレーム生成回路130に学習用フレームを生成する命令を供給する機能を有する。   Further, the FDB access circuit 120 has a function of enabling an entry stored in the FDB 110 and supplying an instruction for generating a learning frame to the learning frame generation circuit 130.

また、FDBアクセス回路120は、ポート104から受け取ったフレームに含まれる送信元MACアドレスと、FDB110に格納されているMACアドレスとを比較した結果、当該送信元MACアドレスと同一のMACアドレスがFDB110に格納されていると判断した場合であって、FDB110のエントリの内容と、フレームを受信したラインカードのラインカードID、ポートのポートID、及びフレームに含まれる送信元MACアドレスとが同一である場合には、エントリを変更しない。   The FDB access circuit 120 compares the source MAC address included in the frame received from the port 104 with the MAC address stored in the FDB 110, and as a result, the same MAC address as the source MAC address is stored in the FDB 110. When the content of the entry in the FDB 110 is the same as the line card ID of the line card that received the frame, the port ID of the port, and the source MAC address included in the frame Do not change the entry.

(宛先検索)
FDBアクセス回路120は、ポート104から受け取ったフレームの宛先MACアドレスを用いてFDB110を検索する機能を有する。
(Destination search)
The FDB access circuit 120 has a function of searching the FDB 110 using the destination MAC address of the frame received from the port 104.

具体的に、FDBアクセス回路120は、ポート104から受け取ったフレームに含まれる宛先MACアドレスと、FDB110に格納されているMACアドレスとを比較する。そして、FDBアクセス回路120は、当該宛先MACアドレスと同一のMACアドレスがFDB110に格納されていないと判断した場合、当該フレームをフラッディング中継としてポート100に供給する。FDBアクセス回路120は、当該フレームをフラッディング中継としてポート100に供給する場合に、当該フレームの装置内部ヘッダにフラッディングであることを識別する識別子を格納する。   Specifically, the FDB access circuit 120 compares the destination MAC address included in the frame received from the port 104 with the MAC address stored in the FDB 110. When the FDB access circuit 120 determines that the same MAC address as the destination MAC address is not stored in the FDB 110, the FDB access circuit 120 supplies the frame to the port 100 as a flooding relay. When the FDB access circuit 120 supplies the frame to the port 100 as a flooding relay, the FDB access circuit 120 stores an identifier for identifying the flooding in the internal header of the frame.

また、FDBアクセス回路120は、ポート104から受け取ったフレームに含まれる宛先MACアドレスと、FDB110に格納されているMACアドレスとを比較した結果、当該宛先MACアドレスと同一のMACアドレスがFDB110に格納されていると判断した場合、FDB110に当該MACアドレスに関連付けて格納されているラインカードID及びポートIDを当該フレームの装置内ヘッダに格納する。そして、FDBアクセス回路120は、ラインカードID及びポートIDを装置内ヘッダに含むフレームをフォワーディング中継としてポート100に供給する。   In addition, as a result of comparing the destination MAC address included in the frame received from the port 104 with the MAC address stored in the FDB 110, the FDB access circuit 120 stores the same MAC address as the destination MAC address in the FDB 110. If it is determined that the line card ID and the port ID stored in the FDB 110 in association with the MAC address are stored in the in-device header of the frame. Then, the FDB access circuit 120 supplies a frame including the line card ID and the port ID in the in-device header to the port 100 as a forwarding relay.

(FDBアクセス回路120の送信元MACアドレス学習の停止)
また、FDBアクセス回路120は、送信レート制御回路140から送信レートのレート制御命令を受けている間、フレームの送信元MACアドレスのFDB110への登録を停止する機能を有する。
(Stop of source MAC address learning of FDB access circuit 120)
Further, the FDB access circuit 120 has a function of stopping registration of the transmission source MAC address of the frame in the FDB 110 while receiving a transmission rate rate control command from the transmission rate control circuit 140.

(学習用フレーム生成回路130)
学習用フレーム生成回路130は、FDBアクセス回路120から学習用フレームを生成する命令を受け取った場合に、学習用フレームを生成する。学習用フレーム生成回路130は、生成する学習用フレームに、受け取ったフレームより優先的に他のラインカードに中継することを指示する優先情報(以下、「中継優先度」という場合がある)を付加する。具体的に、学習用フレーム生成回路130は、FDBアクセス回路120から受け取ったフレームに含まれるラインカードID、ポートID、及びMACアドレスを用いて、ユーザーフレームより高い中継優先度が設定された学習用フレームを生成する。
(Learning frame generation circuit 130)
The learning frame generation circuit 130 generates a learning frame when receiving a command for generating a learning frame from the FDB access circuit 120. The learning frame generation circuit 130 adds priority information (hereinafter, also referred to as “relay priority”) instructing to relay to other line cards with higher priority than the received frame to the learning frame to be generated. To do. Specifically, the learning frame generation circuit 130 uses the line card ID, the port ID, and the MAC address included in the frame received from the FDB access circuit 120 to set a higher relay priority than the user frame. Generate a frame.

図4(a)は、イーサネット(登録商標)のフレームに装置内部ヘッダを付加した装置内部におけるフレームの構成を示し、図4(b)は、学習用フレーム生成回路が生成する学習用フレームの構成を示す。すなわち、図4は、イーサネット(登録商標)のフレームから学習用フレームを生成する例を示す。   4A shows the configuration of a frame inside the device in which an internal header is added to the Ethernet® frame, and FIG. 4B shows the configuration of the learning frame generated by the learning frame generation circuit. Indicates. That is, FIG. 4 shows an example in which a learning frame is generated from an Ethernet (registered trademark) frame.

図4(a)のフレーム60は、装置内部用一般ヘッダ60aと、ラインカード10が受信したフレームの宛先MACアドレス(Destination Address:DA)と、送信元MACアドレス(Source Address:SA)と、タグの情報とを含む領域60bと、ユーザーフレームのデータ及びFrame Check Sequence(FCS)を含む領域60cとを有する。ここで、装置内部用一般ヘッダ60aは、フレームを受信したラインカード10のラインカードIDとポート104のポートIDとを含む。また、装置内部用一般ヘッダ60aは、装置内部における中継の優先度を示す情報を格納する領域を含む。   The frame 60 in FIG. 4A includes a device internal general header 60a, a destination MAC address (Destination Address: DA) of a frame received by the line card 10, a source MAC address (Source Address: SA), and a tag. And an area 60c including user frame data and Frame Check Sequence (FCS). Here, the apparatus internal general header 60 a includes the line card ID of the line card 10 that has received the frame and the port ID of the port 104. In addition, the device internal general header 60a includes an area for storing information indicating the relay priority in the device.

学習用フレーム生成回路130は、FDBアクセス回路120からフレーム60を受け取り、学習に要するヘッダ部分である装置内部用一般ヘッダ60aと領域60bとをフレーム60から取り出す。そして、学習用フレーム生成回路130は、取り出した装置内部用一般ヘッダ60aと領域60bとを用いて学習用フレーム62を生成する。例えば、学習用フレーム生成回路130は、装置内部用一般ヘッダ60aに含まれる情報に加工を施して、装置内部における中継の優先度をユーザーフレームよりも高くした情報を含む装置内部用高優先ヘッダ62aを有する学習用フレーム62を生成する。   The learning frame generation circuit 130 receives the frame 60 from the FDB access circuit 120, and extracts from the frame 60 a general header for device internal 60 a and a region 60 b that are header parts required for learning. Then, the learning frame generation circuit 130 generates the learning frame 62 by using the taken out apparatus internal general header 60a and the area 60b. For example, the learning frame generation circuit 130 processes the information contained in the device internal general header 60a to include the device internal high priority header 62a including information in which the relay priority in the device is higher than the user frame. Is generated.

また、学習用フレーム生成回路130は、学習に用いないフレーム60の領域60cに含まれるユーザーフレームのデータに加工を施す。例えば、学習用フレーム生成回路130は、ユーザーフレームのデータに加工を施すことにより、装置内部における中継の健全性をチェックすることのできるチェックパターンを含む領域62cを有する学習用フレーム62を生成する。なお、学習用フレーム62の領域62bは、フレーム60の領域60bと同一のままでもよい。   The learning frame generation circuit 130 processes the user frame data included in the region 60c of the frame 60 that is not used for learning. For example, the learning frame generation circuit 130 processes the user frame data to generate a learning frame 62 having a region 62c including a check pattern that can check the soundness of relay in the apparatus. The area 62b of the learning frame 62 may remain the same as the area 60b of the frame 60.

図5(a)及び(b)は、IEEE802.1ahにより示されるMACアドレスをカプセル化したフレームから学習用フレームを生成する例を示す。   FIGS. 5A and 5B show an example in which a learning frame is generated from a frame in which a MAC address indicated by IEEE802.1ah is encapsulated.

学習用フレーム生成回路130は、図5(a)に示すように、装置内部用一般ヘッダ70a、領域70b、及び領域70cを有するカプセル化フレーム70から学習用フレーム72を生成することもできる。例えば、学習用フレーム生成回路130は、FDBアクセス回路120からカプセル化フレーム70を受け取り、学習に要するヘッダ部分である装置内部用一般ヘッダ70aと領域70bとをカプセル化フレーム70から取り出す。そして、学習用フレーム生成回路130は、取り出した装置内部用一般ヘッダ70aと領域70bとを用いて学習用フレーム72を生成する。例えば、学習用フレーム生成回路130は、装置内部用一般ヘッダ70aに含まれる情報に加工を施して、装置内部における中継の優先度をユーザーフレームよりも高くした情報を含む装置内部用高優先ヘッダ72aを有する学習用フレーム72を生成する。   As shown in FIG. 5A, the learning frame generation circuit 130 can also generate the learning frame 72 from the encapsulated frame 70 having the general header 70a for the apparatus, the region 70b, and the region 70c. For example, the learning frame generation circuit 130 receives the encapsulated frame 70 from the FDB access circuit 120, and extracts the device internal general header 70 a and the area 70 b that are header parts necessary for learning from the encapsulated frame 70. Then, the learning frame generation circuit 130 generates the learning frame 72 by using the taken-out apparatus internal general header 70a and the area 70b. For example, the learning frame generation circuit 130 processes the information included in the device internal general header 70a so that the device internal high priority header 72a includes information in which the relay priority in the device is higher than the user frame. Is generated.

また、学習用フレーム生成回路130は、学習に用いないカプセル化フレーム70の領域70cに含まれるユーザーフレームのデータに加工を施す。例えば、学習用フレーム生成回路130は、ユーザーフレームのデータに加工を施すことにより、装置内部(すなわち、スイッチングハブ1内部)における中継の健全性をチェックすることのできるチェックパターンを含む領域72cを有する学習用フレーム72を生成する。なお、学習用フレーム72の領域72bは、カプセル化フレーム70の領域70bと同一のままでもよい。   The learning frame generation circuit 130 processes the user frame data included in the region 70c of the encapsulated frame 70 that is not used for learning. For example, the learning frame generation circuit 130 has a region 72c including a check pattern that can check the soundness of relay in the apparatus (that is, in the switching hub 1) by processing the data of the user frame. A learning frame 72 is generated. Note that the area 72 b of the learning frame 72 may remain the same as the area 70 b of the encapsulated frame 70.

以上より、第1の実施の形態に係るラインカード10を備えるスイッチングハブ1は、IEEE802.1ahに規定されたカプセル化フレームを中継することもできる。   As described above, the switching hub 1 including the line card 10 according to the first embodiment can also relay the encapsulated frame defined in IEEE 802.1ah.

また、学習用フレーム生成回路130は、送信レート制御回路140からレート制御命令を受け取っている場合に、学習用フレームの生成を停止する機能を有する。   The learning frame generation circuit 130 has a function of stopping the generation of the learning frame when a rate control command is received from the transmission rate control circuit 140.

(送信レート制御回路140)
送信レート制御回路140は、学習用フレーム生成回路130が生成した学習用フレームを学習用フレーム生成回路130から受け取る。そして、送信レート制御回路140は、受け取った学習用フレームを、ポート102を介してフレーム中継経路40に所定の送信レートで送信する。また、送信レート制御回路140は、レート制御命令をFDBアクセス回路120に供給することによりFDBアクセス回路120がフレームの送信元MACアドレスを登録する動作を停止させる機能と、レート制御命令を学習用フレーム生成回路130に供給することにより学習用フレーム生成回路130が学習用フレームを生成する動作を停止させる機能とを有する。
(Transmission rate control circuit 140)
The transmission rate control circuit 140 receives the learning frame generated by the learning frame generation circuit 130 from the learning frame generation circuit 130. Then, the transmission rate control circuit 140 transmits the received learning frame to the frame relay path 40 via the port 102 at a predetermined transmission rate. Further, the transmission rate control circuit 140 supplies a rate control command to the FDB access circuit 120, thereby stopping the operation of the FDB access circuit 120 registering the transmission source MAC address of the frame, and the rate control command as a learning frame. The learning frame generation circuit 130 has a function of stopping the operation of generating the learning frame by supplying the generation circuit 130.

図6は、本発明の第1の実施の形態に係る送信レート制御回路の機能構成ブロック図の一例を示す。   FIG. 6 shows an example of a functional configuration block diagram of the transmission rate control circuit according to the first embodiment of the present invention.

送信レート制御回路140は、学習用フレーム生成回路130が生成した学習用フレームを予め定められた期間(例えば、一時的に)格納するバッファ142と、バッファ142に格納されている学習用フレームの格納量を監視するバッファ監視部としてのバッファ監視回路144と、バッファ142から学習用フレームを読み出してフレーム中継経路40に供給するバッファ読み出し部としてのバッファ読み出し回路146と、バッファ読み出し回路146がバッファ142から学習用フレームを読み出す時間間隔を格納するカウンタ148とを有する。   The transmission rate control circuit 140 stores a learning frame generated by the learning frame generation circuit 130 for a predetermined period (for example, temporarily), and stores a learning frame stored in the buffer 142. A buffer monitoring circuit 144 serving as a buffer monitoring unit that monitors the amount, a buffer reading circuit 146 serving as a buffer reading unit that reads a learning frame from the buffer 142 and supplies the learning frame to the frame relay path 40, and a buffer reading circuit 146 from the buffer 142. And a counter 148 that stores a time interval for reading the learning frame.

バッファ監視回路144は、バッファ142に格納されている学習用フレームの格納量が予め定められた格納量を超えた場合、FDBアクセス回路120と学習用フレーム生成回路130とのそれぞれにレート制御情報としてのレート制御命令を供給する。すなわち、バッファ監視回路144は、バッファ142に格納されている学習用フレームの情報量が規定値(若しくは閾値)を超える場合に、FDBアクセス回路120と学習用フレーム生成回路130とにレート制御命令を供給する。FDBアクセス回路120は、レート制御命令を受け取った場合に、フレームの送信元MACアドレスのFDB110への登録を停止する。また、学習用フレーム生成回路130は、レート制御命令を受け取った場合に、学習用フレームの生成を停止する。   When the storage amount of the learning frame stored in the buffer 142 exceeds a predetermined storage amount, the buffer monitoring circuit 144 provides rate control information to each of the FDB access circuit 120 and the learning frame generation circuit 130. Provides rate control instructions. That is, the buffer monitoring circuit 144 sends a rate control command to the FDB access circuit 120 and the learning frame generation circuit 130 when the amount of learning frame information stored in the buffer 142 exceeds a specified value (or threshold). Supply. When the FDB access circuit 120 receives the rate control command, the FDB access circuit 120 stops registering the transmission source MAC address of the frame in the FDB 110. Further, the learning frame generation circuit 130 stops generating the learning frame when receiving the rate control command.

バッファ読み出し回路146は、カウンタ148に格納されている間隔に従ってバッファ142から学習用フレームを読み出す。そして、カウンタ148は、送信レート調整の基準になる学習用フレームを読み出す間隔を格納する。   The buffer read circuit 146 reads the learning frame from the buffer 142 according to the interval stored in the counter 148. The counter 148 stores an interval for reading a learning frame that serves as a reference for transmission rate adjustment.

図7は、本発明の第1の実施の形態に係る送信レート制御回路において送信レートが制御される概要を示す。   FIG. 7 shows an outline in which the transmission rate is controlled in the transmission rate control circuit according to the first embodiment of the present invention.

送信レート制御回路140は、例えば、図7に示す方法で送信レートの制御を実現する。なお、学習用フレーム62は、図4の上記説明と同一の構成を有する。そして、送信レート制御回路140は、学習用フレーム62の先頭80から末尾82までをポート102を介してフレーム中継回路40に送信した後、次の学習用フレーム62の先頭84を送信する前に、カウンタ148に設定された時間だけ強制的に学習用フレーム62を送信しない時間(レート制限区間86)を設ける。このように、送信レート制御回路140は、レート制限区間86を設けることにより、学習用フレーム62の送信レートを制御する。   The transmission rate control circuit 140 realizes transmission rate control by the method shown in FIG. 7, for example. The learning frame 62 has the same configuration as that described above with reference to FIG. Then, the transmission rate control circuit 140 transmits from the head 80 to the tail 82 of the learning frame 62 to the frame relay circuit 40 via the port 102 and before transmitting the head 84 of the next learning frame 62. A time (rate limiting section 86) during which the learning frame 62 is not forcibly transmitted for the time set in the counter 148 is provided. As described above, the transmission rate control circuit 140 controls the transmission rate of the learning frame 62 by providing the rate limiting section 86.

図7に示す例においては、カウンタ148に設定された時間が学習用フレーム62を送信する場合に要する時間と同一である。したがって、学習用フレーム62と学習用フレーム62を送信しない時間であるレート制限区間86とが同一の長さになっており、最大送信レートを50%に抑制することができる。なお、カウンタ148において設定する時間間隔を変更することにより、最大送信レートを任意に調整することができる。   In the example shown in FIG. 7, the time set in the counter 148 is the same as the time required for transmitting the learning frame 62. Therefore, the learning frame 62 and the rate limiting section 86, which is the time during which the learning frame 62 is not transmitted, have the same length, and the maximum transmission rate can be suppressed to 50%. Note that the maximum transmission rate can be arbitrarily adjusted by changing the time interval set in the counter 148.

バッファ監視回路144は、バッファ142が格納している学習用フレームの格納量(すなわち、保存量)を監視する。バッファ監視回路144は、予め設定された格納量の閾値を有しており、閾値とバッファ142に格納されている学習用フレームの格納量とを比較する。そして、バッファ監視回路144は、バッファ142に格納されている学習用フレームの格納量が閾値を超えたときに、FDBアクセス回路120と学習用フレーム生成回路130とにレート制御命令を供給する。   The buffer monitoring circuit 144 monitors the storage amount (that is, the storage amount) of the learning frame stored in the buffer 142. The buffer monitoring circuit 144 has a preset storage amount threshold value, and compares the threshold value with the storage amount of the learning frame stored in the buffer 142. The buffer monitoring circuit 144 supplies a rate control command to the FDB access circuit 120 and the learning frame generation circuit 130 when the storage amount of the learning frame stored in the buffer 142 exceeds the threshold value.

FDBアクセス回路120がレート制御命令を受け取った場合、FDBアクセス回路120は、送信元MACアドレスの学習を停止する。また、学習用フレーム生成回路130がレート制御命令を受け取った場合、学習用フレーム生成回路130は、学習用フレームの生成を停止する。   When the FDB access circuit 120 receives the rate control command, the FDB access circuit 120 stops learning the transmission source MAC address. When the learning frame generation circuit 130 receives the rate control command, the learning frame generation circuit 130 stops generating the learning frame.

これにより、バッファ142において学習用フレームのバッファ溢れ(すなわち、バッファ142にバッファ142の最大の格納量を超えた情報量の学習用フレームが供給されることにより、学習用フレームが失われること)を防止できる。特に、送信レートを超えてFDB110の更新が実行される場合(すなわち、学習用フレームが生成される場合)に有効である。   Thereby, the buffer overflow of the learning frame in the buffer 142 (that is, the learning frame is lost by supplying the learning frame with the information amount exceeding the maximum storage amount of the buffer 142 to the buffer 142). Can be prevented. This is particularly effective when the FDB 110 is updated beyond the transmission rate (that is, when a learning frame is generated).

また、本実施の形態に係るラインカード10においては、学習用フレームの生成を停止すると共に、FDBアクセス回路120の送信元MACアドレスの学習を停止するので、ラインカード10が有するFDB110を更新しないことにより、ラインカード10が有するFDB110と、他のラインカード20等が有するFDB110との間における同期がずれることも防止できる。   Moreover, in the line card 10 according to the present embodiment, generation of the learning frame is stopped and learning of the transmission source MAC address of the FDB access circuit 120 is stopped, so that the FDB 110 included in the line card 10 is not updated. Accordingly, it is possible to prevent the synchronization between the FDB 110 included in the line card 10 and the FDB 110 included in the other line cards 20 and the like from being shifted.

(学習用フレーム学習回路150)
学習用フレーム学習回路150は、フレーム中継経路40からポート102を経由して学習用フレームを受け取り、当該学習用フレームに含まれるラインカードID、ポートID、及びMACアドレスをFDB110に登録する機能を有する。
(Learning frame learning circuit 150)
The learning frame learning circuit 150 has a function of receiving a learning frame from the frame relay path 40 via the port 102 and registering the line card ID, port ID, and MAC address included in the learning frame in the FDB 110. .

学習用フレーム学習回路150は、学習用フレーム生成回路130が学習用フレーム62の領域62c又は学習用フレーム72の領域72cに埋め込んで格納した、装置内部における中継の健全性をチェックすることのできるチェックパターンをチェックする。そして、学習用フレーム学習回路150は、チェックに失敗した場合にはFDB110への登録を実行せずに、スイッチングハブ1に異常が発生した旨を表示する機能を有することもできる。この場合、スイッチングハブ1は、学習用フレーム学習回路150からの異常が発生した旨の情報を受け取った場合に異常を外部に通知する異常通知部を更に備えることができる。異常通知部は、例えば、文字情報、若しくは画像情報、又は音声、光等により異常を外部に通知する。なお、異常通知部は、スイッチングハブ1の外部に設けてもよい。   The learning frame learning circuit 150 can check the soundness of the relay in the apparatus, which the learning frame generation circuit 130 embeds and stores in the area 62c of the learning frame 62 or the area 72c of the learning frame 72. Check the pattern. Then, the learning frame learning circuit 150 may have a function of displaying that an abnormality has occurred in the switching hub 1 without executing registration in the FDB 110 when the check fails. In this case, the switching hub 1 can further include an abnormality notification unit that notifies the abnormality to the outside when the information indicating that the abnormality has occurred from the learning frame learning circuit 150 is received. The abnormality notification unit notifies the abnormality to the outside by, for example, character information, image information, sound, light, or the like. The abnormality notification unit may be provided outside the switching hub 1.

(フレーム中継経路40)
フレーム中継経路40は、ポート100から供給されたフレームを、ラインカード20のポート200及びラインカード30のポート300にフラッディング中継又はフォワーディング中継する。また、ポート102から供給された学習用フレームを、ラインカード20のポート202及びラインカード30のポート302にフラッディング中継する。
(Frame relay path 40)
The frame relay path 40 floods or forwards the frame supplied from the port 100 to the port 200 of the line card 20 and the port 300 of the line card 30. The learning frame supplied from the port 102 is flooded and relayed to the port 202 of the line card 20 and the port 302 of the line card 30.

また、フレーム中継経路40は、フレーム等の情報を一時的に格納する中継用バッファを有することができる。すなわち、フレーム中継経路40は、ポート100から供給されたフレームと、ポート102から供給された学習用フレームとを中継用バッファに格納することができる。そして、フレーム中継経路40は、中継用バッファに格納されているフレームと学習用フレームとを順次、中継先のポートへ中継することができる。   The frame relay path 40 may have a relay buffer that temporarily stores information such as frames. That is, the frame relay path 40 can store the frame supplied from the port 100 and the learning frame supplied from the port 102 in the relay buffer. The frame relay path 40 can relay the frame stored in the relay buffer and the learning frame sequentially to the relay destination port.

なお、通常のフレームと学習用フレームとはそれぞれフレーム中継経路40において同一の経路を共有して中継先に中継されるので、フレーム中継経路40は、それぞれ別々にフレーム中継経路40に供給されたポート100からのフレームとポート102からの学習用フレームとを順番にフレーム中継経路40内を中継させる。   The normal frame and the learning frame share the same route in the frame relay route 40 and are relayed to the relay destination. Therefore, the frame relay route 40 is a port supplied to the frame relay route 40 separately. The frame from 100 and the learning frame from the port 102 are relayed through the frame relay path 40 in order.

フレーム中継経路40は、フレームに含まれる中継優先度に基づいて、中継優先度がフレームよりも高く設定されている学習用フレームを優先して複数のラインカードのそれぞれのポート(例えば、ラインカード20のポート202、及びラインカード30のポート302)にフラッディング中継する。   Based on the relay priority included in the frame, the frame relay path 40 gives priority to the learning frame in which the relay priority is set higher than the frame, and each port of the plurality of line cards (for example, the line card 20 And 202 202 and the port 302 of the line card 30.

図1に示すように、本実施形態に係るスイッチングハブ1は、3枚のラインカード10、ラインカード20、及びラインカード30を備える。そして、図7の例によって示される最大送信レート50%で、学習用フレームを互いにフラッディング中継した場合において、ラインカード10は、ラインカード20及びラインカード30から50%ずつ、合計100%のレートで学習用フレームをポート102で受け取ってFDB110に格納する。また、ラインカード20は、ラインカード10及びラインカード30から50%ずつ、合計100%のレートで学習用フレームをポート202で受け取ってFDB110に格納する。同様に、ラインカード30は、ラインカード10及びラインカード20から50%ずつ、合計100%のレートで学習用フレームをポート302で受け取ってFDB110に格納することができる。   As shown in FIG. 1, the switching hub 1 according to the present embodiment includes three line cards 10, a line card 20, and a line card 30. When the learning frame is flooded and relayed at the maximum transmission rate of 50% shown in the example of FIG. 7, the line card 10 is 50% from the line card 20 and the line card 30 at a total rate of 100%. The learning frame is received by the port 102 and stored in the FDB 110. Further, the line card 20 receives the learning frames at the port 202 at a rate of 100% in total from the line card 10 and the line card 30 and stores them in the FDB 110. Similarly, the line card 30 can receive the learning frames at the port 302 at a rate of 100% in total from the line card 10 and the line card 20 and store them in the FDB 110.

以上の動作により、スイッチングハブ1が備えるラインカード10のFDB110、ラインカード20のFDB110、及びラインカード30のFDB110において、スイッチングハブ1の内部を中継されるフレームに依存せずに、ラインカード10のFDB110、ラインカード20のFDB110、及びラインカード30のFDB110の更新を同期させて実行できる。   With the above operation, the FDB 110 of the line card 10, the FDB 110 of the line card 20, and the FDB 110 of the line card 30 included in the switching hub 1 do not depend on the frame relayed inside the switching hub 1, and Updates of the FDB 110, the FDB 110 of the line card 20, and the FDB 110 of the line card 30 can be executed synchronously.

なお、本実施の形態においては、フレーム中継経路40に3枚のラインカード10、ラインカード20、及びラインカード30が接続されているが、ラインカードの枚数は本実施の形態の枚数に限られず、フレーム中継経路40にN枚(ただし、Nは正の整数)のラインカードを接続することもできる。N枚のラインカードを備えるスイッチングハブにおいては、送信レート制御回路140が送信レートを(1/(N−1))×100%以下に制御することにより、当該スイッチングハブが備えるフレーム中継経路40の範囲内において学習用フレームを受信することができ、各ラインカード間でFDB110の学習を同期させることができる。   In the present embodiment, three line cards 10, line cards 20, and line cards 30 are connected to the frame relay path 40, but the number of line cards is not limited to the number in the present embodiment. N frame cards (where N is a positive integer) can be connected to the frame relay path 40. In a switching hub having N line cards, the transmission rate control circuit 140 controls the transmission rate to (1 / (N−1)) × 100% or less, so that the frame relay path 40 included in the switching hub is controlled. Learning frames can be received within the range, and learning of the FDB 110 can be synchronized between the line cards.

(第1の実施の形態の効果)
第1の実施の形態に係るスイッチングハブ1は、学習用フレーム生成回路130から送られてきた学習用フレームをフレーム中継経路40に送信レートを制御して供給する送信レート制御回路140を備えているので、学習用フレームが装置内部のフレーム中継経路40の帯域を超過して失われることのないように、学習用フレームの送信レートを制御することができる。これにより、本実施の形態に係るスイッチングハブ1によれば、学習用フレームが失われることを防止できる。
(Effects of the first embodiment)
The switching hub 1 according to the first embodiment includes a transmission rate control circuit 140 that supplies the learning frame sent from the learning frame generation circuit 130 to the frame relay path 40 while controlling the transmission rate. Therefore, the transmission rate of the learning frame can be controlled so that the learning frame is not lost beyond the bandwidth of the frame relay path 40 inside the apparatus. Thereby, according to the switching hub 1 which concerns on this Embodiment, it can prevent that the flame | frame for learning is lost.

また、第1の実施の形態に係るスイッチングハブ1は、バッファ142とバッファ監視回路144とを含む送信レート制御回路140を有するラインカードを備えており、バッファ監視回路144は、バッファ142に格納されている学習用フレームの格納量が所定の閾値を超えた場合、学習用フレーム生成回路130にレート制御命令を供給する。これにより、本実施形態に係るスイッチングハブ1は、学習用フレーム生成回路130における学習用フレームの生成を停止させることができるので、バッファ142において学習用フレームのバッファ溢れを防止でき、学習用フレームが失われることを防止できる。   The switching hub 1 according to the first embodiment includes a line card having a transmission rate control circuit 140 including a buffer 142 and a buffer monitoring circuit 144, and the buffer monitoring circuit 144 is stored in the buffer 142. When the stored amount of learning frames exceeds a predetermined threshold, a rate control command is supplied to the learning frame generation circuit 130. As a result, the switching hub 1 according to the present embodiment can stop the generation of the learning frame in the learning frame generation circuit 130, so that the buffer 142 can be prevented from overflowing the learning frame in the buffer 142. It can be prevented from being lost.

更に、バッファ監視回路144は、バッファ142に格納されている学習用フレームの格納量が所定の閾値を超えた場合、FDBアクセス回路120にレート制御命令を供給する。これにより、本実施の形態に係るスイッチングハブ1は、FDBアクセス回路120におけるFDB110の登録内容の変更を停止させることができるので、FDBアクセス回路120の送信元MACアドレス学習が停止されることにより所定のラインカードのFDB110のみが更新され、他のラインカードのFDB110が更新されないというような同期が取れないということを防止できる。   Further, the buffer monitoring circuit 144 supplies a rate control command to the FDB access circuit 120 when the storage amount of the learning frame stored in the buffer 142 exceeds a predetermined threshold. As a result, the switching hub 1 according to the present embodiment can stop the change of the registered content of the FDB 110 in the FDB access circuit 120. It can be prevented that only the FDB 110 of the other line card is updated and the FDB 110 of the other line card is not updated.

また、本実施の形態において、学習用フレーム生成回路130は、生成する学習用フレームにユーザーフレームより高い優先度を付加する。これにより、学習用フレームは装置内部(すなわち、スイッチングハブ1内)において優先的に中継されるので、学習用フレームが失われることを防止できる。   In the present embodiment, the learning frame generation circuit 130 adds a higher priority than the user frame to the learning frame to be generated. Thereby, since the learning frame is preferentially relayed inside the apparatus (that is, in the switching hub 1), it is possible to prevent the learning frame from being lost.

以上より、本実施の形態に係るスイッチングハブ1によれば、アドレス学習により一つのFDB110の更新が実行されるとき、当該一つのFDB110を有するラインカードが他のFDB110を有するラインカードに対して学習用フレームを送信すると共に、他のラインカードは中継されたすべての学習用フレームを受信したことを契機としてそれぞれのFDB110を更新するので、スイッチングハブ1が備える複数のラインカードがそれぞれ有するFDB110において、アドレス学習によるFDB110の更新を確実に同期させることができる。   As described above, according to the switching hub 1 according to the present embodiment, when one FDB 110 is updated by address learning, the line card having the one FDB 110 learns from the line card having the other FDB 110. The FDB 110 updates each FDB 110 when the other line cards receive all relayed learning frames, and therefore, in the FDB 110 that each of the plurality of line cards included in the switching hub 1 has, Update of the FDB 110 by address learning can be reliably synchronized.

(比較例)
図8は、比較例に係るスイッチングハブの概要を示す。
(Comparative example)
FIG. 8 shows an outline of a switching hub according to a comparative example.

なお、ラインカード22のFDB回路225及びラインカード32のFDB回路325はそれぞれ、FDB回路125と同一の構成及び機能を有するが、図8においては説明の便宜上、FDB回路225及びFDB回路325がそれぞれ有するFDBアクセス回路及びFDBの図示は省略する。   Note that the FDB circuit 225 of the line card 22 and the FDB circuit 325 of the line card 32 have the same configuration and function as the FDB circuit 125, respectively, but for convenience of explanation in FIG. 8, the FDB circuit 225 and the FDB circuit 325 are respectively The illustration of the FDB access circuit and the FDB are omitted.

比較例に係るスイッチングハブ2は、ラインカード12、ラインカード22、及びラインカード32と、ラインカード間の通信経路であるフレーム中継経路40とを備える。ラインカード12、ラインカード22、及びラインカード32はそれぞれ、FDB回路125、FDB回路225、及びFDB回路325を有する。各ラインカードは、FDB回路とフレーム中継経路40との間に設けられるフレーム中継経路制御機能とフレームの帯域制限機能とを含む回路170、回路230、及び回路330を更に有する。   The switching hub 2 according to the comparative example includes a line card 12, a line card 22, and a line card 32, and a frame relay path 40 that is a communication path between the line cards. Each of the line card 12, the line card 22, and the line card 32 includes an FDB circuit 125, an FDB circuit 225, and an FDB circuit 325. Each line card further includes a circuit 170, a circuit 230, and a circuit 330 including a frame relay path control function and a frame band limiting function provided between the FDB circuit and the frame relay path 40.

ラインカード12は、スイッチングハブ2の外部に接続するポート160(なお、ラインカード22においてはポート210、ラインカード32においてはポート310)と、フレーム中継経路40に接続するポート162(なお、ラインカード22においてはポート212、ラインカード32においてはポート312)とを有する。なお、ポート160は伝送路55aに接続されており、ポート210は伝送路55bに接続されており、ポート310は伝送路55cに接続されている。   The line card 12 includes a port 160 connected to the outside of the switching hub 2 (a port 210 for the line card 22 and a port 310 for the line card 32) and a port 162 connected to the frame relay path 40 (a line card). 22 has a port 212, and the line card 32 has a port 312). The port 160 is connected to the transmission line 55a, the port 210 is connected to the transmission line 55b, and the port 310 is connected to the transmission line 55c.

また、ラインカード12が有するFDB回路125は、FDBアクセス回路125aとFDB125bとを含む。FDBアクセス回路125a及びFDB125bは、第1の実施の形態に係るFDBアクセス回路120及びFDB110と同一の機能を有する。更に、FDB125bのデータベース形式についても、第1の実施の形態に係るFDB110のデータベース形式と同一である(例えば、図3及び図3に関する上記説明参照)。なお、ラインカード22及びラインカード32は、ラインカード12と同一の構成及び機能を有するので、詳細な説明は省略する。   The FDB circuit 125 included in the line card 12 includes an FDB access circuit 125a and an FDB 125b. The FDB access circuit 125a and the FDB 125b have the same functions as the FDB access circuit 120 and the FDB 110 according to the first embodiment. Further, the database format of the FDB 125b is the same as the database format of the FDB 110 according to the first embodiment (for example, see the above description regarding FIG. 3 and FIG. 3). Since the line card 22 and the line card 32 have the same configuration and function as the line card 12, detailed description thereof is omitted.

図8に示す比較例に係るスイッチングハブ2において、FDB回路125、FDB回路225、及びFDB回路325のすべてが未学習状態の送信元MACアドレスを有するフレームをポート160において受信した場合のFDB125b、FDB回路225のFDB、及びFDB回路325のFDBの更新作業が同期して実行される流れは以下のとおりである。   In the switching hub 2 according to the comparative example illustrated in FIG. 8, the FDB 125 b and the FDB when the FDB circuit 125, the FDB circuit 225, and the FDB circuit 325 all receive the frame having the transmission source MAC address in the unlearned state at the port 160. The flow in which the update operations of the FDB of the circuit 225 and the FDB of the FDB circuit 325 are executed in synchronization is as follows.

まず、ポート160がフレームを受信した場合、ポート160は当該フレームの先頭に装置内部用ヘッダを付加すると共に、当該装置内部用ヘッダに受信したラインカード12を識別するラインカードIDと、当該フレームを受信したポート160のポートIDとを格納して、FDB回路125のFDBアクセス回路125aに供給する。   First, when the port 160 receives a frame, the port 160 adds a device internal header to the head of the frame, and also adds a line card ID for identifying the received line card 12 to the device internal header, and the frame. The received port ID of the port 160 is stored and supplied to the FDB access circuit 125a of the FDB circuit 125.

FDBアクセス回路125aは、フレームの送信元MACアドレスを用いてFDB125bを検索する。そして、送信元MACアドレスがFDB125bに格納されていない、すなわち、未学習状態であることを把握する。   The FDB access circuit 125a searches the FDB 125b using the transmission source MAC address of the frame. And it grasps | ascertains that a transmission source MAC address is not stored in FDB125b, ie, is an unlearned state.

次に、FDBアクセス回路125aは、フレームに含まれるラインカードID、ポートID、及び送信元MACアドレスを関連付けてFDB125bに格納する。また、FDBアクセス回路125aは、当該フレームの送信元MACアドレスが未学習状態であることを示す学習マークをフレームに付加し、FDB回路を有する他のすべてのラインカードに転送するように、フレームを回路170にフラッディングとして供給する。   Next, the FDB access circuit 125a associates the line card ID, port ID, and transmission source MAC address included in the frame and stores them in the FDB 125b. The FDB access circuit 125a adds a learning mark indicating that the transmission source MAC address of the frame is in an unlearned state to the frame, and transfers the frame to all other line cards having the FDB circuit. Supply to circuit 170 as flooding.

回路170は、ポート162を介して受け取ったフレームをフレーム中継経路40に供給する。これにより、当該フレームは、フレーム中継経路40を介してラインカード22及びラインカード32に供給される。   The circuit 170 supplies the frame received via the port 162 to the frame relay path 40. As a result, the frame is supplied to the line card 22 and the line card 32 via the frame relay path 40.

ラインカード22が有するFDB回路225、及びラインカード32が有するFDB回路325は、送信元MACアドレスが未学習状態であることを示す学習マークが付加されたフレームを受信すると、FDB回路225及びFDB回路325に含まれるFDBにフレームに含まれるラインカードID、ポートID、及び送信元MACアドレスを関連付けて格納する。   When the FDB circuit 225 included in the line card 22 and the FDB circuit 325 included in the line card 32 receive a frame to which a learning mark indicating that the transmission source MAC address is in an unlearned state is received, the FDB circuit 225 and the FDB circuit The line card ID, port ID, and source MAC address included in the frame are stored in association with the FDB included in 325.

このように、ラインカード12、ラインカード22、及びラインカード32の間で同期の取れたFDBの更新作業が実行される。   In this way, the FDB update operation that is synchronized among the line card 12, the line card 22, and the line card 32 is executed.

なお、FDBが送信元MACアドレスを学習している状態であるものの、登録されている情報、すなわち、登録情報に変化が生じた場合(例えば、送信元MACアドレスと、ラインカードID、ポートIDとの関連が異なる場合)においても、同様にして、学習マークの付加されたフレームをフラッディングし、他のラインカードが当該フレームを受信して各ラインカードに含まれるFDBを更新することで、同期の取れたFDBの更新作業が実行される。   Although the FDB is learning the transmission source MAC address, when the registered information, that is, the registered information changes (for example, the transmission source MAC address, the line card ID, and the port ID) In the same way, the frame with the learning mark added is flooded, and the other line cards receive the frame and update the FDB included in each line card. The obtained FDB update operation is executed.

しかしながら、比較例に係るスイッチングハブ2においては、以下の場合にラインカード12に含まれるFDB125bと、ラインカード22に含まれるFDBと、ラインカード32に含まれるFDBとの間の同期が取れない場合がある。   However, in the switching hub 2 according to the comparative example, the FDB 125b included in the line card 12, the FDB included in the line card 22, and the FDB included in the line card 32 cannot be synchronized in the following cases. There is.

まず、回路170、回路230、及び回路330のそれぞれが有するフレームの帯域制限機能が、学習マークが付加されたフレームを帯域超過のフレームであるとして破棄してしまい、その結果として、FDBがフレームの情報を学習できない場合がある。この場合、複数のFDB間で同期をとることができない。   First, the bandwidth limit function of the frame included in each of the circuit 170, the circuit 230, and the circuit 330 discards the frame with the learning mark added as an over-band frame, and as a result, the FDB Information may not be learned. In this case, synchronization cannot be established among a plurality of FDBs.

また、フレーム中継経路40に接続されたラインカード22のポート212とラインカード32のポート312とに学習マークが付加されたフレームより優先度の高いフレームが供給されており、ラインカード22及びラインカード32に学習マークが付加されたフレームが到達しない場合、FDBがフレームの情報を学習できない場合がある。この場合、複数のFDB間で同期をとることができない。   Also, a frame having a higher priority than the frame with the learning mark added is supplied to the port 212 of the line card 22 and the port 312 of the line card 32 connected to the frame relay path 40, and the line card 22 and the line card If the frame with the learning mark added to 32 does not arrive, the FDB may not learn the frame information. In this case, synchronization cannot be established among a plurality of FDBs.

このように、比較例に係るスイッチングハブ2においては、FDBの同期が取れない場合があり、斯かる場合データベースが不整合な状態になり、スイッチングハブとしての中継動作に支障をきたす場合がある。   Thus, in the switching hub 2 according to the comparative example, the FDB may not be synchronized. In such a case, the database may be in an inconsistent state, which may hinder the relay operation as the switching hub.

[第2の実施の形態]
図9は、本発明の第2の実施の形態に係るスイッチングハブの構成の概要を示す。
[Second Embodiment]
FIG. 9 shows an outline of the configuration of the switching hub according to the second embodiment of the present invention.

第2の実施の形態に係るスイッチングハブは、ラインカード11とフレーム中継経路40との間にポート集約回路90を更に備える点を除き、第1の実施の形態に係るスイッチングハブ1と同一の構成及び機能を備える。したがって、相違点を除き詳細な説明は省略する。   The switching hub according to the second embodiment has the same configuration as that of the switching hub 1 according to the first embodiment, except that a port aggregation circuit 90 is further provided between the line card 11 and the frame relay path 40. And equipped with functions. Therefore, a detailed description is omitted except for differences.

ポート集約回路90は、フレーム中継経路40に接続するポート106と、ラインカード11に接続するポート100及びポート102を有する。ポート集約回路90は、他のラインカードのポート100(すなわち、フレームを送受信するポート)から送信され、フレーム中継経路40を経由してポート106において受信したフレーム(すなわち、通常のユーザーフレーム)については、ポート100にフォワーディング中継する。一方、他のラインカードのポート102(すなわち、学習用フレームを送受信するポート)から送信され、フレーム中継経路40を経由してポート106において受信した学習用フレームについては、ポート102にフォワーディング中継する。   The port aggregation circuit 90 includes a port 106 connected to the frame relay path 40, a port 100 and a port 102 connected to the line card 11. The port aggregation circuit 90 transmits a frame (that is, a normal user frame) transmitted from the port 100 of another line card (that is, a port that transmits and receives frames) and received at the port 106 via the frame relay path 40. , Forward forwarding to port 100. On the other hand, the learning frame transmitted from the port 102 of another line card (that is, the port for transmitting / receiving the learning frame) and received at the port 106 via the frame relay path 40 is forwarded to the port 102 for forwarding.

第2の実施の形態に係るスイッチングハブにおいても、送信レート制御回路140は、ポート102から送信される学習用フレームの送信レートを50%に制御することにより、第2の実施の形態に係るスイッチングハブが備える複数の(例えば、3枚の)ラインカードのそれぞれが有するFDB110間で同期をとる学習を実現できる。   Also in the switching hub according to the second embodiment, the transmission rate control circuit 140 controls the transmission rate of the learning frame transmitted from the port 102 to 50%, thereby switching according to the second embodiment. Learning to synchronize between the FDBs 110 included in each of a plurality of (for example, three) line cards included in the hub can be realized.

更に、例えば、ポート106における通信速度が「10」であり、ポート100及びポート102における通信速度が「8」であると仮定した場合、ポート102から送信される学習用フレームの通信速度が「2」を超えないように送信レートを調整することにより通信速度に制限を加えることで、ポート100から送信されるフレームに影響を与えずに、各ラインカードのFDB110間において同期をとった更新を実現することができる。   Further, for example, assuming that the communication speed at the port 106 is “10” and the communication speed at the port 100 and the port 102 is “8”, the communication speed of the learning frame transmitted from the port 102 is “2”. By adjusting the transmission rate so that it does not exceed "", the communication speed is limited, and the FDB 110 of each line card is synchronized and updated without affecting the frame transmitted from the port 100. can do.

ここで、例えば、図7の説明においては学習用フレーム62の送信に要する時間と同一の時間を有するレート制限区間86を設けたが、元の通信速度が「8」の時に通信速度を「2」にするためには、レート制限区間の長さを3倍にすることにより、通信速度を「2」を超えないように制限することができる。   Here, for example, in the description of FIG. 7, the rate limiting section 86 having the same time as the time required for transmission of the learning frame 62 is provided, but when the original communication speed is “8”, the communication speed is set to “2”. In order to achieve "," the communication speed can be limited so as not to exceed "2" by triple the length of the rate limiting section.

以上、本発明の実施の形態を説明したが、上記に記載した実施の形態は特許請求の範囲に係る発明を限定するものではない。また、実施の形態の中で説明した特徴の組合せの全てが発明の課題を解決するための手段に必須であるとは限らない点に留意すべきである。   While the embodiments of the present invention have been described above, the embodiments described above do not limit the invention according to the claims. In addition, it should be noted that not all the combinations of features described in the embodiments are essential to the means for solving the problems of the invention.

1 スイッチングハブ
2 スイッチングハブ
10、20、30 ラインカード
11 ラインカード
12、22、32 ラインカード
40 フレーム中継経路
50a、50b、50c 伝送路
55a、55b、55c 伝送路
60 フレーム
60a 装置内部用一般ヘッダ
60b 領域
60c 領域
62 学習用フレーム
62a 装置内部用高優先ヘッダ
62b 領域
62c 領域
70 カプセル化フレーム
70a 装置内部用一般ヘッダ
70b 領域
70c 領域
72 学習用フレーム
72a 装置内部用高優先ヘッダ
72b 領域
72c 領域
80 先頭
82 末尾
84 先頭
86 フレーム非送信時間
90 ポート集約回路
100、102、104、106 ポート
110 FDB
120 FDBアクセス回路
125、225、325 FDB回路
125a FDBアクセス回路
125b FDB
130 学習用フレーム生成回路
140 送信レート制御回路
142 バッファ
144 バッファ監視回路
146 バッファ読み出し回路
148 カウンタ
150 学習用フレーム学習回路
160、162、210、212、310、312 ポート
170、230、330 回路
200、202、204、300、302、304 ポート
DESCRIPTION OF SYMBOLS 1 Switching hub 2 Switching hub 10, 20, 30 Line card 11 Line card 12, 22, 32 Line card 40 Frame relay path 50a, 50b, 50c Transmission path 55a, 55b, 55c Transmission path 60 Frame 60a General header 60b inside apparatus Area 60c Area 62 Learning frame 62a High-priority header for device internal 62b Region 62c Region 70 Encapsulated frame 70a General header for internal device 70b Region 70c Region 72 Learning frame 72a High-priority header for device internal 72b Region 72c Region 80 First 82 End 84 Start 86 Frame non-transmission time 90 Port aggregation circuit 100, 102, 104, 106 Port 110 FDB
120 FDB access circuit 125, 225, 325 FDB circuit 125a FDB access circuit 125b FDB
130 Learning frame generation circuit 140 Transmission rate control circuit 142 Buffer 144 Buffer monitoring circuit 146 Buffer reading circuit 148 Counter 150 Learning frame learning circuit 160, 162, 210, 212, 310, 312 Ports 170, 230, 330 Circuits 200, 202 204, 300, 302, 304 ports

Claims (8)

複数のポートを有する複数のラインカードと、前記複数のラインカード間でフレームを中継するフレーム中継経路とを備えるスイッチングハブであって、
前記複数のラインカードはそれぞれ、
少なくとも前記フレームに含まれるMACアドレスを登録内容として格納するフォワーディングデータベース(FDB)と、
前記FDBに格納されている前記登録内容が変更された場合に、前記フレームに含まれる情報の一部を含む学習用フレームを生成する学習用フレーム生成部と、
前記学習用フレームの前記フレーム中継経路への送信レートを制御して前記学習用フレームを他のラインカードに送信する送信レート制御部と、
前記フレーム中継経路を介して前記他のラインカードから受け取った学習用フレームに基づいて、前記FDBの前記登録内容を変更する学習用フレーム学習部と
を備えるスイッチングハブ。
A switching hub comprising a plurality of line cards having a plurality of ports, and a frame relay path for relaying frames between the plurality of line cards,
Each of the plurality of line cards is
A forwarding database (FDB) that stores at least a MAC address included in the frame as registration content;
A learning frame generating unit that generates a learning frame including a part of information included in the frame when the registered content stored in the FDB is changed;
A transmission rate control unit for controlling the transmission rate of the learning frame to the frame relay path and transmitting the learning frame to another line card;
A switching hub comprising: a learning frame learning unit that changes the registered content of the FDB based on a learning frame received from the other line card via the frame relay path.
前記FDBにアクセスするFDBアクセス部
を更に備え、
前記送信レート制御部は、
前記学習用フレーム生成部が生成した前記学習用フレームを予め定められた期間、格納するバッファと、
前記バッファに格納されている前記学習用フレームの格納量を監視するバッファ監視部とを有し、
前記バッファ監視部は、前記バッファに格納されている前記学習フレームの前記格納量が予め定められた格納量を超えた場合、前記FDBアクセス部に前記FDBの前記登録内容の変更を停止させるレート制御情報を供給し、
前記FDBアクセス部は、前記FDBの前記登録内容の変更を停止させる請求項1に記載のスイッチングハブ。
An FDB access unit for accessing the FDB;
The transmission rate control unit
A buffer for storing the learning frame generated by the learning frame generation unit for a predetermined period;
A buffer monitoring unit that monitors a storage amount of the learning frame stored in the buffer;
The buffer monitoring unit causes the FDB access unit to stop changing the registered contents of the FDB when the storage amount of the learning frame stored in the buffer exceeds a predetermined storage amount. Supply information,
The switching hub according to claim 1, wherein the FDB access unit stops changing the registered content of the FDB.
前記学習用フレーム生成部は、生成する前記学習用フレームに前記フレームより優先的に中継することを指示する優先情報を付加する請求項2に記載のスイッチングハブ。   The switching hub according to claim 2, wherein the learning frame generation unit adds priority information instructing to relay the learning frame to be generated with higher priority than the frame. 前記送信レート制御部は、
前記バッファから前記学習用フレームを読み出して前記フレーム中継経路に供給するバッファ読み出し部と、
前記バッファ読み出し部が前記バッファから前記学習用フレームを読み出す間隔を格納するカウンタとを有する請求項3に記載のスイッチングハブ。
The transmission rate control unit
A buffer read unit that reads the learning frame from the buffer and supplies the frame to the frame relay path;
The switching hub according to claim 3, further comprising: a counter that stores an interval at which the buffer reading unit reads the learning frame from the buffer.
フレームに含まれる情報を登録内容として格納するフォワーディングデータベース(FDB)と、複数のポートとを有する複数のラインカードと、前記複数のラインカード間でフレームを中継するフレーム中継経路とを備えるスイッチングハブでのFDBの同期方法であって、
前記FDBに格納されている前記登録内容が変更された場合に、前記フレームに含まれる情報の一部を含む学習用フレームを生成する学習用フレーム生成段階と、
前記学習用フレームの前記フレーム中継経路への送信レートを制御して前記学習用フレームを他のラインカードに送信する送信レート制御段階と、
前記フレーム中継経路を介して前記他のラインカードから受け取った学習用フレームに基づいて、前記FDBの前記登録内容を変更する学習用フレーム学習段階と
を備えるFDBの同期方法。
A switching hub comprising a forwarding database (FDB) for storing information contained in a frame as registered contents, a plurality of line cards having a plurality of ports, and a frame relay path for relaying frames between the plurality of line cards. The FDB synchronization method of
A learning frame generation stage for generating a learning frame including a part of information included in the frame when the registered content stored in the FDB is changed;
A transmission rate control step of controlling the transmission rate of the learning frame to the frame relay path and transmitting the learning frame to another line card;
A learning frame learning method comprising: a learning frame learning step of changing the registered content of the FDB based on a learning frame received from the other line card via the frame relay path.
前記複数のラインカードのそれぞれは、前記学習用フレームを予め定められた期間、格納するバッファと、前記FDBにアクセスするFDBアクセス部とを有しており、
前記FDBの前記登録内容の変更を停止する変更停止段階
を更に備え、
前記送信レート制御段階は、
前記バッファに格納されている前記学習用フレームの格納量を監視し、前記バッファに格納されている前記学習フレームの前記格納量が予め定められた格納量を超えた場合、前記FDBの前記登録内容の変更を停止させるレート制御情報を前記FDBアクセス部に供給するバッファ監視段階を有し、
前記変更停止段階は、前記レート制御情報に基づいて前記FDBアクセス部が前記FDBの前記登録内容を変更することを停止させる請求項5に記載のFDBの同期方法。
Each of the plurality of line cards includes a buffer for storing the learning frame for a predetermined period, and an FDB access unit for accessing the FDB.
A change stop stage for stopping the change of the registered contents of the FDB;
The transmission rate control step includes:
The storage amount of the learning frame stored in the buffer is monitored, and when the storage amount of the learning frame stored in the buffer exceeds a predetermined storage amount, the registration content of the FDB A buffer monitoring step of supplying rate control information for stopping the change to the FDB access unit;
The FDB synchronization method according to claim 5, wherein in the change stop stage, the FDB access unit stops changing the registered content of the FDB based on the rate control information.
前記学習用フレーム生成段階は、生成する前記学習用フレームに前記フレームより優先的に中継することを指示する優先情報を付加する請求項6に記載のFDBの同期方法。   7. The FDB synchronization method according to claim 6, wherein in the learning frame generation step, priority information instructing relaying with higher priority than the frame is added to the learning frame to be generated. 前記送信レート制御段階は、
前記バッファから前記学習用フレームを読み出して前記フレーム中継経路に供給するバッファ読み出し段階と、
前記バッファ読み出し段階において、前記バッファから前記学習用フレームを読み出す間隔を格納するカウンタ段階とを有する請求項7に記載のFDBの同期方法。
The transmission rate control step includes:
A buffer read step of reading the learning frame from the buffer and supplying the frame to the frame relay path;
8. The FDB synchronization method according to claim 7, further comprising a counter step of storing an interval for reading the learning frame from the buffer in the buffer reading step.
JP2009241151A 2009-10-20 2009-10-20 Switching hub and FDB synchronization method Active JP5267420B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009241151A JP5267420B2 (en) 2009-10-20 2009-10-20 Switching hub and FDB synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009241151A JP5267420B2 (en) 2009-10-20 2009-10-20 Switching hub and FDB synchronization method

Publications (2)

Publication Number Publication Date
JP2011091477A true JP2011091477A (en) 2011-05-06
JP5267420B2 JP5267420B2 (en) 2013-08-21

Family

ID=44109357

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009241151A Active JP5267420B2 (en) 2009-10-20 2009-10-20 Switching hub and FDB synchronization method

Country Status (1)

Country Link
JP (1) JP5267420B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013171832A1 (en) * 2012-05-14 2013-11-21 富士通株式会社 Information processing device, information processing method and program
WO2013180287A1 (en) * 2012-06-01 2013-12-05 日本電気株式会社 Switching system, line card, switch card, fdb learning method, and method and program for mediating fdb learning
US9379986B2 (en) 2013-04-30 2016-06-28 Hitachi Metals, Ltd. Network relay device
US9455936B2 (en) 2013-04-30 2016-09-27 Hitachi Metals, Ltd. Network relay device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003348144A (en) * 2002-05-27 2003-12-05 Matsushita Electric Ind Co Ltd Packet transfer apparatus, packet transfer method, and computer program
JP2004193821A (en) * 2002-12-10 2004-07-08 Fujitsu Ltd Bridge instrument and its address learning method
JP2006050493A (en) * 2004-08-09 2006-02-16 Hitachi Cable Ltd Switching hub
JP2007266850A (en) * 2006-03-28 2007-10-11 Fujitsu Ltd Transmission apparatus
JP2008160467A (en) * 2006-12-22 2008-07-10 Hitachi Cable Ltd Switching hub
JP2009239836A (en) * 2008-03-28 2009-10-15 Hitachi Cable Ltd Switching hub

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003348144A (en) * 2002-05-27 2003-12-05 Matsushita Electric Ind Co Ltd Packet transfer apparatus, packet transfer method, and computer program
JP2004193821A (en) * 2002-12-10 2004-07-08 Fujitsu Ltd Bridge instrument and its address learning method
JP2006050493A (en) * 2004-08-09 2006-02-16 Hitachi Cable Ltd Switching hub
JP2007266850A (en) * 2006-03-28 2007-10-11 Fujitsu Ltd Transmission apparatus
JP2008160467A (en) * 2006-12-22 2008-07-10 Hitachi Cable Ltd Switching hub
JP2009239836A (en) * 2008-03-28 2009-10-15 Hitachi Cable Ltd Switching hub

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013171832A1 (en) * 2012-05-14 2013-11-21 富士通株式会社 Information processing device, information processing method and program
JPWO2013171832A1 (en) * 2012-05-14 2016-01-07 富士通株式会社 Information processing apparatus, information processing method, and program
US9690744B2 (en) 2012-05-14 2017-06-27 Fujitsu Limited Information processing apparatus and method for hot plug
WO2013180287A1 (en) * 2012-06-01 2013-12-05 日本電気株式会社 Switching system, line card, switch card, fdb learning method, and method and program for mediating fdb learning
JPWO2013180287A1 (en) * 2012-06-01 2016-01-21 日本電気株式会社 Switching system, line card, switch card, FDB learning method, FDB learning arbitration method, and program
US9792559B2 (en) 2012-06-01 2017-10-17 Nec Corporation Switching system, line card, switch card, FDB learning method, FDB learning arbitration method and program
US9379986B2 (en) 2013-04-30 2016-06-28 Hitachi Metals, Ltd. Network relay device
US9455936B2 (en) 2013-04-30 2016-09-27 Hitachi Metals, Ltd. Network relay device

Also Published As

Publication number Publication date
JP5267420B2 (en) 2013-08-21

Similar Documents

Publication Publication Date Title
CN112769587B (en) Forwarding method, equipment and storage medium for access traffic of dual homing device
US7729296B1 (en) Distributed BPDU processing for spanning tree protocols
US6807172B1 (en) Method and apparatus for learning and switching frames in a distributed network switch
US7929427B2 (en) Ring rapid spanning tree protocol
CA2459286C (en) Method for supporting sdh/sonet aps on ethernet
US9306845B2 (en) Communication system and network relay device
EP2533475B1 (en) Method and system for host route reachability in packet transport network access ring
US8462795B2 (en) Method and device for transmitting control message based on multi-ring ethernet
US8699380B2 (en) Port table flushing in ethernet networks
US10965604B2 (en) Deadlock avoidance in leaf-spine networks
US7609655B2 (en) Facilitating topology change functionality when regional root information changes
US20130003729A1 (en) Clearing forwarding entries dynamically and ensuring consistency of tables across ethernet fabric switch
JP5267420B2 (en) Switching hub and FDB synchronization method
EP1672847B1 (en) Ring rapid spanning tree protocol
US11398875B2 (en) Simplified synchronized ethernet implementation
CN106533771B (en) Network equipment and control information transmission method
EP1727318B1 (en) Facilitating computation of role and state information for multiple spanning tree instances
JP2004088160A (en) Frame transfer method and node in ethernet (r)
JP2009272906A (en) Message relaying apparatus
CN101572665B (en) IPv6 over IPv4 tunnel switching method and device
CN101645840B (en) Method, system and routing equipment for retransmitting message
KR101442567B1 (en) Seamless network communication method using frame based routing on the ring topology
JP2012191534A (en) Changeover method of layer 3 switch
CN109379234B (en) Message forwarding processing method and system based on Hybrid switch
JP2007124336A (en) Bulk transmission system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120127

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130322

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130409

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130422

R150 Certificate of patent or registration of utility model

Ref document number: 5267420

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111