JP2006074554A - Aging system of address management table - Google Patents

Aging system of address management table Download PDF

Info

Publication number
JP2006074554A
JP2006074554A JP2004256788A JP2004256788A JP2006074554A JP 2006074554 A JP2006074554 A JP 2006074554A JP 2004256788 A JP2004256788 A JP 2004256788A JP 2004256788 A JP2004256788 A JP 2004256788A JP 2006074554 A JP2006074554 A JP 2006074554A
Authority
JP
Japan
Prior art keywords
arrival
absence
management table
frame
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2004256788A
Other languages
Japanese (ja)
Inventor
Osao Touden
長生 嶌田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2004256788A priority Critical patent/JP2006074554A/en
Publication of JP2006074554A publication Critical patent/JP2006074554A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To ease a load of process for aging determination in a Eethernet switch in the aging system of address management table. <P>SOLUTION: The aging system is provided with an address management table 10 registering a transmitting source address of the receiving frame and a receiving port number corresponding to the entry number and an arrival management unit 11 provided with an arrival management table including an arrival data storing unit for each period of many number of bits corresponding to the entry number. The arrival management unit 11 is constituted to set to the arriving state, when the transmitting source address within the frame when the frame arrives is registered to the address management table 10, the least significant bit in the arrival data storing unit of each period corresponding to the relevant entry number, shift the arrival data of each period for each management period to the left side by one bit, and to conduct the aging by determining the entry number where the number of bits as many as multiple of the management period corresponding to the aging time are all in the non-arriving state to the frame from the least significant bit. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は,IEEEイーサネット(Ethernet:登録商標)フレームを多重またはスイッチングする通信システムにおけるアドレス管理テーブルのエージング方式に関する。   The present invention relates to an aging method of an address management table in a communication system that multiplexes or switches IEEE Ethernet (registered trademark) frames.

近年,広帯域と高信頼性を有するコア網(ISP(Internet Service Provider) ,VPN(Virtual Private Network ) ,CDN(Contents Distribution Network: 動画等のコンテンツを提供する網) 等を構成する網や,これらと接続する網)は,SDH(Synchronous Digital Hierarchy:ディジタル同期網) やATM(Asynchronous Transfer Mode:非同期転送モード) 技術が主に用いられてきた。   In recent years, a network that constitutes a core network (ISP (Internet Service Provider), VPN (Virtual Private Network), CDN (Contents Distribution Network: a network that provides contents such as videos)) having a wide bandwidth and high reliability, SDH (Synchronous Digital Hierarchy: Digital Synchronous Network) and ATM (Asynchronous Transfer Mode) technologies have been mainly used as the network to be connected.

ところが,LANの世界的な急速な普及により,イーサネットスイッチを始めとするLAN機器が急速に安価に提供されるようになった。また,大規模な企業ユーザを含む,大多数のエンドユーザが,イーサネットを利用したLANを使用しているため,アクセス網やコア網にも安価にネットワークを構築できるイーサネット利用のサービスが普及してきた。   However, with the rapid spread of LAN worldwide, LAN devices such as Ethernet switches have been rapidly provided at low cost. In addition, since a large number of end users, including large-scale corporate users, use LANs that use Ethernet, Ethernet-based services that can build networks at low cost in access networks and core networks have become widespread. .

イーサネット技術をベースにした通信サービスの全体構成を図5に示す。図中,80はユーザ網であり,81A〜81Cはユーザ,82はFTTH/B/C(Fiber To The Home,Bulding/Curb)やONU(Optical Network Unit)またはDSU(Digital Service Unit)等の各ユニット83を収容したアクセス網,83はユニット,84はイーサネットのフォーマットのフレームのヘッダに含まれたMAC(Media Access Control) アドレスに基づいてフレームのスイッチングを行うスイッチ(イーサネット技術を使用するエッジスイッチ,コアスイッチまたはLANスイッチ等の各種のスイッチ),85はコア網を表し,86−1はISPが設けられたコア網,86−2はVPNを構成するコア網,86−3はCDN(Contents Distribution Network)が設けられたコア網である。   FIG. 5 shows the overall configuration of a communication service based on Ethernet technology. In the figure, 80 is a user network, 81A to 81C are users, 82 is FTTH / B / C (Fiber To The Home, Bulking / Curb), ONU (Optical Network Unit), DSU (Digital Service Unit), etc. An access network that accommodates the unit 83, 83 is a unit, 84 is a switch that switches frames based on a MAC (Media Access Control) address included in the header of an Ethernet format frame (an edge switch that uses Ethernet technology, 85 represents a core network, 86-1 represents a core network provided with an ISP, 86-2 represents a core network constituting a VPN, and 86-3 represents a CDN (Contents Distribution). Network) is a core network.

図6はイーサネットフレームの各種のフォーマットを示す。図6には,複数の種類のフレーム構成を示し,a.はイーサネットII(DIX),b.はイーサネット802.3 (RAW),c.はイーサネット802.3 (LLC:Logical Link Control),d.はイーサネット802.3 (LLC+SNAP(Sub-Network Access Protocol)) の各規格に対応する。図中,PAは8バイトのプリアンブルで,同期確立のために使用する特定の信号ビット列である。SFD(1バイト=8ビット)は特定パターンのスタート・フレーム・デリミタである。DA(Destination Address)は宛先アドレス(6バイト),SA(Source Address)は送信元アドレス(6バイト),TPID(Tag Protocol IDentifier) はタグプロトコル識別子,TCI(Tag Control Identifier)はタグ制御情報,Lengthはデータ部の長さ(パディングを除く)を表し,Dataは上位プロトコルのデータ,PAD(Padding) はデータが最小フレーム長に達しないときに付加して調整するバイト,DSAP(Destination Service Access Point)は宛先上位層プロトコル識別子,SSAP(Source Service Access Point) は送信元上位層プロトコル識別子,Ctrl(Control) は制御を表し,OUI(Organizationally Unique Identifier)は管理組織識別子,PID(Protocol IDentifier) はプロトコル識別子,FCS(Frame Check Sequence)はフレーム検査シーケンスである。以下の説明では,これらのa.〜d.のフレームだけでなく,IEEE802.3 で規定されるVLANタグや,ユーザが独自に定めたタグを付与したフレームも,イーサネットフレームに含まれる。   FIG. 6 shows various formats of the Ethernet frame. FIG. 6 shows a plurality of types of frame configurations, and a. Is Ethernet II (DIX), b. Is Ethernet 802.3 (RAW), c. Is Ethernet 802.3 (LLC: Logical Link Control), d. Corresponds to Ethernet 802.3 (LLC + SNAP (Sub-Network Access Protocol)) standards. In the figure, PA is an 8-byte preamble, which is a specific signal bit string used for establishing synchronization. SFD (1 byte = 8 bits) is a start frame delimiter of a specific pattern. DA (Destination Address) is the destination address (6 bytes), SA (Source Address) is the source address (6 bytes), TPID (Tag Protocol IDentifier) is the tag protocol identifier, TCI (Tag Control Identifier) is the tag control information, Length Represents the length of the data part (excluding padding), Data is data of the upper protocol, PAD (Padding) is a byte to be added and adjusted when the data does not reach the minimum frame length, DSAP (Destination Service Access Point) Is a destination upper layer protocol identifier, SSAP (Source Service Access Point) is a source upper layer protocol identifier, Ctrl (Control) is control, OUI (Organizationally Unique Identifier) is a management organization identifier, and PID (Protocol IDentifier) is a protocol identifier. , FCS (Frame Check Sequence) is a frame check sequence. In the following description, these a. ~ D. In addition to the above frame, a VLAN tag specified by IEEE 802.3 and a frame to which a tag uniquely defined by the user is added are also included in the Ethernet frame.

