WO2012063347A1 - Switch device and method for testing switch device - Google Patents

Switch device and method for testing switch device Download PDF

Info

Publication number
WO2012063347A1
WO2012063347A1 PCT/JP2010/070128 JP2010070128W WO2012063347A1 WO 2012063347 A1 WO2012063347 A1 WO 2012063347A1 JP 2010070128 W JP2010070128 W JP 2010070128W WO 2012063347 A1 WO2012063347 A1 WO 2012063347A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
address
switch device
port
processor
Prior art date
Application number
PCT/JP2010/070128
Other languages
French (fr)
Japanese (ja)
Inventor
裕哉 河▲崎▼
Original Assignee
富士通株式会社
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 富士通株式会社 filed Critical 富士通株式会社
Priority to PCT/JP2010/070128 priority Critical patent/WO2012063347A1/en
Publication of WO2012063347A1 publication Critical patent/WO2012063347A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • H04L49/555Error detection

Abstract

Provided is a switch device that, in response to an instruction from outside, sets an address conversion unit which converts the destination address for a frame to an arbitrary address and sets a table that stores records associating destination addresses and output ports, so as to define a test path which passes through all of the ports and returns to the CPU. Then, the switch device outputs to a switching unit a frame for which the port which is the base point of the test path is the destination address, analyzes the frame that returns to the processor, and determines whether a problem exists.

Description

スイッチ装置及びスイッチ装置の試験方法Switch device and test method of switch device
 本発明は、スイッチ装置及びスイッチ装置の試験方法に関する。 The present invention relates to a switch device and a test method for the switch device.
 スイッチ装置の試験方法として、JTAG(IEEE規格1149.1)によるバウンダリスキャンテスト、対向試験機をポートに接続して行うテストなどが知られている。JTAGによるバウンダリスキャンテストは、標準インタフェースを利用してバウンダリスキャンデバイス間の電気的な接続試験が可能であるが、バウンダリスキャンデバイスの内部試験ができないという短所がある。また、対向試験機を使用したテストは、バウンダリスキャンテストの短所を補うことができるが、通信速度,伝送媒体に応じたインターフェースを有する対向試験機が複数必要であり、スイッチ装置の試験に要するコストが高いという短所がある。このため、試験用信号を出力するポートと試験用信号を入力するポートとを接続し、出力信号と入力信号とを比較することで、対向試験機を使用せずに、バウンダリスキャンデバイス間の接続試験及びバウンダリスキャンデバイスの内部試験を行う試験方法が提案されている。 Boundary scan tests based on JTAG (IEEE Standard 1149.1) and tests performed by connecting a counter test machine to a port are known as test methods for switch devices. The boundary scan test by JTAG can perform an electrical connection test between boundary scan devices using a standard interface, but has a disadvantage that an internal test of the boundary scan device cannot be performed. In addition, the test using the counter test machine can compensate for the disadvantages of the boundary scan test, but it requires multiple counter test machines with interfaces according to the communication speed and transmission medium, and the cost required for testing the switching device. Has the disadvantage of being expensive. Therefore, by connecting the port that outputs the test signal and the port that inputs the test signal, and comparing the output signal and the input signal, it is possible to connect the boundary scan devices without using the opposing test machine. Test methods have been proposed for performing tests and internal testing of boundary scan devices.
特開2003-337766号公報JP 2003-337766 A
 しかしながら、従来の試験方法では、試験信号を入出力するブロックが独立していたため、スイッチ装置におけるすべてのバウンダリスキャンデバイスの内部試験が必ずしも行われないおそれがあった。 However, in the conventional test method, since the blocks for inputting and outputting the test signals are independent, there is a possibility that the internal test of all the boundary scan devices in the switch device is not necessarily performed.
 そこで、本発明は従来技術の問題点に鑑み、スイッチ装置単体で、バウンダリスキャンデバイス間の電気的な接続試験、及び、バウンダリスキャンデバイスの内部試験が行えるようにした技術を提供することを目的とする。 Therefore, in view of the problems of the prior art, an object of the present invention is to provide a technique capable of performing an electrical connection test between boundary scan devices and an internal test of the boundary scan device with a single switch device. To do.
 スイッチ装置は、アドレス変換部と、スイッチング部と、を有する。アドレス変換部は、宛先アドレス及び送信元アドレスを含むフレームを受信したときに、フレームの宛先アドレス及び送信元アドレスのうち少なくとも宛先アドレスを予め設定した任意のアドレスに変換する。スイッチング部は、少なくとも宛先アドレスが変換されたフレームについて、宛先アドレスと出力ポートとを関連付けたレコードを格納したテーブルを参照し、フレームの宛先アドレスに関連付けられた出力ポートからフレームを出力する。 The switch device has an address conversion unit and a switching unit. When receiving the frame including the destination address and the transmission source address, the address conversion unit converts at least the destination address of the frame into the predetermined address. The switching unit refers to a table storing a record in which the destination address and the output port are associated with each other at least for the frame in which the destination address is converted, and outputs the frame from the output port associated with the frame destination address.
 そして、スイッチ装置は、外部からの指示に応答して、すべてのポートを経てプロセッサへと戻ってくるテスト経路が規定されるように、アドレス変換部及びテーブルを夫々設定し、テスト経路の基点となるポートを宛先アドレスとしたフレームをスイッチング部に出力する。その後、スイッチ装置は、プロセッサへと戻ってきたフレームを解析することで、バウンダリスキャンデバイス間の接続又はバウンダリスキャンデバイスの内部に問題があるか否かを判定する。 Then, the switch device sets the address conversion unit and the table so that the test path that returns to the processor through all the ports is defined in response to an instruction from the outside, and sets the base point of the test path. A frame with the destination port as the destination address is output to the switching unit. Thereafter, the switch device analyzes the frame returned to the processor to determine whether there is a problem in the connection between the boundary scan devices or in the boundary scan device.
 スイッチ装置単体で、バウンダリスキャンデバイス間の電気的な接続試験、及び、バウンダリスキャンデバイスの内部試験を行うことができる。 ス イ ッ チ Electric connection test between boundary scan devices and internal test of boundary scan devices can be performed with a single switch device.
スイッチ装置の一例を示すブロック図である。It is a block diagram which shows an example of a switch apparatus. MACテーブルの説明図である。It is explanatory drawing of a MAC table. フレームの説明図である。It is explanatory drawing of a flame | frame. アドレス変換部の説明図である。It is explanatory drawing of an address conversion part. 第1の試験プログラムを示すフローチャートである。It is a flowchart which shows a 1st test program. MACテーブルを設定するための第1の所定規則の説明図である。It is explanatory drawing of the 1st predetermined rule for setting a MAC table. アドレス変換部を設定するための第2の所定規則の説明図である。It is explanatory drawing of the 2nd predetermined rule for setting an address conversion part. テストデータのフレームの説明図である。It is explanatory drawing of the frame of test data. 第2の試験プログラムを示すフローチャートである。It is a flowchart which shows a 2nd test program. アドレス変換部を設定するための第3の所定規則の説明図である。It is explanatory drawing of the 3rd predetermined rule for setting an address conversion part. 最初に送出されるテストデータのフレームの説明図である。It is explanatory drawing of the frame of the test data sent out initially. MACテーブルの学習結果を示す説明図である。It is explanatory drawing which shows the learning result of a MAC table. 第3の試験プログラムを示すフローチャートである。It is a flowchart which shows a 3rd test program. 第3の試験プログラムを示すフローチャートである。It is a flowchart which shows a 3rd test program. アドレス変換部を設定するための第4の所定規則の説明図である。It is explanatory drawing of the 4th predetermined rule for setting an address conversion part. 最大帯域でフレームが無限ループを流通している状態の説明図である。It is explanatory drawing of the state which the flame | frame distribute | circulates the infinite loop by the maximum zone | band.
 以下、添付された図面を参照し、本発明を実施するための実施形態について詳細に説明する。 Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the accompanying drawings.
 図1は、本実施形態に係るスイッチ装置の一例を示す。 FIG. 1 shows an example of a switch device according to the present embodiment.
 スイッチ装置100は、例えば、データリンク層で動作するネットワークデバイス、具体的には、16個のポート(ポート00h~0Fh)を備えたレイヤ2スイッチ装置などである。スイッチ装置100は、RAM(Random Access Memory)などにMAC(Media Access Control)テーブル110を格納する。 The switch device 100 is, for example, a network device operating in the data link layer, specifically, a layer 2 switch device having 16 ports (ports 00h to 0Fh). The switch device 100 stores a MAC (Media Access Control) table 110 in a RAM (Random Access Memory) or the like.
 MACテーブル110は、各ポートに接続されているネットワークデバイスを管理するためのテーブルであって、図2に示すように、宛先アドレス,出力ポート,タイプ及び有効フラグを関連付けたレコードを保持する。宛先アドレスには、フレームの送信先であるネットワークデバイスを特定するMACアドレスが格納される。出力ポートには、宛先アドレスにより特定されるネットワークデバイスが接続されているポートの識別子が格納される。タイプには、宛先アドレス及び出力ポートがその存在有無に関わらず設定される静的なものか、又は、宛先アドレス及び出力ポートが存在していると認識される間のみ存在する動的なものであるかが格納される。有効フラグには、宛先アドレス及び出力ポートが有効であるか否かを区別するための情報、例えば、有効であれば“1”、無効であれば“0”が格納される。 The MAC table 110 is a table for managing network devices connected to each port, and holds a record in which a destination address, an output port, a type, and a valid flag are associated as shown in FIG. The destination address stores a MAC address that identifies the network device that is the transmission destination of the frame. The output port stores the identifier of the port to which the network device specified by the destination address is connected. The type can be static with the destination address and output port set whether or not they exist, or it can be dynamic only while it is recognized that the destination address and output port exist. Stores if there is any. The valid flag stores information for distinguishing whether the destination address and the output port are valid, for example, “1” if valid and “0” if invalid.
 ここで、フレームは、図3に示すように、プリアンブル(IEEE802.3の場合にはSFD[Start Frame Delimiter]を含む),宛先アドレス,送信元アドレス,タイプ,ユーザデータ及びFCS(Frame Check Sequence)を含む。プリアンブルには、フレームの開始を予告するための“1”と“0”とが交互に並ぶ8バイトの値が格納される。宛先アドレスには、フレームの送信先であるネットワークデバイスを特定する6バイトのMACアドレスが格納される。送信元アドレスには、フレームの送信元であるネットワークデバイスを特定する6バイトのMACアドレスが格納される。タイプには、IP(Internet Protocol)などネットワークアクセス層の上位階層に位置するプロトコルを識別する2バイトの情報が格納される。ユーザデータには、フレームによって送受信される46~1500バイト(ジャンボフレーム対応の場合にはそれ以上)のデータ本体が格納される。FCSには、フレームの情報が正しく届いているか否かを確認するための4バイトの情報が格納される。 Here, as shown in FIG. 3, the frame includes a preamble (including SFD [Start [Frame Delimiter] in the case of IEEE802.3), destination address, source address, type, user data, and FCS (Frame Check Sequence). including. In the preamble, an 8-byte value in which “1” and “0” for announcing the start of a frame are alternately arranged is stored. The destination address stores a 6-byte MAC address that identifies the network device that is the transmission destination of the frame. The transmission source address stores a 6-byte MAC address that identifies the network device that is the transmission source of the frame. In the type, 2-byte information for identifying a protocol located in an upper layer of a network access layer such as IP (Internet Protocol) is stored. The user data stores a data body of 46 to 1500 bytes (or more in the case of jumbo frame support) transmitted and received by a frame. The FCS stores 4-byte information for confirming whether the frame information has arrived correctly.
 スイッチ装置100は、各ポートごとに、ネットワークケーブル200を接続するためのコネクタ120と、PHY(Physical Layer)機能130と、を有する。PHY機能130は、イーサネット(登録商標)などのインタフェースにおいて、内部電気信号を伝送路に応じた信号に変換すると共に、その逆方向の変換をする。 The switch device 100 has a connector 120 for connecting the network cable 200 and a PHY (Physical Layer) function 130 for each port. The PHY function 130 converts an internal electrical signal into a signal corresponding to a transmission path and converts it in the opposite direction in an interface such as Ethernet (registered trademark).
 ここで、ネットワークケーブル200は、スイッチ装置100の試験に際しては、例えば、各コネクタ120の出力ポートと入力ポートとを相互に接続した折り返し経路、又は、各コネクタ120を相互に接続した経路を有していればよい。なお、ネットワークケーブル200として、LAN(Local Area Network)などのネットワークに接続するケーブルを用いてもよい。 Here, when testing the switch device 100, the network cable 200 has, for example, a folded path that connects the output port and the input port of each connector 120 to each other, or a path that connects each connector 120 to each other. It only has to be. The network cable 200 may be a cable connected to a network such as a LAN (Local Area Network).
 スイッチ装置100は、更に、スイッチング部140と、アドレス変換部150と、プロセッサとしてのCPU(Central Processing Unit)160と、を有する。スイッチング部140は、あるポートがフレームを受け取ったとき、MACテーブル110を参照して、フレームの宛先アドレスに関連付けられているポートからフレームを送信する。このとき、スイッチング部140は、フレームの宛先アドレスにポートが関連付けられていなければ、フレームの送信元アドレスを除くすべてのポートからフレームをフラッディングする。アドレス変換部150は、あるポートがフレームを受け取ったとき、PHY機能130を通過したフレームの宛先アドレス及び送信元アドレスのうち、少なくとも宛先アドレスを予め設定した任意のアドレスに書き換える。CPU160は、スイッチング部140及びアドレス変換部150を制御すると共に、MACテーブル110を管理する。なお、スイッチ装置100においては、CPU160は、ポート10hとして認識される。 The switch device 100 further includes a switching unit 140, an address conversion unit 150, and a CPU (Central Processing Unit) 160 as a processor. When a certain port receives a frame, the switching unit 140 refers to the MAC table 110 and transmits the frame from the port associated with the destination address of the frame. At this time, if the port is not associated with the destination address of the frame, the switching unit 140 floods the frame from all ports except the frame source address. When a certain port receives a frame, the address conversion unit 150 rewrites at least a destination address set in advance among the destination address and the source address of the frame that has passed through the PHY function 130. The CPU 160 controls the switching unit 140 and the address conversion unit 150 and manages the MAC table 110. In the switch device 100, the CPU 160 is recognized as the port 10h.
 アドレス変換部150は、フレームの宛先アドレス及び送信元アドレスを書き換えるために、図4に示すように、小容量かつ高速動作可能な宛先変換レジスタ150A及び送信元変換レジスタ150Bを内蔵する。宛先変換レジスタ150A及び送信元変換レジスタ150Bは、CPU160により任意のアドレス変換用のデータが設定される。そして、アドレス変換部150は、宛先変換レジスタ150Aにデータが設定されていると、フレームの宛先アドレスにデータを上書きして書き換え、また、送信元変換レジスタ150Bにデータが設定されていると、フレームの送信元アドレスにデータを上書きして書き換える。 The address translation unit 150 incorporates a destination translation register 150A and a source translation register 150B that can operate at a small capacity and at a high speed, as shown in FIG. 4, in order to rewrite the destination address and the source address of the frame. Arbitrary address conversion data is set by the CPU 160 in the destination conversion register 150A and the transmission source conversion register 150B. Then, when data is set in the destination conversion register 150A, the address conversion unit 150 rewrites the data by overwriting the data at the destination address of the frame, and when data is set in the transmission source conversion register 150B, Overwrite and rewrite data in the source address.
 スイッチ装置100のCPU160には、スイッチ装置100の試験に際して、試験の開始指示などを行うためのコンソール300が着脱可能に接続される。コンソール300としては、例えば、PC(Personal Computer)などの汎用コンピュータを用いることができる。 When the switch device 100 is tested, a console 300 for performing a test start instruction or the like is detachably connected to the CPU 160 of the switch device 100. As the console 300, for example, a general-purpose computer such as a PC (Personal Computer) can be used.
 次に、スイッチ装置100の具体的な試験方法について説明する。
[各試験方法の概要]
 以下に説明する各試験方法では、MACテーブル110及びアドレス変換部150を適宜設定することで、テストデータがポート00h→ポート01h→・・・→ポート0Fhという経路を経て、CUP160へと戻ってくるテスト経路を形成する。そして、CPU160からスイッチング部140に向けて、宛先アドレスをポート00hとしたテストデータを送信し、テスト経路を巡って戻ってきたテストデータを解析することで、スイッチ装置100を試験する。
Next, a specific test method for the switch device 100 will be described.
[Outline of each test method]
In each test method described below, by appropriately setting the MAC table 110 and the address conversion unit 150, the test data returns to the CUP 160 via the path of port 00h → port 01h →... → port 0Fh. Form a test path. Then, the switch device 100 is tested by transmitting test data with the destination address set to the port 00h from the CPU 160 to the switching unit 140 and analyzing the test data returned around the test path.
 [第1の試験方法]
 図5は、コンソール300において試験の開始指示があったことを契機として、スイッチ装置100のCPU160が実行する第1の試験プログラムを示す。
[First test method]
FIG. 5 shows a first test program executed by the CPU 160 of the switch device 100 when the console 300 is instructed to start a test.
 ステップ1(図では「S1」と略記する。以下同様。)では、CPU160が、第1の所定規則に則って、図6に示すように、CPU160を含む各ポートについて、宛先アドレスと出力ポートとを関連付けたレコードをMACテーブル110に登録する。このとき、CPU160は、MACテーブル110のタイプ及び有効フラグには、“静的”及び“1”(有効)を夫々格納する。 In step 1 (abbreviated as “S1” in the figure, the same applies hereinafter), the CPU 160 follows the first predetermined rule, as shown in FIG. 6, for each port including the CPU 160, the destination address and the output port. Are registered in the MAC table 110. At this time, the CPU 160 stores “static” and “1” (valid) in the type and valid flag of the MAC table 110, respectively.
 ここで、第1の所定規則の一例としては、図6に示すように、宛先アドレスにより特定されるポートが出力ポートとなる規則、具体的には、宛先アドレス[n]=出力ポート[n](n=00h~10h)となる規則が適用される。第1の所定規則は、コンソール300において作業者などが試験の開始指示を行うときに、例えば、コンソール300に格納された複数の規則の中から1つの規則を選択することで決定される(以下同様)。なお、第1の所定規則は、スイッチ装置300のフラッシュメモリなどの不揮発性メモリに格納されていてもよい(以下同様)。 Here, as an example of the first predetermined rule, as shown in FIG. 6, a rule in which a port specified by a destination address becomes an output port, specifically, destination address [n] = output port [n] A rule of (n = 00h to 10h) is applied. The first predetermined rule is determined, for example, by selecting one rule from a plurality of rules stored in the console 300 when an operator or the like gives an instruction to start a test on the console 300 (hereinafter, referred to as “first rule”). The same). Note that the first predetermined rule may be stored in a non-volatile memory such as a flash memory of the switch device 300 (the same applies hereinafter).
 ステップ2では、CPU160が、第2の所定規則に則って、ポート00h~0Fhのアドレス変換部150の宛先変換レジスタ150Aに、アドレス変換用のデータを夫々設定する。第2の所定規則の一例としては、図7に示すように、ポート[n]で受信したフレームの宛先アドレスがポート[n+1]に変換されるような規則が適用される。 In step 2, the CPU 160 sets address conversion data in the destination conversion register 150A of the address conversion unit 150 of the ports 00h to 0Fh according to the second predetermined rule. As an example of the second predetermined rule, as shown in FIG. 7, a rule is applied such that the destination address of the frame received at port [n] is converted to port [n + 1].
 ステップ3では、CPU160が、図8に示すように、宛先アドレスをポート00hのMACアドレス“00:00:00:00:00:00”としたテストデータのフレームを、スイッチング部140に送信する。 In step 3, as shown in FIG. 8, the CPU 160 transmits a test data frame with the destination address as the MAC address “00: 00: 00: 00: 00: 00” of the port 00h to the switching unit 140.
 ステップ4では、CPU160が、テストデータのフレームを受信したか否かを判定する。そして、CPU160は、フレームを受信したと判定すれば処理をステップ5へと進める一方(Yes)、フレームを受信していないと判定すれば処理をステップ6へと進める(No)。 In step 4, the CPU 160 determines whether or not a test data frame has been received. If the CPU 160 determines that a frame has been received, the process proceeds to step 5 (Yes), whereas if it determines that no frame has been received, the process proceeds to step 6 (No).
 ステップ5では、CPU160が、例えば、受信フレームにFCSエラーがあるか否か、CPU160から送信したフレームのユーザデータと受信フレームのユーザデータとが同一であるか否かを確認することで、受信フレームが異常であるか否かを判定する。即ち、CPU160は、受信フレームを解析することで、バウンダリスキャンデバイスの内部に問題があるか否かを判定する。そして、CPU160は、受信フレームが異常であると判定すれば処理をステップ7へと進める一方(Yes)、受信フレームが異常でないと判定すれば処理を終了させる(No)。 In step 5, the CPU 160 confirms, for example, whether there is an FCS error in the received frame, and whether the user data of the frame transmitted from the CPU 160 is the same as the user data of the received frame. It is determined whether or not is abnormal. That is, the CPU 160 analyzes the received frame to determine whether there is a problem in the boundary scan device. If the CPU 160 determines that the received frame is abnormal, the process proceeds to step 7 (Yes), whereas if it is determined that the received frame is not abnormal, the process ends (No).
 ステップ6では、CPU160が、テストデータのフレームを送出してから第1の所定時間が経過したか否か(即ち、タイムアウトが発生したか否か)を介して、バウンダリスキャンデバイス間の接続に問題があるか否かを判定する。そして、CPU160は、タイムアウトが発生したと判定すれば処理をステップ7へと進める一方(Yes)、タイムアウトが発生していないと判定すれば処理をステップ4へと戻す(No)。 In step 6, the CPU 160 has a problem with the connection between the boundary scan devices through whether or not the first predetermined time has passed since the test data frame was transmitted (that is, whether or not a timeout has occurred). It is determined whether or not there is. If the CPU 160 determines that a timeout has occurred, the process proceeds to step 7 (Yes), while if it determines that a timeout has not occurred, the process returns to step 4 (No).
 ステップ7では、CPU160が、コンソール300に対して、スイッチ装置100に異常があることを通知する。なお、CPU160は、コンソール300に異常を通知する代わりに、例えば、スイッチ装置100の故障ランプなどを点灯させてもよい(以下同様)。 In step 7, the CPU 160 notifies the console 300 that there is an abnormality in the switch device 100. Note that the CPU 160 may turn on a failure lamp or the like of the switch device 100 instead of notifying the console 300 of the abnormality (the same applies hereinafter).
 かかる第1の試験方法によれば、MACテーブル110及び各ポートのアドレス変換部150に所定データが設定された後、CPU160からスイッチング部140に対して、宛先アドレスを“00:00:00:00:00:00”(ポート00h)としたテストデータのフレームが送信される。フレームを受信したスイッチング部140では、図6に示すMACテーブル110が参照され、宛先アドレス“00:00:00:00:00:00”に関連付けられた出力ポート00hから、フレームが出力される。ポート00hから出力されたフレームは、ネットワークケーブル200により折り返され、ポート00hへと戻ってくる。 According to the first test method, after predetermined data is set in the MAC table 110 and the address conversion unit 150 of each port, the destination address is set to “00: 00: 00: 00” from the CPU 160 to the switching unit 140. A test data frame of 00:00 ”(port 00h) is transmitted. In the switching unit 140 that has received the frame, the MAC table 110 illustrated in FIG. 6 is referred to, and the frame is output from the output port 00h associated with the destination address “00: 00: 00: 00: 00: 00”. The frame output from the port 00h is returned by the network cable 200 and returns to the port 00h.
 ポート00hがフレームを受信すると、アドレス変換部150において、フレームの宛先アドレスが“00:00:00:00:00:01”(ポート01h)へと書き換えられた後(図7参照)、このフレームがスイッチング部140に引き渡される。スイッチング部140では、図6に示すMACテーブル110が再度参照され、宛先アドレス“00:00:00:00:00:01”に関連付けられた出力ポート01hから、フレームが出力される。ポート01hから出力されたフレームは、ネットワークケーブル200により折り返され、ポート01hへと戻ってくる。そして、このような処理が順次繰り返されることで、フレームは、ポート00h→ポート01h→・・・→ポート0Fhというテスト経路を経て、CPU160へと戻ってくる。 When the port 00h receives the frame, the address conversion unit 150 rewrites the destination address of the frame to “00: 00: 00: 00: 00: 01” (port 01h) (see FIG. 7). Is delivered to the switching unit 140. In the switching unit 140, the MAC table 110 shown in FIG. 6 is referred again, and a frame is output from the output port 01h associated with the destination address “00: 00: 00: 00: 00: 01”. The frame output from the port 01h is returned by the network cable 200 and returned to the port 01h. By sequentially repeating such processing, the frame returns to the CPU 160 via the test path of port 00h → port 01h →... → port 0Fh.
 このとき、CPU160から送出されたフレームは、スイッチ装置100の各バウンダリスキャンデバイスで処理されつつ、各ポートを順繰りに接続したテスト経路を巡ってCPU160へと戻ってくる。このため、従来のような対向試験機を接続しなくとも、スイッチ装置100単体で、バウンダリスキャンデバイス間の接続試験、及び、バウンダリスキャンデバイスの内部試験を行うことができる。 At this time, the frame sent from the CPU 160 is returned to the CPU 160 through the test path in which the respective ports are connected in sequence while being processed by each boundary scan device of the switch device 100. For this reason, the connection test between the boundary scan devices and the internal test of the boundary scan device can be performed by the switch device 100 alone without connecting a conventional counter test machine.
 なお、MACテーブル110及びアドレス変換部150の設定を順次変更しつつ、テストデータのフレームをテスト経路に流通させることで、多様な経路によりスイッチ装置100の試験が行われる。このため、すべてのスイッチングルートの疎通確認を行うことが可能となり、スイッチ装置100の試験精度を向上させることができる。この場合には、例えば、コンソール300において、第1の所定規則及び第2の所定規則を夫々複数指定し、各規則に基づく試験を順次実行すればよい。 It should be noted that the switch device 100 is tested through various paths by distributing test data frames to the test path while sequentially changing the settings of the MAC table 110 and the address conversion unit 150. For this reason, it becomes possible to check the communication of all the switching routes, and the test accuracy of the switch device 100 can be improved. In this case, for example, a plurality of first predetermined rules and second predetermined rules may be designated on the console 300, and tests based on the respective rules may be sequentially executed.
[第2の試験方法]
 図9は、コンソール300において試験の開始指示があったことを契機として、スイッチ装置100のCPU160が実行する第2の試験プログラムを示す。
[Second test method]
FIG. 9 shows a second test program executed by the CPU 160 of the switch device 100 when the console 300 is instructed to start a test.
 ステップ11では、CPU160が、MACテーブル110をクリア、即ち、MACテーブル110に何も設定されていない状態にリセットする。 In step 11, the CPU 160 clears the MAC table 110, that is, resets the MAC table 110 to a state in which nothing is set.
 ステップ12では、CPU160が、第3の所定規則に則って、ポート00h~0Fhのアドレス変換部150の宛先変換レジスタ150A及び送信元変換レジスタ150Bにアドレス変換用のデータを夫々設定する。第3の所定規則の一例としては、図10に示すように、ポート[n]で受信したフレームの宛先アドレスがポート[n+1]、ポート[n]で受信したフレームの送信元アドレスがポート[n]に変換されるような規則が適用される。 In step 12, the CPU 160 sets address conversion data in the destination conversion register 150A and the transmission source conversion register 150B of the address conversion unit 150 of the ports 00h to 0Fh according to the third predetermined rule. As an example of the third predetermined rule, as shown in FIG. 10, the destination address of the frame received at port [n] is port [n + 1], and the source address of the frame received at port [n] is port [n]. The rules that are converted to] apply.
 ステップ13では、CPU160が、図11に示すように、宛先アドレスをいずれかのポート、例えば、ポート00hのMACアドレス“00:00:00:00:00:00”、送信元アドレスをCPU160のMACアドレス“00:00:00:00:00:10”としたテストデータのフレームを、スイッチング部140に送信する。 In step 13, as shown in FIG. 11, the CPU 160 sets the destination address as one of the ports, for example, the MAC address “00: 00: 00: 00: 00: 00” of the port 00h, and sets the source address as the MAC address of the CPU 160. The test data frame having the address “00: 00: 00: 00: 00: 10” is transmitted to the switching unit 140.
 ステップ14では、CPU160が、ポート数(具体的には16個)のテストデータのフレームを受信したか否かを判定する。そして、CPU160は、ポート数のフレームを受信したと判定すれば処理をステップ15へと進める一方(Yes)、ポート数のフレームを受信していないと判定すれば処理をステップ16へと進める(No)。 In step 14, the CPU 160 determines whether or not the test data frame of the number of ports (specifically, 16) has been received. If the CPU 160 determines that the frame of the number of ports has been received, the process proceeds to step 15 (Yes), whereas if it determines that the frame of the number of ports has not been received, the process proceeds to step 16 (No). ).
 ステップ15では、CPU160が、図8に示すように、宛先アドレスをポート00hのMACアドレス“00:00:00:00:00:00”としたテストデータのフレームを、スイッチング部140に送信する。 In step 15, as shown in FIG. 8, the CPU 160 transmits a frame of test data with the destination address as the MAC address “00: 00: 00: 00: 00: 00” of the port 00h to the switching unit 140.
 ステップ16では、CPU160が、ステップ13においてテストデータのフレームを送出してから第1の所定時間が経過したか否か(即ち、タイムアウトが発生したか否か)を介して、バウンダリスキャンデバイス間の接続に問題があるか否かを判定する。そして、CPU160は、タイムアウトが発生したと判定すれば処理をステップ20へと進める一方(Yes)、タイムアウトが発生していないと判定すれば処理をステップ14へと戻す(No)。 In step 16, the CPU 160 determines whether the first predetermined time has elapsed since the test data frame was transmitted in step 13 (that is, whether or not a timeout has occurred) between the boundary scan devices. Determine if there is a connection problem. If the CPU 160 determines that a timeout has occurred, the process proceeds to step 20 (Yes), while if it determines that a timeout has not occurred, the process returns to step 14 (No).
 ステップ17では、CPU160が、テストデータのフレームを受信したか否かを判定する。そして、CPU160は、フレームを受信したと判定すれば処理をステップ18へと進める一方(Yes)、フレームを受信していないと判定すれば処理をステップ19へと進める(No)。 In step 17, the CPU 160 determines whether or not a test data frame has been received. If the CPU 160 determines that the frame has been received, the process proceeds to step 18 (Yes), whereas if it determines that the frame has not been received, the process proceeds to step 19 (No).
 ステップ18では、CPU160が、受信フレームが異常であるか否かを判定する。そして、CPU160は、受信フレームが異常であると判定すれば処理をステップ20へと進める一方(Yes)、受信フレームが異常でないと判定すれば処理を終了させる(No)。 In step 18, the CPU 160 determines whether or not the received frame is abnormal. If the CPU 160 determines that the received frame is abnormal, the process proceeds to step 20 (Yes), whereas if it is determined that the received frame is not abnormal, the process ends (No).
 ステップ19では、CPU160が、ステップ15においてテストデータのフレームを送出してから第1の所定時間が経過したか否か(即ち、タイムアウトが発生したか否か)を判定する。そして、CPU160は、タイムアウトが発生したと判定すれば処理をステップ20へと進める一方(Yes)、タイムアウトが発生していないと判定すれば処理をステップ17へと戻す(No)。 In step 19, CPU 160 determines whether or not a first predetermined time has elapsed since sending the test data frame in step 15 (that is, whether or not a timeout has occurred). If the CPU 160 determines that a timeout has occurred, the process proceeds to step 20 (Yes), whereas if it determines that a timeout has not occurred, the process returns to step 17 (No).
 ステップ20では、CPU160が、コンソール300に対して、スイッチ装置100に異常があることを通知する。 In step 20, the CPU 160 notifies the console 300 that there is an abnormality in the switch device 100.
 かかる第2の試験方法によれば、各ポートのアドレス変換部150に所定データが設定された後、CPU160からスイッチング部140に対して、宛先アドレスを“00:00:00:00:00:00”(ポート00h)、送信元アドレスを“00:00:00:00:00:10”(CPU)としたテストデータのフレームが送信される。フレームを受信したスイッチング部140では、MACテーブル110がクリアされていることから、宛先アドレス“00:00:00:00:00:00”に関連付けられた出力ポートが未設定であるため、送信元アドレスにより特定されるポートを除く他のすべてのポート00h~0Fhからフレームが出力される。ポート00h~0Fhから出力されたフレームは、ネットワークケーブル200により折り返され、フレームを出力したポートへと戻ってくる。 According to the second test method, after predetermined data is set in the address conversion unit 150 of each port, the destination address is set to “00: 00: 00: 00: 00: 00” from the CPU 160 to the switching unit 140. A frame of test data is transmitted with “(port 00h) and source address“ 00: 00: 00: 00: 00: 10 ”(CPU). In the switching unit 140 that has received the frame, since the MAC table 110 has been cleared, the output port associated with the destination address “00: 00: 00: 00: 00: 00” is not set, so the transmission source Frames are output from all other ports 00h to 0Fh except the port specified by the address. The frames output from the ports 00h to 0Fh are folded back by the network cable 200 and returned to the port that output the frame.
 そして、各ポート00h~0Fhがフレームを受信すると、アドレス変換部150において、図10に示すアドレス変換規則により、フレームの宛先アドレス及び送信元アドレスが書き換えられ、このフレームがスイッチング部140に引き渡される。このとき、スイッチング部140において、スイッチ装置100が本来備えるMACアドレスの学習機能により、図12に示すように、MACテーブル110が学習される。各ポート00h~0Fhのアドレス変換部150からスイッチング部140に引き渡されたフレームは、第1の試験方法と同様な経路を経て、最終的にCPU160へと戻ってくる。 Then, when each port 00h to 0Fh receives the frame, the address conversion unit 150 rewrites the destination address and the source address of the frame according to the address conversion rule shown in FIG. 10, and the frame is delivered to the switching unit 140. At this time, in the switching unit 140, the MAC table 110 is learned as shown in FIG. 12 by the MAC address learning function originally provided in the switch device 100. The frame delivered from the address conversion unit 150 of each port 00h to 0Fh to the switching unit 140 finally returns to the CPU 160 via the same path as the first test method.
 その後、CPU160からスイッチング部140に対して、宛先アドレスを“00:00:00:00:00:00”(ポート00h)としたテストデータのフレームが送信される。そして、第1の試験方法と同様な処理により、フレームは、ポート00h→ポート01h→・・・→ポート0Fhというテスト経路を経て、CPU160へと戻ってくる。 Thereafter, a frame of test data with a destination address “00: 00: 00: 00: 00: 00” (port 00h) is transmitted from the CPU 160 to the switching unit 140. Then, the frame returns to the CPU 160 through the test path of port 00h → port 01h →... → port 0Fh by the same processing as in the first test method.
 このようにすれば、第1の試験方法の作用及び効果に加えて、例えば、コンソール300でMACテーブル110の内容を確認することで、MACアドレスの学習機能が正常に機能しているか否かを判定することができる。また、第2の試験方法の実行完了後、第2の所定時間(例えば5分)経過後に、例えば、コンソール300でMACテーブル110の内容を確認することで、MACテーブル110が自動的にクリアされたか否かを判定することができる。 In this way, in addition to the operation and effect of the first test method, for example, by confirming the contents of the MAC table 110 with the console 300, it is determined whether or not the MAC address learning function is functioning normally. Can be determined. Also, after completion of the execution of the second test method, after the second predetermined time (for example, 5 minutes) has elapsed, for example, by confirming the contents of the MAC table 110 with the console 300, the MAC table 110 is automatically cleared. It can be determined whether or not.
 なお、アドレス変換部150の設定を順次変更しつつ、テストデータのフレームをテスト経路に流通させることで、多様な経路によりスイッチ装置100の試験が行われる。このため、すべてのスイッチングルートの疎通確認を行うことが可能となり、スイッチ装置100の試験精度を向上させることができる。この場合には、例えば、コンソール300において、第3の所定規則を複数指定し、各規則に基づく試験を順次実行すればよい。 Note that the switch device 100 is tested through various paths by distributing the test data frame to the test path while sequentially changing the setting of the address conversion unit 150. For this reason, it becomes possible to check the communication of all the switching routes, and the test accuracy of the switch device 100 can be improved. In this case, for example, a plurality of third predetermined rules may be designated on the console 300, and tests based on the respective rules may be sequentially executed.
[第3の試験方法]
 図13及び図14は、コンソール300において試験の開始指示があったことを契機として、スイッチ装置100のCPU160が実行する第3の試験プログラムを示す。なお、以下の説明では、第1の試験方法に適用した例で説明するが、第2の試験方法に適用することもできる。
[Third test method]
FIGS. 13 and 14 show a third test program executed by the CPU 160 of the switch device 100 when the console 300 is instructed to start a test. In the following description, an example applied to the first test method will be described, but the present invention can also be applied to the second test method.
 ステップ21では、CPU160が、第1の所定規則に則って、図6に示すように、CPU160を含む各ポートについて、宛先アドレスと出力ポートとを関連付けたレコードをMACテーブル110に登録する。 In step 21, according to the first predetermined rule, the CPU 160 registers a record in which the destination address and the output port are associated with each other including the CPU 160 in the MAC table 110 as shown in FIG.
 ステップ22では、CPU160が、第4の所定規則に則って、ポート00h~0Fhのアドレス変換部150の宛先変換レジスタ150Aに、アドレス変換用のデータを夫々設定する。第4の所定規則の一例としては、図15に示すように、ポート[n](n=00h~0Fh)で受信したフレームの宛先アドレスがポート[n+1]に変換され、ポート0Fhで受信したフレームの宛先アドレスがポート00hに変換されるような規則が適用される。要するに、第4の所定規則は、ポート0Fhで受信されたフレームがポート00hへと出力される無限ループのテスト経路を形成する。 In step 22, the CPU 160 sets data for address conversion in the destination conversion register 150A of the address conversion unit 150 of ports 00h to 0Fh according to the fourth predetermined rule. As an example of the fourth predetermined rule, as shown in FIG. 15, the destination address of the frame received at port [n] (n = 00h to 0Fh) is converted to port [n + 1] and the frame received at port 0Fh. A rule is applied so that the destination address is converted to port 00h. In short, the fourth predetermined rule forms an infinite loop test path in which a frame received at port 0Fh is output to port 00h.
 ステップ23では、CPU160が、図8に示すように、宛先アドレスをポート00hのMACアドレス“00:00:00:00:00:00”としたテストデータのフレームを、スイッチング部140に送信する。 In step 23, as shown in FIG. 8, the CPU 160 transmits a frame of test data with the destination address as the MAC address “00: 00: 00: 00: 00: 00” of the port 00h to the switching unit 140.
 ステップ24では、CPU160が、例えば、スイッチ装置100に実装されているバッファオーバフロー表示を参照することで、スイッチ装置100に最大帯域のフレームが流通しているか否かを判定する。そして、CPU160は、バッファオーバフローが発生していると判定すれば処理をステップ25へと進める一方(Yes)、バッファオーバフローが発生していないと判定すれば処理をステップ26へと進める(No)。このとき、CPU160は、バッファオーバフローが発生するまでに送信したフレームの個数Nを併せて計数する。 In step 24, the CPU 160 determines whether or not a frame of the maximum bandwidth is distributed to the switch device 100 by referring to a buffer overflow display mounted on the switch device 100, for example. If the CPU 160 determines that a buffer overflow has occurred, the process proceeds to step 25 (Yes), whereas if it determines that a buffer overflow has not occurred, the process proceeds to step 26 (No). At this time, the CPU 160 also counts the number N of frames transmitted until the buffer overflow occurs.
 ステップ25では、CPU160が、最大帯域のフレームが流通している状態がある程度持続する時間を確保するため、第3の所定時間待機する。 In step 25, the CPU 160 waits for a third predetermined time in order to secure a time during which the state where the frame of the maximum bandwidth is distributed is maintained to some extent.
 ステップ26では、CPU160が、タイムアウトが発生したか否かを介して、バウンダリスキャンデバイス間の接続に問題があるか否かを判定する。そして、CPU160は、タイムアウトが発生したと判定すれば処理をステップ31へと進める一方(Yes)、タイムアウトが発生していないと判定すれば処理をステップ23へと戻す(No)。 In step 26, the CPU 160 determines whether or not there is a problem in the connection between the boundary scan devices through whether or not a timeout has occurred. If the CPU 160 determines that a timeout has occurred, the process proceeds to step 31 (Yes), while if it determines that a timeout has not occurred, the process returns to step 23 (No).
 ステップ27では、CPU160が、ポート0Fhのアドレス変換部150の宛先変換レジスタ150Aに、CPU160のMACアドレスを示す“00:00:00:00:00:10”を設定する。このようにすれば、ポート0Fhで受信されたフレームは、アドレス変換部150において宛先アドレスがCPU160のMACアドレスに書き換えられることから、CPU160に戻ってくるようになる。 In step 27, the CPU 160 sets “00: 00: 00: 00: 00: 10” indicating the MAC address of the CPU 160 in the destination conversion register 150A of the address conversion unit 150 of the port 0Fh. In this way, the frame received at the port 0Fh is returned to the CPU 160 because the address conversion unit 150 rewrites the destination address to the MAC address of the CPU 160.
 ステップ28では、CPU160が、N個のフレーム、即ち、最大帯域で流通していたすべてのフレームを受信したか否かを判定する。そして、CPU160は、N個のフレームを受信したと判定すれば処理をステップ29へと進める一方(Yes)、N個のフレームを受信していないと判定すれば処理をステップ30へと進める(No)。 In step 28, the CPU 160 determines whether or not N frames, that is, all frames distributed in the maximum bandwidth have been received. If the CPU 160 determines that N frames have been received, the process proceeds to step 29 (Yes), whereas if it determines that N frames have not been received, the process proceeds to step 30 (No). ).
 ステップ29では、CPU160が、受信フレームが異常であるか否かを判定する。そして、CPU160は、受信フレームが異常であると判定すれば処理をステップ31へと進める一方(Yes)、受信フレームが異常でないと判定すれば処理を終了させる(No)。 In step 29, the CPU 160 determines whether or not the received frame is abnormal. If the CPU 160 determines that the received frame is abnormal, the process proceeds to step 31 (Yes), whereas if it is determined that the received frame is not abnormal, the process ends (No).
 ステップ30では、CPU160が、タイムアウトが発生したか否かを介して、バウンダリスキャンデバイス間の接続に問題があるか否かを判定する。そして、CPU160は、タイムアウトが発生したと判定すれば処理をステップ31へと進める一方(Yes)、タイムアウトが発生していないと判定すれば処理をステップ28へと戻す(No)。なお、バウンダリスキャンデバイス間の接続試験は、ステップ26で実施済みであるので、ステップ30の処理を省略してもよい。 In step 30, the CPU 160 determines whether or not there is a problem in the connection between the boundary scan devices through whether or not a timeout has occurred. If the CPU 160 determines that a timeout has occurred, the process proceeds to step 31 (Yes), whereas if it determines that a timeout has not occurred, the CPU 160 returns the process to step 28 (No). Since the connection test between the boundary scan devices has already been performed in step 26, the process in step 30 may be omitted.
 ステップ31では、CPU160が、コンソール300に対して、スイッチ装置100に異常があることを通知する。 In step 31, the CPU 160 notifies the console 300 that there is an abnormality in the switch device 100.
 かかる第3の試験方法によれば、ポート0Fhのアドレス変換部150の宛先アドレスをポート00hのMACアドレス“00:00:00:00:00:00”とすることで、フレームのテスト経路として無限ループが形成されることとなる。そして、バッファオーバフローが発生するまで、図16に示すように、N個のフレームをテスト経路に流通させることで、最大帯域での試験、即ち、最大負荷での試験を行うことができる。また、最大帯域での試験を第3の所定時間実行した後、ポート0Fhのアドレス変換部150の宛先アドレスをCPU160のMACアドレス“00:00:00:00:00:10”に変更することで、ポート0Fhで受信したフレームはCPU160へと戻ってくるようになる。このため、第1及び第2の試験方法と同様に、CPU160が受信したフレームを解析することで、スキャンデバイスの内部試験を行うことができる。 According to the third test method, the destination address of the address conversion unit 150 of the port 0Fh is set to the MAC address “00: 00: 00: 00: 00: 00” of the port 00h, so that the frame test path is infinite. A loop will be formed. Then, until the buffer overflow occurs, as shown in FIG. 16, the test with the maximum bandwidth, that is, the test with the maximum load can be performed by distributing N frames on the test path. In addition, after executing the test in the maximum bandwidth for the third predetermined time, the destination address of the address conversion unit 150 of the port 0Fh is changed to the MAC address “00: 00: 00: 00: 00: 10” of the CPU 160. The frame received at port 0Fh returns to the CPU 160. Therefore, as in the first and second test methods, an internal test of the scan device can be performed by analyzing the frame received by the CPU 160.
 なお、第1~第3の試験方法において、各ポート00h~0Fhを順次接続したテスト経路を形成する代わりに、各ポート00h~0Fhを必ず1回通過するランダムなテスト経路となるように、MACテーブル110及びアドレス変換部150を設定してもよい。また、各ポート00h~0Fhが入力又は出力のみ可能である場合には、ネットワークケーブル200は、例えば、入力ポートと出力ポートとを適宜接続した経路を有していればよい。さらに、スイッチ装置100は、16個のポート00h~0Fhに限らず、他の個数のポートを備えていてもよい。 In the first to third test methods, instead of forming a test path in which the ports 00h to 0Fh are sequentially connected, the MAC test is performed so that each port 00h to 0Fh is a random test path that always passes through once. The table 110 and the address conversion unit 150 may be set. Further, when each port 00h to 0Fh can only input or output, the network cable 200 may have a path in which, for example, an input port and an output port are appropriately connected. Furthermore, the switch device 100 is not limited to the 16 ports 00h to 0Fh, and may include other numbers of ports.
 その他、試験の開始指示は、コンソール300から発行されるだけではなく、スイッチ装置100に実装されたテストモードを起動することで発行されるようにしてもよい。この場合、第1~第4の所定規則は、スイッチ装置100の不揮発性メモリに予め格納されていればよい。 In addition, the test start instruction may be issued not only from the console 300 but also by activating a test mode mounted on the switch device 100. In this case, the first to fourth predetermined rules may be stored in advance in the nonvolatile memory of the switch device 100.
  100 スイッチ装置
  110 MACテーブル
  120 コネクタ
  130 PHY機能
  140 スイッチング部
  150 アドレス変換部
  150A 宛先変換レジスタ
  150B 送信元変換レジスタ
  160 CPU
  200 ネットワークケーブル
  300 コンソール
