JP2018198466A - Packet transfer system, switching method of packet transfer apparatus, and packet transfer apparatus - Google Patents

Packet transfer system, switching method of packet transfer apparatus, and packet transfer apparatus Download PDF

Info

Publication number
JP2018198466A
JP2018198466A JP2018174443A JP2018174443A JP2018198466A JP 2018198466 A JP2018198466 A JP 2018198466A JP 2018174443 A JP2018174443 A JP 2018174443A JP 2018174443 A JP2018174443 A JP 2018174443A JP 2018198466 A JP2018198466 A JP 2018198466A
Authority
JP
Japan
Prior art keywords
packet transfer
packet
port
transfer device
active
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018174443A
Other languages
Japanese (ja)
Other versions
JP6673418B2 (en
Inventor
幹宏 吉村
Mikihiro Yoshimura
幹宏 吉村
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2018174443A priority Critical patent/JP6673418B2/en
Publication of JP2018198466A publication Critical patent/JP2018198466A/en
Application granted granted Critical
Publication of JP6673418B2 publication Critical patent/JP6673418B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

To provide a packet transfer system capable of easily realizing redundancy of a highly reliable line without using a redundant protocol.SOLUTION: A packet transfer system 10 includes: a first packet transfer device 11 which is a redundantly configured active packet transfer device; and a second packet transfer device 12 which is a standby system packet transfer device and is configured to transfer a packet between the packet transfer system and a terminal. When detecting a failure in a communication line with the terminal, the first packet transfer apparatus 11 transmits an instruction to switch an operating system to a second packet transfer apparatus 12. Upon receiving the switching instruction, the second packet transfer apparatus 12 deletes a MAC address of a port for communicating with the first packet transfer device 11 from a plurality of MAC addresses held by the second packet transfer apparatus 12.SELECTED DRAWING: Figure 11

Description

本発明は、パケット転送システム、パケット転送装置の切り換え方法およびパケット転送装置に関する。   The present invention relates to a packet transfer system, a packet transfer device switching method, and a packet transfer device.

パケット伝送ネットワークにおいてネットワークの信頼性を向上するために、通信経路を冗長にする冗長プロトコルを使用してネットワークを構築することが考えられる。   In order to improve network reliability in a packet transmission network, it is conceivable to construct a network using a redundant protocol that makes communication paths redundant.

例えば、パケット伝送ネットワークにおいて、ネットワークの信頼性向上のためにLACP(Link Aggregation Control Protocol)を使用してネットワーク回線を冗長にするLink Aggregation(LAG)という技術がある。LACPは、複数の物理的なポートを束ねて1つの論理的チャネルに集約するプロトコルである。また、LAGを応用した、装置も冗長にするマルチシャーシLAGという技術がある。   For example, in a packet transmission network, there is a technique called Link Aggregation (LAG) that makes a network line redundant by using LACP (Link Aggregation Control Protocol) for improving the reliability of the network. LACP is a protocol that bundles a plurality of physical ports and aggregates them into one logical channel. In addition, there is a technology called multi-chassis LAG that applies LAG and makes the device redundant.

LAGを使用した技術の例として、特許文献1には、リンク集合構成の冗長性を利用しながら、帯域幅を大きくすることを対象とした通信ネットワーク内のリンク集合方法および装置が記載されている。   As an example of a technique using LAG, Patent Document 1 describes a link aggregation method and apparatus in a communication network intended to increase the bandwidth while utilizing the redundancy of the link aggregation configuration. .

上記のように冗長プロトコルを使用してネットワークを構築する場合、冗長プロトコル未対応の装置があると、未対応の装置に接続される経路のみ冗長にされない。冗長機能は、機能を実装した装置間でのみ有効な機能である。すなわち、機能を実装した装置と機能を実装していない装置とを接続する際に、冗長機能は使用されない。   When a network is constructed using a redundancy protocol as described above, if there is a device that does not support the redundancy protocol, only the path connected to the device that does not support the redundancy protocol is not made redundant. The redundant function is a function that is effective only between devices in which the function is installed. In other words, the redundant function is not used when connecting a device that implements the function and a device that does not implement the function.

また、LAGには、LACPを使用せずにローカル機能として装置に実装されているLAGもある。図12は、ローカル機能として装置に実装されているLAGの使用例を示す説明図である。   In addition, LAG includes LAG that is implemented in the apparatus as a local function without using LACP. FIG. 12 is an explanatory diagram showing a usage example of the LAG implemented in the apparatus as a local function.

図12(a)に示すように、CE(Customer Edge)ルータとPE(Provider Edge)ルータとを接続する回線、およびPEルータとパケットネットワークとを接続する回線が、LAGによってそれぞれ冗長にされている。   As shown in FIG. 12 (a), the line connecting the CE (Customer Edge) router and the PE (Provider Edge) router and the line connecting the PE router and the packet network are made redundant by the LAG. .

図12(a)に示す状態で、図12(b)に示すようにCEルータとPEルータとを接続する1つの回線において障害が発生したとする。障害が発生してももう1つ使用可能な回線があるため、CEルータとPEルータとの通信は停止しない。   Assume that a failure has occurred in one line connecting the CE router and the PE router as shown in FIG. 12B in the state shown in FIG. Even if a failure occurs, communication between the CE router and the PE router does not stop because there is another usable line.

しかし、図12(c)に示すように、PEルータにおいて障害が発生し装置が故障したとする。装置自体が故障してしまうと、回線が冗長にされていてもCEルータとパケットネットワークとが通信可能に接続されないため、通信が停止する。図12に示すように、ローカル機能として装置にLAGが実装された場合、1つの装置に接続される回線が冗長になるため、装置自体が故障した際回線による通信は停止する。   However, as shown in FIG. 12C, it is assumed that a failure has occurred in the PE router and the device has failed. If the device itself breaks down, the CE router and the packet network are not communicably connected even if the line is made redundant, and communication stops. As shown in FIG. 12, when a LAG is installed in a device as a local function, a line connected to one device becomes redundant, and communication via the line stops when the device itself fails.

すなわち、冗長プロトコル未対応の装置を扱う場合でも、回線を冗長にできる方法が求められると考えられる。さらに、より信頼性を向上させるためには、複数の装置に跨った回線の冗長構成を構築できる仕組みが求められると考えられる。冗長プロトコルを使用せずに回線の冗長構成を実現する技術の例として、特許文献2に記載されている装置および特許文献3に記載されているシステムがある。   That is, even when a device that does not support the redundancy protocol is handled, a method that can make the line redundant is considered to be required. Furthermore, in order to further improve the reliability, it is considered that a mechanism capable of constructing a redundant configuration of lines across a plurality of devices is required. As an example of a technique for realizing a redundant line configuration without using a redundancy protocol, there are an apparatus described in Patent Document 2 and a system described in Patent Document 3.

特許文献2には、MAC−in−MAC方式のネットワークにおける冗長性の確保に寄与するエッジ中継装置が記載されている。   Patent Document 2 describes an edge relay device that contributes to ensuring redundancy in a MAC-in-MAC network.

特許文献3には、レイヤ2ネットワークに適用可能とされ、切り替えの高速化を図るノード冗長システムが記載されている。   Patent Document 3 describes a node redundancy system that can be applied to a layer 2 network and that speeds up switching.

特表2012−532530号公報Special table 2012-532530 gazette 特開2012−161027号公報JP 2012-161027 A 特開2010−283679号公報JP 2010-283679 A

特許文献2に記載されているエッジ中継装置は、装置間およびNNI(Network Network Interface)ポートに対して、MAC(Media Access Control)アドレスに基づいたフィルタ方式を用いることによって冗長化を実現する。   The edge relay device described in Patent Document 2 realizes redundancy by using a filter method based on a MAC (Media Access Control) address between devices and an NNI (Network Network Interface) port.

しかし、MACアドレスに基づいたフィルタ方式を用いた場合、フレームの流れの制御において、全てのフレームに対してフレームに含まれる情報が確認される。よって、大量のフレームを扱う場合、装置への負荷が大きくなると考えられる。   However, when the filter method based on the MAC address is used, the information included in the frame is confirmed for all frames in the control of the flow of the frame. Therefore, when handling a large number of frames, the load on the apparatus is considered to increase.

また、特許文献3に記載されているノード冗長システムでは、冗長装置間で定期的に冗長情報が送受信される。しかし、冗長情報の送受信の頻度が高い場合や、送受信される冗長情報の量が多い場合、装置同士を接続している回線への負荷が大きくなると考えられる。   Further, in the node redundant system described in Patent Document 3, redundant information is periodically transmitted and received between redundant devices. However, when the frequency of transmission / reception of redundant information is high or the amount of redundant information transmitted / received is large, it is considered that the load on the line connecting the devices increases.

なお、特許文献3に記載されているノード冗長システムでは、ノード間でパケットが送受信されることは想定されていない。よって、例えばリンクの状態が異常で、異常な状態のリンクに接続されているノードの状態が正常な場合、異常な状態のリンクは無効になるので、正常な状態のノードは活用されない。   In the node redundancy system described in Patent Document 3, it is not assumed that packets are transmitted and received between nodes. Therefore, for example, when the link state is abnormal and the state of the node connected to the link in the abnormal state is normal, the link in the abnormal state becomes invalid, and the node in the normal state is not utilized.

しかし、ノード冗長システムでは、パケットの転送経路を変更すること等によって、障害発生後も正常な状態のノードを活用することは可能である。ノード冗長システムを構成する場合、管理者は、単一ノードを構成する場合よりもシステム障害に対してより柔軟に対応できると考えられる。   However, in a node redundancy system, it is possible to utilize a node in a normal state even after a failure occurs by changing a packet transfer route or the like. When configuring a node redundant system, it is considered that an administrator can respond to a system failure more flexibly than when configuring a single node.

そこで、本発明は、冗長プロトコルを使用せずに信頼性の高い回線の冗長化を容易に実現できるパケット転送システム、パケット転送装置の切り換え方法およびパケット転送装置を提供することを目的とする。   SUMMARY OF THE INVENTION An object of the present invention is to provide a packet transfer system, a packet transfer device switching method, and a packet transfer device that can easily realize highly reliable line redundancy without using a redundancy protocol.

本発明によるパケット転送システムは、冗長構成された稼働系のパケット転送装置と待機系のパケット転送装置とを含み、端末との間でパケットを転送するパケット転送システムであって、稼働系のパケット転送装置は、端末との間の通信回線に障害を検知した場合、待機系のパケット転送装置に稼働系への切り換え指示を送信し、待機系のパケット転送装置は、切り換え指示を受信すると、該待機系のパケット転送装置が保持する複数のMACアドレスから、稼働系のパケット転送装置と通信するためのポートのMACアドレスを削除することを特徴とする。   A packet transfer system according to the present invention is a packet transfer system that includes a redundantly configured active packet transfer device and a standby packet transfer device, and transfers packets to and from a terminal. When a failure is detected in the communication line with the terminal, the device transmits an instruction to switch to the active packet transfer device to the standby packet transfer device, and when the standby packet transfer device receives the switch instruction, The MAC address of the port for communicating with the active packet transfer apparatus is deleted from the plurality of MAC addresses held by the system packet transfer apparatus.

本発明によるパケット転送装置の切り換え方法は、冗長構成された稼働系のパケット転送装置と待機系のパケット転送装置とを含み、端末との間でパケットを転送するパケット転送システムにおいて、稼働系のパケット転送装置が、端末との間の通信回線に障害を検知した場合、待機系のパケット転送装置に稼働系への切り換え指示を送信するステップと、待機系のパケット転送装置が、切り換え指示を受信すると、該待機系のパケット転送装置が保持する複数のMACアドレスから、稼働系のパケット転送装置と通信するためのポートのMACアドレスを削除するステップと、を含むことを特徴とする。   A packet transfer apparatus switching method according to the present invention includes a redundantly configured active packet transfer apparatus and a standby packet transfer apparatus, and in a packet transfer system for transferring packets to and from a terminal, an active packet When the transfer device detects a failure in the communication line with the terminal, a step of transmitting an instruction to switch to the active system to the standby packet transfer device, and when the standby packet transfer device receives the switch instruction And a step of deleting a MAC address of a port for communicating with the active packet transfer device from a plurality of MAC addresses held by the standby packet transfer device.

本発明によるパケット転送装置は、稼働系のパケット転送装置と待機系のパケット転送装置とで冗長構成されたパケット転送システムにおける待機系のパケット転送装置であって、稼働系のパケット転送装置から稼働系への切り換え指示を受信すると、当該待機系のパケット転送装置が保持する複数のMACアドレスのうち稼働系のパケット転送装置と通信するためのポートのMACアドレスを削除することを特徴とする。   A packet transfer apparatus according to the present invention is a standby packet transfer apparatus in a packet transfer system that is redundantly configured with an active packet transfer apparatus and a standby packet transfer apparatus, from the active packet transfer apparatus to the active system. When the switch instruction to switch to is received, the MAC address of the port for communicating with the active packet transfer apparatus is deleted from the plurality of MAC addresses held by the standby packet transfer apparatus.

本発明によれば、冗長プロトコルを使用せずに信頼性の高い回線の冗長化を容易に実現できる。   According to the present invention, it is possible to easily realize highly reliable line redundancy without using a redundancy protocol.

本発明によるパケット転送システム101を使用したパケット伝送ネットワークの例を示す説明図である。It is explanatory drawing which shows the example of the packet transmission network using the packet transfer system 101 by this invention. 本発明によるパケット転送システム101を使用したパケット伝送ネットワークの例を示す説明図である。It is explanatory drawing which shows the example of the packet transmission network using the packet transfer system 101 by this invention. パケット伝送ネットワークで回線障害が発生した際のパケット転送システム101の動作の例を示す説明図である。It is explanatory drawing which shows the example of operation | movement of the packet transfer system 101 when a line failure generate | occur | produces in a packet transmission network. パケット伝送ネットワークで回線障害が発生した際のパケット転送システム101の動作の例を示す説明図である。It is explanatory drawing which shows the example of operation | movement of the packet transfer system 101 when a line failure generate | occur | produces in a packet transmission network. パケット伝送ネットワークで送信パケットのループが発生する様子を示す説明図である。It is explanatory drawing which shows a mode that the loop of a transmission packet generate | occur | produces in a packet transmission network. パケット転送システム101の構成例を示すブロック図である。1 is a block diagram illustrating a configuration example of a packet transfer system 101. FIG. ネットワーク装置の初期設定の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the initial setting of a network apparatus. パケットを受信した際のネットワーク装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the network apparatus at the time of receiving a packet. 回線障害を検知した際のネットワーク装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the network apparatus when a line failure is detected. ネットワーク装置の回線切り替えの動作を示すフローチャートである。It is a flowchart which shows the operation | movement of line switching of a network apparatus. 本発明によるパケット転送システムの概要を示すブロック図である。It is a block diagram which shows the outline | summary of the packet transfer system by this invention. ローカル機能として装置に実装されているLAGの使用例を示す説明図である。It is explanatory drawing which shows the usage example of LAG mounted in the apparatus as a local function.

以下、本発明の実施形態を図面を参照して説明する。図1は、本発明によるパケット転送システム101を使用したパケット伝送ネットワークの例を示す説明図である。図1に示すパケット伝送ネットワークは、パケット転送システム101と、ユーザ側装置401と、パケットネットワーク501とを含む。ユーザ側装置401とパケットネットワーク501との間で、パケット転送システム101を介してパケットが送受信される。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is an explanatory diagram showing an example of a packet transmission network using a packet transfer system 101 according to the present invention. The packet transmission network shown in FIG. 1 includes a packet transfer system 101, a user side device 401, and a packet network 501. Packets are transmitted and received between the user side device 401 and the packet network 501 via the packet transfer system 101.

図1に示すユーザ側装置401は、LAGを有していない。ユーザ側装置401とパケットネットワーク501との間にパケット転送システム101が設けられることで、ユーザ側装置401に接続される回線の冗長構成が実現される。   The user side device 401 shown in FIG. 1 does not have a LAG. By providing the packet transfer system 101 between the user side device 401 and the packet network 501, a redundant configuration of lines connected to the user side device 401 is realized.

図1に示すパケット転送システム101は、ネットワーク装置201と、ネットワーク装置301とを含む。   A packet transfer system 101 illustrated in FIG. 1 includes a network device 201 and a network device 301.

パケット転送システム101は、通常のスイッチング動作を行うスイッチに対して、特定条件下でパケットを廃棄する機能を追加している。また、ネットワーク装置201は、ネットワーク装置301と回線を介して通信可能に接続されている。その結果、パケット転送システム101は、冗長プロトコルを実装しないユーザ側装置401との間の回線において、複数のネットワーク装置に跨った回線冗長化を実現する。   The packet transfer system 101 adds a function of discarding packets under specific conditions to a switch that performs a normal switching operation. Further, the network device 201 is connected to the network device 301 so as to be able to communicate with each other via a line. As a result, the packet transfer system 101 realizes line redundancy across a plurality of network devices in a line with the user side device 401 that does not implement a redundancy protocol.

図2は、本発明によるパケット転送システム101を使用したパケット伝送ネットワークの他の例を示す説明図である。図2に示すユーザ側装置401とパケット転送システム101との間の回線、およびパケット転送システム101とパケットネットワーク501との間の回線において、太線は稼働系の回線、点線は待機系の回線をそれぞれ示す。   FIG. 2 is an explanatory diagram showing another example of a packet transmission network using the packet transfer system 101 according to the present invention. In the line between the user side device 401 and the packet transfer system 101 and the line between the packet transfer system 101 and the packet network 501 shown in FIG. 2, the thick line indicates the active line, and the dotted line indicates the standby line. Show.

図2に示すように、ユーザ側装置401の稼働系の接続ポートが接続されたネットワーク装置と、パケットネットワーク501の稼働系の接続ポートが接続されたネットワーク装置が異なる場合でも、ユーザ側装置401は、パケットネットワーク501と通信できる。その理由は、ネットワーク装置201がネットワーク装置301と通信可能に接続されているためである。   As shown in FIG. 2, even when the network device connected to the active connection port of the user side device 401 is different from the network device connected to the active connection port of the packet network 501, the user side device 401 Can communicate with the packet network 501. This is because the network device 201 is connected to the network device 301 so as to be communicable.

図3と図4は、パケット伝送ネットワークで回線障害が発生した際のパケット転送システム101の動作の例を示す説明図である。   3 and 4 are explanatory diagrams showing an example of the operation of the packet transfer system 101 when a line failure occurs in the packet transmission network.

図3と図4に示すネットワーク装置内の両端矢印は、装置内でパケットが移動する向きを示す。例えば、図3(a)に示すネットワーク装置201内の両端矢印は、左から下に向かって、または下から左に向かってパケットが移動することを意味している。   The double-ended arrows in the network device shown in FIGS. 3 and 4 indicate the direction in which the packet moves within the device. For example, a double-ended arrow in the network device 201 shown in FIG. 3A means that the packet moves from the left to the bottom or from the bottom to the left.

図3(a)に示すように、ユーザ側装置401とネットワーク装置201とを接続する回線で障害が発生したとする。   As shown in FIG. 3A, it is assumed that a failure has occurred in a line connecting the user side device 401 and the network device 201.

回線で障害が発生した場合、図3(b)に示すようにネットワーク装置201は、障害を検出し、装置内のMACテーブルを再構築する。具体的には、ネットワーク装置201は、障害が発生した回線に接続されているポートに関する情報を初期化する。   When a failure occurs in the line, as shown in FIG. 3B, the network device 201 detects the failure and reconstructs the MAC table in the device. Specifically, the network device 201 initializes information regarding the port connected to the line where the failure has occurred.

ネットワーク装置201は、障害が発生している回線があることを、障害情報を含めたパケットを送信することによってネットワーク装置301に伝達する。図4(a)に示すように、パケットを受信したネットワーク装置301は、装置内のMACテーブルを再構築する。なお、図4の上部に示す矢印は、図4(a)に示す状態が図3(b)に示す次の状態であることを意味している。   The network device 201 notifies the network device 301 that there is a faulted line by transmitting a packet including the fault information. As shown in FIG. 4A, the network device 301 that has received the packet reconstructs the MAC table in the device. Note that the arrow shown in the upper part of FIG. 4 means that the state shown in FIG. 4A is the next state shown in FIG.

次いで、図4(b)に示すように、ネットワーク装置301は、再構築した情報に従ってスイッチング動作を行い、回線切り替えを実施する。   Next, as illustrated in FIG. 4B, the network device 301 performs a switching operation according to the reconstructed information, and performs line switching.

図5は、パケット伝送ネットワークで送信パケットのループが発生する様子を示す説明図である。図5(a)に示すユーザ側装置と2つのネットワーク装置との間の冗長回線は、通常同一のVLAN(Virtual Local Area Network)等として構成された、同一の論理回線であることが多い。   FIG. 5 is an explanatory diagram showing how a loop of a transmission packet occurs in a packet transmission network. The redundant line between the user side apparatus and the two network apparatuses shown in FIG. 5A is often the same logical line normally configured as the same VLAN (Virtual Local Area Network) or the like.

よって、図5(a)に示すように、パケットネットワークからマルチキャストパケット等が入力された場合、入力したネットワーク装置は、図5(b)に示すように、同一の論理回線配下に対してフラッディング処理を行う。   Therefore, as shown in FIG. 5A, when a multicast packet or the like is input from the packet network, the input network device performs flooding processing on the same logical line as shown in FIG. 5B. I do.

フラッディング処理が行われた後、ネットワーク装置間を接続した回線を通じて他方のネットワーク装置にもパケットが入力される。図5(c)に示すように、パケットを入力したネットワーク装置もフラッディング処理を行うため、パケットネットワークにもパケットが送信される。以上により、パケット伝送ネットワークで送信パケットのループが発生する。   After the flooding process is performed, the packet is also input to the other network device through a line connecting the network devices. As shown in FIG. 5C, since the network device that has input the packet also performs the flooding process, the packet is also transmitted to the packet network. As a result, a transmission packet loop occurs in the packet transmission network.

図5に示すように、ネットワーク装置で行われる処理が単純なスイッチング処理であると、回線内でループが発生する可能性がある。そこで、パケット転送システム101に含まれるネットワーク装置は、連絡ポートから入力したパケットが同一の装置側に転送されないように、装置内部で該当するパケットを制御する機能を有する。   As shown in FIG. 5, if the process performed in the network device is a simple switching process, a loop may occur in the line. Therefore, the network device included in the packet transfer system 101 has a function of controlling the corresponding packet inside the device so that the packet input from the communication port is not transferred to the same device side.

図6は、パケット転送システム101の構成例を示すブロック図である。   FIG. 6 is a block diagram illustrating a configuration example of the packet transfer system 101.

図6に示すように、ネットワーク装置201は、スイッチング部202と、MACテーブル記憶部203と、UNI(User Network Interface)ポート204と、NNIポート205と、NNI連絡ポート206と、UNI連絡ポート207と、ポート状態管理テーブル記憶部208と、CPU209と、バス210とを含む。   As illustrated in FIG. 6, the network device 201 includes a switching unit 202, a MAC table storage unit 203, a UNI (User Network Interface) port 204, an NNI port 205, an NNI communication port 206, and a UNI communication port 207. , A port state management table storage unit 208, a CPU 209, and a bus 210.

また、図6に示すように、ネットワーク装置301は、スイッチング部302と、MACテーブル記憶部303と、UNIポート304と、NNIポート305と、NNI連絡ポート306と、UNI連絡ポート307と、ポート状態管理テーブル記憶部308と、CPU309と、バス310とを含む。   As shown in FIG. 6, the network device 301 includes a switching unit 302, a MAC table storage unit 303, a UNI port 304, an NNI port 305, an NNI communication port 306, a UNI communication port 307, and a port status. A management table storage unit 308, a CPU 309, and a bus 310 are included.

本実施形態におけるパケット転送システム101において、ネットワーク装置201およびネットワーク装置301は、プログラムに従って処理を実行するCPU209、CPU309によってそれぞれ実現される。   In the packet transfer system 101 in the present embodiment, the network device 201 and the network device 301 are realized by a CPU 209 and a CPU 309 that execute processing according to a program, respectively.

スイッチング部202は、MACテーブル記憶部203に記憶されているMACテーブルの情報に従ってパケットを転送する機能を有する。また、スイッチング部202は、任意のポート間におけるデータ転送を制限する機能を有する。   The switching unit 202 has a function of transferring a packet according to the information in the MAC table stored in the MAC table storage unit 203. The switching unit 202 has a function of restricting data transfer between arbitrary ports.

図6に示すスイッチング部202内の点線は、スイッチング部202内部のパケットの経路を意味している。すなわち、スイッチング部202は、UNIポート204とNNIポート205との間、UNIポート204とUNI連絡ポート207との間、およびNNIポート205とNNI連絡ポート206との間でパケットを転送できる。   A dotted line in the switching unit 202 shown in FIG. 6 means a packet path inside the switching unit 202. That is, the switching unit 202 can transfer packets between the UNI port 204 and the NNI port 205, between the UNI port 204 and the UNI communication port 207, and between the NNI port 205 and the NNI communication port 206.

スイッチング部202は、MACテーブル記憶部203、UNIポート204、NNIポート205、NNI連絡ポート206、UNI連絡ポート207およびCPU209とそれぞれ接続する。   The switching unit 202 is connected to the MAC table storage unit 203, the UNI port 204, the NNI port 205, the NNI communication port 206, the UNI communication port 207, and the CPU 209, respectively.

MACテーブル記憶部203には、受信されたパケットの情報から構成される転送先情報が格納される。MACテーブル記憶部203は、スイッチング部202およびCPU209とそれぞれ接続する。   The MAC table storage unit 203 stores transfer destination information composed of received packet information. The MAC table storage unit 203 is connected to the switching unit 202 and the CPU 209, respectively.

UNIポート204、NNIポート205、NNI連絡ポート206およびUNI連絡ポート207は、それぞれパケットを送受信する機能、および不要なパケットの送信を制御するパケットのフィルタ機能を有するインタフェース回路である。   The UNI port 204, the NNI port 205, the NNI communication port 206, and the UNI communication port 207 are interface circuits each having a function of transmitting / receiving a packet and a function of filtering a packet for controlling transmission of an unnecessary packet.

UNIポート204は、ユーザ側装置401と接続するインタフェース回路である。NNIポート205は、パケットネットワーク501と接続するインタフェース回路である。NNI連絡ポート206およびUNI連絡ポート207は、ネットワーク装置201とネットワーク装置301と間の連絡ポートとして使用されるインタフェース回路である。   The UNI port 204 is an interface circuit connected to the user side device 401. The NNI port 205 is an interface circuit connected to the packet network 501. The NNI communication port 206 and the UNI communication port 207 are interface circuits used as communication ports between the network device 201 and the network device 301.

UNIポート204およびNNIポート205は、パケットを受信した際に、ポート状態管理テーブル記憶部208に記憶されている情報を参照して、所定の条件に該当すれば受信したパケットを送信しない。   When receiving a packet, the UNI port 204 and the NNI port 205 refer to the information stored in the port state management table storage unit 208 and do not transmit the received packet if a predetermined condition is met.

UNIポート204、NNIポート205、NNI連絡ポート206、およびUNI連絡ポート207は、それぞれスイッチング部202と接続する。また、UNIポート204、NNIポート205、NNI連絡ポート206、およびUNI連絡ポート207は、それぞれバス210を介して、他のインタフェース回路、ポート状態管理テーブル記憶部208およびCPU209とそれぞれ接続する。   The UNI port 204, the NNI port 205, the NNI communication port 206, and the UNI communication port 207 are connected to the switching unit 202, respectively. Further, the UNI port 204, the NNI port 205, the NNI communication port 206, and the UNI communication port 207 are connected to other interface circuits, the port state management table storage unit 208, and the CPU 209 via the bus 210, respectively.

ポート状態管理テーブル記憶部208には、各インタフェース回路で共有される、各インタフェース回路におけるパケットのフィルタ処理に使用されるポート状態管理テーブルが記憶される。ポート状態管理テーブル記憶部208は、バス210を介して、UNIポート204、NNIポート205、NNI連絡ポート206およびUNI連絡ポート207とそれぞれ接続する。   The port state management table storage unit 208 stores a port state management table that is shared by each interface circuit and is used for packet filtering in each interface circuit. The port state management table storage unit 208 is connected to the UNI port 204, the NNI port 205, the NNI communication port 206, and the UNI communication port 207 via the bus 210, respectively.

CPU209は、スイッチング部202や、各インタフェース回路を制御する機能を有する。スイッチング部202は、プログラム制御に従って処理を実行するCPU209によって実現される。   The CPU 209 has a function of controlling the switching unit 202 and each interface circuit. The switching unit 202 is realized by the CPU 209 that executes processing according to program control.

また、CPU209は、各構成ブロックに対して初期設定を行う。CPU209は、スイッチング部202およびMACテーブル記憶部203とそれぞれ接続する。また、CPU209は、バス210を介して、UNIポート204、NNIポート205、NNI連絡ポート206、UNI連絡ポート207、およびポート状態管理テーブル記憶部208とそれぞれ接続する。   In addition, the CPU 209 performs initial setting for each component block. The CPU 209 is connected to the switching unit 202 and the MAC table storage unit 203, respectively. Further, the CPU 209 is connected to the UNI port 204, the NNI port 205, the NNI communication port 206, the UNI communication port 207, and the port state management table storage unit 208 via the bus 210.

なお、本実施形態のパケット転送システム101はパケット伝送ネットワークにおいて使用されることが想定されているシステムであるが、各インタフェース回路にはPoA(Packet Over ATM)回路が設けられてもよい。各インタフェース回路にPoA回路が設けられた場合、パケット転送システム101は、複数の装置に跨ったAPS(Automatic Protection Switching)機能も実現できる。   The packet transfer system 101 of this embodiment is a system that is assumed to be used in a packet transmission network, but each interface circuit may be provided with a PoA (Packet Over ATM) circuit. When a PoA circuit is provided in each interface circuit, the packet transfer system 101 can also realize an APS (Automatic Protection Switching) function across a plurality of devices.

なお、図6に示すネットワーク装置301に含まれるスイッチング部302、MACテーブル記憶部303、UNIポート304、NNIポート305、NNI連絡ポート306、UNI連絡ポート307、ポート状態管理テーブル記憶部308、CPU309およびバス310は、それぞれスイッチング部202、MACテーブル記憶部203、UNIポート204、NNIポート205、NNI連絡ポート206、UNI連絡ポート207、ポート状態管理テーブル記憶部208、CPU209およびバス210と同様の処理を行うため、ネットワーク装置301に含まれる各部の説明は省略する。   Note that the switching unit 302, the MAC table storage unit 303, the UNI port 304, the NNI port 305, the NNI communication port 306, the UNI communication port 307, the port state management table storage unit 308, the CPU 309, and the network device 301 included in the network device 301 illustrated in FIG. The bus 310 performs the same processing as the switching unit 202, the MAC table storage unit 203, the UNI port 204, the NNI port 205, the NNI communication port 206, the UNI communication port 207, the port state management table storage unit 208, the CPU 209, and the bus 210, respectively. Therefore, description of each unit included in the network device 301 is omitted.

なお、本実施形態におけるパケット転送システム101において、ネットワーク装置201およびネットワーク装置301は、ハードウェアによって実現されてもよい。   In the packet transfer system 101 in the present embodiment, the network device 201 and the network device 301 may be realized by hardware.

また、MACテーブル記憶部203、ポート状態管理テーブル記憶部208、MACテーブル記憶部303およびポート状態管理テーブル記憶部308は、例えば、RAM(Random Access Memory)で実現される。   Further, the MAC table storage unit 203, the port state management table storage unit 208, the MAC table storage unit 303, and the port state management table storage unit 308 are realized by, for example, a RAM (Random Access Memory).

以下、本実施形態のパケット転送システム101の動作を図7〜図10に示すフローチャートを参照して説明する。図7は、ネットワーク装置の初期設定の動作を示すフローチャートである。   Hereinafter, the operation of the packet transfer system 101 of this embodiment will be described with reference to the flowcharts shown in FIGS. FIG. 7 is a flowchart showing the initial setting operation of the network device.

ここでは、ネットワーク装置201における初期設定の動作を説明する。CPU209は、初期設定として各インタフェース回路にUNIポート204、NNIポート205、NNI連絡ポート206、UNI連絡ポート207をそれぞれ定義する(ステップS601)。   Here, an initial setting operation in the network apparatus 201 will be described. The CPU 209 defines the UNI port 204, the NNI port 205, the NNI communication port 206, and the UNI communication port 207 for each interface circuit as an initial setting (step S601).

次いで、CPU209は、ネットワーク上にループを発生させないために、スイッチング部202に対して、UNIポート204とNNI連絡ポート206との間でデータ転送処理を動作させないブロック機能を設定する(ステップS602)。   Next, the CPU 209 sets a block function that does not operate the data transfer processing between the UNI port 204 and the NNI communication port 206 in the switching unit 202 in order not to cause a loop on the network (step S602).

同様に、CPU209は、NNIポート205とUNI連絡ポート207との間、NNI連絡ポート206とUNI連絡ポート207との間でも、データ転送処理を動作させないブロック機能をスイッチング部202に対して設定する(ステップS602)。   Similarly, the CPU 209 sets a block function that does not operate the data transfer processing between the NNI port 205 and the UNI communication port 207 and between the NNI communication port 206 and the UNI communication port 207 in the switching unit 202 ( Step S602).

ブロック機能が設定されることで、ネットワーク装置201の初期設定が完了する。なお、ネットワーク装置301も、図7に示すフローチャートに従って初期設定を行う。   By setting the block function, the initial setting of the network device 201 is completed. The network device 301 also performs initial settings according to the flowchart shown in FIG.

次に、パケットを受信した際のネットワーク装置の動作を説明する。図8は、パケットを受信した際のネットワーク装置の動作を示すフローチャートである。   Next, the operation of the network device when receiving a packet will be described. FIG. 8 is a flowchart showing the operation of the network device when a packet is received.

ここでは、ネットワーク装置201がパケットを受信した際の動作を説明する。インタフェース回路であるポートが、パケットを受信する(ステップS701)。   Here, the operation when the network apparatus 201 receives a packet will be described. The port that is the interface circuit receives the packet (step S701).

パケットを受信したインタフェース回路は、管理されているポート状態管理テーブル記憶部208に記憶されているポート状態管理テーブルに対して、受信パケットの情報を書き込む(ステップS702)。   The interface circuit that has received the packet writes the information of the received packet in the port state management table stored in the managed port state management table storage unit 208 (step S702).

受信パケットの情報を書き込んだ後、インタフェース回路は、受信パケットをスイッチング部202に対して転送する(ステップS703)。   After writing the received packet information, the interface circuit transfers the received packet to the switching unit 202 (step S703).

スイッチング部202は、管理されているMACテーブル記憶部203に記憶されているMACテーブルに、受信パケットの情報を書き込む(ステップS704)。   The switching unit 202 writes the received packet information in the MAC table stored in the managed MAC table storage unit 203 (step S704).

スイッチング部202は、MACテーブルの情報に基づいて、受信パケットの転送先ポートを決定する(ステップS705)。   The switching unit 202 determines a transfer destination port of the received packet based on the information in the MAC table (step S705).

転送先が連絡ポート(NNI連絡ポート206またはUNI連絡ポート207)の場合(ステップS705の「連絡ポート」)、受信パケットは、連絡ポートに対して転送される(ステップS706)。   If the forwarding destination is a contact port (NNI contact port 206 or UNI contact port 207) ("contact port" in step S705), the received packet is forwarded to the contact port (step S706).

転送された受信パケットは、連絡ポートからそのまま送信される。受信パケットが送信された後、ネットワーク装置201は、処理を終了する。   The forwarded received packet is transmitted as it is from the communication port. After the received packet is transmitted, the network device 201 ends the process.

転送先が連絡ポート以外(UNIポート204またはNNIポート205)の場合(ステップS705の「回線ポート」)、受信パケットは、回線ポートに対して転送される(ステップS707)。   When the forwarding destination is other than the contact port (UNI port 204 or NNI port 205) (“line port” in step S705), the received packet is forwarded to the line port (step S707).

受信パケットが転送されたポートであるインタフェース回路は、ポート状態管理テーブル記憶部208に記憶されているポート状態管理テーブルを参照する(ステップS708)。参照した上で、インタフェース回路は、受信パケットに含まれている情報とポート状態管理テーブルに記載されている情報とを比較する(ステップS709)。   The interface circuit that is the port to which the received packet has been transferred refers to the port state management table stored in the port state management table storage unit 208 (step S708). After referencing, the interface circuit compares the information included in the received packet with the information described in the port state management table (step S709).

受信パケットに含まれている情報とポート状態管理テーブルに記載されている情報とを比較した結果、受信パケットが連絡ポート以外から入力したパケットである場合(ステップS709のNo)、インタフェース回路は、そのまま受信パケットを送信する。受信パケットが送信された後、ネットワーク装置201は、処理を終了する。   As a result of comparing the information included in the received packet with the information described in the port state management table, if the received packet is input from a port other than the communication port (No in step S709), the interface circuit remains as it is. Send the received packet. After the received packet is transmitted, the network device 201 ends the process.

受信パケットに含まれている情報とポート状態管理テーブルに記載されている情報とを比較した結果、受信パケットが連絡ポートから入力したパケットである場合(ステップS709のYes)、インタフェース回路は、自インタフェース回路が受信パケットの送信先ポートであるか否か確認する(ステップS710)。   As a result of comparing the information included in the received packet with the information described in the port state management table, if the received packet is a packet input from the communication port (Yes in step S709), the interface circuit It is confirmed whether or not the circuit is a destination port of the received packet (step S710).

自インタフェース回路が受信パケットの送信先ポートである場合(ステップS710のYes)、インタフェース回路は、受信パケットを送信する。受信パケットが送信された後、ネットワーク装置201は、処理を終了する。   When the own interface circuit is the transmission destination port of the received packet (Yes in step S710), the interface circuit transmits the received packet. After the received packet is transmitted, the network device 201 ends the process.

自インタフェース回路が受信パケットの送信先ポートでない場合(ステップS710のNo)、インタフェース回路は、受信パケットを廃棄する。受信パケットが廃棄された後、ネットワーク装置201は、処理を終了する。   When the own interface circuit is not the transmission destination port of the received packet (No in step S710), the interface circuit discards the received packet. After the received packet is discarded, the network device 201 ends the process.

なお、ステップS705で転送先が確定しない場合、インタフェース回路は、通常のスイッチの動作として、ステップS706の処理およびステップS707の処理を両方実施する。両方の処理が実施される場合、どちらの処理においても最終的にステップS710で受信パケットの廃棄処理が行われるため、ユーザ側装置401またはパケットネットワーク501に対して同一パケットの送信が防止される。   When the transfer destination is not determined in step S705, the interface circuit performs both the processing in step S706 and the processing in step S707 as the normal switch operation. In the case where both processes are performed, the received packet discard process is finally performed in step S710 in both processes, and therefore, transmission of the same packet to the user side device 401 or the packet network 501 is prevented.

なお、ネットワーク装置301も、パケットを受信した際に図8に示すフローチャートに従って受信パケットを処理する。   The network device 301 also processes the received packet according to the flowchart shown in FIG. 8 when the packet is received.

次に、回線障害を検知した際のネットワーク装置の動作を説明する。図9は、回線障害を検知した際のネットワーク装置の動作を示すフローチャートである。   Next, the operation of the network device when a line failure is detected will be described. FIG. 9 is a flowchart showing the operation of the network device when a line failure is detected.

ここでは、ネットワーク装置201が回線障害を検知した際の動作を説明する。図4(a)に示すように、ユーザ側装置401とネットワーク装置201とを接続する稼働系の回線において障害が発生したとする。UNIポート204は、障害の発生を検出する(ステップS801のYes)。   Here, the operation when the network apparatus 201 detects a line failure will be described. As shown in FIG. 4A, it is assumed that a failure has occurred in the active line connecting the user side device 401 and the network device 201. The UNI port 204 detects the occurrence of a failure (Yes in step S801).

次いで、UNIポート204は、回線障害が発生したことをCPU209に通知する(ステップS802)。   Next, the UNI port 204 notifies the CPU 209 that a line failure has occurred (step S802).

通知を受けたCPU209は、NNIポート205がパケットネットワーク501から受信したパケットがUNIポート204の代わりにNNI連絡ポート206に転送されるように、UNIポート204に関する情報を初期化する。   Upon receiving the notification, the CPU 209 initializes information related to the UNI port 204 so that the packet received by the NNI port 205 from the packet network 501 is transferred to the NNI communication port 206 instead of the UNI port 204.

具体的には、CPU209は、MACテーブル記憶部203に記憶されているMACテーブルに、UNIポート204のUNIポート情報に加え、NNI連絡ポート206のNNI連絡ポート情報を追記する。また、CPU209は、ポート状態管理テーブル記憶部208に記憶されているポート状態管理テーブルにも、UNIポート情報に加えNNI連絡ポート情報を追記する(ステップS803)。   Specifically, the CPU 209 adds NNI communication port information of the NNI communication port 206 to the MAC table stored in the MAC table storage unit 203 in addition to the UNI port information of the UNI port 204. Further, the CPU 209 additionally writes the NNI communication port information in addition to the UNI port information to the port state management table stored in the port state management table storage unit 208 (step S803).

また、CPU209は、ポート状態管理テーブルに、UNIポート204に回線障害が発生しているという障害ポート情報を記載する。   Further, the CPU 209 describes failure port information that a line failure has occurred in the UNI port 204 in the port state management table.

CPU209は、MACテーブル記憶部203に記憶されているMACテーブルから、障害が発生した回線に接続されているUNIポート204のUNIポート情報を削除する(ステップS804)。ステップS804までの処理により、NNIポート205が受信したパケットがUNIポート204のみに転送されず、NNI連絡ポート206に転送される状態になる。   The CPU 209 deletes the UNI port information of the UNI port 204 connected to the failed line from the MAC table stored in the MAC table storage unit 203 (step S804). Through the processing up to step S804, the packet received by the NNI port 205 is not transferred only to the UNI port 204 but is transferred to the NNI communication port 206.

他方のネットワーク装置に対して障害発生を通知するため、CPU209は、ポート状態管理テーブルに保持されている障害ポート情報を含んだ制御パケットを生成する(ステップS805)。   In order to notify the occurrence of a failure to the other network device, the CPU 209 generates a control packet including the failed port information held in the port state management table (step S805).

次いで、CPU209は、スイッチング部202、およびNNI連絡ポート206を介して他方のネットワーク装置宛てに制御パケットを送信する(ステップS806)。   Next, the CPU 209 transmits a control packet to the other network device via the switching unit 202 and the NNI communication port 206 (step S806).

次いで、CPU209は、障害が発生した回線に接続されているUNIポート204の状態を監視する。監視した結果、障害が継続中であれば(ステップS807のNo)、CPU209は、ステップS805における処理、およびステップS806における処理を実施する。   Next, the CPU 209 monitors the state of the UNI port 204 connected to the line where the failure has occurred. As a result of monitoring, if the failure is continuing (No in step S807), the CPU 209 performs the processing in step S805 and the processing in step S806.

監視した結果、障害が復旧していれば(ステップS807のYes)、CPU209は、MACテーブルと状態を一致させるために、ポート状態管理テーブルからUNIポート204の障害ポート情報を削除する(ステップS808)。情報が削除された後、ネットワーク装置201は、処理を終了する。   If the fault is recovered as a result of monitoring (Yes in step S807), the CPU 209 deletes the fault port information of the UNI port 204 from the port status management table in order to match the status with the MAC table (step S808). . After the information is deleted, the network device 201 ends the process.

なお、ネットワーク装置301も、回線障害を検知した際に図9に示すフローチャートに従ってMACテーブル、ポート状態管理テーブルを初期化する。   The network device 301 also initializes the MAC table and the port state management table according to the flowchart shown in FIG. 9 when a line failure is detected.

次に、ネットワーク装置の回線切り替えの動作を説明する。図10は、ネットワーク装置の回線切り替えの動作を示すフローチャートである。   Next, the line switching operation of the network device will be described. FIG. 10 is a flowchart showing the line switching operation of the network device.

ここでは、ネットワーク装置301が回線を切り替える際の動作を説明する。冗長構成の他方の装置であるネットワーク装置301は、CPU309が宛先である、ネットワーク装置201から送信される制御パケットを受信する(ステップS901のYes)。制御パケットを受信しない場合(ステップS901のNo)、ネットワーク装置301は処理を終了する。   Here, the operation when the network apparatus 301 switches the line will be described. The network device 301, which is the other device in the redundant configuration, receives a control packet transmitted from the network device 201 to which the CPU 309 is a destination (Yes in step S901). When the control packet is not received (No in step S901), the network device 301 ends the process.

CPU309は、受信した制御パケットから情報を抽出する(ステップS902)。制御パケット内に障害ポート情報がなければ(ステップS902のNo)、ネットワーク装置301は処理を終了する。   The CPU 309 extracts information from the received control packet (step S902). If there is no failed port information in the control packet (No in step S902), the network device 301 ends the process.

制御パケット内に障害ポート情報があれば(ステップS902のYes)、CPU309は、MACテーブル記憶部303に記憶されたMACテーブルに登録された、連絡ポートのMACアドレスを削除する(ステップS903)。   If there is failed port information in the control packet (Yes in step S902), the CPU 309 deletes the MAC address of the contact port registered in the MAC table stored in the MAC table storage unit 303 (step S903).

すなわち、MACテーブルに登録されたNNI連絡ポート306のMACアドレス、およびUNI連絡ポート307のMACアドレスがそれぞれ削除される。連絡ポートのMACアドレスの削除により、スイッチング部302による連絡ポートのみへのパケット転送が防止される。   That is, the MAC address of the NNI communication port 306 and the MAC address of the UNI communication port 307 registered in the MAC table are deleted. By deleting the MAC address of the contact port, the packet transfer to only the contact port by the switching unit 302 is prevented.

また、CPU309は、制御パケット内に含まれていた障害ポート情報を、ポート状態管理テーブル記憶部308に記憶されているポート状態管理テーブルに記載する。   In addition, the CPU 309 describes the failed port information included in the control packet in the port state management table stored in the port state management table storage unit 308.

新稼働系ポートになるUNIポート304がパケットを受信する前に、NNIポート305がパケットネットワーク501からパケットを受信した場合(ステップS904のNo、ステップS905のYes)、NNIポート305はフラッディング処理を行う。   If the NNI port 305 receives a packet from the packet network 501 before the UNI port 304 serving as the new operating port receives the packet (No in step S904, Yes in step S905), the NNI port 305 performs flooding processing. .

NNIポート305がフラッディング処理を行う理由は、MACテーブル記憶部303に記憶されているMACテーブルに、パケットの転送先情報が記載されていないためである。よって、スイッチング部302は、UNIポート304、およびNNI連絡ポート306の両ポートに受信パケットを転送する(ステップS906)。   The reason that the NNI port 305 performs the flooding process is that the packet transfer destination information is not described in the MAC table stored in the MAC table storage unit 303. Therefore, the switching unit 302 transfers the received packet to both the UNI port 304 and the NNI communication port 306 (step S906).

制御パケットが受信されている間、各インタフェース回路は、ポート状態管理テーブルに記載されている障害情報に従ってパケットを処理する。具体的には、NNI連絡ポート306は、転送されたパケットを廃棄する(ステップS907)。NNI連絡ポート306がパケットを廃棄することによって、新稼働系ポートになるUNIポート304からのみパケットが送信される。   While the control packet is received, each interface circuit processes the packet according to the failure information described in the port state management table. Specifically, the NNI communication port 306 discards the transferred packet (step S907). When the NNI communication port 306 discards the packet, the packet is transmitted only from the UNI port 304 that becomes the new active port.

新稼働系ポートになるUNIポート304がユーザ側装置401からパケットを受信した場合(ステップS904のYes)、CPU309は、MACテーブル記憶部303に記憶されているMACテーブルに受信されたパケットのパケット情報を書き込む。また、CPU309は、ポート状態管理テーブル記憶部308に記憶されているポート状態管理テーブルにも、受信されたパケットのパケット情報を書き込む(ステップS908)。   When the UNI port 304 serving as the new active port receives a packet from the user-side device 401 (Yes in step S904), the CPU 309 determines the packet information of the packet received in the MAC table stored in the MAC table storage unit 303. Write. The CPU 309 also writes the packet information of the received packet in the port state management table stored in the port state management table storage unit 308 (step S908).

次いで、NNIポート305がパケットネットワーク501からパケットを受信すると(ステップS909のYes)、スイッチング部302は、MACテーブルの情報に従って、新稼働系ポートであるUNIポート304のみにパケットを転送する(ステップS910)。   Next, when the NNI port 305 receives a packet from the packet network 501 (Yes in step S909), the switching unit 302 transfers the packet only to the UNI port 304 that is the new active port according to the information in the MAC table (step S910). ).

UNIポート304からパケットが送信されることで、切り替え処理が完了する。以上の処理により、冗長プロトコルを実装しない装置間において、複数の装置に跨った回線の冗長化が実現される。なお、ネットワーク装置201も、図10に示すフローチャートに従って回線を切り替える。   When the packet is transmitted from the UNI port 304, the switching process is completed. With the above processing, line redundancy across a plurality of devices is realized between devices that do not implement a redundancy protocol. The network device 201 also switches the line according to the flowchart shown in FIG.

なお、ネットワーク装置201およびネットワーク装置301は、パケットネットワーク501と接続する回線において障害が発生した場合にも、図9および図10に示すフローチャートに従ってパケット転送経路の変更、および回線切り替えを実施できる。   Note that the network device 201 and the network device 301 can change the packet transfer path and switch the line according to the flowcharts shown in FIGS. 9 and 10 even when a failure occurs in the line connected to the packet network 501.

本実施形態のパケット転送システムを使用した場合、パケット伝送ネットワークにおいてLACP等の冗長プロトコルを使用せずに複数の装置に跨った回線の冗長化を実現できるため、冗長プロトコルに対応していない装置を使用するネットワーク構成においても、ネットワークの信頼性を向上できる。   When the packet transfer system of the present embodiment is used, it is possible to realize line redundancy across a plurality of devices without using a redundant protocol such as LACP in the packet transmission network. Even in the network configuration to be used, the reliability of the network can be improved.

次に、本発明の概要を説明する。図11は、本発明によるパケット転送システムの概要を示すブロック図である。本発明によるパケット転送システム10は、稼働系の装置である第1のパケット転送装置11(例えば、ネットワーク装置201)と待機系の装置である第2のパケット転送装置21(例えば、ネットワーク装置301)とを含み、端末(例えば、ユーザ側装置401)と通信網(例えば、パケットネットワーク501)との間で送受信されるパケットを転送するパケット転送システムであって、第1のパケット転送装置11は、第2のパケット転送装置21と通信可能に接続され、パケットを転送する連絡ポート14(例えば、NNI連絡ポート206やUNI連絡ポート207)と、入力したパケットの転送先を決定し、入力したパケットを決定した転送先に転送する切り換え部12(例えば、スイッチング部202)と、第1のパケット転送装置11が端末または通信網と通信不可能になった場合、第2のパケット転送装置21に稼働系の装置に切り換わるように指示する指示情報を含む制御パケットを連絡ポート14から転送し、端末または通信網から入力したパケットを連絡ポート14に転送するように切り換え部12を設定する処理部13(例えば、CPU209)とを含む。   Next, the outline of the present invention will be described. FIG. 11 is a block diagram showing an outline of a packet transfer system according to the present invention. The packet transfer system 10 according to the present invention includes a first packet transfer device 11 (for example, a network device 201) that is an active device and a second packet transfer device 21 (for example, a network device 301) that is a standby device. And a packet transfer system that transfers packets transmitted and received between a terminal (for example, the user side device 401) and a communication network (for example, the packet network 501), and the first packet transfer device 11 includes: The communication port 14 (for example, the NNI communication port 206 or the UNI communication port 207) that is connected to the second packet transfer device 21 so as to be communicable and transfers the packet, and the transfer destination of the input packet are determined. The switching unit 12 (for example, the switching unit 202) that transfers to the determined transfer destination and the first packet. When the transfer device 11 becomes unable to communicate with the terminal or the communication network, the control packet including the instruction information instructing the second packet transfer device 21 to switch to the active device is transferred from the communication port 14, And a processing unit 13 (for example, a CPU 209) that sets the switching unit 12 to transfer a packet input from a terminal or a communication network to the communication port.

そのような構成により、パケット転送システムは、冗長プロトコルを使用せずに信頼性の高い回線の冗長化を容易に実現できる。   With such a configuration, the packet transfer system can easily realize highly reliable line redundancy without using a redundancy protocol.

また、端末または通信網と通信不可能になった場合、処理部13は、端末または通信網に送信されるパケットを第1のパケット転送装置11に送信しないように指示する指示情報を制御パケットに含めてもよい。   Further, when communication with the terminal or the communication network becomes impossible, the processing unit 13 uses, as a control packet, instruction information for instructing not to transmit the packet transmitted to the terminal or the communication network to the first packet transfer device 11. May be included.

そのような構成により、パケット転送システムは、障害が発生していない方の回線に接続されているネットワーク装置からのパケットの流入を防ぐことができる。   With such a configuration, the packet transfer system can prevent the inflow of packets from the network device connected to the line on which no failure has occurred.

また、端末または通信網と再度通信可能になった場合、処理部13は、端末または通信網から入力したパケットを連絡ポート14に転送する設定を切り換え部12から削除してもよい。   Further, when communication with the terminal or the communication network becomes possible again, the processing unit 13 may delete the setting for transferring the packet input from the terminal or the communication network to the communication port 14 from the switching unit 12.

そのような構成により、パケット転送システムは、障害が復旧した後に、障害が発生した方の回線に接続されているネットワーク装置とユーザ端末との通信を再開できる。   With such a configuration, the packet transfer system can resume communication between the network device connected to the line on which the failure has occurred and the user terminal after the failure is recovered.

また、第1のパケット転送装置11は、受信したパケットのパケット情報を記憶するパケット情報記憶部(例えば、ポート状態管理テーブル記憶部208)を含み、切り換え部12が連絡ポート14からパケットを入力した際、入力したパケットに対応するパケット情報を参照して、所定の条件に該当した場合入力したパケットを廃棄してもよい。   The first packet transfer device 11 also includes a packet information storage unit (for example, a port state management table storage unit 208) that stores packet information of received packets, and the switching unit 12 inputs a packet from the communication port 14 At this time, referring to packet information corresponding to the input packet, the input packet may be discarded if a predetermined condition is met.

そのような構成により、パケット転送システムは、マルチキャストパケット等がシステム内でループすることを防ぐことができる。   With such a configuration, the packet transfer system can prevent a multicast packet or the like from looping in the system.

10、101 パケット転送システム
11 第1のパケット転送装置
12 切り換え部
13 処理部
14 連絡ポート
21 第2のパケット転送装置
201、301 ネットワーク装置
202、302 スイッチング部
203、303 MACテーブル記憶部
204、304 UNIポート
205、305 NNIポート
206、306 NNI連絡ポート
207、307 UNI連絡ポート
208、308 ポート状態管理テーブル記憶部
209、309 CPU
210、310 バス
401 ユーザ側装置
501 パケットネットワーク
10, 101 Packet transfer system 11 First packet transfer device 12 Switching unit 13 Processing unit 14 Communication port 21 Second packet transfer device 201, 301 Network device 202, 302 Switching unit 203, 303 MAC table storage unit 204, 304 UNI Port 205, 305 NNI port 206, 306 NNI communication port 207, 307 UNI communication port 208, 308 Port state management table storage unit 209, 309 CPU
210, 310 Bus 401 User side device 501 Packet network

Claims (9)

冗長構成された稼働系のパケット転送装置と待機系のパケット転送装置とを含み、端末との間でパケットを転送するパケット転送システムであって、
前記稼働系のパケット転送装置は、前記端末との間の通信回線に障害を検知した場合、前記待機系のパケット転送装置に稼働系への切り換え指示を送信し、
前記待機系のパケット転送装置は、前記切り換え指示を受信すると、該待機系のパケット転送装置が保持する複数のMACアドレスから、前記稼働系のパケット転送装置と通信するためのポートのMACアドレスを削除する
ことを特徴とするパケット転送システム。
A packet transfer system that includes a redundantly configured active packet transfer device and a standby packet transfer device, and transfers packets to and from a terminal,
When the active packet transfer device detects a failure in the communication line with the terminal, it sends an instruction to switch to the active packet transfer device to the standby packet transfer device,
When the standby packet transfer apparatus receives the switching instruction, it deletes the MAC address of the port for communicating with the active packet transfer apparatus from the plurality of MAC addresses held by the standby packet transfer apparatus A packet transfer system characterized by:
前記稼働系のパケット転送装置は、前記障害を検知した後に受信したパケットを前記待機系のパケット転送装置に転送し、
前記待機系のパケット転送装置は、該パケットを前記端末に転送する
請求項1記載のパケット転送システム。
The active packet transfer device transfers a packet received after detecting the failure to the standby packet transfer device;
The packet transfer system according to claim 1, wherein the standby packet transfer apparatus transfers the packet to the terminal.
前記稼働系のパケット転送装置は、前記通信回線が前記障害から復旧した場合、前記待機系のパケット転送装置へのパケット転送を終了する
請求項1または請求項2記載のパケット転送システム。
3. The packet transfer system according to claim 1, wherein the active packet transfer device ends packet transfer to the standby packet transfer device when the communication line recovers from the failure. 4.
前記稼働系のパケット転送装置は、受信したパケットのパケット情報が所定の条件に該当した場合、前記パケットを廃棄する
請求項1から請求項3のうちのいずれか1項に記載のパケット転送システム。
The packet transfer system according to any one of claims 1 to 3, wherein the active packet transfer apparatus discards the packet when packet information of the received packet satisfies a predetermined condition.
冗長構成された稼働系のパケット転送装置と待機系のパケット転送装置とを含み、端末との間でパケットを転送するパケット転送システムにおいて、
前記稼働系のパケット転送装置が、前記端末との間の通信回線に障害を検知した場合、前記待機系のパケット転送装置に稼働系への切り換え指示を送信するステップと、
前記待機系のパケット転送装置が、前記切り換え指示を受信すると、該待機系のパケット転送装置が保持する複数のMACアドレスから、前記稼働系のパケット転送装置と通信するためのポートのMACアドレスを削除するステップと、を含む
ことを特徴とするパケット転送装置の切り換え方法。
In a packet transfer system that includes a redundantly configured active packet transfer device and a standby packet transfer device, and transfers packets to and from a terminal,
When the active packet transfer device detects a failure in a communication line with the terminal, a step of transmitting an instruction to switch to the active packet transfer device to the standby packet transfer device;
When the standby packet transfer apparatus receives the switching instruction, the MAC address of the port for communicating with the active packet transfer apparatus is deleted from a plurality of MAC addresses held by the standby packet transfer apparatus And a step of switching the packet transfer apparatus.
前記稼働系のパケット転送装置が、前記障害を検知した後に受信したパケットを前記待機系のパケット転送装置に転送するステップと、
前記待機系のパケット転送装置が、該パケットを前記端末に転送するステップと、を含む
請求項5記載のパケット転送装置の切り換え方法。
The active packet transfer device transfers a packet received after detecting the failure to the standby packet transfer device;
The packet transfer apparatus switching method according to claim 5, further comprising a step of the standby packet transfer apparatus transferring the packet to the terminal.
前記稼働系のパケット転送装置が、前記通信回線が前記障害から復旧した場合、前記待機系のパケット転送装置へのパケット転送を終了するステップを含む
請求項5または請求項6記載のパケット転送装置の切り換え方法。
The packet transfer apparatus according to claim 5 or 6, further comprising a step in which the active packet transfer apparatus terminates packet transfer to the standby packet transfer apparatus when the communication line is recovered from the failure. Switching method.
前記稼働系のパケット転送装置が、受信したパケットのパケット情報が所定の条件に該当した場合、前記パケットを廃棄するステップを含む
請求項5から請求項7のうちのいずれか1項に記載のパケット転送装置の切り換え方法。
The packet according to any one of claims 5 to 7, wherein the active packet transfer apparatus includes a step of discarding the packet when packet information of the received packet satisfies a predetermined condition. Transfer device switching method.
稼働系のパケット転送装置と待機系のパケット転送装置とで冗長構成されたパケット転送システムにおける待機系のパケット転送装置であって、
前記稼働系のパケット転送装置から稼働系への切り換え指示を受信すると、当該待機系のパケット転送装置が保持する複数のMACアドレスのうち前記稼働系のパケット転送装置と通信するためのポートのMACアドレスを削除する
ことを特徴とするパケット転送装置。
A standby packet transfer device in a packet transfer system configured redundantly with an active packet transfer device and a standby packet transfer device,
When receiving an instruction to switch from the active packet transfer apparatus to the active system, the MAC address of the port for communicating with the active packet transfer apparatus among a plurality of MAC addresses held by the standby packet transfer apparatus A packet transfer apparatus characterized by deleting the packet.
JP2018174443A 2018-09-19 2018-09-19 Packet transfer system, method of switching packet transfer device, and packet transfer device Active JP6673418B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018174443A JP6673418B2 (en) 2018-09-19 2018-09-19 Packet transfer system, method of switching packet transfer device, and packet transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018174443A JP6673418B2 (en) 2018-09-19 2018-09-19 Packet transfer system, method of switching packet transfer device, and packet transfer device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2014085988A Division JP6405679B2 (en) 2014-04-18 2014-04-18 Packet transfer system and packet transfer method

Publications (2)

Publication Number Publication Date
JP2018198466A true JP2018198466A (en) 2018-12-13
JP6673418B2 JP6673418B2 (en) 2020-03-25

Family

ID=64662606

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018174443A Active JP6673418B2 (en) 2018-09-19 2018-09-19 Packet transfer system, method of switching packet transfer device, and packet transfer device

Country Status (1)

Country Link
JP (1) JP6673418B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330424A (en) * 2007-06-18 2008-12-24 华为技术有限公司 Method, system and apparatus for processing service fault of virtual special network
CN101340351A (en) * 2008-08-19 2009-01-07 华为技术有限公司 Data transmission method, apparatus and system in VPLS network
JP2011049958A (en) * 2009-08-28 2011-03-10 Mitsubishi Electric Corp Communication terminal, communication system and node switching method
JP2012524438A (en) * 2009-04-16 2012-10-11 アルカテル−ルーセント Method for transmitting client data over a packet-switched provider network
JP2012231223A (en) * 2011-04-25 2012-11-22 Fujitsu Telecom Networks Ltd Access system and redundancy switching method
CN102868616A (en) * 2012-09-21 2013-01-09 华为技术有限公司 Method for establishing virtual MAC (Media Access Control) address table item in network as well as router and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330424A (en) * 2007-06-18 2008-12-24 华为技术有限公司 Method, system and apparatus for processing service fault of virtual special network
CN101340351A (en) * 2008-08-19 2009-01-07 华为技术有限公司 Data transmission method, apparatus and system in VPLS network
JP2012524438A (en) * 2009-04-16 2012-10-11 アルカテル−ルーセント Method for transmitting client data over a packet-switched provider network
JP2011049958A (en) * 2009-08-28 2011-03-10 Mitsubishi Electric Corp Communication terminal, communication system and node switching method
JP2012231223A (en) * 2011-04-25 2012-11-22 Fujitsu Telecom Networks Ltd Access system and redundancy switching method
CN102868616A (en) * 2012-09-21 2013-01-09 华为技术有限公司 Method for establishing virtual MAC (Media Access Control) address table item in network as well as router and system

Also Published As

Publication number Publication date
JP6673418B2 (en) 2020-03-25

Similar Documents

Publication Publication Date Title
US10686749B2 (en) Packet sending method and network device
US8411690B2 (en) Preventing data traffic connectivity between endpoints of a network segment
US7835265B2 (en) High availability Ethernet backplane architecture
KR100831639B1 (en) Information processing apparatus, communication load decentralizing method, and communication system
US9491122B2 (en) Systems and methods for server and switch failover in a black core network
US10965604B2 (en) Deadlock avoidance in leaf-spine networks
JP6278818B2 (en) Relay system and switch device
US9385944B2 (en) Communication system, path switching method and communication device
CA2786427A1 (en) Network system and network redundancy method
US20140219289A1 (en) Handling stacking link failures in mdc device
JP6308534B2 (en) Network protection method, network protection device, off-ring node, and system
JP2009303092A (en) Network equipment and line switching method
JP2012231223A (en) Access system and redundancy switching method
CN109167693B (en) Isolation configuration method and device based on cross-chassis link aggregation group (MLAG)
US9401920B2 (en) Black core network system and method
JP6405679B2 (en) Packet transfer system and packet transfer method
WO2016202015A1 (en) Method and apparatus for protecting active and standby access network elements in data communications network
JP7021543B2 (en) Communication equipment and communication systems
JP6673418B2 (en) Packet transfer system, method of switching packet transfer device, and packet transfer device
CN107995111B (en) Service forwarding method, link change notification method, convergence device and access device
JP2008301433A (en) Communication device and ring node device
JP2001308893A (en) Dynamic reconfiguration system for routing information in loop-type topology network
JPWO2014125761A1 (en) Wireless transmission device, communication system, and communication failure control method
KR102376484B1 (en) Apparatus and method for automatic switching of duplication lines
JP6499624B2 (en) Network device and frame transfer method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180919

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190910

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191107

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200217

R150 Certificate of patent or registration of utility model

Ref document number: 6673418

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150