イーサネットスイッチでは,IEEE802.1Dのブリッジ機能(MACブリッジと呼ばれる)に準拠したイーサネットフレームの宛先アドレス(DA)に基づいて転送方路を決定する。スイッチは学習機能を持つアドレステーブルを備え,MACアドレスである送信元アドレス(SA:Source Address)とフレームが到着したポート番号を表す送信元ポート(SP:Source Port))とを関係付ける構成を備える。   In the Ethernet switch, a transfer route is determined based on a destination address (DA) of an Ethernet frame compliant with the IEEE802.1D bridge function (referred to as a MAC bridge). The switch has an address table having a learning function, and has a configuration for associating a source address (SA) that is a MAC address with a source port (SP: Source Port) that represents a port number at which a frame arrives. .

図7はスイッチとアドレス管理テーブルの説明図である。図中,84はポートA,B,C,Dを備えるスイッチ,840はアドレス管理テーブルであり,先頭にMACアドレスである送信元アドレス(SA),次にその送信元ポート番号(SP),更に当該送信元アドレスと送信元ポート番号を持つフレームの最終到着時刻が登録される。初期状態ではこのアドレス管理テーブルには何も設定されていないが,例えば,ポートAに送信元アドレス(SA)を「Y」とし,宛先アドレス(DA)を「X」とするフレームが到着すると,スイッチ84ではアドレス管理テーブル840を検索するが,フレームに設定された宛先アドレス(DA)が検出できないため未学習フレームとして扱う。   FIG. 7 is an explanatory diagram of a switch and an address management table. In the figure, 84 is a switch having ports A, B, C, and D, 840 is an address management table, the source address (SA) that is the MAC address at the head, the source port number (SP), and the The last arrival time of the frame having the transmission source address and the transmission source port number is registered. In the initial state, nothing is set in this address management table. For example, when a frame having a source address (SA) “Y” and a destination address (DA) “X” arrives at port A, The switch 84 searches the address management table 840, but treats it as an unlearned frame because the destination address (DA) set in the frame cannot be detected.

未学習フレーム到着時には,スイッチ84でアドレス管理テーブル840の中に送信元アドレス(MACアドレス「Y」)と送信元ポート番号(「A」)を新規登録すると共に,時刻をそのフレーム最終到着時刻である「T1」に設定し,受信フレームをフラッディング(フレームをスイッチの全ポートにコピーして転送)する。これに対して,特定のポート(ポートCとする)の先に接続されたフレームの宛先(MACアドレス「X」)に対応する相手装置が応答し,フレームを送信するとスイッチ84はこのフレームをポートCにて受信し,アドレス管理テーブル840に送信元のアドレス「X」,ポート番号「C」を新規登録し,以後のMACアドレス「X」を宛先アドレス(DA)とするフレームはポート番号「C」に出力するようスイッチにおいて利用される。   When an unlearned frame arrives, the switch 84 newly registers the transmission source address (MAC address “Y”) and transmission source port number (“A”) in the address management table 840 and sets the time as the final arrival time of the frame. It is set to a certain “T1”, and the received frame is flooded (the frame is copied to all ports of the switch and transferred). On the other hand, when the counterpart device corresponding to the destination (MAC address “X”) of the frame connected ahead of a specific port (port C) responds and transmits the frame, the switch 84 sends the frame to the port. The frame received by C and newly registering the transmission source address “X” and the port number “C” in the address management table 840 and the subsequent MAC address “X” as the destination address (DA) is the port number “C”. Is used in the switch.

また,アドレス管理テーブルに登録済であっても,一定期間(エージング時間)到着しない送信元アドレスはアドレス管理テーブルから削除する。なお,エージング時間としては,例えば8分という時間を用いることができる。   Further, even if registered in the address management table, a source address that does not arrive for a certain period (aging time) is deleted from the address management table. As the aging time, for example, a time of 8 minutes can be used.

図8は従来のエージング方式の説明図である。図中,840はエントリ番号(No),送信元アドレス(MACアドレス),送信元ポート番号(Port番号),最終到着時刻(LAT:Last Arrival Time)の各項目からなるアドレス管理テーブル,841は現在時刻を発生する装置クロック,842はエージング処理部である。   FIG. 8 is an explanatory diagram of a conventional aging method. In the figure, reference numeral 840 denotes an entry management number (No), a transmission source address (MAC address), a transmission source port number (Port number), and an address management table including items of a last arrival time (LAT), and 841 denotes a current item. A device clock 842 for generating time is an aging processing unit.

従来のイーサネットスイッチでは,図8のエージング処理部842におけるハードウェアまたはソフトウェアの処理によってアドレス管理テーブル内の最終到着時刻(LAT)を個別に管理している。すなわち,エージング処理部842は,各エントリ(番号a,b,c,……)毎に,対応する最終到着時刻LAT(a),LAT(b),……を抽出して,次の演算を含む判断を一定時間毎に行う。   In the conventional Ethernet switch, the last arrival time (LAT) in the address management table is individually managed by hardware or software processing in the aging processing unit 842 in FIG. That is, the aging processing unit 842 extracts the corresponding last arrival times LAT (a), LAT (b),... For each entry (numbers a, b, c,...), And performs the next calculation. Judgment is made at regular intervals.

最終到着時刻+エージング時間≦現在時刻
これに該当するエントリ,すなわち,最終到着時刻からエージング時間が経過したエントリを検出すると,そのエントリのデータをアドレス管理テーブルから削除する。
Last arrival time + aging time ≦ current time When an entry corresponding to this, that is, an entry whose aging time has elapsed from the last arrival time is detected, the data of the entry is deleted from the address management table.

従来のスイッチングハブの技術に関して,各エントリ毎に送信元MACアドレスに対応するポート番号を登録時間と共に登録したフィルタリングテーブルのエージング時間を可変にする技術(特許文献1参照)が知られている。また,LANスイッチングハブ装置に設けたブリッジテーブルの登録時間をアクセス頻度に応じて可変に制御することにより処理負担を軽減する技術(特許文献2参照)が存在する。
特開2000−196643号公報 特許第3259672号公報
As a conventional switching hub technology, there is known a technology for changing the aging time of a filtering table in which a port number corresponding to a source MAC address is registered together with a registration time for each entry (see Patent Document 1). In addition, there is a technique (see Patent Document 2) that reduces the processing load by variably controlling the registration time of the bridge table provided in the LAN switching hub device according to the access frequency.
JP 2000-196643 A Japanese Patent No. 3259672

従来の方式では,エージング判定をエントリ毎に加算処理と比較処理とを組み合わせて行っていたため,ハードウェアで実現すると回路規模が大きくなり,ソフトウェアで実現すると演算負荷が重くなるという問題があった。これに関して,上記特許文献1及び特許文献2の技術では,エージング判定を行う周期を可変に設定するものであり,エージング判定の処理自体を効率的に行うものではない。   In the conventional method, since the aging determination is performed by combining the addition process and the comparison process for each entry, there is a problem that the circuit scale becomes large when realized by hardware and the calculation load becomes heavy when realized by software. In this regard, in the techniques of Patent Document 1 and Patent Document 2 described above, the cycle for performing the aging determination is variably set, and the aging determination process itself is not performed efficiently.

