JP2003198549A - Network system and test method therefor - Google Patents

Network system and test method therefor

Info

Publication number
JP2003198549A
JP2003198549A JP2001392556A JP2001392556A JP2003198549A JP 2003198549 A JP2003198549 A JP 2003198549A JP 2001392556 A JP2001392556 A JP 2001392556A JP 2001392556 A JP2001392556 A JP 2001392556A JP 2003198549 A JP2003198549 A JP 2003198549A
Authority
JP
Japan
Prior art keywords
packet
test
optical conversion
conversion device
optical
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.)
Withdrawn
Application number
JP2001392556A
Other languages
Japanese (ja)
Inventor
Yoshihiro Kikukawa
義浩 菊川
Sachiko Fujioka
祥子 藤岡
Makoto Ando
真 安藤
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.)
Ando Electric Co Ltd
Kyushu Ando Electric Co Ltd
Original Assignee
Ando Electric Co Ltd
Kyushu Ando Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ando Electric Co Ltd, Kyushu Ando Electric Co Ltd filed Critical Ando Electric Co Ltd
Priority to JP2001392556A priority Critical patent/JP2003198549A/en
Publication of JP2003198549A publication Critical patent/JP2003198549A/en
Withdrawn legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a network system in which a learning function of a destination address in a bridge can be tested and processing of a packet length in the bridge and the storage capacity or aging of a memory for storing a destination address can be tested as well. <P>SOLUTION: The network system is equipped with an optical conversion repeater RE provided between a wide area LAN and an optical fiber transmission line FB for electrically/optically converting and transferring a data frame and an optical conversion bridge BR provided between a user LAN and the optical fiber transmission line FB for electrically/optically converting and transferring the data frame under medium access control and in the optical conversion repeater RE, a control packet for controlling the loop-back test of the optical conversion bridge BR and a test packet for the loop-back test are generated and transmitted through the optical fiber transmission line FB to the optical conversion bridge BR. At the same time, the system has a control part 14 for performing different loop-back tests by connecting a measurer for generating the other test packet in place of the wide area LAN. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワークシス
テム及びその試験方法であり、特に、たとえばイーサネ
ット(登録商標)フレームを伝送するLAN間接続シス
テムのループバック試験方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network system and a test method thereof, and more particularly to a loopback test method for a LAN-to-LAN connection system that transmits, for example, an Ethernet (registered trademark) frame.

【0002】[0002]

【従来の技術】近年、LAN(local area network)技
術をベースとして広域LANが各地域にそれぞれ構築さ
れて、これらをさらに高速広帯域の基幹網により接続し
た通信網が全国規模において展開され、その実用化が図
られつつある。その伝送路基盤としては、光ファイバが
適用されて、いわゆるFTTO(fiber to the offic
e)あるいはFTTH(fiber to the home)と呼ばれる
ユーザ接続まで拡張したネットワークサービス(光ブロ
ードバンド接続サービス)が提供されるようになってき
た。
2. Description of the Related Art In recent years, wide area LANs have been constructed in each area based on LAN (local area network) technology, and a communication network in which these are connected by a high-speed broadband backbone network has been deployed nationwide and put into practical use. It is being implemented. An optical fiber is applied as the transmission line base, and so-called FTTO (fiber to the offic) is used.
e) or a network service (optical broadband connection service) called FTTH (fiber to the home) that extends to user connection has come to be provided.

【0003】また、LAN同士を接続するLAN間接続
装置としては、OSI(open systems interconnectio
n)モデルの物理層レベルでの接続をするリピータと、
データリンク層レベルでの接続をするブリッジと、ネッ
トワーク層レベルでの接続をするルータと、トランスポ
ート層以上の上位レベルでの接続をするゲートウェイな
どが知られている。特に、ブリッジ方式のLAN間接続
は、共通のデータリンク層を介して接続するため、TC
P/IP(transmission control protocol/internet p
rotocol)などの上位のプロトコルに関係なくLAN同
士を安価な装置により接続することができる。
An OSI (open systems interconnectio) is used as a LAN connecting device for connecting LANs.
n) A repeater that connects at the physical layer level of the model,
Known are bridges that connect at the data link layer level, routers that connect at the network layer level, and gateways that connect at a higher level than the transport layer. In particular, bridge-type LAN-to-LAN connections are connected via a common data link layer, so
P / IP (transmission control protocol / internet p
It is possible to connect LANs with each other by an inexpensive device regardless of a higher-level protocol such as rotocol.

【0004】このため、ユーザLANを通信事業者の広
域LANに安価に接続する網構成としては、ユーザ宅内
にブリッジ方式のLAN間接続装置を設置し、通信事業
者にリピータ方式のLAN間接続装置を設置して両者を
光ファイバ伝送路で接続する構成がとられている。この
場合、光ファイバ伝送路の宅内側の終端点(ブリッジ内
の物理層デバイス)に通信事業者の責任分界点が位置付
けられ、その終端点までの保守および監視機能が必要と
なるため、たとえばループバック試験がこの終端点に対
して実施されていた。
Therefore, as a network configuration for connecting the user LAN to the wide area LAN of the communication carrier at low cost, a bridge type LAN connecting device is installed in the user's house and the repeater type LAN connecting device is provided to the communication company. Is installed and both are connected by an optical fiber transmission line. In this case, the telecommunications carrier's responsibility demarcation point is located at the terminating point (physical layer device in the bridge) inside the optical fiber transmission line, and maintenance and monitoring functions up to that terminating point are required. A back test was performed on this endpoint.

【0005】[0005]

【発明が解決しようとする課題】上述した従来のループ
バック試験においては、通信事業者のリピータにて生成
した所定の試験パケットを、所定の間隔で繰り返し送信
して、ユーザ宅内のブリッジ装置でのユーザLANとの
電気物理層終端部(物理層デバイス)で折り返ってきた
試験パケットを検出し、ループバックされた試験パケッ
トが送信した試験パケットと一致するか否かを比較して
正常か異常かを判定していた。
In the above-mentioned conventional loopback test, a predetermined test packet generated by a repeater of a telecommunications carrier is repeatedly transmitted at a predetermined interval so that a bridge device in a user's house can be used. The test packet returned at the electrical physical layer termination unit (physical layer device) with the user LAN is detected, and whether the looped back test packet matches the transmitted test packet is compared to determine whether it is normal or abnormal. Was being judged.

【0006】しかしながら、従来のループバック試験に
は、ブリッジ装置(またはブリッジ)に実装される、デ
ータフレームをそのMACアドレスにしたがって転送す
るMACスイッチについて、アドレス学習機能やアドレ
スエージング機能を遠隔から確認することはできないと
いう欠点がある。すなわち、ループバック試験におい
て、アドレス学習の機能の試験は、リピータにて送信元
アドレスを作成し、この送信元アドレスの添付された試
験パケットをブリッジに送信し、この送信元アドレスを
宛先アドレスとして、アドレスメモリに記憶させる。
However, in the conventional loopback test, the address learning function and the address aging function are remotely confirmed with respect to the MAC switch mounted in the bridge device (or bridge) and transferring the data frame according to the MAC address. It has the drawback of not being able to. That is, in the loopback test, the test of the address learning function is to create a source address with a repeater, send a test packet with this source address attached to the bridge, and use this source address as the destination address. Store in address memory.

【0007】そして、リピータは、この送信元アドレス
が宛先アドレスとされた試験パケットを、ブリッジへ送
信する。この結果、上記アドレスメモリに記憶された宛
先アドレスと、同一の宛先アドレスを有する試験パケッ
トがMACスイッチにより破棄されて、ループバックさ
れないことを確認する。しかしながら、従来の試験方式
では、試験を行うリピータが宛先アドレスを例えばブロ
ードキャスト・アドレスのような固定アドレスとしてし
か出力できないため、アドレスメモリに記憶された宛先
アドレスと、試験パケットの宛先アドレスとの比較が行
えないので、アドレスメモリの内容が不明のため、宛先
アドレスに対する学習試験ができないという問題があ
る。
Then, the repeater transmits a test packet having the source address as the destination address to the bridge. As a result, it is confirmed that the test packet having the same destination address as the destination address stored in the address memory is discarded by the MAC switch and is not looped back. However, in the conventional test method, the repeater performing the test can output the destination address only as a fixed address such as a broadcast address, so that the destination address stored in the address memory and the destination address of the test packet cannot be compared. Since it cannot be performed, there is a problem that the learning test cannot be performed on the destination address because the content of the address memory is unknown.

【0008】また、汎用的に使用されているリピータ
は、送信元アドレスを変更するという機能が無いため、
異なる送信元アドレスを有する複数の試験パケットを、
生成することができない。このため、従来の試験方式で
は、MACスイッチのアドレスメモリの容量分の宛先ア
ドレスが格納される程、宛先アドレスを記憶するアドレ
スメモリに、宛先アドレスを記憶させることができず、
上述した学習試験をアドレスメモリ全体に対して行うこ
とができないので、容量全てのメモリ素子が正常に動作
しているか否かの試験が行えないという欠点がある。
Further, since the repeater used for general purpose does not have the function of changing the source address,
Multiple test packets with different source addresses,
Cannot be generated. Therefore, in the conventional test method, the more the destination addresses corresponding to the capacity of the address memory of the MAC switch are stored, the more the destination addresses cannot be stored in the address memory that stores the destination addresses.
Since the above-described learning test cannot be performed on the entire address memory, there is a drawback in that it cannot be tested whether or not all the memory elements of the capacitors are operating normally.

【0009】さらに、従来の試験方式には、試験パケッ
トが固定長でありかつ固定パターンであること、またそ
の送信間隔が一定であることから、ランダムなパケット
長およびランダムなパターンの試験パケットをループバ
ックさせたり、試験パケットの送信量を調節したりし
て、より厳しいループバック試験を実施することはでき
ないという欠点もある。加えて、従来の試験方式では、
固定パターンの送信元アドレスが添付された試験パケッ
トが、定期的に(例えば、数100msec)に送信さ
れるため、期間をおいたループバック試験が行えず、所
定の期間(例えば、数分)にアドレスメモリの内容がリ
セットされるエージング機能の試験も行うことができな
いという欠点がある。
Further, in the conventional test method, since the test packet has a fixed length and a fixed pattern and the transmission interval is constant, the test packet having a random packet length and a random pattern is looped. There is also a drawback that a stricter loopback test cannot be performed by backing up or adjusting the transmission amount of the test packet. In addition, in the conventional test method,
A test packet with a fixed-pattern source address attached is sent periodically (for example, several hundred msec), so a loopback test with a certain period cannot be performed, and a predetermined period (for example, several minutes) is not possible. There is a drawback that the aging function that resets the contents of the address memory cannot be tested.

【0010】本発明はこのような背景の下になされたも
ので、ブリッジにおける送信先アドレスの学習機能の試
験が行え、ブリッジにおけるパケット長の処理や送信先
アドレスを記憶するメモリの記憶容量やエージングの試
験も行うことが可能なネットワークシステムを提供する
事にある。
The present invention has been made under such a background, and the test of the learning function of the destination address in the bridge can be performed, the processing of the packet length in the bridge and the storage capacity and aging of the memory for storing the destination address can be performed. The purpose is to provide a network system that can also be tested.

【0011】[0011]

【課題を解決するための手段】本発明のネットワークシ
ステムは、ユーザLAN(ユーザLAN・LU)と通信
事業者の広域LAN(キャリアネットワークLC)とを
光ファイバ伝送路(光ファイバ伝送路FB)を介して接
続するネットワークシステムであって、前記広域LAN
と前記光ファイバ伝送路との間に設けられ、伝送するデ
ータフレームを電気/光変換して転送する第1の光変換
装置(光変換リピータRE)と、前記ユーザLANと前
記光ファイバ伝送路との間に設けられ、伝送するデータ
フレームを電気/光変換し、そのデータフレームを媒体
アクセス制御により転送する第2の光変換装置(光変換
ブリッジBR)とを具備し、前記第1の光変換装置が、
前記第2の光変換装置との間のループバック試験を制御
する制御パケットと、ループバック試験に用いる、前記
データフレームと同様な構成の試験パケットとを生成
し、前記光ファイバ伝送路を介してこの第2の光変換装
置に送信するとともに、また、他の試験パケットを生成
する測定器(測定器M)を、前記広域LANに代えて接
続して、異なるループバック試験を行う試験制御手段
(制御部14)を有し、前記第2の光変換装置が、前記
第1の光変換装置からの制御パケットに基づいて、ユー
ザLANとの物理層終端点をループバック試験状態に設
定し、前記光ファイバ伝送路を介して受信した前記各試
験パケットのループバック処理を行うループ制御手段
(制御部6)を有することを特徴とする。
A network system of the present invention connects a user LAN (user LAN / LU) and a wide area LAN (carrier network LC) of a communication carrier with an optical fiber transmission line (optical fiber transmission line FB). A wide area LAN, which is a network system connected via
A first optical conversion device (optical conversion repeater RE), which is provided between the optical fiber transmission line and the optical fiber transmission line and electrically / optically converts a data frame to be transmitted, and the user LAN and the optical fiber transmission line. And a second optical conversion device (optical conversion bridge BR) which is provided between the optical conversion units and electrically / optically converts the transmitted data frame and transfers the data frame by medium access control. The device
A control packet for controlling a loopback test with the second optical conversion device and a test packet used for the loopback test and having the same configuration as the data frame are generated, and are generated via the optical fiber transmission line. A test control means for performing a different loopback test by connecting a measuring device (measuring device M) that transmits another test packet to the second optical conversion device instead of the wide area LAN ( A control unit 14), wherein the second optical conversion device sets the physical layer termination point with the user LAN to a loopback test state based on the control packet from the first optical conversion device, It is characterized by having a loop control means (control unit 6) for performing a loopback process of each of the test packets received via the optical fiber transmission line.

【0012】本発明のネットワークシステムは、前記第
1の光変換装置が、広域LANと接続される電気物理層
終端部(PHY−E・17)と、光ファイバ伝送路と接
続される光物理層終端部(PHY−O・11)と、前記
試験制御手段からの制御パケットを、前記光物理層終端
部を介して、前記第2の光変換装置へ送信し、該制御パ
ケットに対する、該第2の光変換装置からの応答パケッ
トの検出を行う制御パケット挿入検出手段(制御パケッ
ト挿入検出部12)と、前記試験制御手段からの試験パ
ケットを前記第2の光変換装置へ送信し、該第2の光変
換装置からループバックされる試験パケットを検出する
試験パケット挿入検出手段(試験パケット挿入検出部1
5)と、前記試験制御手段による制御に基づき、前記光
物理層終端部から前記電気物理層終端部へのパケットの
転送の許可/不許可の制御を行うデータ切替手段(デー
タ切替部25)とを有することを特徴とする。
In the network system of the present invention, the first optical conversion device has an electrical physical layer terminating unit (PHY-E · 17) connected to a wide area LAN and an optical physical layer connected to an optical fiber transmission line. A control packet from the terminating unit (PHY-O · 11) and the test control means is transmitted to the second optical conversion device via the optical physical layer terminating unit, and the second packet for the control packet is transmitted. Control packet insertion detection unit (control packet insertion detection unit 12) for detecting a response packet from the optical conversion device, and a test packet from the test control unit are transmitted to the second optical conversion device, Test packet insertion detection means (test packet insertion detection unit 1 for detecting a test packet looped back from the optical conversion device of FIG.
5), and a data switching unit (data switching unit 25) for controlling permission / non-permission of packet transfer from the optical physical layer termination unit to the electrical physical layer termination unit based on the control by the test control unit. It is characterized by having.

【0013】本発明のネットワークシステムは、前記試
験制御手段が、ループバック試験開始の起動パケット,
及び終了パケットを含む制御パケットと、試験パケット
とをそれぞれ生成するパケット生成手段と、前記起動パ
ケットに対する応答パケット,終了パケットに対する応
答パケット,及びループバックされる試験パケットの検
出を行うパケット検出手段と、ループバックされる試験
パケットと送信した試験パケットとが一致するか否かの
比較を行うパケット比較手段と、該比較手段の比較結果
を外部に報知する報知手段と、前記応答パケット,ルー
プバックされる試験パケットの前記広域LAN側への送
信を停止させるデータ切替通知手段とを有することを特
徴とする。
In the network system according to the present invention, the test control means includes a start packet for starting a loopback test,
Packet generating means for respectively generating a control packet including an end packet and a test packet, and a packet detecting means for detecting a response packet to the start packet, a response packet to the end packet, and a test packet to be looped back. Packet comparison means for comparing whether or not the test packet to be looped back and the transmitted test packet match, notification means for notifying the comparison result of the comparison means to the outside, the response packet, looped back Data switching notifying means for stopping the transmission of the test packet to the wide area LAN side.

【0014】本発明のネットワークシステムは、前記第
2の光変換装置が、前記ユーザLANとの間において、
物理層におけるパケット転送処理を行う電気物理層終端
部と、前記光ファイバ伝送路との間において、物理層に
おけるパケット転送処理を行う光物理層終端部と、該電
気物理層終端部及び光物理層終端部間に設けられ、各パ
ケットに含まれるMACアドレスに従い、このパケット
を転送するMACスイッチ(MACスイッチ2)と、該
MACスイッチと前記光物理層終端部との間に設けら
れ、前記第1の光変換装置からの制御パケットを検出し
て前記ループ制御手段に供給し、また該ループ制御手段
からの応答パケットを前記第1の光変換装置へ転送する
制御パケット挿入検出手段(制御パケット挿入検出手段
3)とを含むことを特徴とする。
In the network system of the present invention, the second optical conversion device is connected to the user LAN,
An optical physical layer termination unit for performing packet transfer processing in the physical layer and an optical physical layer termination unit for performing packet transfer processing in the physical layer between the optical fiber transmission line, and the electrical physical layer termination unit and optical physical layer The first switch is provided between the MAC switch and the optical physical layer terminating unit, which is provided between the terminating units and transfers the packet according to the MAC address included in each packet. Control packet insertion detection means (control packet insertion detection means) for detecting and supplying the control packet from the optical conversion device to the loop control means and transferring the response packet from the loop control means to the first optical conversion device. Means 3) are included.

