JP6112556B2 - Packet relay device and discarded packet information collection system - Google Patents

Packet relay device and discarded packet information collection system Download PDF

Info

Publication number
JP6112556B2
JP6112556B2 JP2013153820A JP2013153820A JP6112556B2 JP 6112556 B2 JP6112556 B2 JP 6112556B2 JP 2013153820 A JP2013153820 A JP 2013153820A JP 2013153820 A JP2013153820 A JP 2013153820A JP 6112556 B2 JP6112556 B2 JP 6112556B2
Authority
JP
Japan
Prior art keywords
packet
information
discard
queue
control unit
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.)
Active
Application number
JP2013153820A
Other languages
Japanese (ja)
Other versions
JP2015026908A (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 JP2013153820A priority Critical patent/JP6112556B2/en
Publication of JP2015026908A publication Critical patent/JP2015026908A/en
Application granted granted Critical
Publication of JP6112556B2 publication Critical patent/JP6112556B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、パケット中継装置及び廃棄パケット情報収集システムに係り、特に、パケット中継装置内で経路検索結果や装置内障害等の廃棄判定によりパケットロスしたパケットの解析を可能にするパケット中継装置及び廃棄パケット情報収集システムに関する。   The present invention relates to a packet relay device and a discard packet information collection system, and more particularly to a packet relay device and a discard device that enable analysis of a packet lost due to a discard search such as a route search result or an internal failure in the packet relay device. The present invention relates to a packet information collection system.

従来のパケット中継装置として、特開2004−207962号公報(特許文献1)に示すようにパケット中継装置から送信するポートをミラーリングしてパケットをモニタリングする機能を有するパケット中継装置がある。   As a conventional packet relay apparatus, there is a packet relay apparatus having a function of monitoring a packet by mirroring a port transmitted from the packet relay apparatus as disclosed in Japanese Patent Application Laid-Open No. 2004-207962 (Patent Document 1).

特開2004−207962号公報JP 2004-207962 A

上述のようなパケット中継装置では、パケット中継装置内で廃棄したパケットをモニタリングすることはできず、パケットロスしたパケットの詳細情報はわからない。そのため、パケット中継装置内でパケットロスが発生した場合、その原因の特定に多くの時間を費やすことがある。   In the packet relay apparatus as described above, it is impossible to monitor a packet discarded in the packet relay apparatus, and detailed information of a packet lost packet is not known. Therefore, when a packet loss occurs in the packet relay device, it may take a lot of time to identify the cause.

このように、従来技術では、送信するポートをミラーリングすることはできても、パケット中継装置内で廃棄判定したパケット(送信されないパケット)はモニタリングすることができず、パケットロスしたパケットがどのようなものかわからなかった。
本発明は、上記課題を解決するために、パケット中継装置内で廃棄したパケットの詳細な要因を解析するための情報又は解析した情報を出力するパケット中継装置を提供することを目的とする。
As described above, in the prior art, even if the transmission port can be mirrored, the packet determined to be discarded (the packet that is not transmitted) in the packet relay device cannot be monitored. I didn't know what it was.
In order to solve the above-described problems, an object of the present invention is to provide a packet relay apparatus that outputs information for analyzing detailed factors of packets discarded in the packet relay apparatus or the analyzed information.

上記課題を解決するため、本発明の一態様によると、
パケットを送信先に出力するために該パケットに関するパケット情報を保持する第一のキューと、プロセッサに処理させるためにパケット情報を保持する第二のキューとを有するメモリと、
パケットを中継するか廃棄するかを判定し、判定結果に応じて、パケット情報を、パケットを中継する場合前記第一のキューに、一方、パケットを廃棄する場合前記第二のキューに分配する中継処理部と
を備えたパケット中継装置が提供される。
In order to solve the above problems, according to one aspect of the present invention,
A memory having a first queue that holds packet information about the packet to output the packet to a destination, and a second queue that holds packet information for processing by the processor;
Relay that determines whether to relay or discard a packet, and distributes packet information to the first queue when the packet is relayed, or to the second queue when the packet is discarded, according to the determination result A packet relay apparatus including a processing unit is provided.

また、他の態様によると、
パケット中継装置と、
前記パケット中継装置で廃棄されたパケットの廃棄要因を表示する廃棄要因表示装置と
を備え、
前記パケット中継装置は、
パケットを送信先に出力するために該パケットに関するパケット情報を保持する第一のキューと、プロセッサに処理させるためにパケット情報を保持する第二のキューとを有するメモリと、
パケットを中継するか廃棄するかを判定し、判定結果に応じて、パケット情報をパケットを中継する場合前記第一のキューに分配し、パケットを廃棄する場合廃棄要因情報を付加したパケット情報を前記第二のキューに分配する中継処理部と
を備え、
前記プロセッサは、パケット情報に基づく廃棄要因を前記廃棄要因表示装置に表示させる廃棄パケット情報収集システムが提供される。
According to another aspect,
A packet relay device;
A discard factor display device for displaying a discard factor of a packet discarded by the packet relay device;
The packet relay device is:
A memory having a first queue that holds packet information about the packet to output the packet to a destination, and a second queue that holds packet information for processing by the processor;
Determine whether to relay or discard the packet, and distribute packet information to the first queue when relaying the packet according to the determination result, and packet information with discard factor information added when discarding the packet A relay processing unit for distributing to the second queue,
The processor is provided with a discard packet information collection system for displaying a discard factor based on packet information on the discard factor display device.

本発明によると、パケット中継装置内で廃棄したパケットの詳細な要因を解析するための情報又は解析した情報を出力するパケット中継装置を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the packet relay apparatus which outputs the information for analyzing the detailed factor of the packet discarded within the packet relay apparatus, or the analyzed information can be provided.

パケット中継装置の構成図。The block diagram of a packet relay apparatus. パケット転送制御部及びその周辺ブロックの論理構成図。The logical block diagram of a packet transfer control part and its periphery block. ポート送信キューフォーマット例。Port transmission queue format example. 廃棄送信キューフォーマット例。Example of discard transmission queue format. 廃棄要因をパケットに付加する具体的な実施例の説明図。Explanatory drawing of the specific Example which adds a discard factor to a packet. フィルタ及びサンプリングに関するコンフィグ設定画面例。Sample configuration screen for filtering and sampling. プロセッサが外部表示装置に出力する表示画面例。The example of a display screen which a processor outputs to an external display device.

図1にパケット中継装置の構成図を示す。
パケット中継装置100は、クロスバースイッチ101と、パケット転送制御部102と、パケット格納メモリ103と、受信キュー情報格納メモリ104と、送信キュー情報格納メモリ114と、検索制御部105と、ポート108、109と、プロセッサ110とを備える。
パケット中継装置111、112は、パケット中継装置100と接続される装置を示している。パケット中継装置111、112は、例えばパケット中継装置100と同様の構成でもよいし、適宜のパケット中継装置でもよい。また、パケット中継装置111、112以外に適宜の通信装置が接続されてもよい。
FIG. 1 shows a configuration diagram of the packet relay apparatus.
The packet relay apparatus 100 includes a crossbar switch 101, a packet transfer control unit 102, a packet storage memory 103, a reception queue information storage memory 104, a transmission queue information storage memory 114, a search control unit 105, a port 108, 109 and a processor 110.
Packet relay apparatuses 111 and 112 are apparatuses connected to the packet relay apparatus 100. The packet relay apparatuses 111 and 112 may have the same configuration as the packet relay apparatus 100, for example, or may be an appropriate packet relay apparatus. In addition to the packet relay apparatuses 111 and 112, an appropriate communication apparatus may be connected.

外部表示装置113は、プロセッサ110と接続し、パケット転送制御部102で廃棄判定されたパケットを受けたプロセッサ110から廃棄したパケットの詳細情報を表示するための装置である。例えば、廃棄要因や、廃棄箇所、廃棄パケット数、廃棄されたパケットの宛先や送信元などの情報等を表示することができる。
パケット中継装置100と、外部表示装置(廃棄要因表示装置)113とで廃棄パケット情報収集システムを構成する。
パケット中継装置100のクロスバースイッチ101は、パケット中継装置100内に複数あるパケット転送制御部102間をパケット転送する機能を備える。
パケット転送制御部102は、例えば受信キュー制御部106と、送信キュー制御部107との機能を備える。クロスバースイッチ101から受信したパケットデータは受信キュー制御部106に渡される。また、パケット転送制御部102は、後述するフィルタ制御部と、サンプリング制御部を有する。
The external display device 113 is a device that is connected to the processor 110 and displays detailed information of packets discarded from the processor 110 that has received a packet determined to be discarded by the packet transfer control unit 102. For example, information such as a discard factor, a discard location, the number of discarded packets, a destination and a transmission source of the discarded packets, and the like can be displayed.
The packet relay device 100 and the external display device (discard factor display device) 113 constitute a discard packet information collection system.
The crossbar switch 101 of the packet relay apparatus 100 has a function of transferring packets between a plurality of packet transfer control units 102 in the packet relay apparatus 100.
The packet transfer control unit 102 includes functions of a reception queue control unit 106 and a transmission queue control unit 107, for example. Packet data received from the crossbar switch 101 is passed to the reception queue control unit 106. The packet transfer control unit 102 includes a filter control unit and a sampling control unit which will be described later.

受信キュー制御部106は、受信したパケットデータをパケット格納メモリ103に格納し、パケットデータ解析結果である受信キュー情報を受信キュー情報格納メモリ104に格納する。その後、検索制御部105に受信キュー情報格納メモリ104に格納した受信キュー情報を渡す。検索制御部105は受け取った受信キュー情報を基に中継要否を判定し、その結果を送信キュー制御部107に渡す。なお、検索制御部105は、経路検索を実行して得られる経路情報も送信キュー制御部107に渡し、パケットを廃棄すると判定した場合は廃棄要因情報も送信キュー制御部107に渡す。   The reception queue control unit 106 stores the received packet data in the packet storage memory 103, and stores reception queue information that is a packet data analysis result in the reception queue information storage memory 104. Thereafter, the reception queue information stored in the reception queue information storage memory 104 is passed to the search control unit 105. The search control unit 105 determines whether relaying is necessary based on the received reception queue information, and passes the result to the transmission queue control unit 107. The search control unit 105 also passes the route information obtained by executing the route search to the transmission queue control unit 107, and also passes the discard factor information to the transmission queue control unit 107 when it is determined that the packet is to be discarded.

送信キュー制御部107は、検索制御部105の判定結果を基に検索制御部105からの出力結果(パケット情報)を送信キュー情報格納メモリ114に一旦格納する。その後、送信キュー制御部107は、送信キュー情報格納メモリ114とパケット格納メモリ103から、中継要と判定したパケットについて、パケット情報とパケットデータをそれぞれ読み出して、経路情報に応じた適切なポート108、109へ出力する。一方、中継否と判定したパケットについては、送信キュー制御部107は、送信キュー情報格納メモリ114とパケット格納メモリ103からパケット情報とパケットデータをそれぞれ読み出して、プロセッサ110へ出力する。   The transmission queue control unit 107 temporarily stores the output result (packet information) from the search control unit 105 in the transmission queue information storage memory 114 based on the determination result of the search control unit 105. Thereafter, the transmission queue control unit 107 reads the packet information and the packet data for the packets determined to be relayed from the transmission queue information storage memory 114 and the packet storage memory 103, respectively, and sets the appropriate port 108 according to the path information. To 109. On the other hand, for a packet that is determined not to be relayed, the transmission queue control unit 107 reads the packet information and the packet data from the transmission queue information storage memory 114 and the packet storage memory 103 and outputs them to the processor 110.

プロセッサ110は、廃棄したパケットの情報収集及び解析し、外部表示装置113に表示するための廃棄情報を転送する機能を備える。
受信キュー情報格納メモリ104は、受信キューを含む。送信キュー情報格納メモリ114は、パケットを送信先に出力するために該パケットに関するパケット情報を保持するひとつ又は複数のポート送信キュー(第一のキュー)と、プロセッサに処理させるためにパケット情報を保持する廃棄送信キュー(第二のキュー)とを有する。
The processor 110 has a function of collecting and analyzing information on discarded packets and transferring discard information to be displayed on the external display device 113.
The reception queue information storage memory 104 includes a reception queue. The transmission queue information storage memory 114 holds one or a plurality of port transmission queues (first queues) that hold packet information related to the packets in order to output the packets to the destination, and packet information that is processed by the processor. And a discard transmission queue (second queue).

図2にパケット転送制御部102及びその周辺ブロックの論理構成図を示す。
受信キュー制御部106は、パケット転送制御部102で受けたパケットを解析してパケット格納メモリ103にパケットデータを格納し、パケット解析した結果である受信キュー情報を受信キュー情報格納メモリ104に割り当てられた受信キュー104−1に格納し、受信キュー104−1に格納したことを検索制御部105に通知する。
検索制御部105は、受信キュー104−1に格納されたキュー情報を基に、パケット種別判定、QoS検索制御、ルーティングテーブルによる経路検索、及び、パケットを中継するか廃棄するかの廃棄判定行う。廃棄判定では、例えば、閉塞しているポートや、障害により転送不可となっているポートに対するパケットに対して廃棄するとの判定を行う。なお、廃棄判定はこれら以外にも適宜の判定条件で判定してもよい。
FIG. 2 shows a logical configuration diagram of the packet transfer control unit 102 and its peripheral blocks.
The reception queue control unit 106 analyzes the packet received by the packet transfer control unit 102 and stores the packet data in the packet storage memory 103. The reception queue information that is the result of the packet analysis is assigned to the reception queue information storage memory 104. Stored in the reception queue 104-1, and notifies the search control unit 105 that the data has been stored in the reception queue 104-1.
Based on the queue information stored in the reception queue 104-1, the search control unit 105 performs packet type determination, QoS search control, route search using a routing table, and discard determination whether to relay or discard a packet. In the discard determination, for example, it is determined to discard a packet for a blocked port or a port that cannot be transferred due to a failure. Note that the discard determination may be performed under appropriate determination conditions other than these.

パケットを中継する場合、検索制御部105は、パケット格納メモリ103内で対応するパケットが格納されているパケットバッファを識別するためのパケットバッファ情報、検索された経路情報、パケットヘッダ解析情報、及び、パケットヘッダを送信キュー制御部107に渡す。なお、本明細書において、パケットバッファ情報、検索された経路情報、パケットヘッダ解析情報、及び、パケットヘッダをパケット情報と称する場合がある。パケット情報は中継の要否の判断結果を含む。   When relaying a packet, the search control unit 105 includes packet buffer information for identifying a packet buffer in which a corresponding packet is stored in the packet storage memory 103, searched path information, packet header analysis information, and The packet header is passed to the transmission queue control unit 107. In this specification, packet buffer information, searched route information, packet header analysis information, and packet header may be referred to as packet information. The packet information includes the determination result of necessity of relay.

一方、検索制御部105は、パケットを廃棄する場合は、廃棄要因情報をパケット情報に付加して送信キュー制御部107に渡す。なお、パケットを廃棄する場合は経路情報を省略してもよい。
送信キュー制御部107は、検索制御部105から通知を受け、中継要のパケットは検索制御部105からのパケット情報(パケットバッファ情報、経路情報、パケットヘッダ解析情報及びパケットヘッダ)を、送信キュー情報格納メモリ114に割り当てられている、経路情報で特定されるポート108、109に対応したポート送信キュー114−1、114−2に格納する。
ポート送信キュー114−1、114−2にパケット情報を格納した後に、送信キュー制御部107がパケットバッファ情報に従い、パケット格納メモリ103に格納されているパケットを読み出し、ポート108、109へ送信する。
On the other hand, when discarding a packet, the search control unit 105 adds discard factor information to the packet information and passes it to the transmission queue control unit 107. Note that route information may be omitted when discarding a packet.
The transmission queue control unit 107 receives a notification from the search control unit 105, and for packets that need to be relayed, the packet information (packet buffer information, path information, packet header analysis information, and packet header) from the search control unit 105 is transmitted to the transmission queue information. The data is stored in the port transmission queues 114-1 and 114-2 that are assigned to the storage memory 114 and correspond to the ports 108 and 109 specified by the path information.
After storing the packet information in the port transmission queues 114-1 and 114-2, the transmission queue control unit 107 reads out the packet stored in the packet storage memory 103 according to the packet buffer information and transmits it to the ports 108 and 109.

一方、送信キュー制御部107は、中継否(廃棄)と判定したパケットに関するパケット情報は、フィルタ制御部201に渡す。ここでもパケット情報は、廃棄要因情報を含んでもよい。なお、本明細書において、検索制御部105と送信キュー制御部107をまとめて中継処理部と称する場合がある。
フィルタ制御部(第一の制御部)201は、プロセッサ110からのコンフィグ設定された廃棄要因に応じて廃棄要因情報等のパケット情報を廃棄送信キュー(監視用キュー)114−3に格納するか否か判定する。例えば、入力される廃棄要因情報に、設定された廃棄要因が含まれていれば廃棄送信キューに格納すると判断する。なお、判定方法は廃棄要因に応じた適宜の方法を用いることができる。格納すると判定した場合には、サンプリング制御部202に廃棄送信キューに格納する情報を渡す。
On the other hand, the transmission queue control unit 107 passes the packet information regarding the packet determined to be not relayed (discarded) to the filter control unit 201. Again, the packet information may include discard factor information. In this specification, the search control unit 105 and the transmission queue control unit 107 may be collectively referred to as a relay processing unit.
Whether or not the filter control unit (first control unit) 201 stores packet information such as discard factor information in the discard transmission queue (monitoring queue) 114-3 according to the discard factor configured by the processor 110. To determine. For example, if the set discard factor is included in the input discard factor information, it is determined to be stored in the discard transmission queue. In addition, the determination method can use the appropriate method according to the discard factor. When it is determined to store the information, the information stored in the discard transmission queue is transferred to the sampling control unit 202.

フィルタ制御部201は、格納否と判定した場合は、フィルタ制御部201にてパケット情報を廃棄し、パケット格納メモリ103に格納している該当パケットデータについてもバッファ解放しパケットを廃棄する。
サンプリング制御部(第二の制御部)202は、廃棄送信キュー114−3に格納するためのサンプリング条件である転送帯域指定についてのプロセッサ110からのコンフィグ設定を基に、廃棄要因情報等の各情報を廃棄送信キュー114−3へ格納する。ここで、転送帯域指定とは、例えば廃棄送信キューに情報を格納する速度情報であり、パケット単位(ppsレート)でもよいし、バイト単位(bpsレート)でもよい。サンプリングから除外された廃棄送信キュー格納情報(パケット情報)についてはサンプリング制御部202にて廃棄し、パケット格納メモリ103に格納している該当パケットデータについてもバッファ解放してパケットを廃棄する。
If the filter control unit 201 determines that the data is not stored, the filter control unit 201 discards the packet information, releases the buffer for the corresponding packet data stored in the packet storage memory 103, and discards the packet.
The sampling control unit (second control unit) 202 sets each piece of information such as discard factor information based on the configuration setting from the processor 110 regarding the transfer band designation that is a sampling condition for storing in the discard transmission queue 114-3. Is stored in the discard transmission queue 114-3. Here, the transfer band designation is speed information for storing information in the discard transmission queue, for example, and may be in packet units (pps rate) or byte units (bps rate). The discard transmission queue storage information (packet information) excluded from sampling is discarded by the sampling control unit 202, and the corresponding packet data stored in the packet storage memory 103 is also released from the buffer and discarded.

送信キュー制御部107は、廃棄送信キュー114−3に格納された廃棄送信キュー情報を基にパケット格納メモリ103に格納しているパケットを読み出し、廃棄送信キューに格納された廃棄要因を含む情報を付加して、プロセッサ110に転送する。なお、パケットの送信を省略して廃棄要因を含む廃棄送信キュー情報(パケット情報)をプロセッサ110に転送してもよい。   The transmission queue control unit 107 reads the packet stored in the packet storage memory 103 based on the discard transmission queue information stored in the discard transmission queue 114-3, and uses the information including the discard factor stored in the discard transmission queue. In addition, the data is transferred to the processor 110. Note that packet transmission may be omitted, and discard transmission queue information (packet information) including a discard factor may be transferred to the processor 110.

なお、ポート送信キュー114−1、2からポート108、109に送信するタイミングは、例えばパケット中継装置100がパケットの送信予定時刻を決めるタイミング制御部(シェーパー機能)等で制御することができる。また、廃棄送信キュー114−3からプロセッサ110に送信するタイミングは、プロセッサ110による適宜のタイミング又は他の適宜のタイミング制御部の制御による適宜のタイミングでもよい。   Note that the timing of transmission from the port transmission queues 114-1 and 2 to the ports 108 and 109 can be controlled by, for example, a timing control unit (shaper function) that determines the packet transmission scheduled time by the packet relay apparatus 100. Further, the transmission timing from the discard transmission queue 114-3 to the processor 110 may be an appropriate timing by the processor 110 or an appropriate timing controlled by another appropriate timing control unit.

図3にポート送信キュー114−1、114−2に格納するポート送信キューフォーマット例を示す。
ポート送信キューのフォーマットは、パケットバッファ情報と、経路情報と、パケットヘッダ解析情報と、パケットヘッダを含む。ポート送信キューのフォーマットは、パケットを中継すると判定された場合に検索制御部105から出力される情報でもある。
パケットバッファ情報には、当該送信キュー情報に対応するパケットが格納されているパケット格納メモリ103の格納アドレスが示されている。経路情報には、検索制御部105による経路検索結果が示されている。パケットヘッダ解析情報には検索制御部105がパケットヘッダ解析した結果が示されている。パケットヘッダには検索制御部105がヘッダ解析した結果、パケットヘッダを書換え要の場合には生成したパケットヘッダを格納し、書換え否の場合には書換えしない場合は元のパケットヘッダを格納している。
FIG. 3 shows an example of a port transmission queue format stored in the port transmission queues 114-1 and 114-2.
The format of the port transmission queue includes packet buffer information, path information, packet header analysis information, and a packet header. The format of the port transmission queue is also information output from the search control unit 105 when it is determined to relay a packet.
The packet buffer information indicates a storage address of the packet storage memory 103 in which a packet corresponding to the transmission queue information is stored. In the route information, a route search result by the search control unit 105 is shown. The packet header analysis information shows the result of the packet header analysis performed by the search control unit 105. As a result of the header analysis performed by the search control unit 105, the generated packet header is stored when the packet header needs to be rewritten, and the original packet header is stored when the packet header is not rewritten. .

図4に廃棄送信キュー114−3に格納する廃棄送信キューのフォーマット例を示す。
廃棄送信キューのフォーマットは、パケットバッファ情報と、経路情報と、パケットヘッダ解析情報と、パケットヘッダと、廃棄要因情報とを含む。廃棄送信キューのフォーマットは、パケットを廃棄すると判定された場合に検索制御部105から出力される情報でもある。
廃棄送信キュー114−3に格納する際は図3で示すポート送信キューフォーマットに廃棄要因情報を追加することで、プロセッサ110が廃棄要因の詳細情報を取得することを可能にする。
FIG. 4 shows a format example of the discard transmission queue stored in the discard transmission queue 114-3.
The format of the discard transmission queue includes packet buffer information, path information, packet header analysis information, packet header, and discard factor information. The format of the discard transmission queue is also information output from the search control unit 105 when it is determined that the packet is to be discarded.
When storing in the discard transmission queue 114-3, discard factor information is added to the port transmission queue format shown in FIG. 3 to enable the processor 110 to acquire detailed information of the discard factor.

廃棄要因情報としては、例えば、検索制御部障害による廃棄、内部インタフェース障害による廃棄、出力物理ポート閉塞による廃棄、出力QoSによる廃棄等であるが、これ以外の適宜の廃棄要因であってもよいし、これらのうちひとつ又は複数を含むことができる。なお、廃棄要因情報は、例えば、廃棄要因に対応する廃棄要因番号を予め定めておき、該廃棄要因番号を用いることができる。なお廃棄要因番号は番号以外の適宜の識別情報でもよい。   The discard factor information includes, for example, discard due to a search control unit failure, discard due to an internal interface failure, discard due to output physical port blockage, discard due to output QoS, and the like, but other appropriate discard factors may be used. , One or more of these may be included. The discard factor information can be determined by, for example, predetermining a discard factor number corresponding to the discard factor and using the discard factor number. The discard factor number may be appropriate identification information other than the number.

図5に廃棄要因をパケットに付加する具体的な実施例を示す。
ポート108、109に送信するパケットは、パケット格納メモリ103に格納しているパケットデータに対してパケットヘッダ情報をポート送信キュー114−1、114−2に格納されているパケットヘッダに書換えしてポート108、109へ送信する。
一方、プロセッサ110に送信するパケットは、パケット格納メモリ103に格納しているパケットデータに廃棄送信キュー114−3に格納されている廃棄送信キュー情報を付加してプロセッサ110へ送信する。
FIG. 5 shows a specific embodiment for adding a discard factor to a packet.
For packets transmitted to the ports 108 and 109, the packet data stored in the packet storage memory 103 is rewritten with packet header information stored in the port transmission queues 114-1 and 114-2. 108 and 109.
On the other hand, a packet to be transmitted to the processor 110 is transmitted to the processor 110 by adding the discard transmission queue information stored in the discard transmission queue 114-3 to the packet data stored in the packet storage memory 103.

図6にフィルタ制御部201、サンプリング制御部202に関するコンフィグ設定画面例を示す。
図6(a)に示すフィルタ制御部201に対するコンフィグ設定画面例では、フィルタ制御部201に対して図4で示す廃棄要因情報の内、フィルタリングする廃棄要因番号を直接入力(指定)する方法と、フィルタリングしたい廃棄要因番号をリストにしたファイルを作成し、そのファイルを指定して読み込む方法を示す。また、これらの指定を解除する方法を示す。また、特定DMAC(宛先MACアドレス)のパケットに関する情報をフィルタ制御部201が通過させてプロセッサ110で採取できるようにする指定、特定DIP(宛先IPアドレス)のパケットに関する情報をフィルタ制御部201が通過させてプロセッサ110で採取できるようにする指定、これら特定DMAC又は特定DIPの採取指定を解除する方法を示す。なお、プロセッサが採取する廃棄要因、言い換えるとフィルタ制御部201を通過させる廃棄要因の設定は上述の指定の一部を用いてもよいし、これら以外の方法で設定してもよい。フィルタ制御部201で、指定された廃棄要因のパケット情報を通過させることで、所望の廃棄要因についての情報を収集できる。また、プロセッサの負荷を低減できる。
FIG. 6 shows an example of a configuration setting screen related to the filter control unit 201 and the sampling control unit 202.
In the configuration setting screen example for the filter control unit 201 shown in FIG. 6A, a method of directly inputting (designating) a discard factor number to be filtered among the discard factor information shown in FIG. This section shows how to create a file that lists the discard factor numbers that you want to filter, and then specify that file and read it. It also shows how to cancel these designations. In addition, the filter control unit 201 passes information related to a packet of a specific DMAC (destination IP address), and the filter control unit 201 passes information related to a packet of a specific DIP (destination IP address). Then, a specification for enabling the processor 110 to collect data, and a method for canceling the designation for collecting these specific DMACs or specific DIPs are shown. Note that the discarding factor collected by the processor, in other words, the discarding factor that passes through the filter control unit 201 may be set by using a part of the above-described designation, or by other methods. The filter control unit 201 can collect information on a desired discard factor by passing packet information of the specified discard factor. In addition, the load on the processor can be reduced.

図6(b)に示すサンプリング制御部202に対する設定画面例では、サンプリング制御部202に対して転送帯域(例えば、ppsレート、bpsレート)によるサンプリングを指定可能としている。図6(b)ではppsレート、bpsレートでの指定示すが、いずれを用いてもよいし、これ以外の帯域情報、速度情報でもよい。サンプリング制御部202で、指定された転送帯域に応じて廃棄送信キューに情報を格納することで、プロセッサの負荷を低減し、プロセッサと外部表示装置間の通信の輻輳を回避できる。
なお、コンフィグ設定は、プロセッサ110からフィルタ制御部201に行うことができる。プロセッサ110は、適宜の入力手段を用いてコンフィグ設定を入力し又は読み出してフィルタ制御部に設定することができる。
In the example of the setting screen for the sampling control unit 202 shown in FIG. 6B, the sampling control unit 202 can be designated for sampling by a transfer band (for example, pps rate, bps rate). In FIG. 6B, designation by the pps rate and the bps rate is shown, but either may be used, and other band information and speed information may be used. The sampling control unit 202 stores information in the discard transmission queue according to the designated transfer band, thereby reducing the load on the processor and avoiding communication congestion between the processor and the external display device.
The configuration setting can be performed from the processor 110 to the filter control unit 201. The processor 110 can input or read the configuration setting using an appropriate input unit and set it in the filter control unit.

図7にプロセッサが外部表示装置に出力する表示画面例を示す。
装置動作中に設定した廃棄要因によるパケット廃棄が発生した場合、プロセッサ110を介して外部表示装置113の画面に、例えば日時、廃棄箇所、廃棄要因を表示する(図中(1)〜(3))。
オペレータが特定の廃棄箇所について情報を取得する場合は、(4)に示すコマンドを入力する事で、(5)に示すように廃棄箇所に対する廃棄要因毎の廃棄パケット数を表示する。図7の例では廃棄箇所がネットワークインタフェース1(NIF1)についての情報を表示する例を示す。廃棄箇所については、廃棄要因情報に、NIF1についての障害と、NIF2についての障害とを別個の廃棄要因番号に割り当てることで識別できる。これ以外にも、廃棄箇所の情報を適宜付加するようにしてもよい。
FIG. 7 shows an example of a display screen that the processor outputs to the external display device.
When packet discard occurs due to a discard factor set during the operation of the apparatus, for example, the date and time, the discard location, and the discard factor are displayed on the screen of the external display device 113 via the processor 110 ((1) to (3) in the figure). ).
When the operator acquires information about a specific discard location, the command shown in (4) is input to display the number of discarded packets for each discard factor for the discard location as shown in (5). The example of FIG. 7 shows an example in which the discard location displays information about the network interface 1 (NIF1). The discard location can be identified by allocating the failure for NIF1 and the failure for NIF2 to separate discard factor numbers in the discard factor information. In addition to this, information on the discard location may be appropriately added.