本発明はイーサネットスイッチにおいてエージング判定の処理の負担を軽減することができるアドレス管理テーブルのエージング方式を提供することを目的とする。   An object of the present invention is to provide an address management table aging method capable of reducing the load of aging determination processing in an Ethernet switch.

図1は本発明の原理構成を示す。図中,10〜13は本発明によるイーサネットフレームを用いた通信システムを構成する各部を表し,10はMACアドレスを管理するアドレス管理テーブルであり,エントリ番号(No.で表す)のa,b,c,…に対応して,送信元アドレス(ソースアドレスという場合もある:SA)及びフレームが着信したポート番号(ソースポートという場合もある:SP)とが登録される。11は本発明により設けられた到着有無管理部,110は各エントリ番号を格納するエントリ番号格納部110aと各エントリ番号に対応してそれぞれ(n+1)ビットからなる周期毎到着有無データ格納部110bとで構成される到着有無管理テーブルである。12は管理周期の時間毎に割り込みを行う装置クロック,13はエージング処理部である。   FIG. 1 shows the principle configuration of the present invention. In the figure, reference numerals 10 to 13 denote parts constituting a communication system using an Ethernet frame according to the present invention, and 10 denotes an address management table for managing MAC addresses, and entry numbers (represented by No.) a, b, Corresponding to c,..., a transmission source address (also referred to as a source address: SA) and a port number at which a frame arrives (also referred to as a source port: SP) are registered. 11 is an arrival presence / absence management unit provided by the present invention, 110 is an entry number storage unit 110a for storing each entry number, and a period-by-cycle arrival presence / absence data storage unit 110b having (n + 1) bits corresponding to each entry number. It is the arrival presence management table comprised by these. Reference numeral 12 denotes a device clock for interrupting every management cycle, and 13 denotes an aging processing unit.

アドレス管理テーブル10の各エントリ番号に対応する周期毎到着有無データ格納部110bは(n+1)ビットのデータで構成され,一定の管理周期(T)内に当該エントリ番号の送信元アドレス(SA)と送信元ポート(SP)を持つフレームが到着した場合,周期毎到着有無データ格納部110bの該当エントリの最下位(右端)ビットに“1”が立てられる。この最下位ビット(右端のビット)が最近の管理周期内(T0で表す)のフレーム到着の有無を表し,最下位ビットの左側のビットはその1周期前(T1で表す)のフレーム到着の有無を表し,左端の最上位ビット(nビット)はn周期前(Tnで表す)のフレーム到着の有無を表す。   The arrival / absence data storage unit 110b for each period corresponding to each entry number in the address management table 10 is composed of (n + 1) bits of data, and within a certain management period (T), the transmission source address (SA) of the entry number. When a frame having a transmission source port (SP) arrives, “1” is set to the least significant (right end) bit of the corresponding entry in the period arrival / absence presence / absence data storage unit 110b. This least significant bit (rightmost bit) indicates whether or not a frame has arrived in the latest management cycle (represented by T0), and the left bit of the least significant bit indicates whether or not a frame has arrived one cycle before (represented by T1) The most significant bit (n bits) at the left end indicates whether or not a frame has arrived n cycles before (represented by Tn).

アドレス管理テーブル10は最初はリセットされた状態であり,フレームが到着することにより,エントリ番号に対応して送信元MACアドレスとそのフレームが着信したポート番号とを登録する。到着有無管理部11は,フレーム到着があると,到着したフレームの送信元MACアドレスがアドレス管理テーブル10の「MACアドレス」に一致するエントリがあるかを検索,判定する。一致するエントリがない場合は新たなエントリとして着信ポートと共にアドレス管理テーブル10に登録する。そして,アドレス管理テーブル10の前記エントリ番号に対応した周期毎到着有無データ格納部110bの(n+1)ビットの中の最新ビット(右端のビット)をフレームの到着を表す“1”に設定する。装置クロック12からの一定の管理周期(t)毎に割り込みが発生すると,全エントリ番号に対応するビット列を左側に1ビットシフトして,最新のビットには“0”を設定する。また,各管理周期毎に,アドレス管理テーブル10のエージング時間を上記一定の管理周期(t)のm倍(mt)とすると,周期毎到着有無データ格納部110bの最下位ビットを含むmビット(右端からmビット)が全て“0”(フレーム受信がない)であるかを識別する。全て“0”であるエントリ番号は,エージング処理部13に通知され,エージング処理部13はアドレス管理テーブル10の対応するエントリ番号のデータ(送信元アドレスと送信元ポート)の削除(または無効化)を指示する。   The address management table 10 is initially in a reset state, and when the frame arrives, the source MAC address and the port number at which the frame has arrived are registered corresponding to the entry number. When there is a frame arrival, the arrival presence / absence management unit 11 searches and determines whether there is an entry in which the transmission source MAC address of the arrived frame matches the “MAC address” in the address management table 10. If there is no matching entry, it is registered in the address management table 10 together with the incoming port as a new entry. Then, the latest bit (rightmost bit) in the (n + 1) bits of the period arrival arrival presence / absence data storage unit 110b corresponding to the entry number in the address management table 10 is set to “1” indicating the arrival of the frame. When an interrupt occurs every fixed management period (t) from the device clock 12, the bit string corresponding to all the entry numbers is shifted to the left by 1 bit, and the latest bit is set to “0”. Further, if the aging time of the address management table 10 is set to m times (mt) of the fixed management cycle (t) for each management cycle, m bits including the least significant bit of the arrival / absence data storage unit 110b for each cycle ( Whether m bits from the right end) are all “0” (no frame received) is identified. The entry numbers that are all “0” are notified to the aging processing unit 13, and the aging processing unit 13 deletes (or invalidates) the data (source address and source port) of the corresponding entry number in the address management table 10. Instruct.

本発明によれば,イーサネットフレームを多重またはスイッチングする通信システムにおいて,MACアドレスを管理するアドレス管理テーブルの各エントリのエージング処理において,エントリ毎に一定周期内の到着有無を記録する到着有無管理データを保持することで,各エントリのエージング処理実行の有無を判断する際に,各エントリ毎に到着有無管理データの最下位ビットからのエージング時間に対応する0の連続数を数えるだけで判断することができ,ハードウェア/ソフトウェアのどちらでの実現も容易になった。   According to the present invention, in a communication system that multiplexes or switches Ethernet frames, in the aging process of each entry in the address management table for managing the MAC address, arrival presence / absence management data that records the arrival / absence within a certain period for each entry is stored. By holding, when determining whether or not the aging process is executed for each entry, it is possible to determine for each entry only by counting the number of consecutive 0s corresponding to the aging time from the least significant bit of the arrival / absence management data. It has become easy to implement in both hardware and software.

