JP2008160467A - Switching hub - Google Patents

Switching hub Download PDF

Info

Publication number
JP2008160467A
JP2008160467A JP2006346584A JP2006346584A JP2008160467A JP 2008160467 A JP2008160467 A JP 2008160467A JP 2006346584 A JP2006346584 A JP 2006346584A JP 2006346584 A JP2006346584 A JP 2006346584A JP 2008160467 A JP2008160467 A JP 2008160467A
Authority
JP
Japan
Prior art keywords
frame
address
priority
switching hub
destination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006346584A
Other languages
Japanese (ja)
Inventor
Hitoshi Kuwata
斉 桑田
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 JP2006346584A priority Critical patent/JP2008160467A/en
Publication of JP2008160467A publication Critical patent/JP2008160467A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a switching hub to promote an address learning. <P>SOLUTION: The switching hub includes an unidentified information adding means 6 to add a destination unidentified information to a frame to be transmitted by a flooding, an unidentified address registering means 7 to register a destination address of the frame as an unidentified address when the address unidentified information receives the added frame, and a priority adjusting means 8 to increase a priority of a repeating of the frame when a transmission source address of the received frame is registered as the unidentified address. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、アドレス学習を促進するスイッチングハブに関する。   The present invention relates to a switching hub that facilitates address learning.

スイッチングハブは、フレームを送受信する複数のポートと、フレームの送信元アドレスをそのフレームを受信したポートに関連付けて学習する学習手段と、宛先アドレスが学習済みのフレームはフォワーディングを行い、宛先アドレスが未学習のフレームはフラッディングを行う中継手段とを備える。   The switching hub includes a plurality of ports that transmit and receive frames, learning means that associates the source address of the frame with the port that received the frame, and a frame whose destination address has been learned is forwarded and the destination address is not yet The learning frame includes relay means for performing flooding.

学習手段には、フォワーディングデータベース(以下、FDB)が含まれており、FDBには、受信したフレームの送信元MACアドレスがそのフレームを受信したポートに関連付けて登録される。これを学習と言う。中継手段は、受信したフレームの宛先MACアドレスでFDBを検索してこのフレームを中継するべきポートを特定し、そのポートだけに中継、すなわちフォワーディングを行うことができる。   The learning means includes a forwarding database (hereinafter referred to as FDB), and the source MAC address of the received frame is registered in the FDB in association with the port that received the frame. This is called learning. The relay unit can search the FDB with the destination MAC address of the received frame to identify the port to which this frame is to be relayed, and relay, that is, forwarding only to that port.

しかし、中継手段は、未学習、すなわちFDBに登録されていないMACアドレスを宛先に持つフレームが受信されると、このフレームは中継可能な全てのスイッチングハブに中継、すなわちフラッディングを行うことになる。未学習のMACアドレスを送信元とするフレームが受信されると、学習が達成されるので、それ以降は、フォワーディングを行うことができる。   However, when the relay means receives a frame that has not been learned, that is, has a MAC address that is not registered in the FDB, the relay means relays, that is, floods, all the switching hubs capable of relaying. When a frame having an unlearned MAC address as a transmission source is received, learning is achieved. Thereafter, forwarding can be performed.

特開2005−175591号公報JP 2005-175591 A

図6に示されるように、中継網と呼ばれるネットワークを構成しているスイッチングハブ101において、例えば、スイッチングハブ101Aは、中継網外から受信した宛先MACアドレスaのフレームを中継網内に中継するとき、このMACアドレスaが未学習であると、フラッディングを行う。スイッチングハブ101Aは、MACアドレスaが未学習である間は宛先MACアドレスaのフレームについてフラッディングを行い続けることになる。フラッディングされたフレームは、他の全てのスイッチングハブ101が受信し、それぞれ中継網内外へ中継することになる。   As shown in FIG. 6, in the switching hub 101 constituting the network called the relay network, for example, the switching hub 101A relays the frame of the destination MAC address a received from outside the relay network into the relay network. If the MAC address a is not learned, flooding is performed. The switching hub 101A continues to flood the frame of the destination MAC address a while the MAC address a is not learned. The flooded frame is received by all other switching hubs 101 and relayed into and out of the relay network.

フラッディングでは中継する必要のないスイッチングハブにまでフレームを中継することになるため、ネットワークにおいてフラッディングが頻繁であれば、当該ネットワークの帯域が浪費され、有効利用できにくくなる。よって、フラッディングが頻繁な状態がより速やかに解消されることが望ましい。   Since the frame is relayed to a switching hub that does not need to be relayed by flooding, if the flooding is frequent in the network, the bandwidth of the network is wasted and it is difficult to use it effectively. Therefore, it is desirable that the frequent flooding state be resolved more quickly.