特定の廃棄要因によるパケットの詳細情報を取得する場合は、(6)に示すコマンドを実行する事で、(7)〜(9)に示す当該パケットの詳細情報を表示する。(8)、(9)に示す情報は、パケットヘッダやパケットデータから取得できる。
以上により従来パケット中継装置100内で廃棄していたパケットのキュー情報、廃棄要因、及びパケットデータをプロセッサ110に出力することで、廃棄したパケットの情報収集及び解析が可能となる。なお、廃棄したパケットの解析は、プロセッサ110が行ってもよいし、外部表示装置113で行ってもよい。
When acquiring detailed information of a packet due to a specific discard factor, the detailed information of the packet shown in (7) to (9) is displayed by executing the command shown in (6). The information shown in (8) and (9) can be acquired from the packet header and packet data.
As described above, the queue information, the discard factor, and the packet data of the packet discarded in the conventional packet relay apparatus 100 are output to the processor 110, so that the information of the discarded packet can be collected and analyzed. The analysis of the discarded packet may be performed by the processor 110 or the external display device 113.

本実施の形態によると、プロセッサ110が情報収集及び解析し、廃棄要因統計や廃棄判定になったパケットデータを外部表示装置113に出力表示し、オペレータが表示された情報を元に、廃棄した原因を容易に特定可能にする。
また、一態様によると、装置内で廃棄判定されたパケットをキューイングし、廃棄したパケットの詳細情報を収集解析し、廃棄した原因を特定することを可能にするパケット中継装置及び廃棄パケット情報収集システムを提供することができる。
According to the present embodiment, the processor 110 collects and analyzes information, outputs and displays the discard factor statistics and the packet data determined to be discarded on the external display device 113, and causes the operator to discard based on the displayed information. Can be easily identified.
In addition, according to one aspect, a packet relay device and a collection of discarded packet information that enable queuing of packets determined to be discarded in the device, collect and analyze detailed information of the discarded packets, and identify the cause of the discard A system can be provided.

100、111、112 パケット中継装置
101 クロスバースイッチ
102 パケット転送制御部
103 パケット格納メモリ
104 受信キュー情報格納メモリ
104−1 受信キュー情報格納メモリに割り当てられた受信キュー
105 検索制御部
106 受信キュー制御部
107 送信キュー制御部
108、109 ポート
110 プロセッサ
113 外部表示装置
114 送信キュー情報格納メモリ
114−1 送信キュー情報格納メモリに割り当てられたポート送信キュー(パケット情報を保持する第一のキュー)
114−2 送信キュー情報格納メモリに割り当てられたポート送信キュー(パケット情報を保持する第一のキュー)
114−3 送信キュー情報格納メモリに割り当てられた廃棄送信キュー(パケット情報を保持する第二のキュー)
201 フィルタ制御部
202 サンプリング制御部
100, 111, 112 Packet relay device 101 Crossbar switch 102 Packet transfer control unit 103 Packet storage memory 104 Reception queue information storage memory 104-1 Reception queue 105 allocated to reception queue information storage memory Search control unit 106 Reception queue control unit 107 transmission queue control unit 108, 109 port 110 processor 113 external display device 114 transmission queue information storage memory 114-1 port transmission queue assigned to transmission queue information storage memory (first queue holding packet information)
114-2 Port transmission queue assigned to the transmission queue information storage memory (first queue holding packet information)
114-3 Discard transmission queue assigned to transmission queue information storage memory (second queue holding packet information)
201 Filter control unit 202 Sampling control unit

Claims (5)

パケットを送信先に出力するために該パケットに関するパケット情報を保持する第一のキューと、プロセッサに処理させるためにパケット情報を保持する第二のキューとを有するメモリと、
パケットを中継するか廃棄するかを判定し、判定結果に応じて、パケット情報を、パケットを中継する場合前記第一のキューに、一方、パケットを廃棄する場合廃棄要因番号又は廃棄要因識別情報を付加したパケット情報を前記第二のキューに分配する中継処理部と、
前記中継処理部から前記第二のキューに分配されたパケット情報が入力され、フィルタリングする所定の廃棄要因番号又は廃棄要因識別情報が予め設定され、設定された廃棄要因番号又は廃棄要因識別情報を含むパケット情報を前記第二のキューに分配し、設定された廃棄要因番号又は廃棄要因識別情報を含まず、かつ、パケットを廃棄すると判断されたパケット情報を廃棄する第一の制御部と、
前記第一の制御部から前記第二のキューに分配されたパケット情報が入力され、所定の転送帯域又は格納速度が予め設定され、設定された転送帯域又は格納速度に応じてパケット情報を前記第二のキューに格納又はパケット情報を廃棄する第二の制御部と、
を備えたパケット中継装置。
A memory having a first queue that holds packet information about the packet to output the packet to a destination, and a second queue that holds packet information for processing by the processor;
It is determined whether the packet is to be relayed or discarded, and according to the determination result, the packet information is stored in the first queue when the packet is relayed. On the other hand, when the packet is discarded, the discard factor number or the discard factor identification information is set. A relay processing unit for distributing the added packet information to the second queue;
Packet information distributed to the second queue is input from the relay processing unit, a predetermined discard factor number or discard factor identification information to be filtered is preset, and includes the set discard factor number or discard factor identification information A first control unit that distributes packet information to the second queue, does not include the set discard factor number or discard factor identification information , and discards the packet information determined to discard the packet ;
Wherein the first packet information distributed to said second queue from the control unit of the input, predetermined transfer band or store speed is set in advance, in accordance with the set transfer bandwidth or storage rate, the packet information A second control unit for storing or discarding packet information in a second queue ;
A packet relay device.
前記第二のキューに格納されるパケット情報は、前記プロセッサから表示部に出力される請求項1に記載のパケット中継装置。   The packet relay device according to claim 1, wherein the packet information stored in the second queue is output from the processor to a display unit. 前記プロセッサは、表示部を有する外部表示装置に対して前記第二のキューに格納される廃棄要因番号又は廃棄要因識別情報を含むパケット情報を出力する請求項2に記載のパケット中継装置。 The packet relay device according to claim 2, wherein the processor outputs packet information including a discard factor number or discard factor identification information stored in the second queue to an external display device having a display unit. 前記第二のキューに格納されるパケット情報は、パケットヘッダ、パケットの格納先を示す格納先情報、パケットの経路情報、及び、パケットヘッダの解析結果であるパケットヘッダ解析情報の少なくともいずれかと、廃棄要因番号又は廃棄要因識別情報とを含む請求項に記載のパケット中継装置。 The packet information stored in the second queue includes at least one of a packet header, storage destination information indicating a packet storage destination, packet route information, and packet header analysis information that is a packet header analysis result, and discarding. The packet relay device according to claim 1 , comprising a factor number or discard factor identification information . パケット中継装置と、
前記パケット中継装置で廃棄されたパケットの廃棄要因を表示する廃棄要因表示装置と
を備え、
前記パケット中継装置は、
パケットを送信先に出力するために該パケットに関するパケット情報を保持する第一のキューと、プロセッサに処理させるためにパケット情報を保持する第二のキューとを有するメモリと、
パケットを中継するか廃棄するかを判定し、判定結果に応じて、パケット情報をパケットを中継する場合前記第一のキューに分配し、パケットを廃棄する場合廃棄要因番号又は廃棄要因識別情報を付加したパケット情報を前記第二のキューに分配する中継処理部と
前記中継処理部から前記第二のキューに分配されたパケット情報が入力され、フィルタリングする所定の廃棄要因番号又は廃棄要因識別情報が予め設定され、設定された廃棄要因番号又は廃棄要因識別情報を含むパケット情報を前記第二のキューに分配し、設定された廃棄要因番号又は廃棄要因識別情報を含まず、かつ、パケットを廃棄すると判断されたパケット情報を廃棄する第一の制御部と、
前記第一の制御部から前記第二のキューに分配されたパケット情報が入力され、所定の転送帯域又は格納速度が予め設定され、設定された転送帯域又は格納速度に応じて、パケット情報を前記第二のキューに格納又はパケット情報を廃棄する第二の制御部と、
を備え、
前記プロセッサは、パケット情報に基づく廃棄要因を前記廃棄要因表示装置に表示させる廃棄パケット情報収集システム。
A packet relay device;
A discard factor display device for displaying a discard factor of a packet discarded by the packet relay device;
The packet relay device is:
A memory having a first queue that holds packet information about the packet to output the packet to a destination, and a second queue that holds packet information for processing by the processor;
Determines whether to relay or discard the packet, and distributes packet information to the first queue when relaying the packet according to the determination result, and adds a discard factor number or discard factor identification information when discarding the packet A relay processing unit that distributes the packet information to the second queue ;
Packet information distributed to the second queue is input from the relay processing unit, a predetermined discard factor number or discard factor identification information to be filtered is preset, and includes the set discard factor number or discard factor identification information A first control unit that distributes packet information to the second queue, does not include the set discard factor number or discard factor identification information, and discards the packet information determined to discard the packet;
The packet information distributed to the second queue is input from the first control unit, a predetermined transfer band or storage speed is preset, and the packet information is set according to the set transfer band or storage speed. A second control unit for storing or discarding packet information in a second queue;
With
The discard packet information collection system, wherein the processor displays a discard factor based on packet information on the discard factor display device.
JP2013153820A 2013-07-24 2013-07-24 Packet relay device and discarded packet information collection system Active JP6112556B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013153820A JP6112556B2 (en) 2013-07-24 2013-07-24 Packet relay device and discarded packet information collection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013153820A JP6112556B2 (en) 2013-07-24 2013-07-24 Packet relay device and discarded packet information collection system

Publications (2)

Publication Number Publication Date
JP2015026908A JP2015026908A (en) 2015-02-05
JP6112556B2 true JP6112556B2 (en) 2017-04-12

Family

ID=52491257

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013153820A Active JP6112556B2 (en) 2013-07-24 2013-07-24 Packet relay device and discarded packet information collection system

Country Status (1)

Country Link
JP (1) JP6112556B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006157760A (en) * 2004-12-01 2006-06-15 Hitachi Ltd Packet transfer device and packet transfer processing method
JP2006254134A (en) * 2005-03-11 2006-09-21 Alaxala Networks Corp Communication statistic collection apparatus
JP2007013990A (en) * 2005-07-01 2007-01-18 Pmc-Sierra Israel Ltd Device and method for discard-sniffing
JP4742013B2 (en) * 2006-11-29 2011-08-10 富士通株式会社 Data transfer apparatus and data transfer method
US8605588B2 (en) * 2007-05-08 2013-12-10 Cisco Technology, Inc. Packet drop analysis for flows of data

Also Published As

Publication number Publication date
JP2015026908A (en) 2015-02-05

Similar Documents

Publication Publication Date Title
CN105580318B (en) For analyzing the method and system for passing through the data traffic of network
US10182011B2 (en) System and method to analyze congestion in low latency network
US7664112B2 (en) Packet processing apparatus and method
US9178794B2 (en) Communication quality monitoring system, communication quality monitoring method and recording medium
EP2774346A2 (en) Network analysis device and method
US20170373949A1 (en) Control apparatus, testing method, communication system, and non-transitory computer-readable storage medium
US10862807B2 (en) Packet telemetry data via first hop node configuration
WO2016169121A1 (en) Link analysis method, device and system
US9667722B2 (en) Method and system for non-tagged based latency calculation
JP2017060074A (en) Network analysis device, network analysis system, and network analysis method
KR101742894B1 (en) Communication node, control device, communication system, packet processing method, communication node control method, and program
JP4727747B2 (en) Capture device and capture method
US10333803B2 (en) Relay apparatus and relay method
US20120177046A1 (en) Network node
JP6112556B2 (en) Packet relay device and discarded packet information collection system
JP4382122B2 (en) Relay device and bandwidth control program
JP2013513271A (en) Apparatus, assembly and method for operating a plurality of analysis means for reading and sequencing data packets
US10834006B2 (en) Network traffic disruptions
JP6107413B2 (en) Analysis device, network system, port switching method and program
US10305754B2 (en) Apparatus and method to collect packets related to abnormal connection
JP6856257B2 (en) Network system, management server and communication analysis program
US9306854B2 (en) Method and apparatus for diagnosing interface oversubscription and microbursts
JP5901551B2 (en) Communication apparatus and frame processing method
US20220224585A1 (en) Direct Memory Access (DMA) Engine for Diagnostic Data
JP6025596B2 (en) Measuring device control device and network monitor system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151014

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160819

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160913

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161017

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

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20170307

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170308

R150 Certificate of patent or registration of utility model

Ref document number: 6112556

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250