図2は実施例1の構成を示す図である。図中,20〜23は上記図1の符号10〜13に対応し,20はMACアドレスを管理するアドレス管理テーブル,20aはエントリ番号(Entry No. で表示,0,1,2,…4095番まである),20bはエントリが使用中か未使用であるかを表す使用/未使用表示ビット,20cはMACアドレスである送信元アドレス(ソースアドレス:SA),20dは送信元のポート(Port) 番号(ソースポート:SP)番号を表す。21は到着有無管理部であり,210は到着有無管理部に設けられた到着有無管理テーブルであり,210aはエントリ番号格納部,210bは16ビットからなる周期毎到着有無データ格納部,210cは当該エントリ番号の領域が使用中か未使用であるかを表す使用/未使用表示ビットである。22は装置クロック,23はエージング処理部,24はフレーム入力処理部,25はフレーム中継処理部,26はフレーム出力処理部である。   FIG. 2 is a diagram illustrating the configuration of the first embodiment. In the figure, 20 to 23 correspond to reference numerals 10 to 13 in FIG. 1, 20 is an address management table for managing MAC addresses, 20a is an entry number (indicated by Entry No., 0, 1, 2,..., 4095) 20b is a used / unused indication bit indicating whether the entry is in use or unused, 20c is a source address (source address: SA) that is a MAC address, and 20d is a source port (Port). This represents a number (source port: SP) number. 21 is an arrival presence / absence management unit, 210 is an arrival presence / absence management table provided in the arrival presence / absence management unit, 210a is an entry number storage unit, 210b is a 16-bit period arrival / absence presence / absence data storage unit, and 210c is This is a used / unused display bit indicating whether the entry number area is in use or unused. 22 is an apparatus clock, 23 is an aging processing unit, 24 is a frame input processing unit, 25 is a frame relay processing unit, and 26 is a frame output processing unit.

この実施例1の構成では,アドレス管理テーブル20と到着有無管理部21内の到着有無管理テーブル210のそれぞれに使用/未使用表示ビット20b及び210cを設けることにより,それぞれのデータ格納領域に未使用領域(使用/未使用表示ビットが“0”)があるかの判別と,空き領域への新規登録が簡単に行うことができる。   In the configuration of the first embodiment, the used / unused display bits 20b and 210c are provided in the address management table 20 and the arrival presence / absence management table 210 in the arrival presence / absence management unit 21, respectively, so that they are not used in the respective data storage areas. It is possible to easily determine whether there is an area (used / unused display bit is “0”) and to newly register a free area.

アドレス管理テーブル20の各エントリ番号に対応して到着有無管理テーブル210のエントリ番号に対して16ビットの周期毎到着有無データが設けられ,エントリ数は4096(0〜4095),一定の管理周期を1分,エージング時間を8分とする。   Corresponding to each entry number in the address management table 20, arrival information for each cycle of 16 bits is provided for the entry number in the arrival presence management table 210, the number of entries is 4096 (0 to 4095), and a certain management cycle is set. 1 minute and aging time is 8 minutes.

装置初期化において(1) 〜(5) の処理が実行される。
(1) 装置を起動する。
(2) 装置クロック22に現在時刻を設定する。
(3) アドレス管理テーブル20を初期化する。この場合,全エントリに対して,使用/未使用表示ビット20bに“0”(無効状態)を書き込む。
(4) 周期毎到着有無データ格納部210bの全エントリに対してオール“1”を書き込む。
(5) 到着フレームの入力処理を開始する。
In the device initialization, the processes (1) to (5) are executed.
(1) Start the device.
(2) Set the current time in the device clock 22.
(3) The address management table 20 is initialized. In this case, “0” (invalid state) is written in the used / unused display bit 20b for all entries.
(4) All “1” is written to all entries in the arrival / absence data storage unit 210b for each period.
(5) The input process of the arrival frame is started.

フレーム到着毎の処理
実施例1では,フレーム到着毎にフレーム入力処理部24,フレーム中継処理部25及びフレーム出力処理部26において次のような処理が実行される。
Processing for Each Frame Arrival In the first embodiment, the following processing is executed in the frame input processing unit 24, the frame relay processing unit 25, and the frame output processing unit 26 for each frame arrival.

フレーム到着毎にフレーム入力処理部24は次の(1) 〜(3) の処理を行う。
(1) 到着フレームの送信元アドレス(ソースアドレス:SA)と送信元ポート(ソースポート:SP)を抽出する。
(2) アドレス管理テーブル20のMACアドレスに到着フレームの送信元アドレスをサーチする。
Each time a frame arrives, the frame input processing unit 24 performs the following processes (1) to (3).
(1) Extract the source address (source address: SA) and source port (source port: SP) of the arrival frame.
(2) The source address of the arrival frame is searched for the MAC address of the address management table 20.

(a) 送信元アドレスがアドレス管理テーブル20に未登録で且つ,空きエントリ(使用/未使用表示ビットが“0”)が存在する場合,新規にMACアドレスを送信元アドレスとして登録し,該当する周期毎到着有無データ格納部210bの最下位ビットに“1”を書き込む。     (a) If the transmission source address is not registered in the address management table 20 and there is an empty entry (used / unused display bit is “0”), a new MAC address is registered as the transmission source address, and the corresponding “1” is written in the least significant bit of the arrival / absence data storage unit 210b for each period.

アドレス登録方法は,アドレス管理テーブル20の空きエントリの使用/未使用表示ビット20d=“1”に設定し,MACアドレス=到着フレームのソースアドレス(SA),ポート番号=到着フレームのソースポート(SP)を書き込む。   As the address registration method, the used / unused display bit 20d of the free entry in the address management table 20 is set to “1”, the MAC address = the source address of the arrival frame (SA), and the port number = the source port of the arrival frame (SP ) Is written.

(b) 送信元アドレスが未登録で且つ,空きエントリ(使用/未使用表示ビットが“0”)が存在しない場合,新規MACアドレスは登録せず,無視される。     (b) If the source address is not registered and there is no empty entry (used / unused indication bit is “0”), the new MAC address is not registered and is ignored.

(c) 送信元アドレスが新規到着ソースポートと同じ組み合わせで登録済みの場合,到着有無管理テーブル210の該当エントリの最下位ビットに“1”を書き込む。     (c) When the transmission source address has been registered in the same combination as the new arrival source port, “1” is written in the least significant bit of the corresponding entry in the arrival presence / absence management table 210.

(d) 送信元アドレスが新規到着ソースポートと異なる組み合わせで登録済の場合,アドレス管理テーブルの該当エントリのソースポートを新規到着ソースポート番号に書き換える。到着有無管理テーブル210の該当エントリをオール“1”で初期化する。     (d) If the source address has already been registered with a combination different from the new arrival source port, the source port of the corresponding entry in the address management table is rewritten with the new arrival source port number. The corresponding entry in the arrival presence / absence management table 210 is initialized with all “1”.

(3) 到着フレームをフレーム中継処理部25へ渡す。   (3) The arrival frame is transferred to the frame relay processing unit 25.

フレーム到着毎にフレーム中継処理部25は次の(1),(2) の処理を行う。   Each time a frame arrives, the frame relay processing unit 25 performs the following processes (1) and (2).

(1) 到着フレームの宛先アドレス(DA)でアドレス管理テーブル20をサーチする。
(2) アドレス管理テーブル20に該当MACアドレスのエントリが存在(ヒット)すると,該当エントリ内の送信元ポートのフレーム出力処理部26へ転送する。ヒットしない場合,全ポートのフレーム出力処理部26へ転送する。
フレーム到着毎にフレーム出力処理部26は次の(1) の処理を行う。
(1) The address management table 20 is searched with the destination address (DA) of the arrival frame.
(2) When the entry of the corresponding MAC address exists (hits) in the address management table 20, it is transferred to the frame output processing unit 26 of the transmission source port in the corresponding entry. If there is no hit, it is transferred to the frame output processing unit 26 of all ports.
Each time a frame arrives, the frame output processing unit 26 performs the following process (1).