【0015】本発明のネットワークシステムは、前記ル
ープ制御手段が、前記第1の光変換装置からの起動パケ
ット及び終了パケットを含む制御パケットを、それぞれ
検出するパケット検出手段と、該パケット検出手段にお
いて起動パケットもしくは終了パケットを検出したと
き、それぞれに対する応答パケットを生成するパケット
生成手段と、前記パケット検出手段において起動パケッ
トが検出されたとき、前記電気物理層終端部をループバ
ック状態に設定し、また終了パケットを受けたとき、ル
ープバック状態を解除するループ設定解除手段と、前記
起動パケット及び終了パケットを受けたときに、MAC
スイッチをリセットするリセット手段とを有することを
特徴とする。
In the network system of the present invention, the loop control means detects the control packet including the start packet and the end packet from the first optical conversion device, and the packet detection means starts the packet. When a packet or an end packet is detected, a packet generation means for generating a response packet for each packet, and when an activation packet is detected by the packet detection means, the electro-physical layer termination unit is set to a loopback state, and the end A loop setting releasing means for releasing the loopback state when receiving a packet, and a MAC when receiving the start packet and the end packet
And a reset means for resetting the switch.

【0016】本発明のネットワークシステム試験方法
は、上述したネットワークシステムにおけるパケットの
ループバック試験を行う試験方法であって、前記第1の
光変換装置から、ループバック試験を指示する起動パケ
ットを、前記光ファイバ伝送路を介して、前記第2の光
変換装置に送信する過程と、該起動パケットを受信した
第2の光変換装置において、ユーザLANとの電気物理
層終端部がループバック状態に設定される過程と、前記
起動パケットに対応し、第2の光変換装置から前記第1
の光変換装置に応答する応答パケットが、光ファイバ伝
送路を介して、第1の光変換装置に送信される過程と、
該応答パケットを受信した第1の光変換装置において、
所定のデータフレームと同様の構成の試験パケットが、
光ファイバ伝送路を介して、第2の光変換装置に送信さ
れる過程と、該試験パケットを受信した第2の光変換装
置において、その試験パケットをユーザLANとの電気
物理層終端部にて折り返して再び光ファイバ伝送路を介
して第1の光変換装置にループバックさせる過程と、第
1の光変換装置において、受信されるループバックされ
た試験パケットと、送信した試験パケットとが一致する
か否かを比較する過程と、その比較結果を外部に報知す
る過程と、該比較結果に応じて、前記測定器が前記第1
の光変換装置の電気物理層終端部に接続される過程と、
前記測定器から送信される任意の試験パケットが、光フ
ァイバ伝送路を介して、前記第2の光変換装置に送信さ
れる過程と、第2の光変換装置において、受信される試
験パケットを、ユーザLANとの電気物理層終端部にて
折り返し、再び光ファイバ伝送路を介して、第1の光変
換装置にループバックする過程と、前記測定器におい
て、受信される該試験パケットに基づき、前記第2の光
変換装置に対するループバック試験を行うことを特徴と
する。
The network system test method of the present invention is a test method for performing a loopback test of a packet in the above-mentioned network system, wherein the start packet for instructing the loopback test is sent from the first optical conversion device. In the process of transmitting to the second optical conversion device via the optical fiber transmission line, and in the second optical conversion device receiving the activation packet, the electro-physical layer termination unit with the user LAN is set to the loopback state. Corresponding to the activation packet and the activation packet,
A step of transmitting a response packet in response to the optical conversion device of 1 to the first optical conversion device via the optical fiber transmission line;
In the first optical conversion device that has received the response packet,
A test packet with the same structure as the predetermined data frame
In the process of being transmitted to the second optical conversion device via the optical fiber transmission line, and in the second optical conversion device receiving the test packet, the test packet is terminated at the electrical physical layer termination unit with the user LAN. The process of looping back and looping back again to the first optical conversion device via the optical fiber transmission line and the looped back test packet received in the first optical conversion device and the transmitted test packet match. The process of comparing whether or not the result of the comparison, the process of notifying the result of the comparison to the outside, and the measuring device according to the comparison result.
Connecting to the electrical physical layer termination of the optical converter of
A process in which an arbitrary test packet transmitted from the measuring device is transmitted to the second optical conversion device via an optical fiber transmission line, and a test packet received in the second optical conversion device, Based on the process of looping back at the end of the physical layer of the user LAN and looping back to the first optical conversion device via the optical fiber transmission line, and the test packet received by the measuring device, A loopback test is performed on the second light conversion device.

【0017】本発明のネットワークシステム試験方法
は、第2の光変換装置において、前記起動パケットに基
づいて、ユーザLANとの電気物理層終端部をループバ
ック状態に設定するとき、MACスイッチをリセットす
ることを特徴とする。
According to the network system testing method of the present invention, in the second optical conversion device, the MAC switch is reset when the electrical physical layer termination unit with the user LAN is set to the loopback state based on the start packet. It is characterized by

【0018】本発明のネットワークシステム試験方法
は、前記第1の光変換装置において、ループバック試験
が終了するとき、終了パケットを、光ファイバ伝送路を
介して、第2の光変換装置に送信する過程と、第2の光
変換装置において、受信される該終了パケットに基づ
き、ユーザLANとの電気物理層終端部のループバック
の設定を解除する過程と、前記終了パケットに対応する
応答パケットを、第2の光変換装置から光ファイバ伝送
路を介して、前記第1の光変換装置に送信し、通常のデ
ータ通信可能な状態に戻る過程と、前記第1の光変換装
置において、前記応答パケットの受信に基づき、通常の
データ通信可能な状態に戻る過程とを有することを特徴
とする。
In the network system test method of the present invention, when the loopback test is completed in the first optical conversion device, an end packet is transmitted to the second optical conversion device via the optical fiber transmission line. A process, a process of canceling the loopback setting of the electrical physical layer termination unit with the user LAN based on the received end packet in the second optical conversion device, and a response packet corresponding to the end packet. A process of transmitting from the second optical conversion device to the first optical conversion device via an optical fiber transmission line and returning to a normal data communicable state, and the response packet in the first optical conversion device. And a step of returning to a normal data communicable state based on the reception of.

【0019】本発明のネットワークシステム試験方法
は、第2の光変換装置において、前記終了パケットを受
信し、ユーザLANとの電気物理層終端部のループバッ
ク設定を解除するとき、MACスイッチをリセットする
ことを特徴とする。
According to the network system test method of the present invention, in the second optical conversion device, when the end packet is received and the loopback setting of the electric physical layer termination unit with the user LAN is released, the MAC switch is reset. It is characterized by

【0020】[0020]

【発明の実施の形態】以下、図面を参照して本発明の実
施形態について説明する。図1は本発明の一実施形態に
よるネットワークシステムの構成を示すブロック図であ
る。図1のLAN間接続システム(ネットワークシステ
ム)は、ユーザLANを光ファイバ伝送路FBを介して
通信事業者の広域LANなどのキャリアネットワークL
Cに接続する加入者アクセス系のユーザ・網インタフェ
ースであり、光ファイバ伝送路FBと、その局側に接続
された光変換リピータREと、宅内側に接続された光変
換ブリッジBRとを含んでいる。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a network system according to an embodiment of the present invention. The inter-LAN connection system (network system) of FIG. 1 is a carrier network L such as a wide area LAN of a telecommunications carrier via a user LAN via an optical fiber transmission line FB.
It is a user / network interface of a subscriber access system connected to C, and includes an optical fiber transmission line FB, an optical conversion repeater RE connected to the station side thereof, and an optical conversion bridge BR connected to the inside of the home. There is.

【0021】特に、本実施形態の特徴点は、局側の光変
換リピータREから光ファイバ伝送路FBを介して、宅
内側の光変換ブリッジBRにイーサネット(登録商標)
フレームのパケット長よりも短い起動パケットを供給
し、さらに、イーサネット(登録商標)フレームと同様
の固定パケット長及び固定パターンの構成の試験パケッ
トを送信して遠隔ループバック試験をし、かつ、局側の
光変換リピータREの電気インタフェース(電気物理層
終端部)に接続した測定器Mの送出する試験パケットを
送信し、遠隔ループバック試験をする本願特有のループ
バック試験方法を適用する試験機能を有することであ
る。
In particular, the feature of this embodiment is that the optical conversion repeater RE on the station side is connected to the optical conversion bridge BR on the inside of the home via the optical fiber transmission line FB and Ethernet (registered trademark).
A start packet shorter than the packet length of the frame is supplied, and a test packet having a fixed packet length and fixed pattern similar to that of the Ethernet (registered trademark) frame is transmitted to perform a remote loopback test. The optical conversion repeater RE has a test function for transmitting a test packet sent from the measuring instrument M connected to the electrical interface (electrical physical layer termination unit) and performing a remote loopback test by applying a loopback test method unique to the present application. That is.

【0022】ここで、ユーザLAN・LUは、本実施形
態では複数のパーソナルコンピュータなどのデータ端末
が接続された10Base−Tまたは100Base−
Tのイーサネット(登録商標)LANであり、本発明の
ネットワークシステム(LAN間接続システム)によ
り、広域LANのキャリアネットワークLCに接続され
ている。このユーザLAN・LUは、例えば、ルータR
Tやハブ等を介して、光変換ブリッジBRに接続されて
いる。一方、広域LANであるキャリアネットワークL
Cは、例えば数Gbpsの伝送帯域を有するイーサネッ
ト(登録商標)ベースの高速広帯域のLANであり、地
域毎に複数のユーザLANを収容し、また100Gbp
sクラスの基幹網を介して各地域に接続するWAN(wid
e area network) を形成している。このキャリアネット
ワークLCは、例えばルータRKやL2スイッチを介し
て光変換リピータREに接続されている。
In this embodiment, the user LAN / LU is a 10Base-T or 100Base-T to which data terminals such as a plurality of personal computers are connected.
It is an Ethernet (registered trademark) LAN of T, and is connected to a carrier network LC of a wide area LAN by a network system (inter-LAN connection system) of the present invention. This user LAN / LU is, for example, a router R
It is connected to the optical conversion bridge BR via T, a hub, or the like. On the other hand, a carrier network L that is a wide area LAN
C is, for example, an Ethernet (registered trademark) -based high-speed broadband LAN having a transmission band of several Gbps, accommodating a plurality of user LANs for each region, and 100 Gbp.
WAN (wid that connects to each area through s-class backbone network)
e area network). The carrier network LC is connected to the optical conversion repeater RE via a router RK or an L2 switch, for example.