例えば、スイッチングハブ101Bが、中継網外から受信した送信元MACアドレスaのフレームを中継網内に中継すると、このフレームを受信したスイッチングハブ101AがこのMACアドレスaを学習する。この結果、スイッチングハブ101Aは、宛先MACアドレスaのフレームについてスイッチングハブ101Bへフォワーディングを行うようになるので、スイッチングハブ101A,101B間ではMACアドレスaを宛先とするフレームに関してユニキャスト通信を行う状態となり、フラッディングが頻繁な状態が解消される。   For example, when the switching hub 101B relays a frame of the source MAC address a received from outside the relay network into the relay network, the switching hub 101A that has received this frame learns the MAC address a. As a result, the switching hub 101A forwards the frame with the destination MAC address a to the switching hub 101B, so that the switching hub 101A and 101B perform unicast communication with respect to the frame with the MAC address a as the destination. , Frequent flooding is eliminated.

しかしながら、中継網外の異なるネットワーク上のサーバと複数の顧客端末が中継網経由で通信を行うシステムにおいて、一部の顧客が中継網の帯域を契約している帯域以上に使用しないよう、スイッチングハブ101において帯域制限を行うことがある。帯域制限が行われているスイッチングハブ101では、受信されたフレームの一部は中継されずに破棄されることがある。よって、スイッチングハブ101Bが帯域制限を行っていると、送信元MACアドレスaのフレームがスイッチングハブ101Bで破棄される可能性を有する。   However, in a system in which a server on a different network outside the relay network and a plurality of customer terminals communicate via the relay network, a switching hub is used so that some customers do not use the relay network bandwidth beyond the contracted bandwidth. In 101, band limitation may be performed. In the switching hub 101 in which band limitation is performed, a part of the received frame may be discarded without being relayed. Therefore, when the switching hub 101B performs band limitation, there is a possibility that the frame of the transmission source MAC address a is discarded by the switching hub 101B.

送信元MACアドレスaのフレームが破棄されてスイッチングハブ101Aに中継されないと、スイッチングハブ101Aではアドレスを学習する機会を失うことになる。したがって、スイッチングハブ101Bが帯域制限を行っていると、スイッチングハブ101Aがアドレスを学習する機会が減じられることになる。その結果、フラッディングが頻繁な状態が長く続くことになり、中継網の帯域が有効利用されないことになる。   If the frame of the source MAC address a is discarded and not relayed to the switching hub 101A, the switching hub 101A loses the opportunity to learn the address. Therefore, when the switching hub 101B performs band limitation, the opportunity for the switching hub 101A to learn an address is reduced. As a result, frequent flooding continues for a long time, and the bandwidth of the relay network is not effectively used.

そこで、本発明の目的は、上記課題を解決し、アドレス学習を促進するスイッチングハブを提供することにある。   Therefore, an object of the present invention is to provide a switching hub that solves the above-described problems and promotes address learning.

上記目的を達成するために本発明は、フレームを送受信する複数のポートと、フレームの送信元アドレスをそのフレームを受信したポートに関連付けて学習する学習手段と、宛先アドレスが学習済みのフレームはフォワーディングを行い、宛先アドレスが未学習のフレームはフラッディングを行う中継手段とを備えたスイッチングハブにおいて、フラッディングで送信するフレームに宛先不明情報を付加する不明情報付加手段と、宛先不明情報が付加されたフレームを受信したとき、そのフレームの宛先アドレスを不明アドレスとして登録する不明アドレス登録手段と、受信したフレームの送信元アドレスが不明アドレス登録されているとき、そのフレームの中継の優先度を高める優先度調節手段とを備えたものである。   In order to achieve the above object, the present invention provides a plurality of ports that transmit and receive a frame, learning means that learns the source address of the frame in association with the port that received the frame, and a frame whose destination address has been learned is forwarded In a switching hub having a relay unit that performs flooding on a frame whose destination address has not yet been learned, an unknown information adding unit that adds destination unknown information to a frame transmitted by flooding, and a frame in which destination unknown information is added Priority registration to increase the priority of relaying the frame when the unknown address registration means for registering the destination address of the frame as an unknown address and the source address of the received frame are registered as an unknown address Means.

上記優先度調節手段は、当該スイッチングハブが行う帯域制限において上記優先度を高めてもよい。   The priority adjustment means may increase the priority in band limitation performed by the switching hub.

上記優先度調節手段は、中継するフレームに格納されている優先度情報をより高いものに書き替えてもよい。   The priority adjusting means may rewrite the priority information stored in the relayed frame to a higher one.

上記フレームをカプセル化するカプセル化手段を備え、上記不明情報付加手段は、カプセルのヘッダに上記宛先不明情報を付加してもよい。   Encapsulating means for encapsulating the frame may be provided, and the unknown information adding means may add the destination unknown information to the header of the capsule.

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

(1)アドレス学習を促進することができる。   (1) Address learning can be promoted.

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