(1) フレーム中継処理部25から受け取ったフレームを伝送路上へ送信する。
実施例1では一定周期(1分)毎に次の(1) 〜(3) の処理を行う。
(1) エージング処理部23は,全エントリ(エントリ番号i,i=0,1,…4095)に対して,到着有無管理テーブル210の周期毎到着有無データ格納部210bの下位8ビット(エージング時間の8分に対応)がオール“0”で,且つ到着有無管理テーブル210の使用/未使用表示ビットが“1”(使用)に該当するエントリ(使用中であったエントリの中で過去8分間にフレームが到着しないもの)を検索する。
(1) The frame received from the frame relay processing unit 25 is transmitted on the transmission path.
In the first embodiment, the following processes (1) to (3) are performed at regular intervals (1 minute).
(1) For all entries (entry numbers i, i = 0, 1,... 4095), the aging processing unit 23 performs the lower 8 bits (aging time) of the arrival / absence presence / absence data storage unit 210b of the arrival / absence presence / absence management table 210. 8), and the use / unused display bit of the arrival / absence management table 210 is “1” (used) (the last 8 minutes among the used entries). Search for frames that do not arrive at

(2) 上記の検索でヒットした各エントリ番号をエージング処理部23に通知し,エージング処理部23からアドレス管理テーブル20の該当エリア番号のデータの削除を指示し,使用/未使用表示ビット210cに“0”(未使用)を書き込む。これにより,管理周期(1分)毎に過去のエージング時間(8分)についてのチェックを行うことができる。   (2) Each entry number hit in the above search is notified to the aging processing unit 23, the aging processing unit 23 instructs to delete the data of the corresponding area number in the address management table 20, and the used / unused display bit 210c is indicated. Write “0” (unused). As a result, the past aging time (8 minutes) can be checked every management cycle (1 minute).

(3) 到着有無管理テーブル210の周期毎到着有無データ格納部210bの16ビット分を1ビット左シフトする。周期毎到着有無データ格納部210bの最下位ビットについては,各エントリの使用/未使用表示ビットの反転値を書き込む。   (3) The 16 bits of the arrival / absence data storage unit 210b for each period in the arrival / absence management table 210 are shifted left by 1 bit. For the least significant bit of the arrival / absence data storage unit 210b for each period, the inverted value of the used / unused display bit of each entry is written.

この実施例1の構成により,アドレス管理テーブル20と到着有無管理テーブル210に対して使用/未使用ビットを設けることで,未使用のエントリ番号を簡単に検出することができる。また,周期毎到着有無データ格納部210bを一定周期(1分)毎に左シフトすることで,各周期内でのフレーム到着の有無を記録し,エージング時間である最近の8分間のフレーム到着の有無を周期毎到着有無データ格納部210bの下位8ビットが全て“0”であるか(最近の8分間にフレームが到着しないことを表す),否か(下位8ビットの中に一つでも“1”が立っているか)をチェックすることにより識別できる。   With the configuration of the first embodiment, an unused entry number can be easily detected by providing used / unused bits for the address management table 20 and the arrival presence / absence management table 210. Further, the arrival / absence data storage unit 210b for each period is shifted to the left every fixed period (1 minute) to record the presence / absence of the arrival of a frame within each period, and the arrival of the latest 8 minutes as the aging time. Whether the lower 8 bits of the arrival / absence arrival / absence data storage unit 210b are all “0” (indicating that the frame has not arrived in the last 8 minutes), or not (at least one of the lower 8 bits is “ It can be identified by checking if 1 ″ is standing.

図3は実施例2の構成を示す。図中,30〜33は上記図1の符号10〜13に対応し,34〜36は上記図2の実施例1の24〜26に対応する。すなわち,30はMACアドレスを管理するアドレス管理テーブル,30aはエントリが使用中か未使用であるかを表す使用/未使用表示ビット,30bはエントリ番号(Entry No. で表示,0,1,2,…4095番まである),30cはMACアドレスである送信元アドレス(ソースアドレス:SA),30dは送信元のポート(Port)番号(ソースポート:SP)を表す。31は到着有無管理部であり,310は到着有無管理部に設けられた到着有無管理テーブルであり,310aはエントリ番号格納部,310bは16ビットからなる第2の周期毎到着有無データ格納部,310cは16ビットからなる第1の周期毎到着有無データ格納部,310dは当該エントリ番号の領域が使用中か未使用であるかを表す使用/未使用表示ビットである。32は装置クロック,33はエージング処理部,34はフレーム入力処理部,35はフレーム中継処理部,36はフレーム出力処理部である。   FIG. 3 shows the configuration of the second embodiment. In the figure, 30 to 33 correspond to reference numerals 10 to 13 in FIG. 1, and 34 to 36 correspond to 24 to 26 in the first embodiment in FIG. That is, 30 is an address management table for managing MAC addresses, 30a is a used / unused display bit indicating whether an entry is in use or unused, 30b is an entry number (displayed as an entry number, 0, 1, 2) ,... Up to 4095), 30c represents a source address (source address: SA) which is a MAC address, and 30d represents a port number (source port: SP) of the source. 31 is an arrival presence / absence management unit, 310 is an arrival presence / absence management table provided in the arrival presence / absence management unit, 310a is an entry number storage unit, 310b is a 16-bit second arrival / absence arrival data storage unit, 310c is a 16-bit first arrival / absence data storage unit for each period, and 310d is a used / unused display bit indicating whether the area of the entry number is in use or unused. 32 is a device clock, 33 is an aging processing unit, 34 is a frame input processing unit, 35 is a frame relay processing unit, and 36 is a frame output processing unit.

この実施例2の構成では,到着有無管理部31内の到着有無管理テーブル310の構成が上記実施例1の到着有無管理テーブル210と相違する。すなわち,周期毎到着有無データが,第1の周期毎到着有無データ格納部310cと第2の周期毎到着有無データ格納部310bとで構成され,第1の周期毎到着有無データ格納部310cは上記実施例1の周期毎到着有無データ格納部210bと同様に一定周期(1分)内にフレームが到着した場合は,エントリ番号に対応する最下位ビットに“1”を設定し,1分の周期毎に左に1ビットシフト(最下位ビットには使用/未使用表示ビットを反転した内容をセット)させる。第1の周期毎到着有無データ格納部310cが1分毎に左にシフトする時,左端(最上位)のビットがオーバフローする。このオーバフローしたビットの内容は,第2の周期毎到着有無データ格納部310bの右端(最下位)のビットに供給され,その内容と論理和(OR)が取られてセットされる。第2の周期毎到着有無データ格納部310bは装置クロック32により16分毎に左に1ビットシフトする。   In the configuration of the second embodiment, the configuration of the arrival presence / absence management table 310 in the arrival presence / absence management unit 31 is different from the arrival presence / absence management table 210 of the first embodiment. That is, the arrival / absence data for each cycle is composed of the first arrival / absence data storage unit 310c for each cycle and the second arrival / absence data storage unit 310b for each cycle. Similar to the arrival / absence data storage unit 210b for each cycle in the first embodiment, when a frame arrives within a certain cycle (1 minute), “1” is set in the least significant bit corresponding to the entry number, and the cycle of 1 minute. Each time one bit is shifted to the left (the least significant bit is set to the inverted contents of the used / unused display bits). When the first cycle arrival / absence data storage unit 310c shifts to the left every minute, the left end (most significant) bit overflows. The contents of the overflowed bits are supplied to the rightmost (least significant) bit of the second period arrival / absence presence / absence data storage unit 310b, and the contents and logical sum (OR) are taken and set. The second period arrival / absence presence / absence data storage unit 310b shifts 1 bit to the left every 16 minutes by the device clock 32.