【0023】ルータRT及びRKは、ネットワーク層レ
ベルのスイッチであり、たとえば本実施形態において伝
送するイーサネット(登録商標)フレーム中のIP(Int
ernet protocol)アドレスに従って経路を振り分けるL
AN間接続装置である。イーサネット(登録商標)フレ
ームは、図2に示すように、同期信号を表わすプリアン
ブルPAと、8ビットのフレーム開始デリミタSFD
と、隣接する次の宛先を表わす宛先MAC(media acces
s control)アドレスDAと、送信元アドレスを表わす送
信元MACアドレスSAと、データ長またはデータタイ
プを表わすレングスタイプLTと、IPヘッダを含む可
変長の送信データDTと、宛先MACアドレスDAから
データDTまでの長さが64オクテット未満の際に付加
されて64オクテットの長さに調整するパッドPAD
と、CRC(cyclic redundancycheck)符号などのフレー
ムのエラー検出のためのフレームチェックシーケンスF
CSとを有している。本実施形態のLAN間接続システ
ムは、宛先MACアドレスDAと、送信元MACアドレ
スSAと、レングスタイプLTとからなるイーサネット
(登録商標)ヘッダに基づいてそれぞれのイーサネット
(登録商標)フレームを転送するブリッジ方式のLAN
間接続システムである。
The routers RT and RK are switches at the network layer level, and for example, IP (Int) in an Ethernet (registered trademark) frame transmitted in this embodiment.
ernet protocol) L that distributes routes according to addresses
It is an inter-AN connection device. As shown in FIG. 2, the Ethernet (registered trademark) frame has a preamble PA indicating a synchronization signal and an 8-bit frame start delimiter SFD.
And the destination MAC (media acces
s control) address DA, source MAC address SA representing source address, length type LT representing data length or data type, variable length transmission data DT including IP header, destination MAC address DA to data DT Pad PAD that is added when the length up to is less than 64 octets and is adjusted to the length of 64 octets
And a frame check sequence F for detecting an error of a frame such as a CRC (cyclic redundancy check) code.
And CS. The LAN-to-LAN connection system according to the present embodiment is a bridge that transfers each Ethernet (registered trademark) frame based on an Ethernet (registered trademark) header including a destination MAC address DA, a source MAC address SA, and a length type LT. Method LAN
It is an inter-connection system.

【0024】次に、図3を用いて、一実施形態のネット
ワークシステムの構成例を詳細に説明する。光変換リピ
ータRE(第1の光変換装置)は、通信事業者側に設置
され、ルータRKからツイストペア線(より対線)など
の電気伝送路を介し、転送されるイーサネット(登録商
標)フレーム,及び光ファイバ伝送路FBを介して転送
される、ユーザLAN・LUからのイーサネット(登録
商標)フレームを、電気/光変換して相互に転送する。
光変換リピータREは、PHY−E・17(電気物理層
終端部)と、試験パケット挿入検出部15と、制御パケ
ット挿入検出部12と、データ切替部25と、PHY−
O・11(光物理層終端部)と、遠隔ループスイッチ部
19と、制御部14とを有している。
Next, a configuration example of the network system according to the embodiment will be described in detail with reference to FIG. The optical conversion repeater RE (first optical conversion device) is installed on the telecommunications carrier side, and is an Ethernet (registered trademark) frame transferred from the router RK through an electric transmission line such as a twisted pair line (twisted pair), And Ethernet (registered trademark) frames from the user LAN / LU transferred via the optical fiber transmission line FB are converted into electric / optical signals and transferred to each other.
The optical conversion repeater RE includes a PHY-E 17 (electrical physical layer terminating unit), a test packet insertion detecting unit 15, a control packet insertion detecting unit 12, a data switching unit 25, and a PHY-.
It has an O.11 (optical physical layer termination unit), a remote loop switch unit 19, and a control unit 14.

【0025】PHY−E・17は、ルータRKとの間で
送受信するイーサネット(登録商標)フレームを、終端
するレイヤ1(物理層)の終端回路であり、物理層デバ
イスを有し、10Base−Tまたは100Base−
Tのコネクタと、このコネクタと物理層デバイスとの間
の整合をとるトランスが設けられている。また、上記物
理層デバイスは、イーサネット(登録商標)フレームの
波形整形などの処理を行うデバイスである。PHY−O
・11は、光ファイバ伝送路FBとの間で送受信される
イーサネット(登録商標)フレームを終端するレイヤ1
の終端回路であり、電気/光変換回路を含む光ファイバ
伝送路FBとのラインインタフェースと、電気信号に変
換されたイーサネット(登録商標)フレームの波形整形
などの処理をする物理層デバイスとを有している。PH
Y−O・11とPHY−E・17とは、制御パケット挿
入検出部12,試験パケット挿入検出部15,及びデー
タ切替部25の直列接続を介して、それぞれ往路線2
0、復路線21により接続されている。
The PHY-E 17 is a layer 1 (physical layer) terminating circuit that terminates an Ethernet (registered trademark) frame transmitted to and received from the router RK, and has a physical layer device and 10Base-T. Or 100Base-
A T connector and a transformer are provided for matching between the connector and the physical layer device. Further, the physical layer device is a device that performs processing such as waveform shaping of an Ethernet (registered trademark) frame. PHY-O
11 is a layer 1 that terminates an Ethernet (registered trademark) frame transmitted to and received from the optical fiber transmission line FB
And a line interface with an optical fiber transmission line FB including an electric / optical conversion circuit, and a physical layer device that performs processing such as waveform shaping of an Ethernet (registered trademark) frame converted into an electric signal. is doing. PH
The YO-11 and the PHY-E-17 are respectively connected to the outgoing route 2 through the series connection of the control packet insertion detection unit 12, the test packet insertion detection unit 15, and the data switching unit 25.
0, connected by the return line 21.

【0026】試験パケット挿入検出部15は、遠隔ルー
プのループバック試験のとき、制御部14において生成
された試験パケットを、上記往路線20に挿入して、光
ファイバ伝送路FBへ送信し、またループバックされ、
光ファイバ伝送路FBから入力する(受信する)試験パ
ケットを、復路線21から制御部14に取り込ませる。
また、試験パケット挿入検出部15は、PHY−E・1
7からPHY−O・11への往路線20に設けられた、
切替スイッチである切替SW・16と、復路線21に共
通接続された検出線22とを有する。この切替SW・1
6は、切替SW・13をPHY−E・17に接続するか
(通常モード)、または制御部14と接続する(ループ
バックモード)かの切替を行う。
The test packet insertion detector 15 inserts the test packet generated by the controller 14 into the outgoing line 20 and transmits it to the optical fiber transmission line FB during the loopback test of the remote loop. Looped back,
The test packet input (received) from the optical fiber transmission line FB is taken into the control unit 14 from the return route 21.
In addition, the test packet insertion detection unit 15 is configured as PHY-E.
It was installed on the outgoing line 20 from 7 to PHY-O.11.
The switch SW 16 is a changeover switch, and the detection line 22 commonly connected to the return line 21. This switch SW-1
The switch 6 switches whether the switching SW 13 is connected to the PHY-E 17 (normal mode) or is connected to the control unit 14 (loopback mode).

【0027】制御パケット挿入検出部12は、遠隔ルー
プのループバック試験のとき、制御部14において生成
された制御パケットを、往路線20に挿入して、光ファ
イバ伝送路FBへ送信し、ユーザ宅内に設置された光変
換ブリッジBRからの応答パケットを、復路線21から
検出する。また、制御パケット挿入検出部12は、往路
線20に設けられた、切替スイッチである切替SW・1
3、復路線21に共通接続された検出線23とを有す
る。この切替SW・13は、PHY−O・11を制御部
14と接続する(ループバックモード)か、切替SW・
16と接続する(通常モード)かの切替を行う。
The control packet insertion detection unit 12 inserts the control packet generated by the control unit 14 into the outgoing line 20 and transmits it to the optical fiber transmission line FB at the time of the loopback test of the remote loop. The response packet from the optical conversion bridge BR installed at is detected from the return route 21. In addition, the control packet insertion detection unit 12 is provided with a changeover switch, which is a changeover switch, provided on the outgoing route 20.
3 and the detection line 23 commonly connected to the return line 21. The switching SW 13 connects the PHY-O 11 to the control unit 14 (loopback mode) or the switching SW 13
The connection with 16 (normal mode) is switched.

【0028】データ切替部25は、遠隔ループのループ
バック試験のとき、制御パケット挿入検出部12から送
信した制御パケットに対応して応答される応答パケッ
ト、すなわちユーザ宅内の光変換ブリッジBRから送信
される応答パケットと、ループバックされた試験パケッ
トとを、PHY−E・17に転送するか否かの制御を行
う。また、データ切替部25は、PHY−O・11とP
HY−E・17との間に介挿された、切替スイッチであ
る切替SW・24を有している。
The data switching unit 25 responds to the control packet transmitted from the control packet insertion detection unit 12 during the loopback test of the remote loop, that is, the response packet transmitted from the optical conversion bridge BR in the user's house. Control packet and the looped back test packet are controlled to be transferred to the PHY-E17. In addition, the data switching unit 25 includes PHY-O / 11 and P.
It has a changeover SW 24 which is a changeover switch and is interposed between the HY-E 17 and the HY-E 17.

【0029】遠隔ループSW部19は、制御部14に対
して、遠隔ループのループバック試験の起動と終了とを
テストスイッチを用いて指示する部位であり、本実施形
態においてはこのテストスイッチの押下により、オン状
態となりループバック試験を開始し、このテストスイッ
チの復旧(押上)により、スイッチがオフ状態となり、
ループバック試験を終了する制御信号を制御部14へ出
力する。
The remote loop SW section 19 is a section for instructing the control section 14 to start and end the loopback test of the remote loop by using a test switch. In this embodiment, the test switch is pressed. By this, it will be in the ON state and the loopback test will be started.
A control signal for ending the loopback test is output to the control unit 14.

【0030】制御部14は、主に、遠隔ループのループ
バック試験のとき、光変換リピータRE各部の制御を行
い、上記テストスイッチの押下,または図示しないリモ
ート制御装置からの制御により、ループバック試験を実
行する。このループバック試験の結果は、複数のLED
から構成されるLED(light emitting diode)部18に
おいて、処理結果に対応したLEDの点灯または上記リ
モート制御装置への通知により報知される。
The control section 14 mainly controls each section of the optical conversion repeater RE during the loopback test of the remote loop, and presses down the test switch or controls from a remote control device (not shown) to perform the loopback test. To execute. The result of this loopback test is multiple LEDs
In the LED (light emitting diode) unit 18 configured by, the notification is given by turning on the LED corresponding to the processing result or by notifying the remote control device.

【0031】ここで、図4を用いて、光変換リピータR
Eにおける制御部14の説明を行う。図4は制御部14
の構成例を示すブロック図が示されている。この図にお
いて、スイッチ検出部35は、遠隔ループのループバッ
ク試験のとき、テストスイッチのオン/オフを検出し、
この検出結果をパケット生成部32,タイマ設定部3
3,LED制御部36,およびPHY−O→PHY−E
転送制御部34へそれぞれ出力する。パケット生成部3
2は、起動パケットおよび終了パケットを含む、光変換
ブリッジBRをループバック試験に対応したモードとな
るように制御する制御パケットと、ループバック試験に
用いる試験パケットとを生成する。
Here, referring to FIG. 4, the optical conversion repeater R
The control unit 14 in E will be described. FIG. 4 shows the control unit 14.
A block diagram showing a configuration example of the above is shown. In this figure, the switch detection unit 35 detects ON / OFF of the test switch during the loopback test of the remote loop,
This detection result is used as the packet generation unit 32 and the timer setting unit 3
3, LED control unit 36, and PHY-O → PHY-E
The data is output to the transfer control unit 34. Packet generator 3
2 generates a control packet including an activation packet and an end packet for controlling the optical conversion bridge BR to be in a mode corresponding to the loopback test, and a test packet used for the loopback test.

【0032】また、パケット生成部32は、スイッチ検
出部35,タイマ設定部33からのタイミング信号、お
よびパケット検出部30からの制御信号により所定の順
序により、各パケットの生成を行う。ここで、試験パケ
ットは、図2に示すイーサネット(登録商標)フレーム
と同様のフォーマット(構成)により生成され、その宛
先MACアドレスDAとして同報を表わすブロードキャ
ストアドレスが付与され、送信元MACアドレスSAと
して自装置のアドレスが付与され、データDTとして例
えば「11001100」等の繰り返しによる64by
teのデータパターンが付与されている。また、試験パ
ケットは、本実施形態において所定の間隔により、設定
によるが最大16回送信される。
Further, the packet generator 32 generates each packet in a predetermined order according to the timing signal from the switch detector 35, the timer setting unit 33, and the control signal from the packet detector 30. Here, the test packet is generated in the same format (configuration) as the Ethernet (registered trademark) frame shown in FIG. 2, a broadcast address representing the broadcast is given as its destination MAC address DA, and a source MAC address SA is given. The address of the own device is given, and as data DT, for example, 64 by repeating “11001100” or the like.
A data pattern of te is added. In addition, the test packet is transmitted up to 16 times at a predetermined interval in this embodiment, although it depends on the setting.

【0033】一方、制御パケットは、イーサネット(登
録商標)フレームよりも短いパケット長に形成され、た
とえば図2に示すように、宛先MACアドレスDAとし
て同報を表わすブロードキャストアドレスが付与され、
送信元MACアドレスSAとして自装置のアドレスが付
与されて、例えばデータDTとして起動パケットが「0
001」の繰り返しによる4byteのデータパターン
が付与されて、終了パケットが「0011」の繰り返し
による4byteのパターンが付与されている。上記起
動パケットおよび終了パケットは、本実施形態では所定
の間隔により、設定によるが最大4回送出される。
On the other hand, the control packet is formed to have a shorter packet length than the Ethernet (registered trademark) frame, and is given a broadcast address representing broadcast as the destination MAC address DA as shown in FIG. 2, for example.
The address of the own device is given as the source MAC address SA, and, for example, the activation packet is "0" as the data DT.
A 4-byte data pattern is provided by repeating "001", and a 4-byte pattern is provided by repeating the packet "0011". In the present embodiment, the start packet and the end packet are transmitted up to four times at a predetermined interval, depending on the setting.

【0034】図4に戻り、タイマ設定部33は、パケッ
ト生成部32に起動パケット、終了パケット及び試験パ
ケットの送出タイミングと、送信タイムアウト時間とを
供給し、またパケット検出部30での起動ACKパケッ
トおよび終了ACKパケットの受信タイムアウト時間
(この間に送信したパケットに対する応答が帰ってこな
いと異常と検出する時間)とパケット比較部31での試
験パケットの受信タイムアウト時間を設定するタイマ回
路である。LED制御部36は、ループバック試験のと
き、LED部18(図3)の点灯を制御し、光変換ブリ
ッジBRから、起動パケットに対する応答である起動A
CKパケットの受信が検出された場合、LED部18に
おいて試験中を表わす黄色のLEDを点灯させる。
Returning to FIG. 4, the timer setting unit 33 supplies the packet generation unit 32 with the transmission timing of the start packet, the end packet, and the test packet, and the transmission timeout time, and the start ACK packet in the packet detection unit 30. And a timer circuit for setting the reception timeout time of the end ACK packet (time to detect an abnormality if the response to the packet transmitted during this period is not returned) and the reception timeout time of the test packet in the packet comparison unit 31. The LED control unit 36 controls the lighting of the LED unit 18 (FIG. 3) during the loopback test, and activates A which is a response to the activation packet from the optical conversion bridge BR.
When the reception of the CK packet is detected, the yellow LED indicating that the test is in progress is turned on in the LED section 18.

【0035】また、LED制御部36は、パケット比較
部31において試験パケットが正常に受信されたと判定
されたとき、すなわち、パケット生成部32にて生成お
よび出力した例えば16個の試験パケットが、パケット
比較部にて全て正常に検出されたとき、パケット比較部
31からの通知に従ってLED部18において緑のLE
Dを点灯させる。一方、LED制御部36は、パケット
検出部30において起動ACKパケット及び終了ACK
パケットが正常に受信されなかったときや、パケット比
較部31において試験パケットが正常に受信されなかっ
たとき、LED部18において異常を示す赤のLEDを
点灯させる。そして、LED制御部36は、ループバッ
ク試験が終了となったき、すなわち、パケット検出部3
0において、終了ACKパケットが正常に受信されたと
きLED部18の全てのLEDを消灯させる。
Further, when the packet comparison unit 31 determines that the test packet is normally received, the LED control unit 36 determines that, for example, 16 test packets generated and output by the packet generation unit 32 are packet packets. When all are normally detected by the comparison unit, the LED unit 18 displays the green LE according to the notification from the packet comparison unit 31.
Turn on D. On the other hand, the LED control unit 36 causes the packet detection unit 30 to activate the start ACK packet and the end ACK.
When the packet is not normally received or when the test packet is not normally received by the packet comparison unit 31, the red LED indicating the abnormality is turned on in the LED unit 18. Then, when the loopback test ends, that is, the LED control unit 36, that is, the packet detection unit 3
At 0, when the end ACK packet is normally received, all the LEDs of the LED unit 18 are turned off.

【0036】パケット検出部30は、ループバック試験
時において、ユーザ宅内に設置された光変換ブリッジB
Rから応答される起動ACKパケット及び終了ACKパ
ケット、及びパケット生成部32から出力され光変換ブ
リッジBRからループバックされた試験パケットを検出
する。また、パケット検出部30は、起動ACKパケッ
トの検出結果をパケット生成部32,LED制御部3
6,およびタイマ設定部33に通知し、終了ACKパケ
ットの検出結果をタイマ設定部33,LED制御部3
6,及びPHY−O→PHY−E転送制御部34に通知
し、また検出した試験パケットをパケット比較部31に
転送する。
The packet detection unit 30 is an optical conversion bridge B installed in the user's home during the loopback test.
The start ACK packet and the end ACK packet responded from R, and the test packet output from the packet generation unit 32 and looped back from the optical conversion bridge BR are detected. Further, the packet detection unit 30 sends the detection result of the activation ACK packet to the packet generation unit 32 and the LED control unit 3.
6, and the timer setting unit 33, and the detection result of the end ACK packet is detected by the timer setting unit 33 and the LED control unit 3.
6, and PHY-O → PHY-E transfer control unit 34 is notified, and the detected test packet is transferred to the packet comparison unit 31.

【0037】パケット検出部30は、受信した起動AC
Kパケット及び終了ACKパケットがあらかじめ設定さ
れたデータパターンか否かの判定を行い、起動ACKパ
ケットが予め設定されたパターンである場合に、LED
制御部36に対して、正常に起動ACKパケットを受信
したことを示す黄色のLEDを点灯させる制御信号を出
力する。また、パケット検出部30は、起動ACKパケ
ット及び終了パケットが予め設定されたパターンで無い
場合に、LED制御部36に対して、正常に起動ACK
パケット及び終了ACKパケットを受信できないことを
示す赤色のLEDを点灯させる制御信号を出力する。
The packet detection unit 30 receives the activation AC received.
It is determined whether the K packet and the end ACK packet have a preset data pattern, and when the activation ACK packet has the preset pattern, the LED
A control signal for turning on the yellow LED indicating that the activation ACK packet is normally received is output to the control unit 36. Also, the packet detection unit 30 normally activates the activation ACK to the LED control unit 36 when the activation ACK packet and the termination packet do not have a preset pattern.
A control signal for turning on the red LED indicating that the packet and the end ACK packet cannot be received is output.

【0038】パケット検出部30は、タイマ設定部33
から、タイマ設定部において計時されている起動パケッ
ト及び終了パケットを送信したときから起動ACKパケ
ット及び終了ACKパケットを受信するまでのタイムア
ウト時間を通知する信号を受信しており、応答される起
動ACKパケット及び終了ACKパケットが、タイムア
ウト時間内に検出されていない場合にも、LED制御部
36に対して、正常に起動ACKパケット及び終了AC
Kパケットを受信できないことを示す赤色のLEDを点
灯させる制御信号を出力する。パケット検出部30が、
LED制御部36に対して赤色のLEDを点灯させる制
御信号を出力するとき、すなわち起動ACKパケットお
よび終了ACKパケットを正常に受信できないとき、P
HY−O→PHY−E転送制御部34に対してSW・2
4をオン状態とする制御信号を出力する。同様に、終了
ACKパケットを正常に受信した場合もPHY−O→P
HY−E転送制御部34に対してSW・24をオン状態
とする信号を通知する。
The packet detecting section 30 includes a timer setting section 33.
, A signal notifying a time-out period from when the start packet and the end packet being timed by the timer setting unit are transmitted to the reception of the start ACK packet and the end ACK packet is received, and the start ACK packet to be responded is received. Even when the end ACK packet and the end ACK packet are not detected within the timeout time, the LED control unit 36 is normally activated by the start ACK packet and the end AC.
A control signal for turning on the red LED indicating that the K packet cannot be received is output. The packet detector 30
When outputting the control signal for turning on the red LED to the LED control unit 36, that is, when the activation ACK packet and the termination ACK packet cannot be received normally, P
SW-2 for the HY-O → PHY-E transfer control unit 34
A control signal for turning ON 4 is output. Similarly, when the end ACK packet is normally received, PHY-O → P
The HY-E transfer control unit 34 is notified of a signal for turning on the SW · 24.

【0039】パケット比較部31は、パケット生成部3
2から送出された試験パケットのパターンと、光変換ブ
リッジBRからループバックされた試験パケットのパタ
ーンとが一致するか否かの比較を行い、かつ、ループバ
ックされた試験パケットを受信した数をカウントする。
また、パケット比較部31は、比較の結果が一致した場
合、内部のカウンタにて、一致した試験パケットの受信
回数をカウントして、このカウントした値が送信した試
験パケット数と同一であるとき、例えば、受信した数が
16回であり、一致した試験パケットの数が16である
とき、LED制御部36及びリモート制御装置に対し
て、試験結果が正常であることを示す信号を通知する。
パケット比較部31は、タイマ設定部33から、タイマ
設定部において計時されているパケット生成部32から
16個目の試験パケットが送信されたときから、16個
目の試験パケットを検出するまでのタイムアウト時間を
通知する信号を受信しており、このタイムアウト時間ま
でに、16個の試験パケットを受信できない場合は、L
ED制御部36及びリモート制御装置に対して、試験結
果が異常であることを示す信号を通知する。
The packet comparison unit 31 is the packet generation unit 3
2 compares the pattern of the test packet sent from 2 and the pattern of the test packet looped back from the optical conversion bridge BR, and counts the number of received loopback test packets. To do.
When the comparison results match, the packet comparison unit 31 counts the number of times of reception of the matched test packet with an internal counter, and when the counted value is the same as the number of transmitted test packets, For example, when the number of received packets is 16 and the number of matched test packets is 16, the LED control unit 36 and the remote control device are notified of a signal indicating that the test result is normal.
The packet comparison unit 31 performs a time-out from when the 16th test packet is transmitted from the packet generation unit 32, which is timed by the timer setting unit 33, until the 16th test packet is detected. If a signal notifying time is received and 16 test packets cannot be received by this timeout time, L
A signal indicating that the test result is abnormal is notified to the ED control unit 36 and the remote control device.

【0040】さらに、パケット比較部31は、試験結果
が判定されたとき、その結果が正常であるか異常である
かに関わらず、PHY−O→PHY−E転送制御部34
へ切替SW・24をオン状態とする制御信号を出力し、
すなわちPHY−O・11からPHY−E・17に対す
るデータ送信停止の解除を通知する。PHY−O→PH
Y−E転送制御部34は、ループバック試験のとき、ス
イッチ検出部35からのループバック試験開始または終
了を示す信号が入力されることにより、PHY−O・1
1からPHY−E・17へのデータ送信を停止させるた
め、オフ状態とする制御信号を切替SW24に出力し、
ユーザ宅内の光変換ブリッジBRから送信される起動A
CKパケットと終了ACKパケット、およびパケット生
成部32により出力されループバックされた試験パケッ
トがPHY−E・17へ転送されるのを防止する。ま
た、PHY−O→PHY−E転送制御部34は、パケッ
ト比較部31あるいはパケット検出部30からのデータ
送信停止の解除通知に従って、PHY−O・11からP
HY−E・17へのデータ送信を復旧させるため、オン
状態とする制御信号を切替SW・24に出力する。
Further, when the test result is judged, the packet comparison unit 31 irrespective of whether the test result is normal or abnormal, the PHY-O → PHY-E transfer control unit 34.
Output a control signal to switch the switch SW-24 to the ON state,
That is, PHY-O.11 notifies PHY-E.17 of cancellation of the data transmission stop. PHY-O → PH
During the loopback test, the Y-E transfer control unit 34 receives the signal indicating the start or the end of the loopback test from the switch detection unit 35, so that the PHY-O.
In order to stop the data transmission from 1 to PHY-E · 17, the control signal to be turned off is output to the switching SW 24,
Activation A transmitted from the optical conversion bridge BR in the user's house
The CK packet, the end ACK packet, and the test packet output by the packet generation unit 32 and looped back are prevented from being transferred to the PHY-E · 17. Further, the PHY-O → PHY-E transfer control unit 34 follows the PHY-O.11 to P control in response to the data transmission stop release notification from the packet comparison unit 31 or packet detection unit 30.
In order to restore the data transmission to the HY-E.17, the control signal for turning it on is output to the switching SW.24.

【0041】図3に戻り、光変換ブリッジBRは、ユー
ザ宅内に設置され、ユーザLAN。LUのルータRTか
らのイーサネット(登録商標)フレーム,及び光ファイ
バ伝送路FBを介して転送されたキャリアネットワーク
LCからのイーサネット(登録商標)フレームを、各イ
ーサネット(登録商標)フレームに付されたMACアド
レスに従い、相互のLANに転送するMACブリッジで
ある。光変換ブリッジBRは、ルータRTからのより対
線などの電気伝送路と光ファイバ伝送路FBとの間にお
いて、イーサネット(登録商標)フレームの電気/光変
換を行い、媒体アクセス制御を行う。光変換ブリッジB
Rは、PHY−O・5(光物理層終端部)と、制御パケ
ット挿入検出部3と、MACスイッチ2と、PHY−E
・1(電気物理層終端部)と、制御部6とを有してい
る。
Returning to FIG. 3, the optical conversion bridge BR is installed in the user's house and is the user LAN. An Ethernet (registered trademark) frame from the router RT of the LU and an Ethernet (registered trademark) frame from the carrier network LC transferred through the optical fiber transmission line FB are attached to each Ethernet (registered trademark) frame. It is a MAC bridge that transfers to a mutual LAN according to an address. The optical conversion bridge BR performs electric / optical conversion of an Ethernet (registered trademark) frame between the electric transmission line such as a twisted pair from the router RT and the optical fiber transmission line FB, and performs medium access control. Optical conversion bridge B
R is PHY-O.5 (optical physical layer termination unit), control packet insertion detection unit 3, MAC switch 2, and PHY-E.
-1 (electrical physical layer termination unit) and a control unit 6 are included.

【0042】PHY−O・5は、光ファイバ伝送路FB
との間において、送受信するイーサネット(登録商標)
フレームを終端するレイヤ1の終端回路であり、電気/
光変換回路を含む光ファイバ伝送路FBとのラインイン
タフェースと、電気信号に変換されたイーサネット(登
録商標)フレームの波形整形などの処理をする物理層デ
バイスとを有している。ここで、上記物理層デバイス
は、制御パケット挿入検出部3を介して、往路線8及び
復路線9によりMACスイッチ2に接続されている。
PHY-O.5 is an optical fiber transmission line FB
Ethernet (registered trademark) for sending and receiving to and from
It is a layer 1 termination circuit that terminates the frame, and
It has a line interface with an optical fiber transmission line FB including an optical conversion circuit, and a physical layer device for performing processing such as waveform shaping of an Ethernet (registered trademark) frame converted into an electric signal. Here, the physical layer device is connected to the MAC switch 2 by the outward route 8 and the backward route 9 via the control packet insertion detection unit 3.

【0043】制御パケット挿入検出部3は、遠隔ループ
のループバック試験のとき、局内に設置された光変換リ
ピータREからの起動パケットを、往路線8から検出す
る。また、制御パケット挿入検出部3は、制御部6にお
いて生成された起動ACKパケット及び終了ACKパケ
ットを復路線9に挿入する。制御バケット挿入検出部3
は、光物理層終端部5からMACスイッチ2への往路線
に共通接続された検出線10と、MACスイッチ2とP
HY−O・5との間の復路線9に介挿された、切替スイ
ッチである切替SW・4とを有している。MACスイッ
チ2は、イーサネット(登録商標)フレームに付されて
いるMACアドレスに従い、イーサネット(登録商標)
フレームを転送する転送処理を行い、またユーザLAN
・LUの帯域に応じて、10Base−T及び100B
ase−Tの切り替えを行う。このMACスイッチ2
は、往路線8および復路線9によりPHY−E・1に接
続されている。
The control packet insertion detector 3 detects the start packet from the optical conversion repeater RE installed in the station from the outgoing line 8 during the loopback test of the remote loop. Further, the control packet insertion detection unit 3 inserts the start ACK packet and the end ACK packet generated by the control unit 6 on the return route 9. Control bucket insertion detector 3
Is the detection line 10 commonly connected to the outward route from the optical physical layer termination unit 5 to the MAC switch 2, and the MAC switch 2 and P
It has a changeover switch SW4, which is a changeover switch, which is inserted on the return line 9 between the HY-O5 and the HY-O5. The MAC switch 2 uses the Ethernet (registered trademark) according to the MAC address attached to the Ethernet (registered trademark) frame.
Transfer processing to transfer frames, user LAN
-10Base-T and 100B depending on the LU bandwidth
switching of ase-T. This MAC switch 2
Is connected to PHY-E.1 by an outbound route 8 and a return route 9.

【0044】PHY−E・1は、ルータRTとの間で送
受信するイーサネット(登録商標)フレームを、終端す
るレイヤ1の終端回路であり、物理層デバイスを有し、
10/100Base−Tのコネクタと、このコネクタ
及び物理層デバイスの間の整合をとるトランスを有す
る。また、上記物理層デバイスは、イーサネット(登録
商標)フレームの波形整形などの処理を行うデバイスで
ある。特に、PHY−E・1における物理層デバイス
は、ループバック試験のときに、制御部6の制御の下に
試験パケットが外部(ルータRT等)に送出されないよ
うに、折り返し経路を形成するループバックモードを有
している。
The PHY-E.1 is a layer 1 termination circuit that terminates an Ethernet (registered trademark) frame transmitted to and received from the router RT, and has a physical layer device.
It has a 10/100 Base-T connector and a transformer for matching between the connector and the physical layer device. Further, the physical layer device is a device that performs processing such as waveform shaping of an Ethernet (registered trademark) frame. In particular, the physical layer device in PHY-E.1 has a loopback that forms a loopback path so that the test packet is not sent to the outside (router RT, etc.) under the control of the control unit 6 during the loopback test. Have a mode.