図1に示されるように、本発明に係るスイッチングハブ1は、フレームを送受信する複数のポート2,3と、フレームの送信元MACアドレスをそのフレームを受信したポートに関連付けて学習する学習手段4と、宛先MACアドレスが学習済みのフレームはフォワーディングを行い、宛先MACアドレスが未学習のフレームはフラッディングを行う中継手段5とを備えたスイッチングハブにおいて、フラッディングで送信するフレームに宛先不明情報(以下、DLF(Destination Lookup Failure)マークという)を付加する不明情報付加手段6と、宛先不明情報であるDLFマークが付加されたフレームを受信したとき、そのフレームの宛先MACアドレスを不明アドレスとして登録する不明アドレス登録手段7と、受信したフレームの送信元MACアドレスが不明アドレス登録されているとき、そのフレームの中継の優先度を高める優先度調節手段8とを備えたものである。   As shown in FIG. 1, the switching hub 1 according to the present invention includes a plurality of ports 2 and 3 that transmit and receive a frame, and learning means 4 that learns the frame source MAC address in association with the port that received the frame. In a switching hub provided with a relay unit 5 that performs forwarding for frames whose destination MAC address has already been learned and performs flooding for frames whose destination MAC address has not been learned, destination unknown information (hereinafter, An unknown information adding means 6 for adding a DLF (Destination Lookup Failure) mark) and an unknown address for registering the destination MAC address of the frame as an unknown address when receiving a frame to which the DLF mark as destination unknown information is added Registration means 7 and priority adjusting means 8 for increasing the relay priority of the frame when the transmission source MAC address of the received frame is registered as an unknown address.

学習手段4は、FDB9を検索する送信元MACアドレス検索回路を有し、フレームを受信すると送信元MACアドレスでFDB9を検索して、MACアドレスの登録の有無を調べ、未登録であればMACアドレスとポートの登録を行い、登録済であれば登録は行わないようになっている。   The learning means 4 has a transmission source MAC address search circuit for searching the FDB 9, and when receiving a frame, searches the FDB 9 with the transmission source MAC address to check whether or not the MAC address is registered. And the port are registered, and if registered, the registration is not performed.

中継手段5は、宛先MACアドレス検索回路を有し、フレームを受信すると宛先MACアドレスでFDB9を検索して、MACアドレスの登録の有無を調べ、未登録であればフラッディング、登録済であれば該当するポートへのフォワーディングを決定するようになっている。   The relay means 5 has a destination MAC address search circuit. When a frame is received, the FDB 9 is searched with the destination MAC address to check whether or not the MAC address is registered. Forwarding to the port to be decided.

スイッチングハブ1は、受信したフレームを中継するか又は廃棄する帯域制御手段10を備えている。帯域制御は、優先度の高いフレームほど中継される確率が高く、優先度の低いフレームほど廃棄される確率が高くなる制御である。優先度の高低は、フレームの容量、顧客のランク付け等の多岐にわたる要素により決定されるが、ここでは特にその決定方法は限定しない。帯域制御手段10は、受信したフレームに格納されている優先度情報を参照して優先度を判断するものとする。   The switching hub 1 includes band control means 10 that relays or discards received frames. Band control is control in which a frame with a higher priority has a higher probability of being relayed and a frame with a lower priority has a higher probability of being discarded. The priority level is determined by various factors such as frame capacity and customer ranking, but the determination method is not particularly limited here. It is assumed that the bandwidth control unit 10 determines the priority with reference to the priority information stored in the received frame.

具体例として、帯域制御手段10は、優先度別に用意された複数の送信バッファと、受信したフレームに装置内情報として優先度を表すCOS(cless of service)を付与する装置内優先度付与手段と、そのフレームをCOSで分別して該当する送信バッファに一次格納する分別手段と、送信可能タイミングになると優先度が高い送信バッファから優先的にフレームを取り出してポートに転送する取出手段とを備える。   As a specific example, the bandwidth control unit 10 includes a plurality of transmission buffers prepared for each priority, an in-device priority providing unit that gives a received frame a COS (cress of service) indicating in-device information. And a sorting means for sorting the frames by COS and temporarily storing them in the corresponding transmission buffer, and a fetching means for preferentially taking out the frames from the transmission buffer having a higher priority at the transmittable timing and transferring them to the port.

不明情報付加手段6は、中継手段5に付随して設けられており、中継手段5が受信したフレームのフラッディングを決定したとき、そのフレームにDLFマークを付加するようになっている。   The unknown information adding means 6 is provided in association with the relay means 5, and when the flooding of the frame received by the relay means 5 is determined, a DLF mark is added to the frame.

不明アドレス登録手段7は、受信したフレームにDLFマークが付加されているかどうかチェックする不明情報チェック回路を有し、DLFマークが付加されているときは、そのフレームの宛先MACアドレスをフラッドアドレステーブル11に登録するようになっている。   The unknown address registration means 7 has an unknown information check circuit that checks whether or not a DLF mark is added to the received frame. When the DLF mark is added, the destination MAC address of the frame is set to the flood address table 11. To register.