この実施例2では,アドレス管理テーブル30及び到着有無管理テーブル310のエントリ数は4096,周期は1分,エージング処理部33のエージングタイムを100分とする。   In the second embodiment, the number of entries in the address management table 30 and the arrival presence / absence management table 310 is 4096, the period is 1 minute, and the aging time of the aging processor 33 is 100 minutes.

実施例2の装置初期化の処理
(1) 装置起動
(2) 現在時刻設定
(3) アドレス管理テーブル30の初期化:全エントリに対し,使用/未使用表示ビットに“0”(未使用)を書き込む。
Device initialization processing of the second embodiment
(1) Device startup
(2) Current time setting
(3) Initialization of the address management table 30: “0” (unused) is written to the used / unused display bits for all entries.

(4) 到着有無管理テーブルの初期化:全エントリに対し,第1と第2の周期毎到着有無データ格納部310c,310bにオール“1”を書き込む。   (4) Initialization of arrival / absence management table: All “1” s are written in the first and second arrival / absence data storage units 310c and 310b for each period for all entries.

(5) エージング処理対象かどうか判断するために一定周期毎にチェックする周期毎到着有無データ内のビット数を設定する。監視周期=1分,エージングタイム=100分の場合,次の値になる。   (5) Set the number of bits in the arrival / absence data for each period to be checked at regular intervals to determine whether it is subject to aging processing. When the monitoring cycle is 1 minute and the aging time is 100 minutes, the following values are obtained.

第1の周期毎到着有無データ格納部310cの監視ビット数=MIN(エージングタイム+1,16)=MIN(101,16)=16ビット
第2の周期毎到着有無データ格納部310bの監視ビット数=MIN(小数点以下切捨て(エージングタイム/16),16)=6ビット
(6) 到着フレームの入力処理を開始する。
Number of monitoring bits in first cycle arrival / absence data storage unit 310c = MIN (aging time + 1, 16) = MIN (101, 16) = 16 bits Number of monitoring bits in second cycle arrival / absence data storage unit 310b = MIN (rounded down (aging time / 16), 16) = 6 bits
(6) The input process of the arrival frame is started.

実施例2のフレーム到着毎の処理
実施例2では,フレーム到着毎にフレーム入力処理部34,フレーム中継処理部35及びフレーム出力処理部36において次のような処理が実行される。
Processing for Each Frame Arrival in Embodiment 2 In Embodiment 2, the following processing is executed in the frame input processing unit 34, the frame relay processing unit 35, and the frame output processing unit 36 for each frame arrival.

実施例2のフレーム入力処理部34はフレーム到着毎に次の(1) 〜(3) の処理を行う。   The frame input processing unit 34 according to the second embodiment performs the following processes (1) to (3) every time a frame arrives.

(1) 到着フレームの送信元アドレス(ソースアドレス:SA)と送信元ポート(ソースポート:SP)を抽出する。   (1) Extract the source address (source address: SA) and source port (source port: SP) of the arrival frame.

(2) アドレス管理テーブル30の送信元アドレス(受信フレームのSA)をサーチする。   (2) Search the transmission source address (SA of the received frame) in the address management table 30.

(a) 送信元アドレスがアドレス管理テーブル30に未登録で且つ,空きエントリ(使用/未使用表示ビットが“0”)が存在する場合,新規にMACアドレスを送信元アドレスとして登録し,対応するエントリ番号の第1の周期毎到着有無データ格納部310cの最下位ビットに“1”を書き込む。     (a) If the source address is not registered in the address management table 30 and there is an empty entry (used / unused display bit is “0”), a new MAC address is registered as the source address and “1” is written in the least significant bit of the arrival number data storage unit 310c for each first period of the entry number.

アドレス登録方法は,アドレス管理テーブル30の空きエントリの使用/未使用表示ビット20d=“1”に設定し,MACアドレス=到着フレームのソースアドレス(SA),ポート番号=到着フレームのソースポート(SP)を書き込む。   As an address registration method, the used / unused display bit 20d of the address management table 30 is set to “1”, the MAC address = the source address (SA) of the arrival frame, and the port number = the source port (SP) of the arrival frame. ) Is written.

(b) 送信元アドレスが未登録で且つ,空きエントリ(使用/未使用表示ビットが“0”)が存在しない場合,新規MACアドレスは登録しない。     (b) If the source address is not registered and there is no empty entry (used / unused indication bit is “0”), the new MAC address is not registered.

(c) 送信元アドレスが新規到着フレームのソースポート(SP)と同じ組み合わせで登録済みの場合,到着有無管理テーブル310の該当エントリの最下位ビットに“1”を書き込む。     (c) When the transmission source address has already been registered in the same combination as the source port (SP) of the new arrival frame, “1” is written in the least significant bit of the corresponding entry in the arrival presence / absence management table 310.

(d) 送信元アドレスが新規到着フレームのソースポート(SP)と異なる組み合わせで登録済の場合,アドレス管理テーブル30の該当エントリのソースポートを新規到着ソースポート番号に書き換える。到着有無管理テーブル310の該当エントリをオール“1”で初期化する。     (d) When the transmission source address has been registered with a combination different from the source port (SP) of the new arrival frame, the source port of the corresponding entry in the address management table 30 is rewritten with the new arrival source port number. The corresponding entry in the arrival presence / absence management table 310 is initialized with all “1”.

(3) 到着フレームをフレーム中継処理部35へ渡す。   (3) The arrival frame is transferred to the frame relay processing unit 35.

実施例2のフレーム中継処理部35はフレーム到着毎に次の(1),(2) の処理を行う。   The frame relay processing unit 35 of the second embodiment performs the following processes (1) and (2) every time a frame arrives.

(1) 到着フレームの宛先アドレス(DA)でアドレス管理テーブル30をサーチする。
(2) アドレス管理テーブル30に該当MACアドレスのエントリが存在(ヒット)すると,該当エントリ内のソースポート(送信元ポート)のフレーム出力処理部36へ転送する。ヒットしない場合,全ポートのフレーム出力処理部36へ転送する。
(1) The address management table 30 is searched with the destination address (DA) of the arrival frame.
(2) When the entry of the corresponding MAC address exists (hits) in the address management table 30, it is transferred to the frame output processing unit 36 of the source port (source port) in the entry. If there is no hit, it is transferred to the frame output processing unit 36 of all ports.

実施例2のフレーム出力処理部36はフレーム到着毎に次の処理を行う。
(1) フレーム中継処理部35から受け取ったフレームを伝送路上へ送信する。
実施例2では1分毎に次の(1) 〜(3) の処理を行う。
The frame output processing unit 36 according to the second embodiment performs the following process every time a frame arrives.
(1) The frame received from the frame relay processing unit 35 is transmitted on the transmission path.
In the second embodiment, the following processes (1) to (3) are performed every minute.

(1) エージング処理部33は,全エントリ(エントリ番号i,i=0,1,…4095)に対して,到着有無管理テーブル310の使用/未使用表示ビット310d=“1”(使用)で,且つ,第2の周期毎到着有無データ格納部310b(i番)の全16ビット=オール“0”,且つ第1の周期毎到着有無データ格納部310c(i番)の下位6ビット=オール“0”に該当するエントリをサーチする。この処理は,第2の周期毎到着有無データ格納部310bの下位6ビットが“0”であることで,最新の16分×6=96分間にフレームを受信していないことを検出し,第1の周期毎到着有無データ格納部310cの16ビットがオール“0”であることで,最新の16分にフレームを受信していないことを検出し,合計して96+16=112分のエージング時間に対応する。   (1) The aging processing unit 33 sets the use / unused display bit 310d of the arrival presence / absence management table 310 to “1” (used) for all entries (entry numbers i, i = 0, 1,... 4095). In addition, all 16 bits of the second arrival / absence data storage unit 310b (No. i) = all “0”, and the lower 6 bits of the first arrival / absence data storage unit 310c (No. i) = all Search for an entry corresponding to “0”. This process detects that the frame has not been received in the latest 16 minutes × 6 = 96 minutes because the lower 6 bits of the second period arrival / absence data storage unit 310b are “0”. Since the 16 bits of the arrival / absence data storage unit 310c of 1 period are all “0”, it is detected that no frame has been received in the latest 16 minutes, and the total aging time is 96 + 16 = 112 minutes. Correspond.

(2) 上記(1) でヒットした各エントリをエージング処理部33に通知し,エージング処理部33からアドレス管理テーブル30の該当するデータを削除するよう指示し,使用/未使用表示ビットに“0”(未使用)を書き込む。   (2) Each entry hit in the above (1) is notified to the aging processing unit 33, the aging processing unit 33 is instructed to delete the corresponding data in the address management table 30, and the used / unused display bit is set to “0”. ”(Unused) is written.

(3) 到着有無管理テーブル310の第1の周期毎到着有無データ格納部320c(16ビット)を1分毎に左シフトする時,最下位ビットについては,使用/未使用表示ビット値の反転値を書き込む。   (3) When the first period arrival / absence data storage unit 320c (16 bits) in the arrival / absence management table 310 is shifted to the left every minute, the least significant bit is the inverted value of the used / unused display bit value. Write.

実施例2では,16分毎に次の処理を行う。
(1) 第2の周期毎到着有無データ格納部310bを左1ビットシフトし,最下位ビット(右端のビット)に第1の周期毎到着有無データ格納部310cの全ビットの論理和をとった結果を設定する。
In the second embodiment, the following processing is performed every 16 minutes.
(1) The second period arrival / absence data storage unit 310b is shifted by 1 bit to the left and the least significant bit (rightmost bit) is ORed with all bits of the first period arrival / absence data storage unit 310c. Set the result.

この実施例2の構成により,管理周期である1分を用いてエージング時間を長くしても,周期毎到着有無データを格納するビット数を大幅に増大することなく簡単な構成で対応することができる。   According to the configuration of the second embodiment, even if the aging time is extended by using 1 minute which is the management cycle, it is possible to cope with a simple configuration without significantly increasing the number of bits for storing arrival / absence data for each cycle. it can.

図4は本発明を適用したレイヤ2スイッチの構成例を示す。図中,4はデータリンクレイヤであるレイヤ2でスイッチを行うレイヤ2スイッチ,40は複数の入出力ポートに設けられたフレーム入出力部,41はスイッチ部,410はフレーム処理部,411はフレーム中継処理部,412はMACアドレス管理テーブル,413は内部に到着有無管理テーブル(図2の210,図3の310)を内蔵した到着有無管理部,42は装置クロックである。   FIG. 4 shows a configuration example of a layer 2 switch to which the present invention is applied. In the figure, 4 is a layer 2 switch that performs switching at layer 2 as a data link layer, 40 is a frame input / output unit provided in a plurality of input / output ports, 41 is a switch unit, 410 is a frame processing unit, and 411 is a frame. A relay processing unit, 412 is a MAC address management table, 413 is an arrival presence / absence management unit (210 in FIG. 2, 310 in FIG. 3), and 42 is a device clock.

このレイヤ2スイッチでは,フレーム入出力部40に入力したフレームは,スイッチ部41のフレーム処理部410に入力する。この時,当該フレームが入力した入力ポート(ソースポート:SA)番号がハードウェアにより識別され,フレーム内の送信元アドレス(SA)が検出され,MACアドレス管理テーブル412がサーチされる。すなわち,上記図2,図3に説明したアドレス管理テーブル(図2の20,図3の30)から送信元アドレス(SA),送信元ポート(SP)が同じエントリがあるかサーチして,存在すると到着有無管理部413の内部の周期毎到着有無データ(図4では図示省略,図2の210b,図3の第2の周期毎到着有無データ310c)の最下位ビットに“1”を設定し,フレーム中継処理部411ではフレームの宛先アドレス(DA)を識別して,MACアドレス管理テーブル412を宛先アドレス(DA)により検索して,ヒットすると対応する送信元ポート(SP)を検出して,そのポートに対応するフレーム入出力部40に向けてフレームを送信する処理を行う。ヒットしない場合は,各フレーム入出力部40からフレームを送信して,相手からの応答を検出することで,宛先アドレス(DA)に対応するポート番号を検出する。到着有無管理部413は,装置クロック42により管理周期の出力が発生する毎に,上記図2の実施例1の構成または図3の実施例2の構成について説明した動作(シフト動作及びエージングのチェック)が実行される。   In this layer 2 switch, the frame input to the frame input / output unit 40 is input to the frame processing unit 410 of the switch unit 41. At this time, the input port (source port: SA) number input to the frame is identified by hardware, the source address (SA) in the frame is detected, and the MAC address management table 412 is searched. That is, the address management table (20 in FIG. 2 and 30 in FIG. 3) described above with reference to FIGS. 2 and 3 is searched for an entry having the same source address (SA) and source port (SP). Then, “1” is set in the least significant bit of the arrival / absence data for each period (not shown in FIG. 4, 210b in FIG. 2, second arrival / absence data 310c in FIG. 3) inside the arrival / absence management unit 413. The frame relay processing unit 411 identifies the destination address (DA) of the frame, searches the MAC address management table 412 by the destination address (DA), detects the corresponding transmission source port (SP) when hit, A process of transmitting a frame toward the frame input / output unit 40 corresponding to the port is performed. If there is no hit, a frame number is transmitted from each frame input / output unit 40 and a response from the other party is detected to detect the port number corresponding to the destination address (DA). The arrival presence / absence management unit 413 performs the operation (shift operation and aging check) described for the configuration of the first embodiment of FIG. 2 or the configuration of the second embodiment of FIG. ) Is executed.

本発明の原理構成を示す図である。It is a figure which shows the principle structure of this invention. 実施例1の構成を示す図である。1 is a diagram illustrating a configuration of Example 1. FIG. 実施例2の構成を示す図である。6 is a diagram illustrating a configuration of Example 2. FIG. 本発明を適用したレイヤ2スイッチの構成例を示す図である。It is a figure which shows the structural example of the layer 2 switch to which this invention is applied. イーサネット技術をベースにした通信サービスの全体構成を示す図である。It is a figure which shows the whole structure of the communication service based on Ethernet technology. イーサネットフレームの各種のフォーマットを示す図である。It is a figure which shows the various formats of an Ethernet frame. スイッチとアドレス管理テーブルの説明図である。It is explanatory drawing of a switch and an address management table. 従来のエージング方式の説明図である。It is explanatory drawing of the conventional aging system.

符号の説明Explanation of symbols

10 アドレス管理テーブル
11 到着有無管理部
110 周期毎到着有無テーブル
110a エントリ番号格納部
110b 周期毎到着有無データ格納部
12 装置クロック
13 エージング処理部
DESCRIPTION OF SYMBOLS 10 Address management table 11 Arrival / absence management unit 110 Period arrival / absence table 110a Entry number storage unit 110b Period arrival / absence data storage unit 12 Device clock 13 Aging processing unit

Claims (4)

イーサネットフレームを多重またはスイッチングする通信システムにおけるアドレス管理テーブルのエージング方式であって,
受信したフレームの送信元アドレスと受信ポート番号をエントリ番号対応に登録したアドレス管理テーブルと,
前記エントリ番号に対応して(n+1)以上のビット数の周期毎到着有無データ格納部を含む到着有無管理テーブルを備えた到着有無管理部を備え,
前記到着有無管理部は,フレーム到着時にフレーム内の送信元アドレスが前記アドレス管理テーブルに登録済の場合は前記登録済の前記アドレス管理テーブルの該当するエントリ番号に対応する前記周期毎到着有無データ格納部の最下位ビットをフレーム到着状態に設定し,エージング時間の(n+1)分の1の管理周期毎に前記周期毎到着有無データを1ビット左シフトすると共に,最下位ビットからエージング時間に相当する期間の状態を表す前記周期毎到着有無データの最下位ビットから(n+1)ビットまでが全てフレーム未到着状態であるエントリ番号を判別し,判別されたエントリ番号の前記アドレス管理テーブルのデータを削除することを特徴とするアドレス管理テーブルのエージング方式。
An address management table aging method in a communication system for multiplexing or switching Ethernet frames,
An address management table in which the transmission source address and reception port number of the received frame are registered in correspondence with the entry number
An arrivals presence / absence management unit including an arrival / absence presence / absence management table including an arrival / absence presence / absence data storage unit of a number of bits of (n + 1) or more corresponding to the entry number;
The arrival / absence management unit stores the arrival / absence data for each period corresponding to the entry number corresponding to the registered address management table when the transmission source address in the frame is already registered in the address management table when the frame arrives. The least significant bit of each part is set to the frame arrival state, and the arrival / absence data for each period is shifted to the left by 1 bit every management period of (n + 1) of the aging time, and the aging time is equivalent to the least significant bit. The entry number in which all the least significant bits to (n + 1) bits of the arrival / absence data for each period representing the period state are in a frame non-arrival state is determined, and the data in the address management table of the determined entry number is deleted. An aging method for address management tables.
請求項1において,
前記アドレス管理テーブルと前記到着有無管理テーブルのそれぞれに,各エントリ番号に対応するデータ領域の使用状態が設定される使用/未使用表示ビットを設け,
前記到着有無管理部は,管理周期毎に前記周期毎到着有無データ格納部の最下位ビットを含むエージング時間に対応する個数のビットが全てフレーム未到着状態で,且つ前記到着有無管理テーブルの使用/未使用を表すビットが使用状態であるエントリ番号を判別し,判別されたエントリ番号に対応する前記アドレス管理テーブルと前記到着有無管理テーブルの前記使用/未使用表示ビットを未使用の状態に設定することを特徴とするアドレス管理テーブルのエージング方式。
In claim 1,
In each of the address management table and the arrival presence / absence management table, a used / unused display bit for setting a use state of a data area corresponding to each entry number is provided,
The arrival presence / absence management unit is configured such that every number of bits corresponding to the aging time including the least significant bit of the arrival / absence presence / absence data storage unit in each cycle is in a frame non-arrival state and the use / non-arrival management table is used / The entry number in which the bit indicating unused is used is determined, and the used / unused display bits of the address management table and the arrival presence / absence management table corresponding to the determined entry number are set to an unused state. An aging method for address management tables.
請求項1または2の何れかにおいて,
前記到着有無管理テーブルは,各エントリ番号に対応して,前記(n+1)ビットで構成する周期毎到着有無データ格納部の最上位ビットの信号が,前記管理周期の(n+1)倍の周期毎に入力される(n+1)ビットで構成する第2の周期毎到着有無データ格納部を設け,
前記第2の周期毎到着有無データ格納部を構成する各ビットにより前記管理周期の(n+1)倍の周期毎におけるフレーム着信の状態を表すことを特徴とするアドレス管理テーブルのエージング方式。
In either claim 1 or 2,
In the arrival presence / absence management table, the most significant bit signal of the arrival / absence presence / absence data storage unit composed of the (n + 1) bits corresponds to each entry number every (n + 1) times the management cycle. A second period arrival / absence presence / absence data storage unit composed of (n + 1) bits inputted is provided,
An address management table aging method, wherein each bit constituting the second period arrival / absence presence / absence data storage unit represents a frame arrival state at a cycle of (n + 1) times the management cycle.
請求項2または3の何れかにおいて,
前記周期毎到着有無データ格納部を前記管理周期毎に1ビット左シフトする時,右端の最下位ビットには前記使用/未使用表示ビットを反転値を書き込むことを特徴とするアドレス管理テーブルのエージング方式。
In either claim 2 or 3,
An aging of an address management table, wherein when the arrival / absence data storage section for each cycle is shifted left by 1 bit for each management cycle, the used / unused display bit is written as an inverted value in the least significant bit at the right end. method.
JP2004256788A 2004-09-03 2004-09-03 Aging system of address management table Withdrawn JP2006074554A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004256788A JP2006074554A (en) 2004-09-03 2004-09-03 Aging system of address management table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004256788A JP2006074554A (en) 2004-09-03 2004-09-03 Aging system of address management table

Publications (1)

Publication Number Publication Date
JP2006074554A true JP2006074554A (en) 2006-03-16

Family

ID=36154657

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004256788A Withdrawn JP2006074554A (en) 2004-09-03 2004-09-03 Aging system of address management table

Country Status (1)

Country Link
JP (1) JP2006074554A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008035437A (en) * 2006-07-31 2008-02-14 Fujitsu Ltd Route controller and table update method
CN101232447B (en) * 2008-02-28 2011-11-30 中兴通讯股份有限公司 Method for controlling learning MAC address preaging

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008035437A (en) * 2006-07-31 2008-02-14 Fujitsu Ltd Route controller and table update method
US7822034B2 (en) 2006-07-31 2010-10-26 Fujitsu Limited Path controls apparatus and table updating method
JP4751784B2 (en) * 2006-07-31 2011-08-17 富士通株式会社 Routing controller and table updating method
CN101232447B (en) * 2008-02-28 2011-11-30 中兴通讯股份有限公司 Method for controlling learning MAC address preaging

Similar Documents

Publication Publication Date Title
USRE49172E1 (en) System and method for adapting a packet processing pipeline
US20040109450A1 (en) Communication apparatus in ethernet passive optical network
US8730975B2 (en) Method to pass virtual local area network information in virtual station interface discovery and configuration protocol
US9077559B2 (en) Switching apparatus and method for setting up virtual LAN
EP1773008B1 (en) Method and system for implementing virtual router redundancy protocol on a resilient packet ring
CA2459286A1 (en) Method for supporting sdh/sonet aps on ethernet
JP2009538083A (en) MAC address learning in distributed bridge
JP2007201749A (en) Frame transfer device
WO2006095508A1 (en) Flooding suppression method
WO2021083332A1 (en) Method, apparatus and system for sending message
JP2002353996A (en) Network, bridge, unit filtering database buildup method used for the bridge unit, and its program
JP2006074554A (en) Aging system of address management table
CA2529687A1 (en) Subscriber loop remote control apparatus and method
JP4980200B2 (en) Data communication system and transfer frame
Cisco Glossary of Terms
Cisco Glossary of Terms
Cisco Glossary of Terms
Cisco Glossary of Terms
Cisco Glossary of Terms
Cisco Glossary of Terms
Cisco Glossary of Terms
Cisco Glossary of Terms
Cisco Glossary of Terms
KR100601042B1 (en) Communication apparatus in ethernet passive optical network
Cisco RFC-1493:Bridge MIB Objects

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20071106