DESCRIPTION OF SYMBOLS 100 Switch apparatus 110 MAC table 120 Connector 130 PHY function 140 Switching part 150 Address conversion part 150A Destination conversion register 150B Transmission source conversion register 160 CPU
200 Network cable 300 Console

Claims (8)

  1.  宛先アドレス及び送信元アドレスを含むフレームを受信したときに、該フレームの宛先アドレス及び送信元アドレスのうち少なくとも宛先アドレスを、予め設定された任意のアドレスに変換するアドレス変換部と、
     前記アドレス変換部により少なくとも宛先アドレスが変換されたフレームについて、宛先アドレスと出力ポートとを関連付けたレコードを格納したテーブルを参照し、前記フレームの宛先アドレスに関連付けられた出力ポートから該フレームを出力するスイッチング部と、
     プロセッサと、
     を有し、
     前記プロセッサは、外部からの指示に応答して、すべてのポートを経て最終的にプロセッサへと戻ってくるテスト経路が規定されるように、前記アドレス変換部及び前記テーブルを夫々設定し、前記テスト経路の基点となるポートを宛先アドレスとしたフレームを前記スイッチング部に出力すると共に、前記プロセッサへと戻ってきたフレームを解析して、バウンダリスキャンデバイス間の接続又は該バウンダリスキャンデバイスの内部に問題があるか否かを判定することを特徴とするスイッチ装置。
    When receiving a frame including the destination address and the source address, an address conversion unit that converts at least the destination address of the destination address and the source address of the frame into a predetermined arbitrary address; and
    For a frame in which at least the destination address is converted by the address conversion unit, a table storing a record in which the destination address is associated with the output port is referred to, and the frame is output from the output port associated with the destination address of the frame A switching unit;
    A processor;
    Have
    In response to an instruction from the outside, the processor sets the address conversion unit and the table so that a test path that finally returns to the processor through all ports is defined, and the test A frame having a destination port as a destination port as a destination address is output to the switching unit, and the frame returned to the processor is analyzed, and there is a problem in the connection between the boundary scan devices or in the boundary scan device. A switch device for determining whether or not there is a switch device.
  2.  前記プロセッサは、更に、前記フレームを前記スイッチング部に出力してから所定時間経過しても、該フレームがプロセッサに戻ってこないときに、前記バウンダリスキャンデバイス間の接続に問題があると判定することを特徴とする請求項1記載のスイッチ装置。 The processor further determines that there is a problem in connection between the boundary scan devices when the frame does not return to the processor even after a predetermined time has elapsed since the frame was output to the switching unit. The switch device according to claim 1.
  3.  前記プロセッサは、前記バウンダリスキャンデバイス間の接続又は該バウンダリスキャンデバイスの内部に問題があると判定したときに、問題が発生したことを報知することを特徴とする請求項1記載のスイッチ装置。 2. The switch device according to claim 1, wherein when the processor determines that there is a problem in the connection between the boundary scan devices or in the boundary scan device, the processor notifies that the problem has occurred.
  4.  前記プロセッサは、無限ループを形成するテスト経路を規定し、最大帯域のフレームが流通するまでフレームを繰り返し出力した後、出力したすべてのフレームがプロセッサへと戻ってくるように、前記テスト経路を再設定することを特徴とする請求項1記載のスイッチ装置。 The processor defines a test path that forms an infinite loop. After the frame is repeatedly output until the maximum bandwidth frame is distributed, the test path is re-routed so that all the output frames are returned to the processor. The switch device according to claim 1, wherein the switch device is set.
  5.  前記プロセッサは、バッファオーバフローが発生しているか否かを介して、前記最大帯域のフレームが流通しているか否かを判定することを特徴とする請求項4記載のスイッチ装置。 The switch device according to claim 4, wherein the processor determines whether or not the frame of the maximum bandwidth is distributed through whether or not a buffer overflow has occurred.
  6.  前記プロセッサは、すべてのポートを経て最終的にプロセッサへと戻ってくるテスト経路を順次変更しながら、前記テスト経路の基点となるポートを宛先アドレスとしたフレームを前記スイッチング部に出力することを特徴とする請求項1記載のスイッチ装置。 The processor outputs, to the switching unit, a frame having a port serving as a base point of the test path as a destination address while sequentially changing test paths that finally return to the processor via all ports. The switch device according to claim 1.
  7.  前記プロセッサは、前記テーブルをクリアし、各ポートで受信したフレームについて、宛先アドレスが他のポートへのアドレスに変換され、かつ、送信元アドレスが自ポートへのアドレスへと変換されるように、前記アドレス変換部を設定し、いずれかのポートのアドレスを宛先アドレスとすると共に、プロセッサのアドレスを送信元アドレスとしたフレームを前記スイッチング部に出力することを特徴とする請求項1記載のスイッチ装置。 The processor clears the table, and for frames received at each port, the destination address is converted to an address to another port, and the source address is converted to an address to its own port. 2. The switch device according to claim 1, wherein the address conversion unit is set, and a frame having the address of one of the ports as a destination address and a processor address as a transmission source address is output to the switching unit. .
  8.  宛先アドレス及び送信元アドレスを含むフレームを受信したときに、該フレームの宛先アドレス及び送信元アドレスのうち少なくとも宛先アドレスを、予め設定された任意のアドレスに変換するアドレス変換部と、前記アドレス変換部により少なくとも宛先アドレスが変換されたフレームについて、宛先アドレスと出力ポートとを関連付けたレコードを格納したテーブルを参照し、前記フレームの宛先アドレスに関連付けられた出力ポートから該フレームを出力するスイッチング部と、を有するスイッチ装置が、
     外部からの指示に応答して、すべてのポートを経て最終的にプロセッサへと戻ってくるテスト経路が規定されるように、前記アドレス変換部及び前記テーブルを夫々設定し、前記テスト経路の基点となるポートを宛先アドレスとしたフレームを前記スイッチング部に出力すると共に、前記プロセッサへと戻ってきたフレームを解析して、バウンダリスキャンデバイス間の接続又は該バウンダリスキャンデバイスの内部に問題があるか否かを判定することを特徴とするスイッチ装置の試験方法。
    When receiving a frame including a destination address and a source address, an address converter that converts at least the destination address of the destination address and source address of the frame into a predetermined arbitrary address, and the address converter A switching unit that refers to a table that stores a record in which a destination address and an output port are associated with each other, at least for a frame in which the destination address is converted by the above-described method, A switch device having
    In response to an instruction from the outside, the address conversion unit and the table are respectively set so that a test path that finally returns to the processor through all the ports is defined, and a base point of the test path Whether or not there is a problem in the connection between the boundary scan devices or the inside of the boundary scan device by analyzing the frame returned to the processor A test method for a switch device, characterized by:
PCT/JP2010/070128 2010-11-11 2010-11-11 Switch device and method for testing switch device WO2012063347A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2010/070128 WO2012063347A1 (en) 2010-11-11 2010-11-11 Switch device and method for testing switch device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2010/070128 WO2012063347A1 (en) 2010-11-11 2010-11-11 Switch device and method for testing switch device

Publications (1)

Publication Number Publication Date
WO2012063347A1 true WO2012063347A1 (en) 2012-05-18

Family

ID=46050528

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2010/070128 WO2012063347A1 (en) 2010-11-11 2010-11-11 Switch device and method for testing switch device

Country Status (1)

Country Link
WO (1) WO2012063347A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000174848A (en) * 1998-12-07 2000-06-23 Nec Corp Communication controller
JP2002152317A (en) * 2000-11-10 2002-05-24 Fujitsu Ltd Tester
JP2010118823A (en) * 2008-11-12 2010-05-27 Nec Access Technica Ltd Ethernet port inspection system, ethernet port inspection method, and communication device inspection program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000174848A (en) * 1998-12-07 2000-06-23 Nec Corp Communication controller
JP2002152317A (en) * 2000-11-10 2002-05-24 Fujitsu Ltd Tester
JP2010118823A (en) * 2008-11-12 2010-05-27 Nec Access Technica Ltd Ethernet port inspection system, ethernet port inspection method, and communication device inspection program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CISCO SYSTEMS, INC.: "ATM/Layer 3 Switch Router Troubleshooting Guide 12.1(12C)E, ATM/Layer 3 Switch Router Troubleshooting Guide, 12.1(12C)E, Cisco Systems, Inc.", CISCO SYSTEMS, INC., 31 December 2008 (2008-12-31), pages 39, Retrieved from the Internet <URL:http://www.cisco.com/japanese/warp/public/3/jp/service/manualj/sw/cat85/al3srtg/196901.pdf> *

Similar Documents

Publication Publication Date Title
US7440415B2 (en) Virtual network addresses
US9762429B2 (en) Control protocol encapsulation
CN101030898B (en) Method and system for determining connectivity status for unnumbered interfaces of a target network device
US11184267B2 (en) Intelligent in-band telemetry auto-configuration for IP networks
CN101656637B (en) Virtual trunk measuring device and method for network protocol
CN107547304A (en) Network card testing method, device and machinable medium
TWI455519B (en) Data driven connection fault management (ddcfm) in cfm maintenance points
US7269661B2 (en) Method using receive and transmit protocol aware logic modules for confirming checksum values stored in network packet
CN107528746A (en) Communication means and source network device
JP5034703B2 (en) CAN error generation method and CAN communication apparatus
JP2018191279A (en) Method for test traffic generation and inspection, and associated switch input port or output port and switch
RO131361A2 (en) Methods, systems and computer-readable medium for identifying locations associated to endpoints
CN111092782B (en) Tested communication equipment, communication equipment port data forwarding test system and method
US7668105B1 (en) System for testing and/or evaluating the performance of a network switching apparatus
CN104506396B (en) The method of testing and system of the full port Full Mesh performances of equipment
JP2010124162A (en) Communication equipment and network testing method
WO2019238002A1 (en) Message transmitting method, network edge device, and message transmission system
JP4229810B2 (en) Communication test equipment
US20150207721A1 (en) Method and system for generating multi-protocol fault management packet by using fpga
WO2012063347A1 (en) Switch device and method for testing switch device
JP5402304B2 (en) Diagnostic program, diagnostic device, and diagnostic method
JP2004509525A (en) Method of checking compatibility of Bluetooth equipment to be tested
US20240129219A1 (en) Methods, systems, and computer readable media for using a programmable processing pipeline device to execute scalable connections per second (cps) generation test and an application replay sequence test
JP2004056465A (en) Network management device and computer program
CN106470137A (en) A kind of data processing method and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10859452

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10859452

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP