Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5497697B2 - Communications system - Google Patents
[go: Go Back, main page]

JP5497697B2 - Communications system - Google Patents

Communications system Download PDF

Info

Publication number
JP5497697B2
JP5497697B2 JP2011141935A JP2011141935A JP5497697B2 JP 5497697 B2 JP5497697 B2 JP 5497697B2 JP 2011141935 A JP2011141935 A JP 2011141935A JP 2011141935 A JP2011141935 A JP 2011141935A JP 5497697 B2 JP5497697 B2 JP 5497697B2
Authority
JP
Japan
Prior art keywords
communication device
packet
leaf
node
port
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.)
Expired - Fee Related
Application number
JP2011141935A
Other languages
Japanese (ja)
Other versions
JP2013009257A (en
JP2013009257A5 (en
Inventor
恭弘 山田
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.)
Alaxala Networks Corp
Original Assignee
Alaxala Networks Corp
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 Alaxala Networks Corp filed Critical Alaxala Networks Corp
Priority to JP2011141935A priority Critical patent/JP5497697B2/en
Publication of JP2013009257A publication Critical patent/JP2013009257A/en
Publication of JP2013009257A5 publication Critical patent/JP2013009257A5/en
Application granted granted Critical
Publication of JP5497697B2 publication Critical patent/JP5497697B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

本発明は、スタック型の通信システムに関する。   The present invention relates to a stacked communication system.

ネットワークに接続された端末の間のパケットの転送を制御するために、通信装置が用いられている。通信装置は、他の複数の通信装置と接続することで、仮想的な1台の通信装置である通信システムとして動作することが可能である。例えば、特許文献1には、スタック型の通信システムを用いたパケットの転送に関する技術が開示されている。   Communication devices are used to control packet transfer between terminals connected to a network. The communication device can operate as a communication system that is a virtual one communication device by connecting to a plurality of other communication devices. For example, Patent Document 1 discloses a technique related to packet transfer using a stack communication system.

通信システムを用いる際に、複数の通信装置が仮想的な1台の通信装置として動作するためには、接続された複数の通信装置の性能(通信装置の備えるMACアドレステーブルに記憶することのできるMACアドレスのエントリ数など。以下、「収容条件」ともいう。)が同じであることが好ましい。これは、性能の低い通信装置によって通信システム全体の性能が低下する場合があるからである。そのため、従来は、スタックを構成することのできる通信装置の機種が限られていた。   When using a communication system, in order for a plurality of communication devices to operate as a single virtual communication device, the performance of the plurality of connected communication devices (can be stored in a MAC address table provided in the communication device) The number of MAC address entries, etc. (hereinafter also referred to as “accommodating conditions”) is preferably the same. This is because the performance of the entire communication system may be degraded by a communication device with low performance. Therefore, conventionally, the types of communication devices that can constitute a stack are limited.

特開2006−42368号公報JP 2006-42368 A 特開2007−124673号公報JP 2007-124673 A

前述の問題を考慮し、本発明が解決しようとする課題は、異なる性能を有する通信装置によってスタック型の通信システムを構築した場合に、通信システム全体の性能が、性能の低い通信装置に影響されることを抑制する技術を提供することである。   Considering the above-mentioned problems, the problem to be solved by the present invention is that when a stacked communication system is constructed by communication apparatuses having different performances, the performance of the entire communication system is affected by the communication apparatus having a low performance. It is to provide a technology that suppresses this.

本発明は、上述の課題の少なくとも一部を解決するためになされたものであり、以下の形態又は適用例として実現することが可能である。
本発明の第1の形態は、第1の通信装置と第2の通信装置とを含む通信システムであって、前記通信システムは、リング状に接続された複数の前記第2の通信装置を備え、前記第1の通信装置は、複数の前記第2の通信装置のうち少なくとも2台に接続されており、
前記第1の通信装置は、送信元の端末のアドレスと宛先の端末のアドレスとを含むパケットの送受信をそれぞれおこなうための複数の第1のポートと、前記複数の第1のポートのいずれかを介して受信したレイヤ2パケットまたはレイヤ3パケットである元パケットに、受信したポートを識別するための受信ポート情報を付加した受信ポート情報付き元パケットを前記第2の通信装置に転送する第1の転送制御部と、を備え、前記第2の通信装置は、前記第1の通信装置から前記受信ポート情報付き元パケットを受信する第2のポートと、前記複数の第1のポートと前記複数の第1のポートのそれぞれに接続された端末との対応関係が少なくとも記録された第1のアドレステーブルが記憶された第1の記憶部と、
受信した前記受信ポート情報付き元パケットに含まれる受信ポート情報と前記送信元の端末のアドレスとに基づいて、前記複数の第1のポートと前記複数の第1のポートのそれぞれに接続された端末との対応関係を学習して前記第1のアドレステーブルに記録する学習部と、受信した前記受信ポート情報付き元パケットに含まれる前記宛先の端末のアドレスと前記第1のアドレステーブルとに基づいて、前記第1の通信装置から転送された前記元パケットの送信をおこなう第1のポートを、前記複数の第1のポートの中から特定する送信ポート特定部と、前記特定した送信ポート情報を前記元パケットに付加した送信ポート情報付き元パケットを前記第1の通信装置に転送する第2の転送制御部と、を備え、前記第1の通信装置は、前記複数の第1のポートと前記複数の第1のポートのそれぞれに接続された端末のアドレスとの対応関係が記録された第2のアドレステーブルが記憶された第2の記憶部を更に備えており、前記第1の通信装置の第1の転送制御部は、前記送信ポート情報付き元パケットを受信し、前記送信ポート情報付き元パケットに含まれる前記送信ポート情報に該当する前記第1のポートから、前記元パケットを送信前記第2のアドレステーブルに基づいて、前記元パケットの送信をおこなう第1のポートを、前記複数の第1のポートの中から特定した場合に、前記元パケットを前記特定された第1のポートの中から送信し、前記元パケットの送信をおこなう第1のポートを、前記複数の第1のポートから特定できない場合に、前記受信ポート情報付き元パケットを前記第2の通信装置に転送し、前記少なくとも2台の第2の通信装置の間の接続に障害が発生したことを検出した場合に、前記少なくとも2台の第2の通信装置の間に流れるパケットの中継をおこない、前記第1の通信装置の前記第2の記憶部に記憶可能な前記対応関係の数は、前記第2の通信装置の前記第1の記憶部に記憶可能な前記対応関係の数よりも少ない、通信システムである。
このような構成であれば、第1の通信装置が備える第1の転送制御部が受信したレイヤ2パケットまたはレイヤ3パケットである元パケットに付加された受信ポート情報と、送信元の端末のアドレスとに基づいて、第2の通信装置が複数の第1のポートと複数の第1のポートのそれぞれに接続された端末との対応関係を学習し、第1のアドレステーブルに記録する。また、第2の通信装置が備える送信ポート特定部が、第1のアドレステーブルに基づいて、元パケットの送信をおこなう第1のポートを複数の第1のポートの中から特定し、特定した送信ポート情報が付加された元パケットを第1の通信装置に転送して、第1の通信装置が送信ポート情報に該当する第1のポートから元パケットを送信する。したがって、異なる性能を有する通信装置によってスタック型の通信システムを構築した場合においても、第2の通信装置が、第1の通信装置が受信したパケットに関する学習および送信ポートの特定を担うことができる。そのため、通信システムの性能が、性能の低い通信装置に影響されることを抑制し、広範囲のネットワークを通信システムによって一括に管理して、パケットを送信することができる。また、第1の通信装置が第1のポートのそれぞれに接続された端末のアドレスとの対応関係が記録された第2のアドレステーブルを備える。そのため、第1の通信装置が第2の通信装置がおこなう学習および送信ポートの特定の一部を、おこなうことができる。したがって、第2の通信装置がおこなう学習および送信ポートの特定に関する負担が軽減されるとともに、通信システム全体として収容条件を向上させることができる。さらに、第2の通信装置の間の接続に障害が発生した場合であっても、第1の通信装置が第2の通信装置の間に流れるパケットの中継を行うことができるので、ネットワークシステムの冗長化を実現することができ、通信システムの可用性を高めることができる。
SUMMARY An advantage of some aspects of the invention is to solve at least a part of the problems described above, and the invention can be implemented as the following forms or application examples.
A first aspect of the present invention is a communication system including a first communication device and a second communication device, and the communication system includes a plurality of the second communication devices connected in a ring shape. The first communication device is connected to at least two of the plurality of second communication devices,
The first communication device includes a plurality of first ports for transmitting and receiving packets each including a source terminal address and a destination terminal address, and any one of the plurality of first ports. A first packet with reception port information added with reception port information for identifying the received port to an original packet that is a layer 2 packet or a layer 3 packet received via the first communication device; A transfer control unit, wherein the second communication device receives a source packet with receiving port information from the first communication device, the plurality of first ports, and the plurality of ports. A first storage unit storing a first address table storing at least a correspondence relationship with a terminal connected to each of the first ports;
Terminals connected to each of the plurality of first ports and the plurality of first ports based on the reception port information included in the received original packet with reception port information and the address of the transmission source terminal Based on the learning unit that learns the correspondence relationship with the first address table and records it in the first address table, the address of the destination terminal included in the received original packet with the reception port information, and the first address table A transmission port specifying unit that specifies, from among the plurality of first ports, a first port that transmits the original packet transferred from the first communication device, and the specified transmission port information It includes a second transfer control unit for transferring the source packet with the transmission port information added to the original packet to the first communication device, wherein the first communication device, the plurality Further comprising a second storage unit in which the second address table is stored corresponding relationship between the addresses of terminals connected to the respective first port and said plurality of first ports has been recorded, the The first transfer control unit of the first communication device receives the original packet with the transmission port information, and from the first port corresponding to the transmission port information included in the original packet with the transmission port information, The original packet is transmitted when the first port that transmits the original packet is identified from among the plurality of first ports based on the second address table. If the first port for transmitting the original packet is not identified from the plurality of first ports, the original port with the reception port information is transmitted. When the communication between the at least two second communication devices is detected and a failure has occurred in the connection between the at least two second communication devices. The number of correspondences that can be stored in the second storage unit of the first communication device can be stored in the first storage unit of the second communication device by relaying packets that flow between them wherein less than the number of correspondence relations is communication system.
With such a configuration, the reception port information added to the original packet that is the layer 2 packet or the layer 3 packet received by the first transfer control unit included in the first communication device, and the address of the transmission source terminal Based on the above, the second communication device learns the correspondence between the plurality of first ports and the terminals connected to each of the plurality of first ports, and records them in the first address table. In addition, the transmission port identification unit included in the second communication device identifies the first port that transmits the original packet from the plurality of first ports based on the first address table, and identifies the identified transmission. The original packet with the port information added is transferred to the first communication device, and the first communication device transmits the original packet from the first port corresponding to the transmission port information. Therefore, even when a stack communication system is constructed by communication devices having different performances, the second communication device can take charge of learning regarding the packet received by the first communication device and specifying the transmission port. Therefore, it is possible to suppress the performance of the communication system from being affected by a low-performance communication device, and to manage a wide range of networks collectively by the communication system and transmit packets. Further, the first communication device includes a second address table in which a correspondence relationship with the address of the terminal connected to each of the first ports is recorded. Therefore, the first communication device can perform part of learning and transmission port specification performed by the second communication device. Therefore, the burden on learning and transmission port specification performed by the second communication device is reduced, and the accommodation conditions of the entire communication system can be improved. Furthermore, even when a failure occurs in the connection between the second communication devices, the first communication device can relay the packets flowing between the second communication devices. Redundancy can be realized and the availability of the communication system can be increased.

[適用例1]第1の通信装置と第2の通信装置とを含む通信システムであって、前記第1の通信装置は、送信元の端末のアドレスと宛先の端末のアドレスとを含むパケットの送受信をそれぞれおこなうための複数の第1のポートと、前記複数の第1のポートのいずれかを介して受信したパケットである元パケットに、受信したポートを識別するための受信ポート情報を付加した受信ポート情報付き元パケットを前記第2の通信装置に転送する第1の転送制御部と、を備え、前記第2の通信装置は、前記第1の通信装置から前記受信ポート情報付き元パケットを受信する第2のポートと、前記複数の第1のポートと前記複数の第1のポートのそれぞれに接続された端末との対応関係が少なくとも記録された第1のアドレステーブルが記憶された第1の記憶部と、受信した前記受信ポート情報付き元パケットに含まれる受信ポート情報と前記送信元の端末のアドレスとに基づいて、前記複数の第1のポートと前記複数の第1のポートのそれぞれに接続された端末との対応関係を学習して前記第1のアドレステーブルに記録する学習部と、受信した前記受信ポート情報付き元パケットに含まれる前記宛先の端末のアドレスと前記第1のアドレステーブルとに基づいて、前記第1の通信装置から転送された前記元パケットの送信をおこなう第1のポートを、前記複数の第1のポートの中から特定する送信ポート特定部と、前記特定した送信ポート情報を前記元パケットに付加した送信ポート情報付き元パケットを前記第1の通信装置に転送する第2の転送制御部と、を備え、前記第1の通信装置の第1の転送制御部は、前記送信ポート情報付き元パケットを受信し、前記送信ポート情報付き元パケットに含まれる前記送信ポート情報に該当する前記第1のポートから、前記元パケットを送信する、通信システム。 [Application Example 1] A communication system including a first communication device and a second communication device, wherein the first communication device transmits a packet including an address of a source terminal and an address of a destination terminal. Receiving port information for identifying the received port is added to a plurality of first ports for performing transmission and reception and an original packet which is a packet received via any of the plurality of first ports. A first transfer control unit configured to transfer the original packet with reception port information to the second communication device, wherein the second communication device receives the original packet with reception port information from the first communication device. A first address table storing at least correspondence between the second port to receive, the plurality of first ports, and the terminals connected to each of the plurality of first ports is stored. 1 of the plurality of first ports and the plurality of first ports based on the reception port information included in the received original packet with the reception port information and the address of the transmission source terminal. A learning unit that learns a correspondence relationship with each connected terminal and records it in the first address table; an address of the destination terminal included in the received source packet with the reception port information; and the first A transmission port specifying unit for specifying, from among the plurality of first ports, a first port for transmitting the original packet transferred from the first communication device based on an address table; A second transfer control unit configured to transfer an original packet with transmission port information obtained by adding the transmitted port information to the original packet to the first communication device, and the first communication A first transfer control unit configured to receive the original packet with the transmission port information and transmit the original packet from the first port corresponding to the transmission port information included in the original packet with the transmission port information. A communication system.

このような構成であれば、第1の通信装置が備える第1の転送制御部が受信した元パケットに付加された受信ポート情報と、送信元の端末のアドレスとに基づいて、第2の通信装置が複数の第1のポートと複数の第1のポートのそれぞれに接続された端末との対応関係を学習し、第1のアドレステーブルに記録する。また、第2の通信装置が備える送信ポート特定部が、第1のアドレステーブルに基づいて、元パケットの送信をおこなう第1のポートを複数の第1のポートの中から特定し、特定した送信ポート情報が付加された元パケットを第1の通信装置に転送して、第1の通信装置が送信ポート情報に該当する第1のポートから元パケットを送信する。したがって、異なる性能を有する通信装置によってスタック型の通信システムを構築した場合においても、第2の通信装置が、第1の通信装置が受信したパケットに関する学習および送信ポートの特定を担うことができる。そのため、通信システムの性能が、性能の低い通信装置に影響されることを抑制し、広範囲のネットワークを通信システムによって一括に管理して、パケットを送信することができる。   With such a configuration, the second communication is performed based on the reception port information added to the original packet received by the first transfer control unit included in the first communication device and the address of the transmission source terminal. The device learns the correspondence between the plurality of first ports and the terminals connected to each of the plurality of first ports, and records them in the first address table. In addition, the transmission port identification unit included in the second communication device identifies the first port that transmits the original packet from the plurality of first ports based on the first address table, and identifies the identified transmission. The original packet with the port information added is transferred to the first communication device, and the first communication device transmits the original packet from the first port corresponding to the transmission port information. Therefore, even when a stack communication system is constructed by communication devices having different performances, the second communication device can take charge of learning regarding the packet received by the first communication device and specifying the transmission port. Therefore, it is possible to suppress the performance of the communication system from being affected by a low-performance communication device, and to manage a wide range of networks collectively by the communication system and transmit packets.

[適用例2]適用例1に記載の通信システムであって、前記第1の通信装置は、更に、前記複数の第1のポートと前記複数の第1のポートのそれぞれに接続された端末のアドレスとの対応関係が記録された第2のアドレステーブルが記憶された第2の記憶部を備え、前記第1の転送制御部は、前記第2のアドレステーブルに基づいて、前記元パケットの送信をおこなう第1のポートを、前記複数の第1のポートの中から特定した場合に、前記元パケットを前記特定された第1のポートの中から送信し、前記元パケットの送信をおこなう第1のポートを、前記複数の第1のポートから特定できない場合に、前記受信ポート情報付き元パケットを前記第2の通信装置に転送する、通信システム。 Application Example 2 In the communication system according to Application Example 1, the first communication device is further configured by a terminal connected to each of the plurality of first ports and the plurality of first ports. A second storage unit storing a second address table in which a correspondence relationship with the address is recorded, and the first transfer control unit transmits the original packet based on the second address table. When the first port for performing the identification is specified from among the plurality of first ports, the original packet is transmitted from the identified first port, and the original packet is transmitted. A communication system that transfers the original packet with reception port information to the second communication device when the port cannot be identified from the plurality of first ports.

このような構成であれば、第1の通信装置が第1のポートのそれぞれに接続された端末のアドレスとの対応関係が記録された第2のアドレステーブルを備える。そのため、第1の通信装置が第2の通信装置がおこなう学習および送信ポートの特定の一部を、おこなうことができる。したがって、第2の通信装置がおこなう学習および送信ポートの特定に関する負担が軽減されるとともに、通信システム全体として収容条件を向上させることができる。   With such a configuration, the first communication apparatus includes a second address table in which a correspondence relationship with the address of the terminal connected to each of the first ports is recorded. Therefore, the first communication device can perform part of learning and transmission port specification performed by the second communication device. Therefore, the burden on learning and transmission port specification performed by the second communication device is reduced, and the accommodation conditions of the entire communication system can be improved.

[適用例3]適用例1または適用例2に記載の通信システムであって、前記通信システムは、リング状に接続された複数の前記第2の通信装置を備え、前記第1の通信装置は、複数の前記第2の通信装置のうち少なくとも2台に接続されており、前記第1の通信装置の第1の転送制御部は、前記少なくとも2台の第2の通信装置の間の接続に障害が発生したことを検出した場合に、前記少なくとも2台の第2の通信装置の間に流れるパケットの中継をおこなう、通信システム。 Application Example 3 The communication system according to Application Example 1 or Application Example 2, wherein the communication system includes a plurality of the second communication devices connected in a ring shape, and the first communication device includes: , Being connected to at least two of the plurality of second communication devices, wherein the first transfer control unit of the first communication device is connected to the at least two second communication devices. A communication system that relays packets flowing between the at least two second communication devices when it is detected that a failure has occurred.

このような構成であれば、通信装置の間の接続に障害が発生した場合、第1の通信装置の備える第1の転送制御部が少なくとも2台の第2の通信装置の間に流れるパケットの中継をおこなう。よって、ネットワークシステムの冗長化を実現することができ、通信システムの可用性を高めることができる。   With such a configuration, when a failure occurs in the connection between the communication devices, the first transfer control unit included in the first communication device transmits packets between at least two second communication devices. Relay. Therefore, redundancy of the network system can be realized and the availability of the communication system can be increased.

[適用例4]適用例1から適用例3までのいずれか一の適用例に記載の通信システムであって、前記第1の通信装置と前記第2の通信装置との間にカスケード接続される少なくとも一台の第3の通信装置を備え、前記第3の通信装置は、前記第1の通信装置と、前記第2の通信装置とを一体的に備える、通信システム。 Application Example 4 The communication system according to any one of Application Examples 1 to 3, wherein the communication system is cascade-connected between the first communication device and the second communication device. A communication system comprising at least one third communication device, wherein the third communication device integrally comprises the first communication device and the second communication device.

このような構成であれば、第1の通信装置と、第2の通信装置とを一体的に備える第3の通信装置を用いて第2の通信装置がおこなうパケットの転送処理の一部をおこなうことができる。さらに、多段階に接続した通信システムを構築することができるため、ネットワークを拡大して、パケット転送処理をおこなうことができる。   With such a configuration, a part of packet transfer processing performed by the second communication device is performed using the third communication device that integrally includes the first communication device and the second communication device. be able to. Furthermore, since a communication system connected in multiple stages can be constructed, the network can be expanded and packet transfer processing can be performed.

[適用例5]適用例1から適用例4までのいずれか一の適用例に記載の通信システムであって、前記第2の通信装置は、パケットの受信制限をおこなう端末のアドレスが少なくとも記録されたアクセスコントロールリストを備え、前記第1の通信装置の第1の転送制御部は、前記アクセスコントロールリストの少なくとも一部を取得し、前記第1のポートに接続された端末について、前記元パケットの受信制限をおこなう、通信システム。 [Application Example 5] In the communication system according to any one of application examples from Application Example 1 to Application Example 4, the second communication apparatus stores at least an address of a terminal that performs packet reception restriction. A first transfer control unit of the first communication device acquires at least a part of the access control list, and for the terminal connected to the first port, A communication system that limits reception.

このような構成であれば、第2の通信装置が備えるアクセスコントロールリストの少なくとも一部に基づいて、第1の通信装置が前記第1のポートに接続された端末について、前記元パケットの受信制限をおこなう。よって、第2の通信装置がおこなうパケットの受信制限に関する負担が軽減される。そのため、収容条件の異なる広範囲のネットワークを、アクセスコントロールリストに基づいた通信システムによって一括に管理して、パケットの受信制限をおこなうことができる。   With such a configuration, based on at least a part of the access control list provided in the second communication device, the original communication packet reception restriction for the terminal connected to the first port by the first communication device. To do. Therefore, the burden related to the packet reception restriction performed by the second communication apparatus is reduced. Therefore, a wide range of networks with different accommodation conditions can be collectively managed by the communication system based on the access control list, and packet reception can be restricted.

[適用例6]適用例1から適用例5までのいずれか一の適用例に記載の通信システムであって、前記第2の通信装置は、端末を仮想的なグループに区分するための情報であるグループ情報が定義されたVLANテーブルを備え、前記第1の通信装置の第1の転送制御部は、前記VLANテーブルの少なくとも一部を取得し、前記第1のポートに接続された端末に関するグループ情報に基づいて、パケットの転送を制御する、通信システム。 [Application Example 6] The communication system according to any one application example from Application Example 1 to Application Example 5, in which the second communication device is information for classifying terminals into virtual groups. A VLAN table in which certain group information is defined, wherein the first transfer control unit of the first communication device obtains at least a part of the VLAN table, and a group related to a terminal connected to the first port; A communication system for controlling packet forwarding based on information.

このような構成であれば、第2の通信装置が備えるVLANテーブルの少なくとも一部を取得し、第1のポートに接続された端末に関するグループ情報に基づいて、パケットの転送を制御する。よって、第2の通信装置がおこなうパケットの転送制御に関する負担が軽減される。そのため、収容条件の異なる通信装置を使用して、広範囲のネットワークを、VLANテーブルに基づいた通信システムによって一括に管理して、パケットの転送を制御することができる。   With such a configuration, at least a part of the VLAN table included in the second communication apparatus is acquired, and packet transfer is controlled based on group information regarding the terminal connected to the first port. Therefore, a burden related to packet transfer control performed by the second communication apparatus is reduced. For this reason, it is possible to collectively control a wide range of networks by a communication system based on the VLAN table by using communication apparatuses having different accommodation conditions, and to control packet transfer.

[適用例7]適用例1から適用例6までのいずれかの一つの適用例に記載の通信システムであって、前記元パケットは、レイヤ2パケットまたはレイヤ3パケットである、通信システム。このような構成であれば、広範囲のネットワークを通信システムによって一括に管理してレイヤ2パケットまたはレイヤ3パケットの転送を制御することができる。 Application Example 7 The communication system according to any one application example from Application Example 1 to Application Example 6, wherein the original packet is a layer 2 packet or a layer 3 packet. With such a configuration, a wide range of networks can be collectively managed by the communication system to control transfer of layer 2 packets or layer 3 packets.

本発明は、上述した通信システムとしての構成のほか、通信システムに含まれる通信装置やパケットの転送方法、コンピュータプログラムとしても構成することができる。かかるコンピュータプログラムは、コンピュータが読取可能な記録媒体に記録されていてもよい。記録媒体としては、例えば、フレキシブルディスクやCD−ROM、DVD−ROM、光磁気ディスク、メモリカード、ハードディスク等の種々の媒体を利用することができる。   In addition to the configuration as the communication system described above, the present invention can also be configured as a communication device, a packet transfer method, and a computer program included in the communication system. Such a computer program may be recorded on a computer-readable recording medium. As the recording medium, for example, various media such as a flexible disk, a CD-ROM, a DVD-ROM, a magneto-optical disk, a memory card, and a hard disk can be used.

本発明の第1実施例における通信システムを用いたネットワークの構成を概略的に示す図である。It is a figure which shows roughly the structure of the network using the communication system in 1st Example of this invention. リーフおよびノードの概略構成を示した図である。It is the figure which showed schematic structure of the leaf and the node. 学習部によって記録されるアドレステーブルの一例を示した図である。It is the figure which showed an example of the address table recorded by the learning part. 通信システムにおいて繰り返し実行されるパケット転送処理のフローチャートである。It is a flowchart of the packet transfer process repeatedly performed in a communication system. 元パケットおよびカプセル化パケットのデータ構造を示す図である。It is a figure which shows the data structure of an original packet and an encapsulation packet. 学習後のアドレステーブルの一例を示す図である。It is a figure which shows an example of the address table after learning. ポートビットマップ情報の一例を示す図である。It is a figure which shows an example of port bitmap information. リーフがノードと同様に学習部、送信ポート特定部、記憶部、アドレステーブルを有する場合のリーフおよびノードの概略構成を示した図である。It is the figure which showed schematic structure of the leaf and node in case a leaf has a learning part, a transmission port specific | specification part, a memory | storage part, and an address table like a node. リーフの備えるアドレステーブルの一例を示した図である。It is the figure which showed an example of the address table with which a leaf is provided. 第2実施例におけるパケットの転送処理のフローチャートである。It is a flowchart of the transfer process of the packet in 2nd Example. カスケード型に接続された通信システムを用いたネットワークの構成を示す図である。It is a figure which shows the structure of the network using the communication system connected in the cascade type. カスケード型に接続された通信システムにおけるリーフ、ノード・リーフおよびノードの概略構成を示した図である。It is the figure which showed schematic structure of the leaf in the communication system connected in cascade, the node leaf, and the node. ノード・リーフの備えるアドレステーブルの一例を示した図である。It is the figure which showed an example of the address table with which a node leaf is provided. ノードの備えるアドレステーブルの一例を示した図である。It is the figure which showed an example of the address table with which a node is provided. 複数のノードがリング状に接続されたネットワークを示した図である。1 is a diagram showing a network in which a plurality of nodes are connected in a ring shape. リング状のネットワークにおいて通信に障害が生じた状態を示した図である。It is the figure which showed the state in which the failure occurred in communication in the ring-shaped network. リング内パケットの転送処理を示すフローチャートである。It is a flowchart which shows the transfer process of the packet in a ring. 障害が発生情報を受信したリーフによって実行されるリング内パケットの転送処理を示すフローチャートである。It is a flowchart which shows the transfer process of the packet in a ring performed by the leaf which received failure occurrence information. ノードの備えるアクセスコントロールリストの一例を示す図である。It is a figure which shows an example of the access control list with which a node is provided.

A.第1実施例:
図1は、本発明の第1実施例における通信システム100を用いたネットワーク10の構成を概略的に示す図である。ネットワーク10は、複数の端末装置(以下、単に「端末」ともいう)300と、端末装置300が接続された複数の第1の通信装置SW1と、第1の通信装置SW1が接続された複数の第2の通信装置SW2と、を備えている。以降、第1の通信装置を「リーフ(Leaf)」、第2の通信装置を「ノード(Node)」ともいう。本実施例では、ネットワーク10は、リング状に接続された複数のノードSW2のそれぞれが、リーフSW1と接続された、スタック型の通信システム100を備えている。ネットワーク10内の各端末300と通信装置、各通信装置同士は、例えばUTPケーブル、STPケーブル、光ファイバなどによって接続されている。
A. First embodiment:
FIG. 1 is a diagram schematically showing the configuration of a network 10 using a communication system 100 in the first embodiment of the present invention. The network 10 includes a plurality of terminal devices (hereinafter also simply referred to as “terminals”) 300, a plurality of first communication devices SW1 to which the terminal devices 300 are connected, and a plurality of to which the first communication devices SW1 are connected. And a second communication device SW2. Hereinafter, the first communication device is also referred to as “leaf”, and the second communication device is also referred to as “node”. In this embodiment, the network 10 includes a stacked communication system 100 in which each of a plurality of nodes SW2 connected in a ring shape is connected to a leaf SW1. Each terminal 300 in the network 10 is connected to a communication device, and each communication device is connected by, for example, a UTP cable, an STP cable, an optical fiber, or the like.

端末装置300は、ユーザが使用する情報処理装置であり、例えばパーソナルコンピュータ(PC)により構成されている。リーフSW1およびノードSW2は、ネットワーク10においてパケットを転送する装置である。ネットワーク10における少なくとも1台のリーフSW1は、例えば、MACアドレステーブルを備えていない、もしくはMACアドレステーブルに記憶することのできるMACアドレスのエントリ数がノードSW2よりも少ない通信装置である。すなわち、ネットワーク10における少なくとも1台のリーフSW1の収容条件は、ノードSW2の収容条件よりも低い。   The terminal device 300 is an information processing device used by a user, and is configured by, for example, a personal computer (PC). The leaf SW1 and the node SW2 are devices that transfer packets in the network 10. At least one leaf SW1 in the network 10 is, for example, a communication device that does not include a MAC address table or has fewer MAC address entries than the node SW2 that can be stored in the MAC address table. That is, the accommodation condition of at least one leaf SW1 in the network 10 is lower than the accommodation condition of the node SW2.

リーフSW1およびノードSW2は、OSI参照モデルにおける第2層(データリンク層)のパケットであるレイヤ2(L2)パケットを転送する通信装置として機能する。レイヤ2パケットは、イーサネット(登録商標)フレームともいう。また、リーフSW1およびノードSW2は、OSI参照モデルにおける第3層(ネットワーク層)のパケットであるレイヤ3(L3)パケットを転送する通信装置として機能することもできる。したがって、リーフSW1およびノードSW2が接続された通信システム100は、レイヤ2パケットを転送する仮想的な1台の通信装置あるいはレイヤ3パケットを転送する仮想的な1台の通信装置として機能することが可能である。 The leaf SW1 and the node SW2 function as a communication device that transfers a layer 2 (L2) packet that is a second layer (data link layer) packet in the OSI reference model. The layer 2 packet is also called an Ethernet (registered trademark) frame. The leaf SW1 and the node SW2 can also function as a communication device that transfers a layer 3 (L3) packet that is a third layer (network layer) packet in the OSI reference model. Therefore, the communication system 100 to which the leaf SW1 and the node SW2 are connected can function as one virtual communication device that transfers layer 2 packets or one virtual communication device that transfers layer 3 packets. Is possible.

図2は、リーフSW11およびノードSW21の概略構成を、図1に示したネットワーク10の一部のネットワーク15を用いて示した図である。リーフSW11は、端末301、302、303を含む複数の端末装置やノードSW21と接続するためのケーブルが接続される複数の第1のポート(1a、1b、1c、1dなど)と、パケットの転送を制御する第1制御部110と、を備えている。リーフSW11はMACアドレス「MAC1」を、ノードSW21はMACアドレス「MAC2」をそれぞれ有している。また、端末301はMACアドレス「MAC3」を、端末302はMACアドレス「MAC4」を、端末303はMACアドレス「MAC5」をそれぞれ有している。以降、端末301を送信元の端末として、端末302を宛先の端末としてパケットを転送する例を用いて、リーフSW11およびノードSW21の構成について説明するが、それぞれの端末は、宛先の端末としても送信元の端末としても機能することができる。   FIG. 2 is a diagram showing a schematic configuration of the leaf SW 11 and the node SW 21 using a part of the network 15 of the network 10 shown in FIG. The leaf SW 11 transfers a packet with a plurality of first ports (1a, 1b, 1c, 1d, etc.) to which cables for connecting to a plurality of terminal devices including the terminals 301, 302, and 303 and the node SW21 are connected. And a first control unit 110 for controlling the above. The leaf SW11 has a MAC address “MAC1”, and the node SW21 has a MAC address “MAC2”. The terminal 301 has a MAC address “MAC3”, the terminal 302 has a MAC address “MAC4”, and the terminal 303 has a MAC address “MAC5”. Hereinafter, the configuration of the leaf SW 11 and the node SW 21 will be described using an example in which a packet is transferred with the terminal 301 as a transmission source terminal and the terminal 302 as a destination terminal. However, each terminal also transmits as a destination terminal. It can also function as the original terminal.

リーフSW11の備える第1のポートは、端末301と接続されたポート1aと、端末302と接続されたポート1bと、端末303と接続されたポート1cと、ノードSW21と接続されたポート1dと、その他図示しない複数のポートと、を備える。   The first port included in the leaf SW11 includes a port 1a connected to the terminal 301, a port 1b connected to the terminal 302, a port 1c connected to the terminal 303, a port 1d connected to the node SW21, And a plurality of ports (not shown).

第1制御部110は、第1の転送制御部115を備えている。第1の転送制御部115は、例えばASIC(Application Specific Integrated Circuit)により構成されている。第1の転送制御部115は、端末301から受信したパケット(以下、元パケットともいう)に、パケットを受信したポート(以下、受信ポートという)の識別情報(以下、受信ポート情報という)を付加し、ポート1dを介してノードSW21へ転送する。以下、元パケットに情報を付加することを「カプセル化」、情報が付加されたパケットを「カプセル化パケット」ともいう。また、第1の転送制御部115は、ノードSW21によってカプセル化されたパケットを受信し、そのカプセル化パケットに含まれる送信ポート情報に基づいて、パケットを送信するためのポートを、複数の第1のポートの中から特定する。   The first control unit 110 includes a first transfer control unit 115. The first transfer control unit 115 is configured by, for example, an ASIC (Application Specific Integrated Circuit). The first transfer control unit 115 adds identification information (hereinafter referred to as reception port information) of the port (hereinafter referred to as reception port) that has received the packet to the packet (hereinafter also referred to as original packet) received from the terminal 301. Then, the data is transferred to the node SW21 through the port 1d. Hereinafter, adding information to an original packet is also referred to as “encapsulation”, and a packet to which information is added is also referred to as “encapsulated packet”. Further, the first transfer control unit 115 receives the packet encapsulated by the node SW21, and sets a plurality of first ports for transmitting the packet based on the transmission port information included in the encapsulated packet. Specify from among the ports.

ノードSW21は、図示しない複数の端末装置や他のノードやリーフSW11と接続するためのケーブルが接続される複数の第2のポート(2a、2b、2c、2dなど)と、第2制御部210と、記憶部220と、を備える。   The node SW21 includes a plurality of second ports (2a, 2b, 2c, 2d, etc.) to which a cable for connecting to a plurality of terminal devices, other nodes and leaf SW11 (not shown), and the second control unit 210 are connected. And a storage unit 220.

第2制御部210は学習部211と、送信ポート特定部213と、第2の転送制御部215と、を備える。学習部211と、送信ポート特定部213と、第2の転送制御部215は、例えば、ASICにより構成されている。   The second control unit 210 includes a learning unit 211, a transmission port specifying unit 213, and a second transfer control unit 215. The learning unit 211, the transmission port specifying unit 213, and the second transfer control unit 215 are configured by an ASIC, for example.

第2の転送制御部215は、リーフSW11から受信したカプセル化パケットに含まれる、元パケットの宛先である端末302のアドレスの情報を、カプセル化パケットから取り出す。以下、元パケットに付加された情報をカプセル化パケットから取り出すことを、「デカプセル化」ともいう。取り出された情報は、後述する学習部211による学習や、送信ポート特定部213による送信ポートの特定に用いられる。また、第2の転送制御部215は、後述する送信ポート特定部213により特定された送信ポート情報を元パケットに付加してカプセル化する。第2の転送制御部215は、カプセル化パケットをリーフSW11と接続された第2のポート2dを介してリーフSW11に転送する。   The second transfer control unit 215 extracts information on the address of the terminal 302 that is the destination of the original packet included in the encapsulated packet received from the leaf SW 11 from the encapsulated packet. Hereinafter, taking out the information added to the original packet from the encapsulated packet is also referred to as “decapsulation”. The extracted information is used for learning by the learning unit 211 described later and for specifying a transmission port by the transmission port specifying unit 213. Further, the second transfer control unit 215 adds the transmission port information specified by the transmission port specifying unit 213 described later to the original packet and encapsulates it. The second transfer control unit 215 transfers the encapsulated packet to the leaf SW11 via the second port 2d connected to the leaf SW11.

送信ポート特定部213は、リーフSW11が元パケットを送信するための第1のポート(端末302に接続されたポート)1bを、アドレステーブル221の中から特定する。アドレステーブル221の詳細については後述する。   The transmission port identification unit 213 identifies, from the address table 221, the first port (port connected to the terminal 302) 1 b for the leaf SW 11 to transmit the original packet. Details of the address table 221 will be described later.

記憶部220は、アドレステーブル221や、その他図示しないパケットの転送処理に用いられるアクセスコントロールリストやVLANテーブルなどを備える。記憶部220は本発明の第1の記憶部に相当する。アクセスコントロールリスト、VLANテーブルについては後述する。   The storage unit 220 includes an address table 221 and other access control lists and VLAN tables used for packet transfer processing (not shown). The storage unit 220 corresponds to the first storage unit of the present invention. The access control list and VLAN table will be described later.

学習部211は、リーフSW11から第2のポート2dを介して受信した元パケットに付加された受信ポート情報と、元パケットの送信元である端末301との対応関係を学習して、アドレステーブル221に記録する。   The learning unit 211 learns the correspondence between the reception port information added to the original packet received from the leaf SW 11 via the second port 2d and the terminal 301 that is the source of the original packet, and the address table 221 To record.

図3は、学習部によって記録される、アドレステーブル221の一例を示した図である。アドレステーブル221は、MACアドレスと、そのMACアドレスを有する端末や通信装置が接続されているリーフのポート情報と、そのリーフが接続されているノードのポート情報とが対応付けて記憶されている。ポート情報は、それぞれの通信装置が備えるポートの識別情報であり、前述の受信ポート情報や送信ポート情報として用いられる。図3に示したアドレステーブル221では、例えば、端末302のMACアドレスであるMAC4と、端末302と接続されているリーフSW11のポート情報である1bと、リーフSW11と接続されているノードSW21のポート情報である2dとが対応づけて記憶されている。アドレステーブル221は、本発明の第1のアドレステーブルに相当する。   FIG. 3 is a diagram illustrating an example of the address table 221 recorded by the learning unit. The address table 221 stores a MAC address, port information of a leaf to which a terminal or a communication apparatus having the MAC address is connected, and port information of a node to which the leaf is connected. The port information is port identification information included in each communication device, and is used as the above-described reception port information and transmission port information. In the address table 221 shown in FIG. 3, for example, MAC4 that is the MAC address of the terminal 302, 1b that is port information of the leaf SW11 connected to the terminal 302, and the port of the node SW21 that is connected to the leaf SW11 Information 2d is stored in association with each other. The address table 221 corresponds to the first address table of the present invention.

図4は、通信システム100において繰り返し実行されるパケット転送処理のフローチャートである。パケット転送処理とは、リーフSW11とノードSW21が、それぞれのポートに接続された端末装置の間の通信を中継する処理である。図4においては、リーフSW11で実行される処理を破線の左側に、ノードSW21で実行される処理を破線の右側に、分けて表している。以下、図1および図2に示すネットワーク15を例にして、端末301から端末302へパケットを転送処理する場合について説明する。   FIG. 4 is a flowchart of packet transfer processing that is repeatedly executed in the communication system 100. The packet transfer process is a process in which the leaf SW 11 and the node SW 21 relay communication between terminal devices connected to respective ports. In FIG. 4, the process executed by the leaf SW 11 is shown separately on the left side of the broken line, and the process executed by the node SW 21 is shown separately on the right side of the broken line. Hereinafter, a case where a packet is transferred from the terminal 301 to the terminal 302 will be described using the network 15 shown in FIGS. 1 and 2 as an example.

パケット転送処理が開始されると、リーフSW11は、端末301から元パケットの受信をおこなう(ステップS10)。元パケット410の受信をおこなうと、リーフSW11の備える第1の転送制御部115は、元パケット410を、受信したポート情報によって、カプセル化をおこなう(ステップS14)。   When the packet transfer process is started, the leaf SW 11 receives the original packet from the terminal 301 (step S10). When the original packet 410 is received, the first transfer control unit 115 included in the leaf SW 11 encapsulates the original packet 410 based on the received port information (step S14).

図5は元パケットおよびカプセル化パケットのデータ構造を示す図である。端末301から受信する元パケットは、図5(a)に示すように、宛先となる端末のMACアドレスである宛先MACアドレス401と、送信元となる端末のMACアドレスである送信元MACアドレス402と、ペイロード403と、FCS(Frame Check Sequence)404と、を備える。図2に示す端末301から端末302へパケットを転送する場合、宛先MACアドレス401に対応するMACアドレスは「MAC4」、送信元MACアドレス402に対応するMACアドレスは「MAC3」である。   FIG. 5 shows the data structure of the original packet and the encapsulated packet. As shown in FIG. 5A, the source packet received from the terminal 301 includes a destination MAC address 401 that is the MAC address of the destination terminal, and a source MAC address 402 that is the MAC address of the terminal serving as the transmission source. , And a payload check 403 and an FCS (Frame Check Sequence) 404. When the packet is transferred from the terminal 301 to the terminal 302 illustrated in FIG. 2, the MAC address corresponding to the destination MAC address 401 is “MAC4”, and the MAC address corresponding to the transmission source MAC address 402 is “MAC3”.

カプセル化パケット420は、図5(b)に示すように、元パケット410に対して、受信ポート情報406と、このパケットがリーフSW11とノードSW21との間の通信であることを示す独自のイーサタイプ405とが付加されている。本実施例においては、元パケット410に付加された受信ポート情報406は、送信元である端末301が接続された第1のポートのポート情報「1a」である。カプセル化パケット420の宛先MACアドレス411は、ノードSW21のMACアドレスである「MAC2」、送信元MACアドレス412は、リーフSW11のMACアドレスである「MAC1」である。 As shown in FIG. 5B, the encapsulated packet 420 is unique to the original packet 410, indicating that the received port information 406 is communication between the leaf SW11 and the node SW21. Type 405 is added. In this embodiment, the reception port information 406 added to the original packet 410 is the port information “1a” of the first port to which the terminal 301 that is the transmission source is connected. The destination MAC address 411 of the encapsulated packet 420 is “MAC2” that is the MAC address of the node SW21, and the source MAC address 412 is “MAC1” that is the MAC address of the leaf SW11.

元パケット410のカプセル化をおこなうと、第1の転送制御部115は、カプセル化パケット420をノードSW21と接続されたポート1dを介してノードSW21へ送信する(ステップS15)。   When the original packet 410 is encapsulated, the first transfer control unit 115 transmits the encapsulated packet 420 to the node SW21 via the port 1d connected to the node SW21 (step S15).

ノードSW21が、第1のポート1dと接続された第2のポート2dを介してリーフSW11からパケットを受信すると(ステップS21)、第2制御部210の備える第2の転送制御部215は、受信したパケットがカプセル化パケットか否かを判断する(ステップS22)。   When the node SW21 receives a packet from the leaf SW11 via the second port 2d connected to the first port 1d (step S21), the second transfer control unit 215 included in the second control unit 210 receives the packet. It is determined whether the received packet is an encapsulated packet (step S22).

受信したパケットがカプセル化パケットである場合(ステップS22:Yes)、第2の転送制御部215は、デカプセル化により、受信ポート情報406を、カプセル化パケット420より取り出す(ステップS23)。本実施例においては、カプセル化パケット420より取り出される受信ポート情報406は、「1a」である。   When the received packet is an encapsulated packet (step S22: Yes), the second transfer control unit 215 extracts the reception port information 406 from the encapsulated packet 420 by decapsulation (step S23). In this embodiment, the reception port information 406 extracted from the encapsulated packet 420 is “1a”.

受信ポート情報406が取り出されると、ノードSW21の第2制御部210の備える学習部211は、学習処理を実行する(ステップS24)。学習処理とは、学習部211が、アドレステーブル221に記憶されていないMACアドレスとポート情報との組み合わせを、アドレステーブル221に記憶する処理をいう。詳細には、送信元MACアドレス402と、デカプセル化により取得されたリーフSW11の受信ポート情報406と、パケットを受信したノードSW21のポート情報との組み合せがアドレステーブル221に記憶されていない場合に、その組み合わせがアドレステーブル221に記憶される。ノードSW21が第2のポートのいずれかに接続された図示しない通信装置や端末から受信したパケットがカプセル化パケット420でない場合(ステップS22:No)、つまり、端末装置から元パケットを受信した場合も、学習部211は、学習処理を同様に実行する。ただし、この場合、ノードSW21が直接端末から元パケットを受信しているので、リーフのポート情報については、アドレステーブル221に記憶されない。   When the reception port information 406 is extracted, the learning unit 211 included in the second control unit 210 of the node SW21 executes a learning process (step S24). The learning process is a process in which the learning unit 211 stores, in the address table 221, a combination of a MAC address and port information that is not stored in the address table 221. Specifically, when the combination of the source MAC address 402, the reception port information 406 of the leaf SW11 obtained by decapsulation, and the port information of the node SW21 that received the packet is not stored in the address table 221. The combination is stored in the address table 221. When the packet received from a communication device or terminal (not shown) connected to any of the second ports by the node SW21 is not the encapsulated packet 420 (step S22: No), that is, when the original packet is received from the terminal device The learning unit 211 performs the learning process in the same manner. However, in this case, since the node SW 21 directly receives the original packet from the terminal, the leaf port information is not stored in the address table 221.

図6は、学習後のアドレステーブル221の一例を示す図である。図6に示すように、アドレステーブル221には、ステップS24における学習処理により、端末301のMACアドレス「MAC3」と、デカプセル化により取得された受信ポート情報である(端末301が接続されたポートのポート情報)「1a」と、パケットを受信したノードSW21のポート情報「2d」との対応付けが新たに記憶される。対応付けが記憶されると、または、既に対応付けが記憶されていると、学習部211は学習処理を終了して次のステップへ移行する。   FIG. 6 is a diagram illustrating an example of the address table 221 after learning. As shown in FIG. 6, the address table 221 includes the MAC address “MAC3” of the terminal 301 and the received port information acquired by decapsulation by the learning process in step S24 (for the port to which the terminal 301 is connected). Port information) “1a” and the correspondence between the port information “2d” of the node SW 21 that received the packet are newly stored. When the association is stored, or when the association is already stored, the learning unit 211 ends the learning process and proceeds to the next step.