【0045】制御部6は、局内に設置された光変換リピ
ータREからのループバック試験のとき、PHY−E・
1に対してループバックモードにするか否かの制御をす
る。また、制御部6は、光変換リピータREからの起動
パケットの受信により、ループバック試験におけるルー
プバック制御の開始を実行するとともに、LED・7を
点灯、または点滅させることで、ループバック試験中で
あることを外部に報知する。さらに、制御部6は、光変
換リピータREからの終了パケットの受信により、ルー
プバック試験におけるループバック制御の終了処理を実
行するとともに、LED・7を消灯させ、または点滅を
停止させることで、ループバック試験が終了したことを
外部に報知する。
The control unit 6 controls the PHY-E.multidot. During the loopback test from the optical conversion repeater RE installed in the station.
Controls whether or not the loopback mode is set for 1. Further, the control unit 6 executes the loopback control in the loopback test by receiving the activation packet from the optical conversion repeater RE, and turns on or blinks the LED 7 to perform the loopback test. Notify outside that there is. Further, the control unit 6 receives the end packet from the optical conversion repeater RE, executes the end process of the loopback control in the loopback test, turns off the LED 7 or stops the blinking, and The outside is notified that the back test is completed.

【0046】次に、図5を用いて、図3における制御部
6を詳細に説明する。図5は、制御部6の構成例を示す
ブロック図である。この図において、パケット検出部5
6は、連続して入力される例えば3個の起動パケット
が、各々、予め決められたデータパターンと一致するこ
とを検出すると、起動パケットの入力を検出したことを
示す起動検出信号をパケット生成部54,タイマ設定部
55,MACスイッチ設定部53,PHY設定部51,
LED制御部52へ出力する。また、パケット検出部5
6は、連続して入力される例えば3個の終了パケット
が、各々、予め決められたデータパターンと一致するこ
とを検出すると、終了パケットの入力を検出したことを
示す終了検出信号をパケット生成部54,タイマ設定部
55,MACスイッチ設定部53,PHY設定部51,
LED制御部52へ出力する。
Next, the control unit 6 in FIG. 3 will be described in detail with reference to FIG. FIG. 5 is a block diagram showing a configuration example of the control unit 6. In this figure, the packet detector 5
The packet generator 6 outputs a start detection signal indicating that the input of the start packet has been detected when detecting that, for example, three continuously input start packets each match a predetermined data pattern. 54, timer setting unit 55, MAC switch setting unit 53, PHY setting unit 51,
Output to the LED control unit 52. Also, the packet detector 5
The packet generator 6 outputs an end detection signal indicating that the input of end packets has been detected, when it is detected that, for example, three end packets that are continuously input each match a predetermined data pattern. 54, timer setting unit 55, MAC switch setting unit 53, PHY setting unit 51,
Output to the LED control unit 52.

【0047】PHY設定部51は、ループバック試験開
始のとき、すなわち、パケット検出部56から、起動パ
ケットを検出したことを示す起動検出信号が入力される
ことにより、PHY−E・1における物理層デバイス
を、全二重モードかつループバックモードに設定する。
また、PHY設定部51は、ループバック試験終了のと
き、すなわち、パケット検出部56から、終了パケット
を検出したことを示す終了検出信号が入力されることに
より、PHY−E・1における物理層デバイスをループ
バック試験におけるループバックモードから通常モード
に戻す。
The PHY setting unit 51 starts the loopback test, that is, the start detection signal indicating that the start packet is detected is input from the packet detection unit 56, so that the physical layer in the PHY-E-1 is Set the device to full-duplex mode and loopback mode.
Further, the PHY setting unit 51 receives the end detection signal indicating that the end packet has been detected at the end of the loopback test, that is, from the packet detection unit 56, so that the physical layer device in PHY-E. Return from the loopback mode in the loopback test to the normal mode.

【0048】MACスイッチ設定部53は、パケット検
出部56から、上記起動検出信号が入力され、タイマ設
定部55からタイムアウト信号(後述)が入力されない
とき、MACスイッチ2をリセットし、MACスイッチ
2のアドレステーブルをクリアし、通信モードを全二重
モードに設定する。一方、MACスイッチ設定部53
は、パケット検出部56から、上記終了検出信号が入力
されることにより、MACスイッチ2をリセットし、再
度そのアドレステーブルをクリアして、ループバックモ
ードから通常モードに戻す。
The MAC switch setting unit 53 resets the MAC switch 2 when the activation detection signal is input from the packet detection unit 56 and a timeout signal (described later) is not input from the timer setting unit 55, and the MAC switch setting unit 53 resets the MAC switch 2. Clear the address table and set the communication mode to full-duplex mode. On the other hand, the MAC switch setting unit 53
When the end detection signal is input from the packet detection unit 56, the MAC switch 2 is reset, its address table is cleared again, and the loopback mode is returned to the normal mode.

【0049】パケット生成部54は、パケット検出部5
6から、起動検出信号が入力されることにより、この起
動パケットに対応して、返送する起動ACKパケットを
生成する。また、パケット生成部54は、パケット検出
部56から、終了検出信号が入力されることにより、こ
の終了パケットに対応して、返送する終了ACKパケッ
トを生成する。ここで、パケット生成部54は、タイマ
設定部55からのタイミング信号、またはパケット検出
部56からの指示によりそれぞれのパケットを生成す
る。
The packet generation unit 54 includes a packet detection unit 5
By inputting the start detection signal from 6, the start ACK packet to be returned is generated corresponding to this start packet. Further, the packet generation unit 54 receives the end detection signal from the packet detection unit 56, and thus generates an end ACK packet to be returned in response to this end packet. Here, the packet generation unit 54 generates each packet according to the timing signal from the timer setting unit 55 or the instruction from the packet detection unit 56.

【0050】起動ACKパケットは、イーサネット(登
録商標)フレームよりも短いパケット長に形成されて、
図2に示すように、宛先MACアドレスDAとして同報
を表わすブロードキャストアドレスが付与され、送信元
MACアドレスSAとして自装置のアドレスが付与さ
れ、データDTとして例えば「0010」の繰り返しに
よる4byteのパターンが付与される。同様に、終了
ACKパケットは、イーサネット(登録商標)フレーム
よりも短いパケット長に形成されて、図2に示すよう
に、宛先MACアドレスDAとして同報を表わすブロー
ドキャストアドレスが付与され、送信元MACアドレス
SAとして自装置のアドレスが付与されて、データDT
として例えば「0100」の繰り返しによる4byte
のパターンが付与される。起動ACKパケットおよび終
了ACKパケットは、タイマ設定部55から出力される
タイミングに基づき、所定の間隔により、起動パケット
及び終了パケットに対応して設定により異なるが最大4
回送出される。
The activation ACK packet is formed to have a shorter packet length than the Ethernet (registered trademark) frame,
As shown in FIG. 2, the destination MAC address DA is given a broadcast address representing broadcast, the source MAC address SA is given the address of the own device, and the data DT is a 4-byte pattern formed by repeating “0010”, for example. Granted. Similarly, the end ACK packet is formed to have a packet length shorter than that of the Ethernet (registered trademark) frame, and as shown in FIG. 2, a broadcast address representing the broadcast is added as the destination MAC address DA, and the source MAC address. The address of the own device is given as SA, and the data DT
For example, 4 bytes by repeating “0100”
Pattern is added. The start ACK packet and the end ACK packet differ depending on the setting based on the timing output from the timer setting unit 55 at a predetermined interval, corresponding to the start packet and the end packet.
It is sent out once.

【0051】図5に戻り、タイマ設定部55は、起動パ
ケットまたは終了パケットが入力されることにより、一
定時間後に、一定時間の周期で、パケット生成部54に
対して、起動ACKパケットまたは終了ACKパケット
の送出タイミング信号を供給する。すなわち、パケット
生成部54は、開始検出信号または終了検出信号が入力
されると、これらの検出信号の入力に基づき、各々対応
して、上記タイミング信号により合計4個の起動ACK
パケットまたは終了ACKパケットを、切替SW・4を
介して、光変換リピータへ送信する。
Returning to FIG. 5, the timer setting unit 55 receives the activation packet or the termination packet, and after a certain period of time, the timer setting unit 55 instructs the packet generation unit 54 to activate the activation ACK packet or the termination ACK. Supplies a packet transmission timing signal. That is, when the start detection signal or the end detection signal is input, the packet generation unit 54 responds to the input of these detection signals, respectively, and corresponding to the above-mentioned timing signals, a total of four start ACKs.
The packet or the end ACK packet is transmitted to the optical conversion repeater via the switching SW-4.

【0052】また、タイマ設定回路55は、パケット検
出部56から、開始検出信号及び終了検出信号だけでな
く、1個目及び3個目の開始パケット及び終了パケット
が検出される毎に、各々の検出信号が入力され、1回目
の起動パケット(または終了パケット)の検出から3回
目の起動パケット(または終了パケット)の検出まで
に、設定された所定の時間を超過した場合、PHY設定
部51及びMACスイッチ設定部53に対して、タイム
アウト信号を供給する。LED制御部52は、パケット
検出部56からの各検出信号により、LED7の点灯及
び点滅を制御する。すなわち、LED制御部52は、パ
ケット検出部56から、開始検出信号が入力されること
により、試験中を表わす黄色のLEDであるLED7を
点灯させ、終了検出信号が入力されることにより、この
LED7を消灯する。
Further, the timer setting circuit 55 detects each not only the start detection signal and the end detection signal but also the first and third start packets and end packets from the packet detection unit 56. When the detection signal is input and the set predetermined time is exceeded from the detection of the first activation packet (or end packet) to the detection of the third activation packet (or end packet), the PHY setting unit 51 and A time-out signal is supplied to the MAC switch setting unit 53. The LED control unit 52 controls lighting and blinking of the LED 7 according to each detection signal from the packet detection unit 56. That is, the LED control unit 52 lights up the LED 7 which is a yellow LED indicating that the test is in progress by receiving the start detection signal from the packet detection unit 56, and receives the end detection signal to input the LED 7. Turn off.

【0053】次に、図3、図4,図5および図6を参照
し、一実施形態の動作例を説明する。図6は本実施形態
のネットワークシステムにおけるループバック試験の試
験シーケンスを示す概念図である。 <ループバック試験の開始>遠隔ループにおけるループ
バック試験を開始するとき、通信事業者側において、光
変換リピータREの遠隔ループSW・19,またはリモ
ート制御装置を介して、遠隔ループSW・19における
テストスイッチをオン状態とする(ステップS1)。こ
れにより、光変換リピータREでは、制御部14がその
テストスイッチがオン状態となっていることを検出し、
切替SW・24をループバックモードとする(ステップ
S2)。
Next, an operation example of one embodiment will be described with reference to FIGS. 3, 4, 5 and 6. FIG. 6 is a conceptual diagram showing a test sequence of a loopback test in the network system of this embodiment. <Start of loopback test> When starting the loopback test in the remote loop, the telecommunications carrier side tests the remote loop SW-19 of the optical conversion repeater RE or the remote loop SW-19 via the remote control device. The switch is turned on (step S1). As a result, in the optical conversion repeater RE, the control unit 14 detects that the test switch is in the ON state,
The switching SW 24 is set to the loopback mode (step S2).

【0054】次に、制御部14は、切替SW13の入力
先を切り替えてループバックモードとし、すなわち切替
SW・16からのパケットではなく、制御部14の生成
した起動パケットを、切替SW・13を介して、光変換
ブリッジBRへ送信するモードとする(ステップS
3)。このとき、起動パケットは、所定の間隔で4個生
成され、PHY−O・11及び光ファイバ伝送路FBを
介して、順次、光変換ブリッジBRに供給される(ステ
ップS4)。
Next, the control unit 14 switches the input destination of the switching SW 13 to the loopback mode, that is, the start packet generated by the control unit 14 is set to the switching SW 13 instead of the packet from the switching SW 16. Through the optical conversion bridge BR via the optical transmission bridge BR (step S
3). At this time, four start-up packets are generated at predetermined intervals and are sequentially supplied to the optical conversion bridge BR via the PHY-O.11 and the optical fiber transmission line FB (step S4).

【0055】次に、制御部6は、3個の起動パケットを
異常なく受信したか否かの判定を行う。このとき、起動
パケットが往路線8からMACスイッチ2にも供給され
るが、MACスイッチ2は、そのデータ長が通常のフレ
ームより短いので破棄して、その下流側、すなわちPH
Y−E・1には転送しない。そして、制御部6は、1回
目の起動パケットを受けたか否かが判定されて、1回目
の起動パケットを検出すると、タイマ設定部55におい
て、タイムカウントをスタートする。ここで、タイマ設
定部55は、パケット間ギャップ(起動パケット各々の
間隔)を考慮した所定の時間T1、すなわち3回目の起
動パケットが到達すべき時間が経過したか否かが判定さ
れる。
Next, the control unit 6 determines whether or not three activation packets have been received without any abnormality. At this time, the activation packet is also supplied from the outward route 8 to the MAC switch 2, but the MAC switch 2 discards it because its data length is shorter than a normal frame, and the downstream side, that is, the PH.
Do not transfer to Y-E.1. Then, the control unit 6 determines whether or not the first activation packet is received, and when the first activation packet is detected, the timer setting unit 55 starts time counting. Here, the timer setting unit 55 determines whether or not a predetermined time T1 considering the inter-packet gap (interval of each activation packet), that is, the time that the third activation packet should reach.

【0056】このとき、タイマ設定部55は、時間T1
が経過していなければ、3回目の起動パケットを受けた
か否かを判定する。そして、タイマ設定部55は、3回
目の起動パケットの検出信号を受信せず、所定の時間T
1が経過すると、タイマをクリアする。これにより、光
変換ブリッジBRは、光変換リピータREに対して、起
動ACKパケットの送信を行わない。一方、タイマ設定
部55が3回目の起動パケットを受信し、時間T1が経
過していないことを確認すれば、制御部6はMACスイ
ッチ2をリセットし、全二重に設定し、またPHY−E
・1の物理層デバイスが全二重かつループバックモード
に設定する。
At this time, the timer setting section 55 sets the time T1.
If has not elapsed, it is determined whether or not the third activation packet has been received. Then, the timer setting unit 55 does not receive the detection signal of the third activation packet, and the predetermined time T
When 1 has passed, the timer is cleared. As a result, the optical conversion bridge BR does not transmit the activation ACK packet to the optical conversion repeater RE. On the other hand, when the timer setting unit 55 receives the activation packet for the third time and confirms that the time T1 has not elapsed, the control unit 6 resets the MAC switch 2 and sets it to full duplex, and PHY-. E
• Set the physical layer device 1 to full-duplex and loopback mode.