優先度調節手段8は、フラッドアドレステーブル11を検索する送信元MACアドレス検索回路を有し、フレームを受信すると送信元MACアドレスでフラッドアドレステーブル11を検索して、登録の有無を調べ、未登録であればなにもしないが、登録済であれば次のようにして優先度を高めるようになっている。すなわち、優先度調節手段8は、帯域制御手段10が帯域制限を行うときに、送信元MACアドレスが不明アドレス登録されているフレームの優先度を高めると共に、そのフレームをポートから送信するときに、フレームに格納されている優先度情報をより高いものに書き替えるようになっている。   The priority adjustment means 8 has a transmission source MAC address search circuit that searches the flood address table 11. When a frame is received, the priority adjustment unit 8 searches the flood address table 11 using the transmission source MAC address, checks whether or not it is registered, and is not registered. If it is registered, the priority is raised as follows. That is, when the bandwidth control unit 10 performs bandwidth limitation, the priority adjustment unit 8 increases the priority of a frame in which the source MAC address is registered as an unknown address, and transmits the frame from the port. The priority information stored in the frame is rewritten to a higher one.

なお、図1は、スイッチングハブ1の2つ以上あるポートのうち、次に説明する図2の中継網に接続された中継網ポート2と、顧客端末に接続されたアクセスポート3とを1つずつだけ示した図となっている。また、スイッチングハブの周知慣用の構成、機能については、本発明のスイッチングハブ1は全て備えるものとするが、図示及び説明は省略する。   FIG. 1 shows one of the two or more ports of the switching hub 1, one relay network port 2 connected to the relay network shown in FIG. 2 to be described next and one access port 3 connected to the customer terminal. The figure shows only one by one. In addition, the switching hub 1 of the present invention is provided with all the well-known and commonly used configuration and function of the switching hub, but illustration and description thereof are omitted.

図2に示されるように、本発明のスイッチングハブ1(1A,1Bを含む)は、イーサネット(登録商標)等の中継網に複数台設置される。これらのスイッチングハブ1は、中継網に1つ以上のポート(例えば、中継網ポート2)が接続されると共に、ローカルなネットワークのスイッチングハブ(図示せず)や端末(図示せず)に1つ以上のポート(例えば、アクセスポート3)が接続される。   As shown in FIG. 2, a plurality of switching hubs 1 (including 1A and 1B) of the present invention are installed in a relay network such as Ethernet (registered trademark). These switching hubs 1 are connected to one or more ports (for example, the relay network port 2) in the relay network, and one switching hub (not shown) or terminal (not shown) in the local network. The above ports (for example, access port 3) are connected.

この中継網内のスイッチングハブ1に、例えば、マルチキャストデータの配信元としてのサーバ等の通信機器が接続され、別のスイッチングハブ1に、そのマルチキャストデータの配信を受ける顧客端末が接続される。   For example, a communication device such as a server serving as a multicast data distribution source is connected to the switching hub 1 in the relay network, and a customer terminal that receives the multicast data distribution is connected to another switching hub 1.

図3は、図2中の2つのスイッチングハブ1A,1Bだけを取り出し、各スイッチングハブ1A,1Bにおける動作と相互間でフレームが中継される様子を示したものである。   FIG. 3 shows only the two switching hubs 1A and 1B in FIG. 2 and shows the operation of the switching hubs 1A and 1B and how frames are relayed between them.

図4は、図1に示したスイッチングハブ1内部の各手段のうち、図3のスイッチングハブ1A,1Bの動作においてはどの手段が動作するかを示したものである。   FIG. 4 shows which means operates in the operation of the switching hubs 1A and 1B in FIG. 3 among the means in the switching hub 1 shown in FIG.

図3、図4を用いて、本発明のスイッチングハブの動作を説明する。   The operation of the switching hub of the present invention will be described with reference to FIGS.

まず、スイッチングハブ1Aにおいて、未学習であるMACアドレスaを宛先とするフレーム31がアクセスポート3で受信されたとする。スイッチングハブ1Aの中継手段5は、FDB9を検索した結果、宛先MACアドレスaが未学習であるため、フラッディングを行う。このとき、不明情報付加手段6は、このフレームにDLFマークを付加する。   First, it is assumed that the frame 31 destined for the MAC address a that has not been learned is received by the access port 3 in the switching hub 1A. The relay means 5 of the switching hub 1A performs flooding because the destination MAC address a is not learned as a result of searching the FDB 9. At this time, the unknown information adding means 6 adds a DLF mark to this frame.

このDLFマーク付きフレーム32がスイッチングハブ1Bの中継網ポート2に受信されると、スイッチングハブ1Bの不明アドレス登録手段7は、DLFマーク付きフレーム32にDLFマークが付加されているので、その宛先MACアドレスaをフラッドアドレステーブル11に登録する。   When this DLF-marked frame 32 is received by the relay network port 2 of the switching hub 1B, the unknown address registration means 7 of the switching hub 1B adds the DLF mark to the DLF-marked frame 32, so that the destination MAC The address a is registered in the flood address table 11.

その後、スイッチングハブ1Bにおいて、MACアドレスaを送信元とするフレーム33がアクセスポート3で受信されたとする。スイッチングハブ1Bの優先度調節手段8は、フラッドアドレステーブル11を検索して登録の有無を調べる。MACアドレスaが登録済であることから、優先度調節手段8は、フレーム33の中継の優先度を高める。帯域制御手段10の帯域制限においてフレーム33の優先度が高められと共に、フレーム33に格納されている優先度情報がより高いものに書き替えられる。   Thereafter, it is assumed that the frame 33 having the MAC address a as the transmission source is received by the access port 3 in the switching hub 1B. The priority adjusting means 8 of the switching hub 1B searches the flood address table 11 to check whether it is registered. Since the MAC address a has already been registered, the priority adjustment unit 8 increases the priority of relaying the frame 33. In the bandwidth limitation of the bandwidth control means 10, the priority of the frame 33 is increased and the priority information stored in the frame 33 is rewritten to a higher one.

具体的には、帯域制御手段10の装置内優先度付与手段がフレームのVLANタグ内にある優先度のフィールドから優先度(フレームにもともと付与されている優先度)を読み出すと共に、VIDなどの情報から所定のサービスが受けられるユーザを対象にしたフレームかどうか、フレームの種類から優先するべきフレームかどうかなどを判定し、装置内情報に当該スイッチングハブ内でのみ有効な優先度であるCOSを付与する。   Specifically, the in-device priority assigning means of the bandwidth control means 10 reads the priority (priority given to the frame) from the priority field in the VLAN tag of the frame, and information such as VID. Judge whether the frame is for a user who can receive a predetermined service from the device, whether the frame should be prioritized from the type of frame, etc., and give COS that is valid only within the switching hub to the in-device information To do.

帯域制御手段10の分別手段は、フレームをCOSで分別して該当する送信バッファに一次格納する。よって、フレームが次々と受信されると、各々に付与されたCOSに従い分別されて優先度別の送信バッファに格納されていく。   The sorting means of the band control means 10 sorts the frames by COS and temporarily stores them in the corresponding transmission buffer. Therefore, when frames are received one after another, they are sorted according to the COS assigned to each frame and stored in the transmission buffers according to priority.

帯域制御手段10の取出手段は、ポートからフレームが送信可能なタイミングになると、優先度が最も高い送信バッファから順に送信待ちのフレームの有無を調べ、優先度の高い送信バッファにフレームがあればそれを取り出し、優先度の高い送信バッファにフレームがなければ、次に優先度の高い送信バッファからフレームを取り出して、ポートに転送する。   When it is time to transmit a frame from the port, the extraction means of the bandwidth control means 10 checks whether there is a frame waiting for transmission in order from the transmission buffer with the highest priority, and if there is a frame in the transmission buffer with the highest priority, If there is no frame in the transmission buffer with the higher priority, the frame is extracted from the transmission buffer with the next highest priority and transferred to the port.

例えば、スイッチングハブ1Bに、まず、優先度が低く送信元MACアドレスbのフレームが受信され、引き続いて優先度が同じ低さで送信元MACアドレスaのフレームが受信されると、優先度調節手段8は、MACアドレスbはフラッドアドレステーブル11に登録が無いので最初のフレームに優先度の低いCOSを付与するが、MACアドレスaはフラッドアドレステーブル11に登録が有るので次のフレームには最初のフレームより優先度の高いCOSを付与する。   For example, when the switching hub 1B first receives a frame having a low priority and a transmission source MAC address b, and subsequently receives a frame having the same priority and a transmission source MAC address a, the priority adjustment means 8, since the MAC address b is not registered in the flood address table 11, a COS having a low priority is given to the first frame. However, since the MAC address a is registered in the flood address table 11, A COS having a higher priority than the frame is assigned.

2つのフレームはCOSに応じて異なる送信バッファに格納され、送信可能なタイミングになると、優先度が高いほうの送信バッファからフレームが取り出されるので、送信元MACアドレスaのフレームが先に送信されることになる。   The two frames are stored in different transmission buffers according to the COS, and when the transmission is possible, the frame is extracted from the transmission buffer with the higher priority, so the frame with the source MAC address a is transmitted first. It will be.

その結果、スイッチングハブ1Bでは、このフレーム33が優先的に中継網に中継される。また、図示しないがスイッチングハブ1Bとスイッチングハブ1Aの間に、別のスイッチングハブがあって帯域制限が行われているとしても、フレーム33が持つ優先度情報が高められているので、そのスイッチングハブでもフレーム33が優先的に中継される。   As a result, in the switching hub 1B, this frame 33 is preferentially relayed to the relay network. Although not shown, even if there is another switching hub between the switching hub 1B and the switching hub 1A and the bandwidth is limited, the priority information held by the frame 33 is increased. However, the frame 33 is relayed preferentially.

スイッチングハブ1Aの中継網ポート2にフレーム33が受信されると、スイッチングハブ1Aの学習手段4は、フレーム33の送信元MACアドレスaをFDB9に登録することになる。   When the frame 33 is received by the relay network port 2 of the switching hub 1A, the learning unit 4 of the switching hub 1A registers the transmission source MAC address a of the frame 33 in the FDB 9.

以上の動作により、スイッチングハブ1Bが帯域制限を行っているときでも、スイッチングハブ1Aが未学習であるMACアドレスaを送信元とするフレーム33が優先的に中継されるので、フレーム33が破棄される可能性が低くなる。その結果、スイッチングハブ1AにおけるMACアドレスaに関する学習が促進されるので、フラッディングが頻繁な状態が早期に解消される。フラッディングが減少することで、中継網の帯域が有効に利用できるようになる。   As a result of the above operation, even when the switching hub 1B performs bandwidth limitation, the frame 33 having the transmission source of the MAC address a that has not been learned by the switching hub 1A is relayed preferentially, so the frame 33 is discarded. Is less likely. As a result, learning regarding the MAC address a in the switching hub 1A is promoted, so that a state where flooding is frequent is eliminated early. By reducing the flooding, the bandwidth of the relay network can be used effectively.

なお、スイッチングハブ1Bにおいて、送信元MACアドレスがフラッドアドレステーブル11に登録されていると、優先度調節手段8がフレーム33の中継の優先度を高めるが、フレーム33を無条件で直ちに中継するわけではない。例えば、フレーム33が大量に帯域を消費するフレームであった場合に、無条件で直ちに中継してしまう帯域制限に支障が起きる。よって、フレーム33の中継の優先度を本来の優先度より高めることで、帯域制限を健全に維持しつつフレーム33が破棄される可能性を低くし、結果的に学習を促進するのが好ましい。   In the switching hub 1B, if the transmission source MAC address is registered in the flood address table 11, the priority adjustment unit 8 increases the priority of relaying the frame 33, but the frame 33 is relayed immediately unconditionally. is not. For example, when the frame 33 is a frame that consumes a large amount of bandwidth, there is a problem in bandwidth limitation that relays immediately unconditionally. Therefore, it is preferable to increase the priority of relaying the frame 33 from the original priority, thereby reducing the possibility of the frame 33 being discarded while maintaining the bandwidth limit soundly, and consequently promoting learning.

次に、DLFマークに関する実施形態を説明する。   Next, an embodiment related to the DLF mark will be described.

ここでは、図1〜図4の中継網をバックボーンブリッジネットワークとする。バックボーンブリッジネットワーク(Backbone Bridge Network)は、IEEE(米国電気電子通信学会)802.1ahにより規定される。   Here, the relay network of FIGS. 1 to 4 is a backbone bridge network. The backbone bridge network is defined by IEEE (American Institute of Electrical and Electronics Engineers) 802.1ah.

この中継網において、スイッチングハブ1A,1Bはエッジ装置であるから、サーバや顧客端末からのフレーム(区別のためにユーザフレームと呼ぶことにする)をカプセル化するカプセル化手段を備える。カプセル化とは、ユーザフレームの全体をデータとして扱い、そのデータに中継網内で用いるヘッダを付加してカプセル化フレームを形成することである。   In this relay network, since the switching hubs 1A and 1B are edge devices, the switching hubs 1A and 1B include an encapsulating unit that encapsulates a frame (referred to as a user frame for distinction) from a server or a customer terminal. Encapsulation means that the entire user frame is handled as data, and a header used in the relay network is added to the data to form an encapsulated frame.

本発明の不明情報付加手段は、宛先MACアドレスがFDB9に未登録のフレームをカプセル化する際に、ヘッダに宛先不明情報を付加する。   The unknown information adding means of the present invention adds the unknown destination information to the header when encapsulating a frame whose destination MAC address is not registered in the FDB 9.

具体的には、図5に示されるように、IEEE802.1ahにおけるカプセル化フレーム51は、ヘッダ52とデータ(ユーザフレーム)53とからなる。ユーザフレーム53は、ヘッダとデータ(DATA)とからなり、ヘッダには、宛先MACアドレスの欄(DA)、送信元MACアドレスの欄(SA)などが含まれる。カプセル化フレーム51のヘッダ52には、中継網におけるエッジ装置のアドレスの各欄(B−DA/B−SA)、経路制御タグの欄(B−TAG)、VNP識別タグの欄(I−TAG)が含まれる。   Specifically, as shown in FIG. 5, the encapsulated frame 51 in IEEE802.1ah includes a header 52 and data (user frame) 53. The user frame 53 includes a header and data (DATA). The header includes a destination MAC address column (DA), a source MAC address column (SA), and the like. In the header 52 of the encapsulated frame 51, each column (B-DA / B-SA) of the address of the edge device in the relay network, a column of the path control tag (B-TAG), and a column of the VNP identification tag (I-TAG) ) Is included.

複数のエッジ装置に中継をさせたいマルチキャストを行う場合、B−DAには、ユーザフレームのDAの一部とI−TAG内のLAN−IDとから作成したアドレスを格納する。全エッジ装置に中継をさせたいブロードキャストを行う場合、B−DAには、ブロードキャストアドレスのFF:FF:FF:FF:FF:FFを格納する。   In the case of performing multicast for relaying to a plurality of edge devices, the B-DA stores an address created from a part of the DA of the user frame and the LAN-ID in the I-TAG. When performing broadcast for relaying to all edge devices, B-DA stores FF: FF: FF: FF: FF: FF of the broadcast address.

エッジ装置がアクセスポート3で受信したフレームのフォワーディングを行う場合、送信する必要のあるエッジ装置は1つに決まっているので、カプセル化フレームはユニキャストで送信することになる。一方、エッジ装置がアクセスポート3で受信したフレームのフラッディングを行う場合、他のエッジ装置の全てに該フレームを届ける必要があるので、カプセル化フレームはマルチキャスト又はブロードキャストで送信することになる。   When the edge device performs forwarding of a frame received at the access port 3, since the number of edge devices that need to be transmitted is determined, the encapsulated frame is transmitted by unicast. On the other hand, when the edge device performs flooding of the frame received at the access port 3, it is necessary to deliver the frame to all of the other edge devices, so that the encapsulated frame is transmitted by multicast or broadcast.

カプセル化フレームを受信するエッジ装置から見ると、ユニキャストで受信したカプセル化フレームに格納されているユーザフレームは送信したエッジ装置においてフォワーディングされたフレームであり、マルチキャスト又はブロードキャストで受信したカプセル化フレームに格納されているユーザフレームは送信したエッジ装置においてフラッディングされたフレームである。したがって、B−DAが宛先不明情報の役割を担うことができる。   When viewed from the edge device that receives the encapsulated frame, the user frame stored in the encapsulated frame received by unicast is a frame forwarded by the transmitting edge device, and the encapsulated frame received by multicast or broadcast is The stored user frame is a frame flooded in the transmitting edge device. Therefore, B-DA can play the role of destination unknown information.

宛先不明情報は、エッジ装置が読み書き可能な場所で、他の用途に使用されない場所であれば、カプセル化フレームのどこに格納してもよいが、上記形態のように他の用途に使用されている情報を利用することもできる。   The destination unknown information may be stored anywhere in the encapsulated frame as long as it is a place where the edge device can read and write and is not used for other purposes, but is used for other purposes as in the above embodiment. Information can also be used.

本発明の一実施形態を示すスイッチングハブの内部構成図である。It is an internal block diagram of the switching hub which shows one Embodiment of this invention. 中継網に設置された本発明のスイッチングハブ間をフレームが中継される様子を示した概念図である。It is the conceptual diagram which showed a mode that the flame | frame was relayed between the switching hubs of this invention installed in the relay network. 図2中の2つのスイッチングハブについてより詳しく示した概念図である。It is the conceptual diagram shown in more detail about two switching hubs in FIG. 図2中の2つのスイッチングハブの内部動作に関係したスイッチングハブの内部構成図である。FIG. 3 is an internal configuration diagram of a switching hub related to internal operations of two switching hubs in FIG. 2. IEEE802.1ahにおけるカプセル化フレームのフォーマット図である。It is a format figure of the encapsulated frame in IEEE802.1ah. 中継網に設置された従来のスイッチングハブ間をフレームが中継される様子を示した概念図である。It is the conceptual diagram which showed a mode that the flame | frame was relayed between the conventional switching hubs installed in the relay network.

符号の説明Explanation of symbols

1,1A,1B スイッチングハブ
2 中継網ポート
3 アクセスポート
4 学習手段
5 中継手段
6 不明情報付加手段
7 不明アドレス登録手段
8 優先度調節手段
9 フォワーディングデータベース(FDB)
10 帯域制御手段
11 フラッドアドレステーブル
1, 1A, 1B Switching hub 2 Relay network port 3 Access port 4 Learning means 5 Relay means 6 Unknown information addition means 7 Unknown address registration means 8 Priority adjustment means 9 Forwarding database (FDB)
10 Band control means 11 Flood address table

Claims (4)

フレームを送受信する複数のポートと、フレームの送信元アドレスをそのフレームを受信したポートに関連付けて学習する学習手段と、宛先アドレスが学習済みのフレームはフォワーディングを行い、宛先アドレスが未学習のフレームはフラッディングを行う中継手段とを備えたスイッチングハブにおいて、フラッディングで送信するフレームに宛先不明情報を付加する不明情報付加手段と、宛先不明情報が付加されたフレームを受信したとき、そのフレームの宛先アドレスを不明アドレスとして登録する不明アドレス登録手段と、受信したフレームの送信元アドレスが不明アドレス登録されているとき、そのフレームの中継の優先度を高める優先度調節手段とを備えたことを特徴とするスイッチングハブ。   A plurality of ports that transmit and receive frames, learning means that associates the frame source address with the port that received the frame, learns, frames that have learned destination addresses are forwarded, and frames whose destination addresses have not been learned In a switching hub equipped with a relay means for performing flooding, when receiving a frame with unknown destination information added to a frame transmitted by flooding and a frame with destination unknown information added, the destination address of the frame is set. Switching comprising: an unknown address registering means for registering as an unknown address; and a priority adjusting means for increasing the priority of relaying the frame when the source address of the received frame is registered as an unknown address Hub. 上記優先度調節手段は、当該スイッチングハブが行う帯域制限において上記優先度を高めることを特徴とする請求項1記載のスイッチングハブ。   2. The switching hub according to claim 1, wherein the priority adjustment means increases the priority in band limitation performed by the switching hub. 上記優先度調節手段は、中継するフレームに格納されている優先度情報をより高いものに書き替えることを特徴とする請求項1又は2記載のスイッチングハブ。   3. The switching hub according to claim 1, wherein the priority adjustment means rewrites priority information stored in a relayed frame to a higher one. 上記フレームをカプセル化するカプセル化手段を備え、上記不明情報付加手段は、カプセルのヘッダに上記宛先不明情報を付加することを特徴とする請求項1〜3いずれか記載のスイッチングハブ。    The switching hub according to claim 1, further comprising an encapsulating unit that encapsulates the frame, wherein the unknown information adding unit adds the destination unknown information to a header of a capsule.
JP2006346584A 2006-12-22 2006-12-22 Switching hub Pending JP2008160467A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006346584A JP2008160467A (en) 2006-12-22 2006-12-22 Switching hub

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006346584A JP2008160467A (en) 2006-12-22 2006-12-22 Switching hub

Publications (1)

Publication Number Publication Date
JP2008160467A true JP2008160467A (en) 2008-07-10

Family

ID=39660882

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006346584A Pending JP2008160467A (en) 2006-12-22 2006-12-22 Switching hub

Country Status (1)

Country Link
JP (1) JP2008160467A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100332679A1 (en) * 2009-06-30 2010-12-30 Fujitsu Limited Frame relay device and frame relay method
JP2011091477A (en) * 2009-10-20 2011-05-06 Hitachi Cable Ltd Switching hub, and method of synchronizing fdb
JP2011217422A (en) * 2011-08-05 2011-10-27 Fujitsu Ltd Network connection device, switching circuit device, and address learning processing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100332679A1 (en) * 2009-06-30 2010-12-30 Fujitsu Limited Frame relay device and frame relay method
JP2011015094A (en) * 2009-06-30 2011-01-20 Fujitsu Ltd Frame relay device and frame relay method
JP2011091477A (en) * 2009-10-20 2011-05-06 Hitachi Cable Ltd Switching hub, and method of synchronizing fdb
JP2011217422A (en) * 2011-08-05 2011-10-27 Fujitsu Ltd Network connection device, switching circuit device, and address learning processing method

Similar Documents

Publication Publication Date Title
WO2021063232A1 (en) Method, apparatus and system for establishing bier forwarding table entry
US8437349B2 (en) Multicast snooping on layer 2 virtual private network
US8081633B2 (en) Network node unit and method for forwarding data packets
US8199750B1 (en) Communicating with a control plane using a forwarding information format and control plane processing of packets devoid of a virtual switch identifier
US7796594B2 (en) Logical bridging system and method
JP6032278B2 (en) LAN multiplexer
US6798775B1 (en) Virtual LANs over a DLSw network
CN102970227B (en) The method and apparatus of VXLAN message repeating is realized in ASIC
US7586915B1 (en) Technique for coupling entities via virtual ports
US8527674B2 (en) Data packet switching
US6757279B1 (en) Method for synchronizing databases in stacked network units
US20050083952A1 (en) Flexible ethernet bridge
US9794171B2 (en) Modification or addition to forwarding table based on address
CN107231307B (en) Method, system and device for preventing traffic switching between subnetworks in data center architecture
US20130259050A1 (en) Systems and methods for multi-level switching of data frames
JP2002314571A (en) Classification and tagging rules for switching nodes
US20090135833A1 (en) Ingress node and egress node with improved packet transfer rate on multi-protocol label switching (MPLS) network, and method of improving packet transfer rate in MPLS network system
CN102368726B (en) Forwarding method and device applied to L2VPN (layer 2 virtual private network)
US7839800B2 (en) Multiple I-service registration protocol (MIRP)
EP3095216B1 (en) Single hop overlay architecture for line rate performance in campus networks
JP2019521619A (en) Packet forwarding
US9282006B2 (en) Method and system of enhancing multiple MAC registration protocol (MMRP) for protocol internetworking
CN105337884A (en) Method and device for achieving multistage message editing service control on the basis of logic port
JP2008160467A (en) Switching hub
US9240898B1 (en) Integrating VLAN-unaware devices into VLAN-enabled networks