学習処理が終了すると、ノードSW21の備える送信ポート特定部213は、デカプセル化された元パケット410の宛先MACアドレス401がリーフSW11に対応しているか否かを判断する(ステップS25)。「宛先MACアドレス401がリーフSW11に対応する」とは、宛先MACアドレス401に対応するポート情報がアドレステーブル221に記憶されていること、もしくは、宛先MACアドレス401がマルチキャストアドレス又はブロードキャストアドレスであることをいう。マルチキャストとは、予め登録された複数の宛先に同一内容のパケットを複製して配布することをいう。ブロードキャストとは、ネットワーク上にある、すべての端末やノードやリーフに、同一内容のパケットを複製して配布することをいう。つまり、宛先MACアドレス401がリーフSW11に対応していれば、元パケット410は、リーフSW11の備える複数の第1のポートのいずれかを用いて転送処理され得る。   When the learning process is completed, the transmission port specifying unit 213 included in the node SW21 determines whether or not the destination MAC address 401 of the decapsulated original packet 410 corresponds to the leaf SW11 (step S25). “Destination MAC address 401 corresponds to leaf SW11” means that port information corresponding to destination MAC address 401 is stored in address table 221 or that destination MAC address 401 is a multicast address or a broadcast address. Say. Multicast refers to copying and distributing packets having the same contents to a plurality of destinations registered in advance. Broadcast refers to copying and distributing packets of the same content to all terminals, nodes, and leaves on a network. That is, if the destination MAC address 401 corresponds to the leaf SW 11, the original packet 410 can be transferred using any one of the plurality of first ports included in the leaf SW 11.

宛先MACアドレス401がリーフSW11に対応していない場合は(ステップS25:No)、ノードSW21は一般的なスイッチング処理によりパケットを転送する(ステップS26)。一般的なスイッチング処理とは、ARP(Address Resolution Protocol)処理により、取得されていないMACアドレスとポート情報との対応付けを取得する動作や、ノードSW21に接続された他のノードや端末に元パケット410を転送することをいう。   If the destination MAC address 401 does not correspond to the leaf SW11 (step S25: No), the node SW21 transfers the packet by a general switching process (step S26). The general switching process is an operation for acquiring an association between a MAC address that has not been acquired and port information by an ARP (Address Resolution Protocol) process, or an original packet to another node or terminal connected to the node SW21. 410 is transferred.

宛先MACアドレス401がリーフSW11に対応している場合(ステップS25:Yes)、送信ポート特定部213は、元パケット410の宛先MACアドレス401または、宛先IPアドレスに基づいて、元パケット410がブロードキャストパケットもしくはマルチキャストパケットであるか否かを判断する(ステップS27)。   When the destination MAC address 401 corresponds to the leaf SW 11 (step S25: Yes), the transmission port specifying unit 213 determines that the original packet 410 is a broadcast packet based on the destination MAC address 401 or the destination IP address of the original packet 410. Or it is judged whether it is a multicast packet (step S27).