【0057】次に、制御部6は黄色のLED7を点灯
し、遠隔ループのループバック試験中であることを外部
に報知する(ステップS5)。次に、制御部6は、切替
SW・4をループバックモードとし、起動ACKパケッ
トを生成して、光変換リピータREに対して4回送信す
る(ステップS6)。これにより、起動ACKパケット
は、制御パケット挿入検出部3の切替SW・4からPH
Y−O・5及び光ファイバ伝送路FBを介して、光変換
リピータREに送信される。そして、光変換リピータR
Eにおいて、PHY−O・11が起動ACKパケットを
光−電気変換し、この起動ACKパケットが検出線23
を介して制御部14に取り込まれる。
Next, the control unit 6 turns on the yellow LED 7 to notify the outside that the loopback test of the remote loop is being performed (step S5). Next, the control unit 6 sets the switching SW-4 in the loopback mode, generates the activation ACK packet, and transmits the activation ACK packet to the optical conversion repeater RE four times (step S6). As a result, the activation ACK packet is transmitted from the switching SW-4 of the control packet insertion detection unit 3 to the PH
It is transmitted to the optical conversion repeater RE via YO-5 and the optical fiber transmission line FB. And the optical conversion repeater R
At E, the PHY-O.11 converts the activation ACK packet into an electrical signal, and the activation ACK packet is detected by the detection line 23.
It is taken into the control unit 14 via.

【0058】また、切替SW・24は起動ACKパケッ
トを廃棄し、PHY−E・17へ転送しない。そして、
制御部14は、起動ACKパケットを入力すると、この
光変換ブリッジが起動パケットを受信してから起動AC
Kパケットを送信するのに要する時間を考慮した所定の
時間T2、すなわち3回目の起動ACKパケットが到達
すべき時間が経過したか否かが、タイマ設定部33によ
り判定される。このとき、制御部14は、時間T2が経
過していなければ、3回目の起動ACKパケットを受け
たか否かが判定される。そして、制御部14は、3回目
の起動ACKパケットを受信せずに、所定の時間T2が
経過すると、タイマ設定部33のタイマがクリアされ、
LED部18における赤のLEDが点灯し、遠隔ループ
試験が開始できないことを外部に報知する。
The switching SW 24 discards the activation ACK packet and does not transfer it to the PHY-E 17. And
When the activation ACK packet is input, the control unit 14 receives the activation packet from the optical conversion bridge and then activates the AC.
The timer setting unit 33 determines whether or not a predetermined time T2 considering the time required to transmit the K packet has passed, that is, whether or not the time at which the third activation ACK packet should arrive has passed. At this time, if the time T2 has not elapsed, the control unit 14 determines whether or not the third activation ACK packet has been received. Then, the control unit 14 clears the timer of the timer setting unit 33 when the predetermined time T2 elapses without receiving the third activation ACK packet.
The red LED in the LED section 18 lights up to notify the outside that the remote loop test cannot be started.

【0059】一方、制御部14は、3回目の起動ACK
パケットが受信され、時間T2が経過していなければ、
切替SW・13を通常モードとし(ステップS7)、切
替SW・16をループバックモードとする(ステップS
8)。次に、制御部14は、LED部8における黄色の
LEDを点灯して遠隔ループのループバック試験中であ
ることを外部に報知する。そして、制御部14は、タイ
マ設定部55においてタイムカウントをスタートさせ、
試験パケットの受信を表す受信カウンタをクリアし、試
験パケットを生成して送信し、ループバック試験を行
う。ここで、すでに述べたように、タイマ設定部33で
は、試験パケットの送信タイムアウト時間が、予め、試
験パケットをたとえば16回送信するのに必要とされる
時間に設定されており、そのタイムアウト時間が経過す
るまで、パケット生成部32にて試験パケットの生成お
よび出力が行われることになる。そして、制御部14
は、上記送信タイムアウト時間が経過したと判定された
場合、試験パケットの送信を停止する。すなわち、試験
パケットは16回送信されることになる。
On the other hand, the control section 14 sends the third activation ACK.
If a packet has been received and time T2 has not elapsed,
The switching SW-13 is set to the normal mode (step S7), and the switching SW-16 is set to the loopback mode (step S7).
8). Next, the control unit 14 lights up the yellow LED in the LED unit 8 to notify the outside that the loopback test of the remote loop is being performed. Then, the control unit 14 causes the timer setting unit 55 to start time counting,
The reception counter indicating the reception of the test packet is cleared, the test packet is generated and transmitted, and the loopback test is performed. Here, as described above, in the timer setting unit 33, the transmission timeout time of the test packet is set in advance to a time required to transmit the test packet, for example, 16 times, and the timeout time is set. Until the time elapses, the packet generator 32 continues to generate and output the test packet. Then, the control unit 14
Stops the transmission of the test packet when it is determined that the transmission timeout time has elapsed. That is, the test packet is transmitted 16 times.

【0060】光変換ブリッジBRにおいて、試験パケッ
トがPHY−O・5により光−電気変換され、MACス
イッチ2を介して、PHY−E・1へ転送される。そし
て、PHY−E・1は、入力される試験パケットを折り
返して、その復路9により、再びMACスイッチ2を介
して、PHY−O・5へ転送する。これにより、PHY
−O・5は、上記試験パターンを電気−光変換し、光フ
ァイバ伝送路FBを介して、光変換リピータREへルー
プバックする。一方、光変換リピータREにおいて、ル
ープバックされた試験パケットがPHY−O・11にお
いて光−電気変換され、復路21に入力される。そし
て、試験パケット挿入検出部15の検出線22により、
ループバックされた試験パケットが制御部14に入力さ
れる。
In the optical conversion bridge BR, the test packet is optically-electrically converted by the PHY-O.5 and transferred to the PHY-E.1 via the MAC switch 2. Then, the PHY-E.1 loops back the input test packet and transfers it to the PHY-O.5 via the MAC switch 2 again by the return path 9. This allows PHY
-O.5 carries out the electrical-optical conversion of the test pattern, and loops back to the optical conversion repeater RE via the optical fiber transmission line FB. On the other hand, in the optical conversion repeater RE, the looped back test packet is optoelectrically converted in PHY-O · 11 and input to the return path 21. Then, by the detection line 22 of the test packet insertion detection unit 15,
The looped back test packet is input to the control unit 14.

【0061】このとき、ループバックされた試験パケッ
トは、切替SW・24にて廃棄されて、PHY−E・1
7へは転送されない。また、制御部14において、試験
パケットが検出されると、受信したループバックされた
試験パケットと、制御部14の送信した試験パケットと
が一致するか否かが判定される。このとき、ループバッ
クされた試験パケットの判定が有効である時間T3は、
1回目の試験パケットを送信してから16回目の試験パ
ケットが、光変換装置BRのPHY−E・17でループ
バックして戻ってくるのに要する時間を考慮した所定の
時間、すなわち16回目の試験パケットが到達すべき時
間が経過するまでの時間であり、タイマ設定部33にて
設定されている。制御部14は、正常に上述したループ
バック試験が終了すると、すなわち時間T3の間に16
個の試験パケットが検出されるとLED部18の緑色の
LEDを点灯させる。一方、異常に終了すると、すなわ
ち時間T3の間に16個の試験パケットが検出されない
場合、LED部18の赤色のLEDを点灯させる。(S
9)
At this time, the loop-back test packet is discarded by the switching SW-24, and PHY-E-1
It is not transferred to 7. Further, when the control unit 14 detects the test packet, it is determined whether or not the received looped back test packet and the test packet transmitted by the control unit 14 match. At this time, the time T3 during which the determination of the looped back test packet is valid is
The 16th test packet after transmitting the 1st test packet takes into account the time required to loop back and return in the PHY-E.17 of the optical conversion device BR, that is, the 16th test packet. It is the time until the time when the test packet should arrive has been set by the timer setting unit 33. When the above-described loopback test ends normally, that is, the control unit 14 sets 16 during the time T3.
When one test packet is detected, the green LED of the LED section 18 is turned on. On the other hand, when abnormally terminated, that is, when 16 test packets are not detected during the time T3, the red LED of the LED unit 18 is turned on. (S
9)

【0062】次に、光変換リピータREにおいて、光変
換リピータREから出力する試験パケットによるループ
バック試験の判定が終了すると、その結果が正常または
異常で終了したにかかわらず、すなわち、緑色のLED
が点灯しているか赤色のLEDが点灯しているかに関わ
らず測定器Mによるループバック試験が可能な状態、す
なわち切替SW・16が通常モードに移行され(ステッ
プS10)、切替SW・24が通常モードに移行される
(ステップS11)。そして、測定器Mから例えばラン
ダムなパケット長およびランダムなパターンの試験パケ
ットを光変換リピータREに送信し、光変換リピータを
介して光変換ブリッジBRで試験パケットをループバッ
クさせ、ループバックした試験パケットを光変換リピー
タを介して測定器Mが受信して、測定器Mの送信した試
験パケットと、ループバックして受信した試験パケット
とを比較することにより、ランダムなパケット長および
ランダムなパターンの試験パケットを用いたループバッ
ク試験を行うことができる。
Next, in the optical conversion repeater RE, when the determination of the loopback test by the test packet output from the optical conversion repeater RE ends, whether the result is normal or abnormal, that is, the green LED
Is turned on or the red LED is turned on, the loopback test by the measuring instrument M is possible, that is, the switching SW.16 is shifted to the normal mode (step S10), and the switching SW.24 is normal. The mode is shifted to (step S11). Then, from the measuring device M, for example, a test packet having a random packet length and a random pattern is transmitted to the optical conversion repeater RE, the optical conversion bridge BR loops the test packet through the optical conversion repeater, and the test packet is looped back. Is received by the measuring instrument M via the optical conversion repeater, and the test packet transmitted by the measuring instrument M and the test packet received by looping back are compared to test a random packet length and a random pattern. A loopback test using packets can be performed.

【0063】また、測定器Mから図2に示すパケットの
構成において、送信元アドレスSA及び宛先アドレスD
Aを各々変更させ、試験パケットを作成し、光変換リピ
ータREを介して、光変換ブリッジBRに出力する。例
えば、測定器Mから、正常なパケット長で、送信元アド
レスを順次変えながら、複数個の試験パケットを光変換
をブリッジBRへ出力する。これにより、MACスイッ
チ2において、上記送信元アドレスを宛先アドレスとし
て記憶するアドレスメモリの容量を確認することができ
る。すなわち、測定器Mが、宛先アドレスをユニキャス
ト・アドレスとして、順次変更しながら出力できるた
め、アドレスメモリに記憶された宛先アドレスと、新た
に入力される試験パケットの宛先アドレスとの比較が行
え、アドレスメモリの内容、すなわち記憶されている宛
先アドレスを判定することが可能なため、宛先アドレス
に対する学習試験が行える。
In the packet structure shown in FIG. 2 from the measuring instrument M, the source address SA and the destination address D
A is changed, a test packet is created, and the test packet is output to the optical conversion bridge BR via the optical conversion repeater RE. For example, the measuring device M outputs a plurality of test packets to the bridge BR by optical conversion while sequentially changing the source address with a normal packet length. This allows the MAC switch 2 to confirm the capacity of the address memory that stores the source address as the destination address. That is, since the measuring instrument M can output the destination address as a unicast address while sequentially changing it, the destination address stored in the address memory can be compared with the destination address of the newly input test packet. Since the contents of the address memory, that is, the stored destination address can be determined, a learning test for the destination address can be performed.

【0064】また、測定器Mが、送信元アドレスを変更
するという機能を有するため、異なる送信元アドレスを
有する複数の試験パケットを、生成することができるた
め、アドレスメモリの容量分の宛先アドレスを格納させ
るだけの、送信元アドレスを利用した試験パケットを光
変換ブリッジBRに出力でき、宛先アドレスを記憶する
アドレスメモリ全体に対して、上述した学習試験を行う
ことができ、アドレスメモリの容量全てのメモリ素子が
正常に動作しているか否かの試験を行う。さらに、測定
器Mにより、試験パケットを可変長で、ランダムなパタ
ーンとし、またその送信間隔を不定期に光変換ブリッジ
BRに出力したり、ループバックさせる試験パケットの
送信量を調節したりして、より厳しいループバック試験
を実施する。
Further, since the measuring instrument M has a function of changing the source address, it is possible to generate a plurality of test packets having different source addresses. A test packet that uses only the source address and is stored can be output to the optical conversion bridge BR, and the above-described learning test can be performed on the entire address memory that stores the destination address. Test whether the memory device is operating normally. Further, the measuring device M makes the test packet into a random pattern with a variable length, outputs the transmission interval thereof to the optical conversion bridge BR at irregular intervals, and adjusts the transmission amount of the test packet to be looped back. Conduct more stringent loopback tests.

【0065】加えて、測定器Mにより、パケット長を規
定の幅に対して、短くしたり長くしたりして、MACス
イッチ2がパケット長によって、パケットを破棄する処
理の試験を行う。また、期間をおいたループバック試験
を行ない、所定の期間(例えば、数分)にアドレスメモ
リの内容がリセットされるエージング機能の試験も行う
(ステップS12)。上述したように、測定器Mから送
信する試験パケットの送信数および送信間隔を変化さ
せ、測定器Mが、送信した試験パケットと、受信したル
ープバックされた試験パケットとを比較することによ
り、試験パケットの送信数が変化した場合においてもル
ープバックが正常か否かを判定することができる。さら
に、光変換ブリッジBRのMACスイッチ2のMACア
ドレスラーニング(送信先アドレスの学習機能)やアド
レスエージングなどの基本機能も遠隔から試験すること
が可能となる。
In addition, the measuring device M shortens or lengthens the packet length with respect to the specified width, and the MAC switch 2 tests the process of discarding the packet according to the packet length. In addition, a loopback test with a certain period is performed, and a test of an aging function in which the content of the address memory is reset within a predetermined period (for example, several minutes) is also performed (step S12). As described above, the number of transmissions and the transmission interval of the test packet transmitted from the measuring instrument M are changed, and the measuring instrument M compares the transmitted test packet with the received looped back test packet to perform the test. Even when the number of packets transmitted changes, it is possible to determine whether loopback is normal. Further, it becomes possible to remotely test the basic functions such as MAC address learning (transmission destination address learning function) and address aging of the MAC switch 2 of the optical conversion bridge BR.

【0066】次に、測定器Mによるループバック試験が
終了した場合、光変換リピータREの遠隔ループSW・
19のテストスイッチまたはリモート制御装置を介し
て、テストスイッチをオフ状態とする。(ステップS1
3)。そして、制御部14は、テストスイッチがオフ状
態となった信号に基づき、切替SW・24及び切替SW
・13をループバックモードとし(ステップS14,1
5)、終了パケットを生成して、光変換ブリッジBRへ
送信する。このとき、生成された上記終了パケットは、
制御部14から切替SW・13により、PHY−O・1
1から、光ファイバ伝送路FBを介して光変換ブリッジ
BRへ送信される(ステップS16)。そして、制御部
14は、4回の終了パケットの送信を行った後、タイマ
設定部33を用いて、タイムカウントをスタートし、光
変換ブリッジBRから終了ACKパケットを3回以上受
信したか否かを判定する。
Next, when the loopback test by the measuring instrument M is completed, the remote loop SW of the optical conversion repeater RE.
The test switch is turned off through the test switch 19 or the remote control device. (Step S1
3). Then, the control unit 14 determines the switching SW 24 and the switching SW based on the signal indicating that the test switch is in the OFF state.
13 is set to the loopback mode (steps S14, 1
5) Generate an end packet and send it to the optical conversion bridge BR. At this time, the generated end packet is
PHY-O.1 by switching SW.13 from control unit 14.
1 to the optical conversion bridge BR via the optical fiber transmission line FB (step S16). Then, the control unit 14 starts the time count using the timer setting unit 33 after transmitting the end packet 4 times, and determines whether or not the end ACK packet is received from the optical conversion bridge BR 3 times or more. To judge.

【0067】このとき、光変換ブリッジBRにおいて、
光変換リピータREからの終了パケットが、光ファイバ
伝送路FBを介してPHY−O・5に入力され、光−電
気変換され、制御パケット挿入検出部3の検出線10を
介して制御部6に入力される。そして、制御部6は、終
了パケットが3回とも正常に入力されると、切替SW・
4をループバックモードとし、終了ACKパケットを生
成して4回送信する。これにより、終了ACKパケット
は、切替SW・4からPHY−O・5を通って、光ファ
イバ伝送路FBを介して、光変換リピータREに送信さ
れる(ステップS17)。
At this time, in the optical conversion bridge BR,
The end packet from the optical conversion repeater RE is input to the PHY-O.5 via the optical fiber transmission line FB, is optically-electrically converted, and is sent to the control unit 6 via the detection line 10 of the control packet insertion detection unit 3. Is entered. When the end packet is normally input three times, the control unit 6 switches the switch SW
4 is set to the loopback mode, an end ACK packet is generated and transmitted 4 times. As a result, the end ACK packet is transmitted from the switching SW-4 to the optical conversion repeater RE through the PHY-O-5 and the optical fiber transmission line FB (step S17).

【0068】次に、制御部6は、切替SW・4を通常モ
ードとし、PHY−E・1の物理層デバイスを通常モー
ドに移行させ(戻し)、またMACスイッチ2をリセッ
トしてそのアドレステーブルをクリアした後に、通常モ
ードに移行する(戻す)。そして、制御部6は黄色のL
ED7を消灯し、光変換ブリッジBRはループバック試
験のモードから通常モードに戻り、ループバック試験が
終了する(ステップS18)。次に、光変換リピータR
Eにおいて、制御部14は、終了ACKパケットを制御
パケット挿入検出部12の検出線23から入力し、正常
に3個の終了ACKパケットを受信されないことを確認
すると、タイマがクリアされて、赤のLEDを点灯さ
せ、遠隔ループ試験が終了できないことを外部に報知す
る。一方、制御部14は、正常に3個の終了ACKパケ
ットを受信されないことを確認すると、切替SW・13
及び切替SW・16を通常モードとし、緑のLEDおよ
び黄色のLEDを消灯してループバック試験を終了させ
る(ステップS19,20)。ここで、制御部14にお
ける終了ACKパケットの正常及び異常の判定は、すで
に述べた起動ACKパケットの正常及び異常の判定と同
様な処理により行われる。
Next, the control unit 6 sets the switching SW.4 to the normal mode, shifts (returns) the physical layer device of PHY-E.1 to the normal mode, and resets the MAC switch 2 to reset its address table. After clearing, shift (return) to the normal mode. Then, the control unit 6 controls the yellow L
The ED7 is turned off, the optical conversion bridge BR returns from the loopback test mode to the normal mode, and the loopback test ends (step S18). Next, the optical conversion repeater R
At E, the control unit 14 inputs the end ACK packet from the detection line 23 of the control packet insertion detection unit 12, and when it confirms that the three end ACK packets are not normally received, the timer is cleared and the red The LED is turned on to notify the outside that the remote loop test cannot be completed. On the other hand, when the control unit 14 confirms that the three end ACK packets are not normally received, the switching SW 13
Also, the switch SW 16 is set to the normal mode, the green LED and the yellow LED are turned off, and the loopback test is ended (steps S19 and S20). Here, the normality / abnormality of the end ACK packet in the control unit 14 is determined by the same processing as the normality / abnormality of the activation ACK packet described above.

【0069】以上、本発明の一実施形態を図面を参照し
て詳述してきたが、具体的な構成はこの実施形態に限ら
れるものではなく、本発明の要旨を逸脱しない範囲の設
計変更等があっても本発明に含まれる。
Although one embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to this embodiment, and design changes and the like within a range not departing from the gist of the present invention. Even so, it is included in the present invention.

【0070】[0070]

【発明の効果】以上説明したように本発明のネットワー
クシステムによれば、通信事業者側の第1の光変換装置
から宅内側の第2の光変換装置へのループバック試験
を、従来のネットワークシステムに対して、測定器を接
続してループバック試験が行える構成としたため、MA
Cスイッチの学習機能や、パケット長に基づくパケット
の破棄の処理など、従来では行えなかった試験を有効に
実施することができ、またネットワークシステムを最小
限の変更により実現できるため、高精度なループバック
試験を安価に実現することが可能である。
As described above, according to the network system of the present invention, the loopback test from the first optical conversion device on the telecommunications carrier side to the second optical conversion device on the inside of the home is performed by the conventional network. Since the system is configured so that a loopback test can be performed by connecting a measuring instrument, the MA
Highly accurate loops can be performed because it is possible to effectively carry out tests that were not possible in the past, such as the learning function of the C switch and the processing of discarding packets based on the packet length, and the network system can be implemented with minimal changes. The back test can be realized at low cost.

【0071】本発明のネットワークシステムによれば、
切替手段により試験状態に基づいて、各パケットの流れ
を制御するため、宅内側の第2の光変換装置との制御パ
ケットのやりとり、及び試験パケットのループバック試
験を有効に行う、すなわち、制御パケットと試験パケッ
トとがデータ切替手段によって広域LAN側への通過を
阻止されて廃棄されるので、その流出により、広域LA
N側に対して悪影響が生じさせずにループバック試験が
行える。また、本発明のネットワークシステムによれ
ば、ループバック試験のとき、第1の光変換装置からの
制御パケットと、この制御パケットに対する第2の光変
換装置からの応答パケットの処理に基づき、システムの
ループバック試験の起動及び停止を有効に制御すること
ができ、かつ、第1の光変換装置に、広域LANに代え
て測定器を接続することが可能なため、多様な試験パケ
ットを第2の光変換装置に送信することができ、ループ
バックされた試験パケットの試験結果を、有効に判定す
ることができる。
According to the network system of the present invention,
In order to control the flow of each packet based on the test state by the switching means, the control packet is effectively exchanged with the second optical conversion device inside the home and the loopback test of the test packet is effectively performed, that is, the control packet. Since the data switching means blocks the test packet and the test packet from passing to the wide area LAN side, the test packet and the test packet are discarded.
A loopback test can be performed without causing an adverse effect on the N side. Further, according to the network system of the present invention, in the loopback test, based on the processing of the control packet from the first optical conversion device and the response packet from the second optical conversion device to this control packet, the system Since the start and stop of the loopback test can be effectively controlled and a measuring device can be connected to the first optical conversion device instead of the wide area LAN, various test packets can be transmitted to the second optical conversion device. It can be transmitted to the optical conversion device, and the test result of the looped back test packet can be effectively determined.

【0072】さらに、本発明のネットワークシステムに
よれば、制御パケットがMACスイッチによりユーザL
AN側への通過を阻止されて破棄されるため、制御パケ
ットがユーザLAN側へ流出することがなく、よけいな
パケットがユーザLAN側に悪影響を生じさせることが
なく、前記第1光変換装置との制御パケットのやりとり
および試験パケットのループバック試験を有効に行うこ
とができる。加えて、本発明のネットワークシステムに
よれば、測定器から送信する試験パケットの送信数およ
び送信間隔を変化させ、測定器が、送信した試験パケッ
トと、受信したループバックされた試験パケットとを比
較することにより、試験パケットの送信数が変化した場
合においてもループバックが正常か否かを判定すること
が可能となる。また、本発明のネットワークシステムに
よれば、試験パケットの送信元アドレスや宛先アドレス
を任意に変化させることができるため、第2の光変換装
置のMACスイッチのMACアドレスラーニング(送信
先アドレスの学習機能)やアドレスエージングなどの基
本機能も遠隔から試験することが可能となる。
Further, according to the network system of the present invention, the control packet is transmitted to the user L by the MAC switch.
Since the passage to the AN side is blocked and discarded, the control packet does not flow out to the user LAN side, and the extra packet does not adversely affect the user LAN side. The control packet exchange and the test packet loopback test can be effectively performed. In addition, according to the network system of the present invention, the number of transmissions and the transmission interval of the test packet transmitted from the measuring instrument are changed, and the measuring instrument compares the transmitted test packet with the received looped back test packet. By doing so, it is possible to determine whether or not the loopback is normal even when the number of test packet transmissions changes. Further, according to the network system of the present invention, since the source address and the destination address of the test packet can be arbitrarily changed, the MAC address learning (the destination address learning function of the MAC switch of the second optical conversion device can be performed. ) And basic functions such as address aging can be tested remotely.

【図面の簡単な説明】[Brief description of drawings]

【図1】 本発明の一実施形態によるネットワークシス
テムの構成例を示す概念図である。
FIG. 1 is a conceptual diagram showing a configuration example of a network system according to an embodiment of the present invention.

【図2】 イーサネット(登録商標)のパケットの構成
を示す概念図である。
FIG. 2 is a conceptual diagram showing a configuration of an Ethernet (registered trademark) packet.

【図3】 本発明の一実施形態によるネットワークシス
テムの構成例を示すブロック図である。
FIG. 3 is a block diagram showing a configuration example of a network system according to an embodiment of the present invention.

【図4】 図3の光変換リピータREにおける制御部1
4の構成例を示すブロック図である。
4 is a control section 1 of the optical conversion repeater RE shown in FIG.
4 is a block diagram showing a configuration example of No. 4 of FIG.

【図5】 図3の光変換ブリッジBRにおける制御部6
の構成例を示すブロック図である。
FIG. 5 is a control section 6 in the optical conversion bridge BR of FIG.
3 is a block diagram showing a configuration example of FIG.

【図6】 本発明の一実施形態によるネットワークシス
テムの試験方法を示すシーケンス図である。
FIG. 6 is a sequence diagram showing a method for testing a network system according to an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1,17 PHY−E 2 MACスイッチ 3,12 制御パケット挿入検出部 4,13,16,24 切替SW 5,11 PHY−O 6,14 制御部 7 LED 8,20 往路線 9,21 復路線 10,22,23 検出線 15 試験パケット挿入検出部 18 LED部 19 遠隔ループSW 25 データ切替部 30,56 パケット検出部 31 パケット比較部 32,54 パケット生成部 33,55 タイマ設定部 34 PHY−O→PHY−E転送制御部 35 スイッチ検出部 36,52 LED制御部 51 PHY設定部 53 MACスイッチ設定部 BR 光変換ブリッジ FB 光ファイバ伝送路 LC キャリアネットワーク LU ユーザLAN M 測定器 RE 光変換リピータ RK,RT ルータ 1,17 PHY-E 2 MAC switch 3, 12 control packet insertion detector 4, 13, 16, 24 switch SW 5,11 PHY-O 6,14 Control unit 7 LED 8, 20 outward routes 9,21 Return line 10,22,23 Detection line 15 Test packet insertion detector 18 LED section 19 Remote loop SW 25 Data switching unit 30,56 Packet detector 31 Packet comparison unit 32,54 Packet generator 33,55 Timer setting section 34 PHY-O → PHY-E transfer control unit 35 Switch detector 36,52 LED control unit 51 PHY setting section 53 MAC switch setting section BR optical conversion bridge FB optical fiber transmission line LC carrier network LU user LAN M measuring device RE optical conversion repeater RK, RT router

───────────────────────────────────────────────────── フロントページの続き (72)発明者 藤岡 祥子 熊本県上益城郡益城町大字田原2081番28 九州安藤電気株式会社内 (72)発明者 安藤 真 東京都大田区蒲田五丁目29番3号 安藤電 気株式会社内 Fターム(参考) 5K033 CC01 DA05 DB05 DB20 DB22 EA02 EA05    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Shoko Fujioka             2081-28 Tahara, Mashiki-machi, Kamimashiki-gun, Kumamoto             Kyushu Ando Electric Co., Ltd. (72) Inventor Makoto Ando             529-3 Kamata, Ota-ku, Tokyo Andoden             Ki Co., Ltd. F term (reference) 5K033 CC01 DA05 DB05 DB20 DB22                       EA02 EA05

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 ユーザLANと通信事業者の広域LAN
とを光ファイバ伝送路を介して接続するネットワークシ
ステムであって、 前記広域LANと前記光ファイバ伝送路との間に設けら
れ、伝送するデータフレームを電気/光変換して転送す
る第1の光変換装置と、 前記ユーザLANと前記光ファイバ伝送路との間に設け
られ、伝送するデータフレームを電気/光変換し、その
データフレームを媒体アクセス制御により転送する第2
の光変換装置とを具備し、 前記第1の光変換装置が、前記第2の光変換装置との間
のループバック試験を制御する制御パケットと、ループ
バック試験に用いる、前記データフレームと同様な構成
の試験パケットとを生成し、前記光ファイバ伝送路を介
してこの第2の光変換装置に送信するとともに、また、
他の試験パケットを生成する測定器を、前記広域LAN
に代えて接続して、異なるループバック試験を行う試験
制御手段を有し、 前記第2の光変換装置が、前記第1の光変換装置からの
制御パケットに基づいて、ユーザLANとの物理層終端
点をループバック試験状態に設定し、前記光ファイバ伝
送路を介して受信した前記各試験パケットのループバッ
ク処理を行うループ制御手段を有することを特徴とする
ネットワークシステム。
1. A user LAN and a wide area LAN of a telecommunications carrier
Is a network system for connecting the optical fiber transmission line and the optical fiber transmission line via an optical fiber transmission line, and is provided between the wide area LAN and the optical fiber transmission line, and is a first optical system for electrically / optically converting a data frame to be transmitted. A second conversion device, provided between the user LAN and the optical fiber transmission line, for electrically / optically converting a data frame to be transmitted, and transferring the data frame by medium access control;
And a control packet for controlling a loopback test between the first optical conversion device and the second optical conversion device, and the same as the data frame used for the loopback test. And a test packet having a different configuration, and transmits the test packet to the second optical conversion device via the optical fiber transmission path.
The measuring device for generating another test packet is connected to the wide area LAN.
In place of the above, the second optical conversion device has test control means for performing different loopback tests, and the second optical conversion device is based on a control packet from the first optical conversion device and is a physical layer with a user LAN. A network system having a loop control means for setting a termination point in a loopback test state and performing a loopback process of each of the test packets received via the optical fiber transmission line.
【請求項2】 前記第1の光変換装置が、 広域LANと接続される電気物理層終端部と、 光ファイバ伝送路と接続される光物理層終端部と、 前記試験制御手段からの制御パケットを、前記光物理層
終端部を介して、前記第2の光変換装置へ送信し、該制
御パケットに対する、該第2の光変換装置からの応答パ
ケットの検出を行う制御パケット挿入検出手段と、 前記試験制御手段からの試験パケットを前記第2の光変
換装置へ送信し、該第2の光変換装置からループバック
される試験パケットを検出する試験パケット挿入検出手
段と、 前記試験制御手段による制御に基づき、前記光物理層終
端部から前記電気物理層終端部へのパケットの転送の許
可/不許可の制御を行うデータ切替手段とを有すること
を特徴とする請求項1に記載のネットワークシステム。
2. The first optical converter comprises an electrical physical layer termination unit connected to a wide area LAN, an optical physical layer termination unit connected to an optical fiber transmission line, and a control packet from the test control means. Through the optical physical layer terminating unit, to the second optical conversion device, the control packet insertion detection means for detecting a response packet from the second optical conversion device for the control packet, Test packet insertion detection means for transmitting a test packet from the test control means to the second optical conversion device and detecting a test packet looped back from the second optical conversion device, and control by the test control means 2. The network according to claim 1, further comprising: a data switching unit that controls permission / non-permission of packet transfer from the optical physical layer terminating unit to the electric physical layer terminating unit. Click system.
【請求項3】 前記試験制御手段が、 ループバック試験開始の起動パケット,及び終了パケッ
トを含む制御パケットと、試験パケットとをそれぞれ生
成するパケット生成手段と、 前記起動パケットに対する応答パケット,終了パケット
に対する応答パケット,及びループバックされる試験パ
ケットの検出を行うパケット検出手段と、 ループバックされる試験パケットと送信した試験パケッ
トとが一致するか否かの比較を行うパケット比較手段
と、 該比較手段の比較結果を外部に報知する報知手段と、 前記応答パケット,ループバックされる試験パケットの
前記広域LAN側への送信を停止させるデータ切替通知
手段と有することを特徴とする請求項2に記載のネット
ワークシステム。
3. The packet control means for generating a test packet and a control packet including a start packet and an end packet for starting a loopback test, the test control means, and a response packet and an end packet for the start packet. A packet detecting means for detecting a response packet and a test packet to be looped back, a packet comparing means for comparing whether the test packet to be looped back and the transmitted test packet are matched, and a packet comparing means of the comparing means. 3. The network according to claim 2, further comprising: an informing means for informing a comparison result to the outside, and a data switching informing means for stopping transmission of the response packet and the test packet to be looped back to the wide area LAN side. system.
【請求項4】 前記第2の光変換装置が、 前記ユーザLANとの間において、物理層におけるパケ
ット転送処理を行う電気物理層終端部と、 前記光ファイバ伝送路との間において、物理層における
パケット転送処理を行う光物理層終端部と、 該電気物理層終端部及び光物理層終端部間に設けられ、
各パケットに含まれるMACアドレスに従い、このパケ
ットを転送するMACスイッチと、 該MACスイッチと前記光物理層終端部との間に設けら
れ、前記第1の光変換装置からの制御パケットを検出し
て前記ループ制御手段に供給し、また該ループ制御手段
からの応答パケットを前記第1の光変換装置へ転送する
制御パケット挿入検出手段とを含むことを特徴とする請
求項1記載のネットワークシステム。
4. The second optical conversion device, in the physical layer, between the electrical-physical layer termination unit that performs packet transfer processing in the physical layer with the user LAN and the optical fiber transmission line. An optical physical layer terminating unit that performs packet transfer processing, and is provided between the electrical physical layer terminating unit and the optical physical layer terminating unit,
A MAC switch that transfers this packet according to the MAC address included in each packet, and is provided between the MAC switch and the optical physical layer termination unit and detects a control packet from the first optical conversion device. 2. The network system according to claim 1, further comprising control packet insertion detection means for supplying to the loop control means and transferring a response packet from the loop control means to the first optical conversion device.
【請求項5】 前記ループ制御手段が、 前記第1の光変換装置からの起動パケット及び終了パケ
ットを含む制御パケットを、それぞれ検出するパケット
検出手段と、 該パケット検出手段において起動パケットもしくは終了
パケットを検出したとき、それぞれに対する応答パケッ
トを生成するパケット生成手段と、 前記パケット検出手段において起動パケットが検出され
たとき、前記電気物理層終端部をループバック状態に設
定し、また終了パケットを受けたとき、ループバック状
態を解除するループ設定解除手段と、 前記起動パケット及び終了パケットを受けたときに、M
ACスイッチをリセットするリセット手段とを有するこ
とを特徴とする請求項4に記載のネットワークシステ
ム。
5. The loop control means detects a control packet including a start packet and an end packet from the first optical conversion device, and a packet detection means, and the start and end packets in the packet detection means. When detecting, packet generating means for generating a response packet for each of them, when a start packet is detected by the packet detecting means, when the electrophysical layer termination unit is set to a loopback state, and when an end packet is received Loop setting canceling means for canceling the loopback state, and M when receiving the start packet and end packet.
The network system according to claim 4, further comprising reset means for resetting the AC switch.
【請求項6】 請求項1から請求項5のいずれかに記載
のネットワークシステムにおけるパケットのループバッ
ク試験を行う試験方法であって、 前記第1の光変換装置から、ループバック試験を指示す
る起動パケットを、前記光ファイバ伝送路を介して、前
記第2の光変換装置に送信する過程と、 該起動パケットを受信した第2の光変換装置において、
ユーザLANとの電気物理層終端部がループバック状態
に設定される過程と、 前記起動パケットに対応し、第2の光変換装置から、前
記第1の光変換装置に応答する応答パケットが、光ファ
イバ伝送路を介して、第1の光変換装置に送信される過
程と、 該応答パケットを受信した第1の光変換装置において、
所定のデータフレームと同様の構成の試験パケットが、
光ファイバ伝送路を介して、第2の光変換装置に送信さ
れる過程と、 該試験パケットを受信した第2の光変換装置において、
その試験パケットをユーザLANとの電気物理層終端部
にて折り返して再び光ファイバ伝送路を介して第1の光
変換装置にループバックさせる過程と、 第1の光変換装置において、受信されるループバックさ
れた試験パケットと、送信した試験パケットとが一致す
るか否かを比較する過程と、 その比較結果を外部に報知する過程と、 該比較結果に応じて、前記測定器が前記第1の光変換装
置の電気物理層終端部に接続される過程と、 前記測定器から送信される任意の試験パケットが、光フ
ァイバ伝送路を介して、前記第2の光変換装置に送信さ
れる過程と、 第2の光変換装置において、受信される試験パケット
を、ユーザLANとの電気物理層終端部にて折り返し、
再び光ファイバ伝送路を介して、第1の光変換装置にル
ープバックする過程と、 前記測定器において、受信される該試験パケットに基づ
き、前記第2の光変換装置に対するループバック試験を
行うことを特徴とするネットワークシステム試験方法。
6. A test method for performing a packet loopback test in the network system according to claim 1, wherein the first optical conversion device activates a loopback test. In the process of transmitting a packet to the second optical conversion device via the optical fiber transmission line, and in the second optical conversion device receiving the activation packet,
A process in which the electro-physical layer terminating unit with the user LAN is set to a loopback state, and a response packet corresponding to the activation packet and responding to the first optical conversion device from the second optical conversion device is an optical packet. In the process of being transmitted to the first optical conversion device via the fiber transmission line, and the first optical conversion device receiving the response packet,
A test packet with the same structure as the predetermined data frame
In the process of being transmitted to the second optical conversion device via the optical fiber transmission line and the second optical conversion device receiving the test packet,
A process in which the test packet is looped back at the end of the physical layer of the user LAN and looped back to the first optical conversion device via the optical fiber transmission line, and a loop received by the first optical conversion device. A step of comparing whether or not the backed-up test packet and the transmitted test packet match, a step of notifying the comparison result to the outside, A step of being connected to the electrical physical layer terminal of the optical conversion device, and a step of transmitting an arbitrary test packet transmitted from the measuring device to the second optical conversion device via an optical fiber transmission line. In the second optical conversion device, the received test packet is returned at the end of the electrical physical layer with the user LAN,
Looping back to the first optical conversion device via the optical fiber transmission line, and performing a loopback test on the second optical conversion device based on the test packet received by the measuring device. A method for testing a network system characterized by.
【請求項7】 第2の光変換装置において、前記起動パ
ケットに基づいて、ユーザLANとの電気物理層終端部
をループバック状態に設定するとき、MACスイッチを
リセットすることを特徴とする請求項6に記載のネット
ワークシステム試験方法。
7. A second optical conversion device, wherein when the electro-physical layer termination unit with the user LAN is set to a loopback state based on the activation packet, the MAC switch is reset. 6. The network system test method according to item 6.
【請求項8】 前記第1の光変換装置において、ループ
バック試験が終了するとき、終了パケットを、光ファイ
バ伝送路を介して、第2の光変換装置に送信する過程
と、 第2の光変換装置において、受信される該終了パケット
に基づき、ユーザLANとの電気物理層終端部のループ
バックの設定を解除する過程と、 前記終了パケットに対応する応答パケットを、第2の光
変換装置から光ファイバ伝送路を介して、前記第1の光
変換装置に送信し、通常のデータ通信可能な状態に戻る
過程と、 前記第1の光変換装置において、前記応答パケットの受
信に基づき、通常のデータ通信可能な状態に戻る過程と
を有することを特徴とする請求項6ないし請求項7のい
ずれかに記載のネットワークシステム試験方法。
8. A process of transmitting an end packet to a second optical conversion device via an optical fiber transmission line when the loopback test is completed in the first optical conversion device, and a second optical conversion device. In the conversion device, based on the received end packet, a process of canceling the loopback setting of the electro-physical layer termination unit with the user LAN, and a response packet corresponding to the end packet are transmitted from the second optical conversion device. A process of transmitting to the first optical conversion device via an optical fiber transmission line and returning to a normal data communicable state, and in the first optical conversion device, based on the reception of the response packet, 8. The network system test method according to claim 6, further comprising a step of returning to a state in which data communication is possible.
【請求項9】 第2の光変換装置において、前記終了パ
ケットを受信し、ユーザLANとの電気物理層終端部の
ループバック設定を解除するとき、MACスイッチをリ
セットすることを特徴とする請求項8に記載のネットワ
ークシステム試験方法。
9. The second optical conversion device resets the MAC switch when the end packet is received and the loopback setting of the electrical physical layer termination unit with the user LAN is released. 8. The network system test method according to item 8.
JP2001392556A 2001-12-25 2001-12-25 Network system and test method therefor Withdrawn JP2003198549A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001392556A JP2003198549A (en) 2001-12-25 2001-12-25 Network system and test method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001392556A JP2003198549A (en) 2001-12-25 2001-12-25 Network system and test method therefor

Publications (1)

Publication Number Publication Date
JP2003198549A true JP2003198549A (en) 2003-07-11

Family

ID=27599835

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001392556A Withdrawn JP2003198549A (en) 2001-12-25 2001-12-25 Network system and test method therefor

Country Status (1)

Country Link
JP (1) JP2003198549A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008011229A (en) * 2006-06-29 2008-01-17 Fujitsu Ltd Multicast network monitoring method, and multicast network system applying the same
CN111669255A (en) * 2020-07-09 2020-09-15 深圳市信锐网科技术有限公司 Loopback test method, device, circuit, equipment and medium for communication equipment network port
JP2021068806A (en) * 2019-10-23 2021-04-30 ルネサスエレクトロニクス株式会社 Semiconductor device, semiconductor device connection processing method, and electronic device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008011229A (en) * 2006-06-29 2008-01-17 Fujitsu Ltd Multicast network monitoring method, and multicast network system applying the same
JP4722780B2 (en) * 2006-06-29 2011-07-13 富士通株式会社 Multicast network monitoring method and multicast network system to which the method is applied
JP2021068806A (en) * 2019-10-23 2021-04-30 ルネサスエレクトロニクス株式会社 Semiconductor device, semiconductor device connection processing method, and electronic device
JP7282654B2 (en) 2019-10-23 2023-05-29 ルネサスエレクトロニクス株式会社 Semiconductor device, connection processing method for semiconductor device, and electronic device
CN111669255A (en) * 2020-07-09 2020-09-15 深圳市信锐网科技术有限公司 Loopback test method, device, circuit, equipment and medium for communication equipment network port

Similar Documents

Publication Publication Date Title
US6081523A (en) Arrangement for transmitting packet data segments from a media access controller across multiple physical links
US9008127B2 (en) Method and system for speed negotiation for twisted pair links in fibre channel systems
EP1128612A2 (en) Transmission of high-priority, real-time traffic on low-speed communications links
EP2341661B1 (en) Neighbour discovery for ethernet private line on user network interfaces
JP2002158675A (en) Method and protocol to adapting each unique connection in multi-node network to maximum data rate
JPH07307751A (en) Full duplex communication between terminal stations in tokenring local area network
EP0727883A2 (en) Information communication network system, central information communication control device and information communication device used in the system, information sending method, and modulation method
WO2004043011A1 (en) Multiple service ring of n-ringlet structure based on multiple fe, ge and 10ge
WO1996010304A1 (en) Method and apparatus for controlling latency and jitter in a lan using a csma/cd protocol
JP2000138702A (en) Local area network having bridge terminal for transmitting data among plural subnetworks and detecting loop
JP4038972B2 (en) LAN connection system and its loopback test method
JP2003198549A (en) Network system and test method therefor
JP3952719B2 (en) LAN connection system and loopback test method thereof
JP2003258833A (en) Inter-lan connection system and method
Cisco Interface Commands
Cisco Interface Commands
Cisco Interface Commands
Cisco Interface Commands
Cisco Interface Commands
Cisco Interface Commands
Cisco Interface Commands
Cisco Interface Commands
Cisco Interface Commands
JP2003087291A (en) Inter-lan connection system and its alarm transfer system
Cisco Interface Commands

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040914

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20041001

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20050221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061023

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061107

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20061204