元パケット410がブロードキャストパケットもしくはマルチキャストパケットでない場合は(ステップS27:No)、送信ポート特定部213は、アドレステーブル221の中から、宛先MACアドレス401に対応するポート情報を特定する。宛先MACアドレス401に対応するポート情報が特定されると、第2の転送制御部215は、元パケット410に送信ポート情報407を付加してカプセル化を行い、リーフSW11へカプセル化パケット430(図5(c)参照)を転送する(ステップS29)。本実施例においては、宛先MACアドレス401は端末302のMACアドレスである「MAC4」であり、元パケットに付加された送信ポート情報407は、端末302のMACアドレス「MAC4」に対応するポート情報「1b」である。カプセル化パケット430の宛先MACアドレス413は、リーフSW11のMACアドレスである「MAC1」、送信元MACアドレス414は、ノードSW21のMACアドレスである「MAC2」である。   When the original packet 410 is not a broadcast packet or a multicast packet (step S27: No), the transmission port specifying unit 213 specifies port information corresponding to the destination MAC address 401 from the address table 221. When the port information corresponding to the destination MAC address 401 is specified, the second transfer control unit 215 performs the encapsulation by adding the transmission port information 407 to the original packet 410, and encapsulates the packet 430 (see FIG. 5 (c)) is transferred (step S29). In this embodiment, the destination MAC address 401 is “MAC4” which is the MAC address of the terminal 302, and the transmission port information 407 added to the original packet is the port information “MAC4” corresponding to the MAC address “MAC4” of the terminal 302. 1b ". The destination MAC address 413 of the encapsulated packet 430 is “MAC1” which is the MAC address of the leaf SW11, and the source MAC address 414 is “MAC2” which is the MAC address of the node SW21.

元パケット410がブロードキャストパケットもしくはマルチキャストパケットである場合は(ステップS27:Yes)、第2の転送制御部215は、元パケット410にポートビットマップ情報(PBM情報)408を付加して、あらたなカプセル化パケット440(図5(d)参照)を作製し、第2のポート2dを介してリーフSW11へ転送する(ステップS28)。   When the original packet 410 is a broadcast packet or a multicast packet (step S27: Yes), the second transfer control unit 215 adds a port bitmap information (PBM information) 408 to the original packet 410 to create a new capsule. Packet 440 (see FIG. 5D) is created and transferred to the leaf SW 11 via the second port 2d (step S28).

図7は、ポートビットマップ情報408の例を示す図である。ポートビットマップ情報408とは、リーフSW11の備える複数の第1のポートの中から、いずれのポートを使用してパケットの転送をおこなうかを表すためのビット列からなる情報である。図7(a)には、元パケット410がマルチキャストパケットである場合の、ポートビットマップ情報408の一例を示している。例えば、本実施例においてリーフSW11の備える4つのポート1a、1b、1c、1dのうち、ポート1bおよび1cからパケットを転送する場合、ポート1bおよび1cに対応する列のビットが1と表される。元パケット410がブロードキャストパケットである場合、ポートビットマップ情報408は、図7(b)に示すようにリーフSW11の備えるポート1a、1b、1cに対応する列のビットが1と表される。図7(b)に示すポートビットマップ情報408は、リーフSW11の備える4つのポートのうち、ノードSW21と接続されたポート1d以外から元パケット410を転送することを表す。   FIG. 7 is a diagram illustrating an example of the port bitmap information 408. The port bitmap information 408 is information including a bit string for indicating which port is used to transfer a packet from among a plurality of first ports included in the leaf SW 11. FIG. 7A shows an example of the port bitmap information 408 when the original packet 410 is a multicast packet. For example, in this embodiment, among the four ports 1a, 1b, 1c, and 1d included in the leaf SW 11, when a packet is transferred from the ports 1b and 1c, the bit in the column corresponding to the ports 1b and 1c is represented as 1. . When the original packet 410 is a broadcast packet, the port bit map information 408 indicates that the bit of the column corresponding to the ports 1a, 1b, and 1c included in the leaf SW11 is 1, as shown in FIG. Port bitmap information 408 shown in FIG. 7B represents that the original packet 410 is transferred from a port other than the port 1d connected to the node SW21 among the four ports included in the leaf SW11.

ノードSW21の備える第2のポート2dを介して転送されたカプセル化パケット430もしくは440を、リーフSW11が第1のポート1dを介して受信すると(ステップS30)、リーフSW11の備える第1の転送制御部115は、カプセル化パケット430もしくは440をデカプセル化して、送信ポート情報407もしくはポートビットマップ情報408を取り出す(ステップS31)。   When the leaf SW11 receives the encapsulated packet 430 or 440 transferred via the second port 2d included in the node SW21 (step S30), the first transfer control included in the leaf SW11. The unit 115 decapsulates the encapsulated packet 430 or 440 and takes out the transmission port information 407 or the port bitmap information 408 (step S31).

カプセル化パケット430もしくは440をデカプセル化して送信ポート情報407もしくはポートビットマップ情報408を取り出すと、第1の転送制御部115は、その送信ポート情報407もしくはポートビットマップ情報408に対応する第1のポートから、元パケット410を宛先である端末へ転送する(ステップS32)。詳細には、第1の転送制御部115は、送信ポート情報407が「1b」であり、宛先MACアドレス401が端末302のMACアドレスである「MAC4」である場合には、第1のポートの中からポート1bを介して端末302へ元パケット410を転送する。また、ポートビットマップ情報408が付加されている場合には、図7(a)および(b)に示したように、1が付されたビットに対応する第1のポートから、元パケット410を転送する。   When the encapsulated packet 430 or 440 is decapsulated and the transmission port information 407 or the port bitmap information 408 is taken out, the first transfer control unit 115 outputs the first port corresponding to the transmission port information 407 or the port bitmap information 408. The original packet 410 is transferred from the port to the destination terminal (step S32). Specifically, when the transmission port information 407 is “1b” and the destination MAC address 401 is “MAC4”, which is the MAC address of the terminal 302, the first transfer control unit 115 sets the first port The original packet 410 is transferred from the inside to the terminal 302 via the port 1b. When the port bitmap information 408 is added, as shown in FIGS. 7A and 7B, the original packet 410 is transmitted from the first port corresponding to the bit to which 1 is attached. Forward.

以上のような通信システム100であれば、リーフSW11がノードSW21よりも収容条件が低く、MACアドレスなどを記憶することができない場合においても、ノードSW21がリーフSW11が受信したパケットに関する学習および送信ポートの特定を担うことができる。そのため、リーフSW11を含んだ通信システム100を、一つの仮想的な通信装置として構築し、パケットの転送処理をまとめておこなうことができる。よって本実施例によれば、収容条件の劣る通信装置が存在する場合であっても、その通信装置を有効に利用して、広範囲のネットワークを一括に管理してパケットの転送処理をおこなうことができる。   In the communication system 100 as described above, even when the leaf SW 11 has lower accommodation conditions than the node SW 21 and cannot store the MAC address or the like, the node SW 21 learns and transmits the packet received by the leaf SW 11. Can be specified. Therefore, the communication system 100 including the leaf SW 11 can be constructed as one virtual communication device, and packet transfer processing can be performed collectively. Therefore, according to the present embodiment, even when there is a communication device having inferior accommodation conditions, it is possible to effectively use the communication device to collectively manage a wide range of networks and perform packet transfer processing. it can.

B.第2実施例:
上述した第1実施例のパケット転送処理では、リーフSW11は学習処理を行わず、送信ポートの特定はノードSW21側でおこなうこととした。これに対して本実施例では、リーフSW11bは、ノードSW21と同様に、リーフSW11bの備えるアドレステーブル121に基づいて送信ポートを特定し、パケットの転送の一部を自己の判断でおこなう。
B. Second embodiment:
In the packet transfer process of the first embodiment described above, the leaf SW 11 does not perform the learning process, and the transmission port is specified on the node SW 21 side. On the other hand, in the present embodiment, the leaf SW 11b specifies a transmission port based on the address table 121 provided in the leaf SW 11b, and performs part of the packet transfer based on its own judgment, like the node SW21.

図8は、リーフSW11bがノードSW21と同様に学習部111、送信ポート特定部113、記憶部120、記憶部120が備えるアドレステーブル121を有する場合のリーフSW11bおよびノードSW21の概略構成を示した図である。本実施例においては、リーフSW11bは収容条件がノードSW21より低い。つまり、リーフSW11bの備えるアドレステーブル121の記憶能力(MACアドレステーブルに記憶することのできるMACアドレスのエントリ数)は、ノードSW21の備えるアドレステーブル221bの記憶能力に劣る。   FIG. 8 is a diagram illustrating a schematic configuration of the leaf SW 11b and the node SW21 when the leaf SW 11b includes the learning unit 111, the transmission port specifying unit 113, the storage unit 120, and the address table 121 included in the storage unit 120 in the same manner as the node SW21. It is. In the present embodiment, the accommodation condition of the leaf SW11b is lower than that of the node SW21. In other words, the storage capability of the address table 121 included in the leaf SW 11b (the number of MAC address entries that can be stored in the MAC address table) is inferior to the storage capability of the address table 221b included in the node SW21.

図9は、リーフSW11bの備える記憶部120が有するアドレステーブル121の一例を示した図である。図9に示すように、アドレステーブル121には、MACアドレスと、そのMACアドレスを有する端末が接続されたリーフSW11bのポート情報とが対応付けて記憶される。記憶部120は本発明の第2の記憶部に、アドレステーブル121は、本発明の第2のアドレステーブルに相当する。   FIG. 9 is a diagram illustrating an example of the address table 121 included in the storage unit 120 included in the leaf SW 11b. As shown in FIG. 9, in the address table 121, the MAC address and the port information of the leaf SW 11b to which the terminal having the MAC address is connected are stored in association with each other. The storage unit 120 corresponds to the second storage unit of the present invention, and the address table 121 corresponds to the second address table of the present invention.

図10は、第2実施例におけるパケットの転送処理のフローチャートである。図10においては、リーフSW11bで実行される処理を破線の左側に、ノードSW21で実行される処理を破線の右側に、分けて表している。以下、図8に示すリーフSW11bに接続された端末301から端末302へパケットを転送処理する場合について説明する。なお、図10には図4に示した処理と同じ処理内容に対して、同一のステップ番号を付した。   FIG. 10 is a flowchart of packet transfer processing in the second embodiment. In FIG. 10, the processing executed by the leaf SW 11b is shown separately on the left side of the broken line, and the processing executed by the node SW 21 is shown separately on the right side of the broken line. Hereinafter, a case where a packet is transferred from the terminal 301 connected to the leaf SW 11b illustrated in FIG. 8 to the terminal 302 will be described. In FIG. 10, the same step numbers are assigned to the same processing contents as the processing shown in FIG.

図8に示すリーフSW11bは、パケット転送処理が開始されると、端末301から元パケット410の受信をおこなう(ステップS10)。   When the packet transfer process is started, the leaf SW 11b illustrated in FIG. 8 receives the original packet 410 from the terminal 301 (step S10).

リーフSW11bが端末301から元パケット410の受信をおこなうと、リーフSW11bが有する第1制御部110の備える学習部111は、学習処理を実行する(ステップS12)。第1制御部110の備える学習部111で行われる学習処理は、上述したノードSW21の有する第2制御部210の備える学習部211で行われる学習処理(ステップS23で行われる学習処理)と同様の処理である。ただし、ノードSW21のポート情報は、アドレステーブル121に記憶されない。   When the leaf SW 11b receives the original packet 410 from the terminal 301, the learning unit 111 included in the first control unit 110 included in the leaf SW 11b performs a learning process (step S12). The learning process performed in the learning unit 111 included in the first control unit 110 is the same as the learning process performed in the learning unit 211 included in the second control unit 210 included in the node SW21 (the learning process performed in step S23). It is processing. However, the port information of the node SW 21 is not stored in the address table 121.

学習処理が終了すると、リーフSW11bの送信ポート特定部113は、宛先MACアドレス401が、学習済みの宛先か否かを判断する(ステップS13)。「学習済みの宛先」とは、アドレステーブル121に、ポート情報との対応付けが記憶されている宛先MACアドレス401をいう。   When the learning process ends, the transmission port specifying unit 113 of the leaf SW 11b determines whether or not the destination MAC address 401 is a learned destination (step S13). The “learned destination” refers to a destination MAC address 401 in which correspondence with port information is stored in the address table 121.

宛先MACアドレス401に対応するポート情報がアドレステーブル121に記憶されていると(ステップS13:Yes)、送信ポート特定部113は、アドレステーブル121の中から、宛先である端末302のMACアドレス「MAC4」に対応するポート情報「1b」を特定する。第1の転送制御部115は、その特定されたポートから、元パケット410を宛先へ転送する(ステップS32)。すなわち、第1の転送制御部115は、上述した第1実施例においてノードSW21が備える第2の転送制御部215が有する機能と、同様の機能を備える。 When the port information corresponding to the destination MAC address 401 is stored in the address table 121 (step S13: Yes), the transmission port specifying unit 113 stores the MAC address “MAC4 of the destination terminal 302 from the address table 121. Port information “1b” corresponding to “” is specified. The first transfer control unit 115 transfers the original packet 410 to the destination from the specified port (step S32). That is, the first transfer control unit 115 has the same function as the function of the second transfer control unit 215 included in the node SW21 in the first embodiment described above.

ステップS13において、宛先MACアドレス401が学習済みの宛先でない場合(ステップS13:No)、送信ポート特定部113は、複数の第1ポートの中から元パケットを送るための送信ポートを、リーフSW11bの備えるアドレステーブル121に基づいて特定することができない。そのため、第1の転送制御部115は、元パケット410に受信ポート情報406と、このパケットがリーフSW11bとノードSW21との間の通信であることを示す独自のイーサタイプ405とを付加してカプセル化し(ステップS14)、カプセル化パケット420を第1のポート1dを介してノードSW21へ転送する(ステップS15)。以降、図4に示したフローチャートにおけるパケット転送処理と同様の処理(ステップS21からステップS32までの処理)が実行され、元パケット410が宛先となる端末302へ転送される。   In step S13, when the destination MAC address 401 is not a learned destination (step S13: No), the transmission port specifying unit 113 sets the transmission port for sending the original packet from the plurality of first ports to the leaf SW 11b. It cannot be specified based on the address table 121 provided. Therefore, the first transfer control unit 115 adds the reception port information 406 to the original packet 410 and a unique ether type 405 indicating that this packet is communication between the leaf SW 11b and the node SW 21 to encapsulate the original packet 410. (Step S14), and transfers the encapsulated packet 420 to the node SW21 via the first port 1d (step S15). Thereafter, processing similar to the packet transfer processing in the flowchart shown in FIG. 4 (processing from step S21 to step S32) is executed, and the original packet 410 is transferred to the destination terminal 302.

なお、上述したステップS13において、学習済みの宛先である場合も、第1の転送制御部115は、受信した元パケット410を受信ポート情報でカプセル化してノードへ転送することができる。そうすることで、ノードSW21の備えるアドレステーブル221bに、MACアドレスとポート情報との対応付けを記憶させることができる。また、リーフSW11bは、学習部111を備えていない形式であってもよい。すなわち、リーフSW11bは、学習処理を実行せず、あらかじめ記録されたアドレステーブル121や、起動時や学習のたび等の所定のタイミングでノードSW21から取得したアドレステーブル121に基づいて、ステップS13を実行する形式であってもよい。   Note that, in the above-described step S13, even when the destination is a learned destination, the first transfer control unit 115 can encapsulate the received original packet 410 with the reception port information and transfer it to the node. By doing so, the correspondence between the MAC address and the port information can be stored in the address table 221b of the node SW21. Further, the leaf SW 11b may be in a form that does not include the learning unit 111. That is, the leaf SW 11b does not execute the learning process, and executes step S13 based on the address table 121 recorded in advance or the address table 121 acquired from the node SW 21 at a predetermined timing such as at the time of activation or every time of learning. It may be in the form of

以上のような通信システムであれば、リーフSW11bがノードSW21よりもMACアドレスの記憶能力の低いアドレステーブル121を持つ場合であっても、ノードSW21がリーフSW11bが受信したパケットに関する学習および送信ポートの特定の一部を担うことができる。そのため、リーフSW11bを含んだ通信システムを構築して、仮想的な一つの通信装置としてパケットの転送処理をおこなうことができる。また、収容条件の劣る通信装置を利用して、第1実施例においてノードSW21が行っていた学習および送信ポートの特定の一部をおこなうことができる。そのため、ノードSW21の負担が軽減されるとともに、リーフSW11bのMACアドレステーブルなどの記憶能力を通信システムに組み込むことができ、通信システム全体として収容条件を向上させることができる。   In the communication system as described above, even when the leaf SW 11b has the address table 121 having a MAC address storage capability lower than that of the node SW21, the node SW21 learns about the packet received by the leaf SW11b and the transmission port. Can take on a specific part. Therefore, it is possible to construct a communication system including the leaf SW 11b and perform packet transfer processing as one virtual communication device. In addition, by using a communication device with inferior accommodation conditions, it is possible to perform part of the learning and transmission port specification that the node SW 21 performed in the first embodiment. Therefore, the burden on the node SW21 is reduced, and the storage capability such as the MAC address table of the leaf SW 11b can be incorporated in the communication system, and the accommodation conditions can be improved as the entire communication system.

C.第3実施例:
第1実施例および第2実施例では、各ノードには通信装置(リーフ)を1段階だけ接続している。これに対して、第3実施例では、各ノードに通信装置を多段に、すなわちカスケード型に接続する。図11は、カスケード型に接続された通信システム101を用いたネットワーク14の構成を示す図である。ネットワーク14は、複数の端末装置300と、端末装置300が接続された複数のリーフSW1と、リーフSW1が接続された複数の第3の通信装置SW3と、第3の通信装置SW3が接続された複数のノードSW2と、を備えている。ネットワーク14は、先に述べたネットワーク10と同様に、ノードSW2が第3の通信装置SW3やリーフSW1とそれぞれ接続されたスタック型の通信システム101を構成している。ノードSW2およびリーフSW1のそれぞれの機能を一体的に併せもった通信装置である(詳細は後述)。以降、第3の通信装置SW3をノード・リーフSW3ともいう。
C. Third embodiment:
In the first and second embodiments, a communication device (leaf) is connected to each node in only one stage. In contrast, in the third embodiment, communication devices are connected to each node in multiple stages, that is, in cascade. FIG. 11 is a diagram illustrating a configuration of the network 14 using the communication system 101 connected in a cascade manner. The network 14 includes a plurality of terminal devices 300, a plurality of leaf SW1 to which the terminal device 300 is connected, a plurality of third communication devices SW3 to which the leaf SW1 is connected, and a third communication device SW3. And a plurality of nodes SW2. Similar to the network 10 described above, the network 14 constitutes a stacked communication system 101 in which the node SW2 is connected to the third communication device SW3 and the leaf SW1. This is a communication device that integrally combines the functions of the node SW2 and the leaf SW1 (details will be described later). Hereinafter, the third communication device SW3 is also referred to as a node leaf SW3.

リーフSW1、ノード・リーフSW3およびノードSW2は、上述した第1実施例と同じようにレイヤ2パケットを転送する通信装置として機能する。また、リーフSW1、ノード・リーフSW3およびノードSW2は、レイヤ3パケットを転送する通信装置として機能することもできる。したがって、スタック型の通信システム101は、レイヤ2パケットを転送する仮想的な1台の通信装置あるいはレイヤ3パケットを転送する仮想的な1台の通信装置として機能することが可能である。   The leaf SW1, the node leaf SW3, and the node SW2 function as communication devices that transfer layer 2 packets in the same manner as in the first embodiment described above. Further, the leaf SW1, the node / leaf SW3, and the node SW2 can also function as a communication device that transfers layer 3 packets. Accordingly, the stack communication system 101 can function as one virtual communication device that transfers layer 2 packets or one virtual communication device that transfers layer 3 packets.

図12は、カスケード型に接続された通信システム101におけるリーフSW11、ノード・リーフSW31およびノードSW21の概略構成を、図11に示したネットワーク14の一部のネットワーク16を用いて示した図である。リーフSW11の構成は、上述の第1実施例におけるリーフSW11と同様の構成である。また、ノードSW21の構成は、ノードSW21の備えるアドレステーブル221cを除いて上述の第1実施例におけるノードSW21と同様の構成である。ノードSW21の備えるアドレステーブル221cについては後述する。   FIG. 12 is a diagram showing a schematic configuration of the leaf SW11, the node / leaf SW31, and the node SW21 in the communication system 101 connected in cascade using the network 16 which is a part of the network 14 shown in FIG. . The configuration of the leaf SW11 is the same as that of the leaf SW11 in the first embodiment described above. The configuration of the node SW21 is the same as that of the node SW21 in the first embodiment described above, except for the address table 221c included in the node SW21. The address table 221c included in the node SW21 will be described later.

ノード・リーフSW31は、図示しない複数の端末装置や他の通信装置や、リーフSW11およびノードSW21と接続するためのケーブルが接続される複数の第3のポート(3a、3b、3c、3dなど)と、第3制御部310と、記憶部320と、を備える。   The node / leaf SW31 includes a plurality of third ports (3a, 3b, 3c, 3d, etc.) to which a plurality of terminal devices and other communication devices (not shown) and cables for connecting to the leaf SW11 and the node SW21 are connected. And a third control unit 310 and a storage unit 320.

第3制御部310は学習部311と、送信ポート特定部313と、第3の転送制御部315と、を備えている。学習部311と、送信ポート特定部313と、第3の転送制御部315は、例えばASICにより構成されている。   The third control unit 310 includes a learning unit 311, a transmission port specifying unit 313, and a third transfer control unit 315. The learning unit 311, the transmission port specifying unit 313, and the third transfer control unit 315 are configured by, for example, an ASIC.

学習部311は、リーフSW11から第3のポート3dを介して受信した元パケット410に付加された受信ポート情報406と、元パケット410の送信元である端末301との対応関係を学習して記憶部320に格納されたアドレステーブル321に記録する。   The learning unit 311 learns and stores the correspondence between the reception port information 406 added to the original packet 410 received from the leaf SW 11 via the third port 3d and the terminal 301 that is the transmission source of the original packet 410. The data is recorded in the address table 321 stored in the unit 320.

図13は、ノード・リーフSW31の備えるアドレステーブル321の一例を示した図である。アドレステーブル321には、MACアドレスと、そのMACアドレスが接続されたリーフのポート情報と、そのリーフが接続されたノード・リーフのポート情報とが、対応付けて記憶されている。   FIG. 13 is a diagram showing an example of the address table 321 included in the node / leaf SW 31. The address table 321 stores a MAC address, port information of a leaf to which the MAC address is connected, and port information of a node / leaf to which the leaf is connected in association with each other.

送信ポート特定部313は、受信したカプセル化パケット420をデカプセル化して、端末302のアドレスに対応するパケットを送信するための第1のポートを、アドレステーブル321の中から特定する。   The transmission port identifying unit 313 decapsulates the received encapsulated packet 420 and identifies the first port for transmitting a packet corresponding to the address of the terminal 302 from the address table 321.

第3の転送制御部315は、特定された送信ポート情報を元パケット410に付加してカプセル化パケット430を作製し、リーフSW11と接続された第3のポート3dを介してリーフSW11へ転送する。また、第3の転送制御部315は、受信ポート情報が付加されたカプセル化パケット420をリーフSW11から受信した場合は、このパケットがノード・リーフSW31とノードSW21との間の通信であることを示す独自のイーサタイプ405とを付加してカプセル化しノードSW21と接続された第3のポート3aを介して、ノードSW21へ転送することもできる。   The third transfer control unit 315 adds the specified transmission port information to the original packet 410 to create an encapsulated packet 430, and transfers the packet to the leaf SW11 via the third port 3d connected to the leaf SW11. . In addition, when the third transfer control unit 315 receives the encapsulated packet 420 to which the reception port information is added from the leaf SW 11, the third transfer control unit 315 confirms that this packet is communication between the node / leaf SW 31 and the node SW 21. It is also possible to transfer the data to the node SW21 via the third port 3a which is encapsulated by adding the unique ether type 405 shown and connected to the node SW21.

図14は、図12に示すノードSW21の備えるアドレステーブル221cの一例を示した図である。アドレステーブル221cには、MACアドレスと、そのMACアドレスが接続されたリーフのポート情報と、リーフが接続されたノード・リーフのポート情報と、そのノード・リーフが接続されたノードのポート情報とが、対応付けて記憶されている。そのため、本実施例においてノードSW21の備える送信ポート特定部213は、元パケットを送信するためのポートを、ノード・リーフSW31およびリーフSW11の備える複数のポートの中から、アドレステーブル221に基づいて特定することができる。   FIG. 14 is a diagram illustrating an example of the address table 221c included in the node SW21 illustrated in FIG. The address table 221c includes the MAC address, the port information of the leaf to which the MAC address is connected, the port information of the node and leaf to which the leaf is connected, and the port information of the node to which the node leaf is connected. Are stored in association with each other. Therefore, in this embodiment, the transmission port specifying unit 213 provided in the node SW 21 specifies the port for transmitting the original packet based on the address table 221 from among the plurality of ports provided in the node leaf SW 31 and the leaf SW 11. can do.

本実施例の通信システム101においては、このようにノードSW21、ノード・リーフSW31、リーフSW11を接続しているため、ノードSW21とリーフSW11のそれぞれの機能を一体的に併せもったノード・リーフSW31が、ノードSW21がおこなう転送処理の一部をおこなうことができる。また、カスケード型に多段階に接続した通信システムを構築することができるため、より広範囲のネットワーク14、パケット転送処理をおこなうことができる。   In the communication system 101 of the present embodiment, the node SW21, the node leaf SW31, and the leaf SW11 are connected in this way, and thus the node leaf SW31 that integrally combines the functions of the node SW21 and the leaf SW11. However, a part of the transfer processing performed by the node SW21 can be performed. In addition, since a communication system connected in multiple stages in a cascade type can be constructed, a wider range of network 14 and packet transfer processing can be performed.

D.第4実施例:
第1実施例〜第3実施例では、各リーフは、一台のノードに対して接続されている。これに対して第4実施例では、各リーフを2台以上のノードに対してそれぞれ接続することで、通信路の冗長化をおこなう。図15は、複数のノードSW2がリング状に接続されたネットワークを示した図である。図15に示すネットワークにおいて、リーフSW1は、帯域の拡大および通信発生時の冗長化のために、一つのリーフSW1が複数のノードSW2に対してリンクアグリゲーション(Link Aggregation)によって接続されている。図15に示したそれぞれのノードSW2は、他のノードSW2と識別するための番号であるノードナンバ(ノードナンバ:1、2、3、4など)が付されている。それぞれのノードSW2には、複数のリーフSW1が接続されており、他のリーフSW1と識別するための番号であるリーフナンバ(リーフナンバ:1、2、3、4など)が付されている。以降、ノードナンバ「1」が付されたノードSW2を「ノード(1)」、リーフナンバ「1」が付されたリーフSW1を「リーフ(1)」のように記す。図15に示したネットワークにおいて、各ノードSW2はパケットを受信すると、そのパケットが自装置に対応するパケットでなければ、自装置に接続されたノードSW2のうち、自装置よりもノードナンバの大きなノードSW2にパケットを転送する。例えば、ノード(2)は、パケットを受信すると、ノード(3)へパケットを転送する。以下、リング内を転送されるパケットのことを、「リング内パケット」ともいう。
D. Fourth embodiment:
In the first to third embodiments, each leaf is connected to one node. On the other hand, in the fourth embodiment, the communication path is made redundant by connecting each leaf to two or more nodes. FIG. 15 is a diagram showing a network in which a plurality of nodes SW2 are connected in a ring shape. In the network shown in FIG. 15, a leaf SW1 is connected to a plurality of nodes SW2 by link aggregation in order to increase the bandwidth and make a redundant communication. Each node SW2 shown in FIG. 15 is assigned a node number (node number: 1, 2, 3, 4, etc.) that is a number for identifying the other node SW2. A plurality of leaves SW1 are connected to each node SW2, and leaf numbers (leaf numbers: 1, 2, 3, 4, etc.), which are numbers for distinguishing from other leaf SW1, are attached. Hereinafter, the node SW2 with the node number “1” is referred to as “node (1)”, and the leaf SW1 with the leaf number “1” is referred to as “leaf (1)”. In the network shown in FIG. 15, when each node SW2 receives a packet, if the packet is not a packet corresponding to the own device, the node SW2 connected to the own device has a node number larger than that of the own device. Transfer the packet to SW2. For example, when the node (2) receives the packet, the node (2) transfers the packet to the node (3). Hereinafter, the packet transferred in the ring is also referred to as “in-ring packet”.

図16は、図15に示したリング状のネットワークにおいて、通信に障害が生じた状態を示した図である。図16に示すようにリング状のネットワークにおいて接続された2台のノードSW2の間で通信に障害が発生した場合、障害の発生している通信路に接続された、送信元となるポートを有するノードSW2は、その第2の転送制御部215により、自装置に接続された他のノードSW2およびリーフSW1に対して、障害が発生している接続箇所の情報である「障害発生情報」を通知する。ノードSW2は、例えば、後ろに繋がったノードSW2(ノード(2)の後ろに繋がったノードSW2とは、本実施例ではノード(3)を指す)との間のリンク接続が切断された場合に、障害が発生したことを判断することができる。   FIG. 16 is a diagram showing a state in which a communication failure has occurred in the ring network shown in FIG. As shown in FIG. 16, when a communication failure occurs between two nodes SW2 connected in a ring network, it has a transmission source port connected to the communication path in which the failure has occurred. The node SW2 notifies the “failure occurrence information”, which is information of the connection location where the failure has occurred, to the other nodes SW2 and leaf SW1 connected to the node SW2 by the second transfer control unit 215. To do. For example, when the link connection between the node SW2 and the node SW2 connected to the back (the node SW2 connected to the back of the node (2) indicates the node (3) in this embodiment) is disconnected. It can be determined that a failure has occurred.

図17は、リング内パケットの転送処理を示すフローチャートである。図16に示す「障害発生情報」が通知されたネットワークにおいて、障害の発生している通信路に接続された、送信元となるポートを有するノードSW2は、自装置に接続されたリーフSW1または他のノードSW2より、パケットを受信する(ステップS110)。   FIG. 17 is a flowchart showing the transfer process of the intra-ring packet. In the network notified of the “failure occurrence information” shown in FIG. 16, the node SW2 having the transmission source port connected to the communication path in which the failure has occurred is the leaf SW1 connected to the own device or the other The packet is received from the node SW2 (step S110).

ノードSW2がリーフSW1または他のノードSW2よりパケットを受信すると、パケットを受信したノードSW2は、そのパケットがリーフSW1から受信したパケットか否かを判断する(ステップS115)。 When the node SW2 receives a packet from the leaf SW1 or another node SW2, the node SW2 that has received the packet determines whether or not the packet is a packet received from the leaf SW1 (step S115).

ノードSW2がリーフSW1からパケットを受信した場合(ステップS115:Yes)、ノードSW2は、迂回経路となり得るリーフSW1は1つであるか否かを判断する(ステップS120)。迂回経路となり得るリーフSW1とは、パケットを受信したノードSW2に接続された複数のリーフSW1のうち、パケットを受信したノードSW2以外のノードSW2とも接続されているリーフSW1をいう。例えば、図16に示すノード(2)がリーフ(2)よりパケットを受信した場合、迂回経路となり得るリーフSW1は、リーフ(1)、リーフ(2)、リーフ(3)およびリーフ(4)の4つである。   When the node SW2 receives a packet from the leaf SW1 (step S115: Yes), the node SW2 determines whether there is one leaf SW1 that can be a detour path (step S120). The leaf SW1 that can be a detour path is a leaf SW1 that is also connected to a node SW2 other than the node SW2 that has received the packet among the plurality of leaf SW1 that are connected to the node SW2 that has received the packet. For example, when the node (2) shown in FIG. 16 receives a packet from the leaf (2), the leaf SW1 that can be a detour route is the leaf (1), the leaf (2), the leaf (3), and the leaf (4). There are four.

迂回経路となり得るリーフSW1が2つ以上ある場合(ステップS120:No)、ノードSW2は迂回経路となり得る2つ以上のリーフSW1の中に、ステップS110においてパケットを受信した際の送信元であるリーフSW1よりもリーフナンバが大きなリーフSW1があるか否かを判断する(ステップS130)。例えば、ノード(2)がリーフ(2)よりパケットを受信した場合、迂回経路となり得るリーフ(1)、リーフ(2)、リーフ(3)およびリーフ(4)のうち、リーフ(2)よりもリーフナンバの大きなリーフSW1は、リーフ(3)およびリーフ(4)である。   When there are two or more leaf SW1 that can be a detour path (step S120: No), the node SW2 is a leaf that is a transmission source when a packet is received in step S110 among two or more leaf SW1 that can be a detour path. It is determined whether or not there is a leaf SW1 having a larger leaf number than SW1 (step S130). For example, when the node (2) receives a packet from the leaf (2), the leaf (1), the leaf (2), the leaf (3), and the leaf (4), which can be a detour path, than the leaf (2) Leafs SW1 having large leaf numbers are leaf (3) and leaf (4).

迂回経路となり得る2つ以上のリーフSW1の中に、送信元であるリーフSW1よりもリーフナンバが大きなリーフSW1がある場合(ステップS130:Yes)、ノード(2)はそのリーフSW1がノード(2)よりも大きなノードナンバが付されたノードSW2に接続されているか否かを判断する(ステップS150)。「送信元であるリーフSW1よりもリーフナンバが大きなリーフSW1」が複数ある場合には、その中で最も小さなリーフナンバが付されたリーフSW1が、ノード(2)よりも大きなノードナンバが付されたノードSW2に接続されているか否かを判断する。したがって、ノード(2)がリーフ(2)よりパケットを受信した場合、「送信元であるリーフSW1よりもリーフナンバが大きなリーフSW1」はリーフ(3)である。   If there is a leaf SW1 having a leaf number larger than the leaf SW1 that is the transmission source among the two or more leaf SW1 that can be a detour path (step S130: Yes), the leaf SW1 is the node (2 It is determined whether or not it is connected to the node SW2 with a larger node number (step S150). When there are a plurality of “leaf SW1 having a leaf number larger than the leaf SW1 as the transmission source”, the leaf SW1 to which the smallest leaf number is attached is assigned a node number larger than that of the node (2). It is determined whether or not it is connected to the node SW2. Therefore, when the node (2) receives a packet from the leaf (2), the “leaf SW1 having a leaf number larger than the leaf SW1 as the transmission source” is the leaf (3).

送信元であるリーフSW1よりもリーフナンバが大きなリーフSW1がない場合には(ステップS130:No)、または、ノードSW2が自装置より一つ前のノードSW2からパケットを受信した場合は(ステップS115:No)ノードSW2は迂回経路となり得るリーフSW1の中から最も小さなリーフナンバが付されたリーフSW1を選択し(ステップS140)、その選択したリーフSW1がノードSW2よりも大きなノードナンバが付されたノードSW2に接続されているか否かを判断する(ステップS150)。ノード(2)がリーフ(2)またはノード(1)よりパケットを受信した場合は、ノード(2)よりも大きなノードナンバが付されたノード(3)にリーフ(3)が接続されているため、ステップS150において「Yes」と判断される。   When there is no leaf SW1 having a leaf number larger than that of the leaf SW1 that is the transmission source (step S130: No), or when the node SW2 receives a packet from the node SW2 immediately before the own device (step S115). : No) The node SW2 selects the leaf SW1 with the smallest leaf number from the leaf SW1 that can be a detour path (step S140), and the selected leaf SW1 has a node number larger than the node SW2. It is determined whether or not the node SW2 is connected (step S150). When the node (2) receives a packet from the leaf (2) or the node (1), the leaf (3) is connected to the node (3) with a node number higher than that of the node (2). In step S150, “Yes” is determined.

ステップS130およびステップS140において選択したリーフSW1が、ノードSW2よりも大きなノードナンバが付されたノードSW2に接続されていない場合(ステップS150:No)、ノードSW2は選択されているリーフSW1のリーフナンバの次に大きなリーフナンバが付与されたリーフを選択し(ステップS160)、ステップS150の処理を再度実行する。   When the leaf SW1 selected in step S130 and step S140 is not connected to the node SW2 assigned a node number larger than the node SW2 (step S150: No), the node SW2 is the leaf number of the selected leaf SW1. The leaf having the next largest leaf number is selected (step S160), and the process of step S150 is executed again.

ステップS130およびステップS140において選択したリーフSW1が、ノード(2)よりも大きなノードナンバが付されたノードSW2に接続されている場合(ステップS150:Yes)、もしくは迂回経路となり得るリーフが1つである場合(ステップS120:Yes)には、ノードSW2はその選択されたリーフSW1へパケットを転送する(ステップS170)。このような処理によれば、障害発生時にノードSW2がパケットを受信した際にも、パケットの転送が停止されることなく実行されることになる。   When the leaf SW1 selected in step S130 and step S140 is connected to the node SW2 assigned with a node number larger than that of the node (2) (step S150: Yes), or one leaf can be a detour route. If there is (step S120: Yes), the node SW2 transfers the packet to the selected leaf SW1 (step S170). According to such processing, even when the node SW2 receives a packet when a failure occurs, the packet transfer is executed without being stopped.

図18は、障害が発生情報を受信したリーフSW1によって実行されるリング内パケットの転送処理を示すフローチャートである。図16に示すネットワークにおいて、リーフSW1は障害発生情報の送信元であるノードSW2より、パケットを受信する(ステップS210)。   FIG. 18 is a flowchart showing the intra-ring packet transfer process executed by the leaf SW 1 that has received the failure occurrence information. In the network shown in FIG. 16, the leaf SW1 receives a packet from the node SW2 that is the transmission source of the failure occurrence information (step S210).

リーフSW1が障害発生情報の送信元であるノードSW2からパケットを受信すると、リーフSW1は、ステップS210においてパケットを受信した際の送信元であるノードSW2よりもノードナンバが大きなノードSW2があるか否かを判断する(ステップS230)。例えば、リーフ(3)がノード(2)よりパケットを受信した場合、リーフ(3)にはパケットの送信元であるノード(2)よりも大きなノードナンバが付されたノード(3)が接続されているため、ステップS230において「Yes」と判断される。   When the leaf SW1 receives a packet from the node SW2 that is the transmission source of the failure occurrence information, the leaf SW1 has a node SW2 that has a larger node number than the node SW2 that is the transmission source when receiving the packet in step S210. Is determined (step S230). For example, when leaf (3) receives a packet from node (2), node (3) with a larger node number than node (2) that is the packet transmission source is connected to leaf (3). Therefore, “Yes” is determined in step S230.

ステップS210においてパケットを受信した際の送信元であるノードSW2よりもノードナンバが大きなノードSW2がない場合(ステップS230:No)、リーフSW1は接続されたノードSW2のうち、最も小さなノードナンバが付されたノードSW2を選択する(ステップS240)。   When there is no node SW2 having a larger node number than the node SW2 that is the transmission source when the packet is received in step S210 (step S230: No), the leaf SW1 is assigned the smallest node number among the connected nodes SW2. The selected node SW2 is selected (step S240).

ステップS230およびステップS240においてノードSW2が選択されると、リーフSW1はその選択されたノードSW2にパケットを転送する(ステップS270)。   When node SW2 is selected in step S230 and step S240, leaf SW1 transfers the packet to the selected node SW2 (step S270).

以上で説明した第4実施例によれば、一つのリーフSW1が複数のノードSW2に対して接続されたネットワークを通信システムを用いて構築することにより、障害発生時においても、リーフSW1を経由してノードSW2の間のパケットの転送をおこなうことができる。したがって、通信システムの可用性を高めることができる。   According to the fourth embodiment described above, a network in which one leaf SW1 is connected to a plurality of nodes SW2 is constructed using a communication system, so that even when a failure occurs, the leaf SW1 passes through the leaf SW1. The packet can be transferred between the nodes SW2. Therefore, the availability of the communication system can be increased.

E.第5実施例:
ノードSW21は、記憶部220にアクセスコントロールリスト223を備えることもできる。図19は、ノードSW21の備えるアクセスコントロールリスト223の一例を示す図である。ノードSW21は、上述したそれぞれの実施例において、アクセスコントロールリスト223に基づいてネットワークにおけるパケットの転送処理をおこなうことができる。
E. Example 5:
The node SW 21 can also include an access control list 223 in the storage unit 220. FIG. 19 is a diagram illustrating an example of the access control list 223 included in the node SW21. The node SW 21 can perform packet transfer processing in the network based on the access control list 223 in each of the embodiments described above.

また、ノードSW21は記憶部220にVLAN(Virtual Local Area Network)テーブルを備えることもできる。VLANテーブルには、ネットワーク上の複数の端末や通信装置を、仮想的なグループに区分するためのグループ情報が定義されている。ノードSW21は、上述したそれぞれの実施例において、VLANテーブルのグループ情報に基づいて、ネットワークにおけるパケットの転送処理をおこなうことができる。   In addition, the node SW 21 may include a VLAN (Virtual Local Area Network) table in the storage unit 220. In the VLAN table, group information for dividing a plurality of terminals and communication devices on the network into virtual groups is defined. In each of the embodiments described above, the node SW 21 can perform packet transfer processing in the network based on the group information in the VLAN table.

ノードSW21がアクセスコントロールリストおよびVLANテーブルを備える場合において、図8および図12に示すようにリーフSW11bおよびノード・リーフSW31が記憶部を備える場合には、ノードSW21からリーフSW11bおよびノード・リーフSW31へ、アクセスコントロールリストおよびVLANテーブルの中からリーフSW11bおよびノード・リーフSW31に接続された端末に関連する情報が、起動時や学習のたび等の所定のタイミングで送信される。図8および図12に示すリーフSW11bおよびノード・リーフSW31は、その関連する情報を自装置が備えるアクセスコントロールリストおよびVLANテーブルに記録し、そのアクセスコントロールリストおよびVLANテーブルに基づいてネットワークにおけるパケットの転送処理をおこなうことができる。   When the node SW21 includes an access control list and a VLAN table, as shown in FIGS. 8 and 12, when the leaf SW11b and the node / leaf SW31 include a storage unit, the node SW21 moves to the leaf SW11b and the node / leaf SW31. Information related to the terminals connected to the leaf SW 11b and the node / leaf SW 31 from the access control list and the VLAN table is transmitted at a predetermined timing such as at the time of activation or every learning. The leaf SW 11b and the node leaf SW 31 shown in FIG. 8 and FIG. 12 record the related information in an access control list and a VLAN table provided in the own device, and transfer packets in the network based on the access control list and the VLAN table. Processing can be performed.

F.変形例:
以上、本発明の種々の実施例について説明したが、本発明はこれらの実施例に限定されず、その趣旨を逸脱しない範囲で種々の構成を採ることができる。例えば、ハードウェアによって実現した機能は、ソフトウェアによって実現するものとしてもよく、その逆もまた可能である。そのほか、以下のような変形が可能である。
F. Variations:
Although various embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and various configurations can be adopted without departing from the spirit of the present invention. For example, a function realized by hardware may be realized by software, and vice versa. In addition, the following modifications are possible.

上述した実施例において、通信装置、通信装置によって構成される通信システムは、それぞれスイッチ、スイッチによって構成されるスイッチシステムであってもよい。   In the above-described embodiments, the communication device and the communication system including the communication device may be a switch and a switch system including the switch, respectively.

それぞれの通信装置が備えるポートは、スタック接続用に専用のポートを用意していてもよい。また、それぞれの通信装置に、所定のポートをスタック接続で使うことを指示するコンフィグレーションコマンドを投入することにより、複数のポートのうちいずれかのポートを指定して、スタック接続用ポートとして使うことも可能である。   As the ports provided in each communication device, a dedicated port for stack connection may be prepared. Also, by entering a configuration command that instructs each communication device to use a given port for stack connection, specify one of the ports to use as a stack connection port. Is also possible.

上述した実施例では、端末300は、パーソナルコンピュータである例を示したが、端末300はそれに限らず、イーサネットポートを備えた種々の電子機器とすることができる。こうした電子機器としては、例えば、パソコン周辺機器、AV機器、電話、各種家電製品(例えば、テレビ、ブルーレイプレイヤなど)などとすることができる。また、端末300は、ルーター機能を備え、外部ネットワークに接続可能に構成されてもよい。   In the embodiment described above, the terminal 300 is an example of a personal computer. However, the terminal 300 is not limited thereto, and various electronic devices having an Ethernet port can be used. As such an electronic device, for example, a personal computer peripheral device, an AV device, a telephone, various home appliances (for example, a television, a Blu-ray player, etc.) can be used. The terminal 300 may be configured to have a router function and be connectable to an external network.

上述した実施例におけるネットワークに示したそれぞれのリーフSW1の収容条件は、それぞれ異なっていてもかまわない。また、リーフSW1は、学習部を備えているリーフや備えていないリーフが混在して使用されていてもよい。   The accommodation conditions of each leaf SW1 shown in the network in the embodiment described above may be different. Further, the leaf SW1 may be used in a mixture of a leaf having a learning unit and a leaf not having the learning unit.

1a、1b、1c、1d…第1のポート
2a、2b、2c、2d…第2のポート
3a、3b、3c、3d…第3のポート
10、14、15、16…ネットワーク
100、101…通信システム
110…第1制御部
111…学習部
113…送信ポート特定部
115…第1の転送制御部
120…記憶部
121…アドレステーブル
210…第2制御部
211…学習部
213…送信ポート特定部
215…第2の転送制御部
220…記憶部
221、221b、221c…アドレステーブル
223…アクセスコントロールリスト
300、301、302、303…端末
310…第3制御部
311…学習部
313…送信ポート特定部
315…第3の転送制御部
320…記憶部
321…アドレステーブル
401…宛先MACアドレス
402…送信元MACアドレス
403…ペイロード
405…イーサタイプ
406…受信ポート情報
407…送信ポート情報
408…ポートビットマップ情報
410…元パケット
411…宛先MACアドレス
412…送信元MACアドレス
413…宛先MACアドレス
414…送信元MACアドレス
420、430、440…カプセル化パケット
SW11、SW11b…リーフ
SW21…ノード
SW31…ノード・リーフ
SW1…第1の通信装置(リーフ)
SW2…第2の通信装置(ノード)
SW3…第3の通信装置(ノード・リーフ)
1a, 1b, 1c, 1d ... first port 2a, 2b, 2c, 2d ... second port 3a, 3b, 3c, 3d ... third port 10, 14, 15, 16 ... network 100, 101 ... communication System 110 ... first control unit 111 ... learning unit 113 ... transmission port specifying unit 115 ... first transfer control unit 120 ... storage unit 121 ... address table 210 ... second control unit 211 ... learning unit 213 ... transmission port specifying unit 215 ... second transfer control unit 220 ... storage unit 221,221b, 221c ... address table 223 ... access control list 300, 301, 302, 303 ... terminal 310 ... third control unit 311 ... learning unit 313 ... transmission port specifying unit 315 ... Third transfer control unit 320 ... Storage unit 321 ... Address table 401 ... Destination MAC address 402 Source MAC address 403 ... Payload 405 ... Ether type 406 ... Reception port information 407 ... Transmission port information 408 ... Port bitmap information 410 ... Original packet 411 ... Destination MAC address 412 ... Source MAC address 413 ... Destination MAC address 414 ... Transmission Original MAC address 420, 430, 440 ... Encapsulated packet SW11, SW11b ... Leaf SW21 ... Node SW31 ... Node leaf SW1 ... First communication device (leaf)
SW2 ... Second communication device (node)
SW3 ... Third communication device (node / leaf)

Claims (3)

第1の通信装置と第2の通信装置とを含む通信システムであって、
前記通信システムは、リング状に接続された複数の前記第2の通信装置を備え、
前記第1の通信装置は、複数の前記第2の通信装置のうち少なくとも2台に接続されており、
前記第1の通信装置は、
送信元の端末のアドレスと宛先の端末のアドレスとを含むパケットの送受信をそれぞれおこなうための複数の第1のポートと、
前記複数の第1のポートのいずれかを介して受信したレイヤ2パケットまたはレイヤ3パケットである元パケットに、受信したポートを識別するための受信ポート情報を付加した受信ポート情報付き元パケットを前記第2の通信装置に転送する第1の転送制御部と、を備え、
前記第2の通信装置は、
前記第1の通信装置から前記受信ポート情報付き元パケットを受信する第2のポートと、
前記複数の第1のポートと前記複数の第1のポートのそれぞれに接続された端末との対応関係が少なくとも記録された第1のアドレステーブルが記憶された第1の記憶部と、
受信した前記受信ポート情報付き元パケットに含まれる受信ポート情報と前記送信元の端末のアドレスとに基づいて、前記複数の第1のポートと前記複数の第1のポートのそれぞれに接続された端末との対応関係を学習して前記第1のアドレステーブルに記録する学習部と、
受信した前記受信ポート情報付き元パケットに含まれる前記宛先の端末のアドレスと前記第1のアドレステーブルとに基づいて、前記第1の通信装置から転送された前記元パケットの送信をおこなう第1のポートを、前記複数の第1のポートの中から特定する送信ポート特定部と、
前記特定した送信ポート情報を前記元パケットに付加した送信ポート情報付き元パケットを前記第1の通信装置に転送する第2の転送制御部と、を備え、
前記第1の通信装置は、前記複数の第1のポートと前記複数の第1のポートのそれぞれに接続された端末のアドレスとの対応関係が記録された第2のアドレステーブルが記憶された第2の記憶部を更に備えており、
前記第1の通信装置の第1の転送制御部は、
前記送信ポート情報付き元パケットを受信し、前記送信ポート情報付き元パケットに含まれる前記送信ポート情報に該当する前記第1のポートから、前記元パケットを送信し、
前記第2のアドレステーブルに基づいて、前記元パケットの送信をおこなう第1のポートを、前記複数の第1のポートの中から特定した場合に、前記元パケットを前記特定された第1のポートの中から送信し、前記元パケットの送信をおこなう第1のポートを、前記複数の第1のポートから特定できない場合に、前記受信ポート情報付き元パケットを前記第2の通信装置に転送し、
前記少なくとも2台の第2の通信装置の間の接続に障害が発生したことを検出した場合に、前記少なくとも2台の第2の通信装置の間に流れるパケットの中継をおこない、
前記第1の通信装置の前記第2の記憶部に記憶可能な前記対応関係の数は、前記第2の通信装置の前記第1の記憶部に記憶可能な前記対応関係の数よりも少ない、
通信システム。
A communication system including a first communication device and a second communication device,
The communication system includes a plurality of the second communication devices connected in a ring shape,
The first communication device is connected to at least two of the plurality of second communication devices,
The first communication device is:
A plurality of first ports for transmitting and receiving packets each including a source terminal address and a destination terminal address;
An original packet with reception port information obtained by adding reception port information for identifying a received port to an original packet that is a layer 2 packet or a layer 3 packet received via any of the plurality of first ports. A first transfer control unit for transferring to a second communication device,
The second communication device is:
A second port for receiving the original packet with the reception port information from the first communication device;
A first storage unit storing a first address table in which at least correspondences between the plurality of first ports and terminals connected to the plurality of first ports are recorded;
Terminals connected to each of the plurality of first ports and the plurality of first ports based on the reception port information included in the received original packet with reception port information and the address of the transmission source terminal A learning unit that learns the correspondence relationship between the first address table and the learning unit;
Based on the address of the destination terminal and the first address table included in the received original packet with the receiving port information, a first packet is transmitted that transmits the original packet transferred from the first communication device. A transmission port specifying unit for specifying a port from among the plurality of first ports;
A second transfer control unit configured to transfer the original packet with transmission port information obtained by adding the specified transmission port information to the original packet to the first communication device;
The first communication device stores a second address table in which a correspondence relationship between the plurality of first ports and addresses of terminals connected to the plurality of first ports is recorded. 2 storage units,
The first transfer control unit of the first communication device is
Receiving the original packet with the transmission port information, transmitting the original packet from the first port corresponding to the transmission port information included in the original packet with the transmission port information ;
When the first port for transmitting the original packet is specified from the plurality of first ports based on the second address table, the original packet is specified as the specified first port. And when the first port for transmitting the original packet cannot be identified from the plurality of first ports, the original packet with reception port information is transferred to the second communication device,
Relaying packets flowing between the at least two second communication devices when it detects that a failure has occurred in the connection between the at least two second communication devices;
The number of correspondence relationships that can be stored in the second storage unit of the first communication device is less than the number of correspondence relationships that can be stored in the first storage unit of the second communication device.
Communications system.
請求項1に記載の通信システムであって、
前記第1の通信装置と前記第2の通信装置との間にカスケード接続される少なくとも一台の第3の通信装置を備え、
前記第3の通信装置は、前記第1の通信装置と、前記第2の通信装置とを一体的に備える、
通信システム。
The communication system according to claim 1 ,
Comprising at least one third communication device cascade-connected between the first communication device and the second communication device;
The third communication device integrally includes the first communication device and the second communication device.
Communications system.
請求項1または請求項2に記載の通信システムであって、
前記第2の通信装置は、
複数の端末に関するパケットの送信及び受信の少なくとも一方を制御するための送受信制御情報を備え、
前記第1の通信装置の第1の転送制御部は、
前記送受信制御情報の少なくとも一部の情報を取得し、前記一部の情報に基づいて、前記元パケットの送信及び受信の少なくとも一方を制御する、
通信システム。
A communication system according to claim 1 or claim 2 , wherein
The second communication device is:
Comprising transmission / reception control information for controlling at least one of transmission and reception of packets concerning a plurality of terminals
The first transfer control unit of the first communication device is
Obtaining at least part of the transmission / reception control information, and controlling at least one of transmission and reception of the original packet based on the part of the information;
Communications system.
JP2011141935A 2011-06-27 2011-06-27 Communications system Expired - Fee Related JP5497697B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011141935A JP5497697B2 (en) 2011-06-27 2011-06-27 Communications system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011141935A JP5497697B2 (en) 2011-06-27 2011-06-27 Communications system

Publications (3)

Publication Number Publication Date
JP2013009257A JP2013009257A (en) 2013-01-10
JP2013009257A5 JP2013009257A5 (en) 2013-04-04
JP5497697B2 true JP5497697B2 (en) 2014-05-21

Family

ID=47676224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011141935A Expired - Fee Related JP5497697B2 (en) 2011-06-27 2011-06-27 Communications system

Country Status (1)

Country Link
JP (1) JP5497697B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019058659A1 (en) * 2017-09-19 2019-03-28 日本電気株式会社 Communication system, transfer device, communication control method, and non-temporary computer readable medium that stores program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5272896B2 (en) * 2009-05-29 2013-08-28 日立電線株式会社 Network relay device, network, and frame transfer method

Also Published As

Publication number Publication date
JP2013009257A (en) 2013-01-10

Similar Documents

Publication Publication Date Title
JP5152642B2 (en) Packet ring network system, packet transfer method, and node
JP5135383B2 (en) Network system and network device
US9112817B2 (en) Efficient TRILL forwarding
US8532119B2 (en) Interfabric routing header for use with a backbone fabric
CN104272684B (en) Dynamic Service insertion in Fabric interchangers
US8166187B2 (en) Distributed IP gateway based on sharing a MAC address and IP address concurrently between a first network switching device and a second network switching device
JP3545570B2 (en) Switching hub
US7466712B2 (en) System and method for providing proxy and translation domains in a fibre channel router
US8446913B2 (en) Multifabric zone device import and export
US9614759B2 (en) Systems and methods for providing anycast MAC addressing in an information handling system
JP6434821B2 (en) Communication apparatus and communication method
EP2533475B1 (en) Method and system for host route reachability in packet transport network access ring
US9414136B2 (en) Methods and apparatus to route fibre channel frames using reduced forwarding state on an FCoE-to-FC gateway
US8059664B2 (en) Multifabric global header
KR20100114025A (en) Evolution of ethernet networks
JP5150679B2 (en) Switch device
CN101517981A (en) Multi-chassis emulated switch
US7742484B2 (en) Multifabric communication using a backbone fabric
JP5891877B2 (en) Relay device and relay method
EP1863230B1 (en) A method for implementing on-ring process, off-ring process and data forwarding in resilience packet data ringnet and a network device thereof
JP5029612B2 (en) Packet ring network system, packet transfer method and interlink node
US8249101B2 (en) Mobile ad hoc network configured as a virtual internet protocol network
JP2005151025A (en) Extended relay system and relaying apparatus
JP5497697B2 (en) Communications system
JP2010278814A (en) Network relay device, network, and frame transfer method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130214

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130214

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131106

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131126

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140109

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: 20140225

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140306

R150 Certificate of patent or registration of utility model

Ref document number: 5497697

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees