[go: up one dir, main page]

JP2011160374A - Transmission apparatus and network diagnosis method - Google Patents

Transmission apparatus and network diagnosis method Download PDF

Info

Publication number
JP2011160374A
JP2011160374A JP2010022761A JP2010022761A JP2011160374A JP 2011160374 A JP2011160374 A JP 2011160374A JP 2010022761 A JP2010022761 A JP 2010022761A JP 2010022761 A JP2010022761 A JP 2010022761A JP 2011160374 A JP2011160374 A JP 2011160374A
Authority
JP
Japan
Prior art keywords
frame
counter
transmission
lan
trigger
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
JP2010022761A
Other languages
Japanese (ja)
Inventor
Toshimichi Fukuda
利道 福田
Toru Inaba
亨 稲葉
Norihiro Rikitake
宣博 力竹
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2010022761A priority Critical patent/JP2011160374A/en
Publication of JP2011160374A publication Critical patent/JP2011160374A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

【課題】伝送装置において、ネットワークの障害を正確に診断することを目的とする。
【解決手段】ネットワークを構成し、前記ネットワークの伝送路から受信したLANフレームを第1フレーム処理部からスイッチ処理部を通して第2フレーム処理部に供給し前記第2フレーム処理部から前記ネットワークの伝送路に送信する伝送装置において、所定期間毎にトリガフレームを生成し前記伝送路から受信したLANフレームと共に第1フレーム処理部に供給するフレーム生成手段と、前記第1フレーム処理部で前記トリガフレームが供給される前記所定期間に供給される前記LANフレームをカウントする第1カウント手段と、前記第2フレーム処理部で前記トリガフレームが供給される前記所定期間に供給される前記LANフレームをカウントする第2カウント手段と、前記第1カウント手段のカウント値と前記第2カウント手段のカウント値を比較して伝送装置内の障害を診断する装置内診断手段とを有する。
【選択図】 図2
An object of the present invention is to accurately diagnose a network failure in a transmission apparatus.
A LAN is configured to supply a LAN frame received from a transmission path of the network from a first frame processing section to a second frame processing section through a switch processing section, and from the second frame processing section to the transmission path of the network. A frame generating means for generating a trigger frame every predetermined period and supplying the trigger frame together with the LAN frame received from the transmission path to the first frame processing unit; and the trigger frame is supplied by the first frame processing unit. A first counting means for counting the LAN frames supplied during the predetermined period, and a second counting unit for counting the LAN frames supplied during the predetermined period during which the trigger frame is supplied by the second frame processing unit. A counting means; a count value of the first counting means; and the second count. And a device diagnosis unit for diagnosing faults in the transmission apparatus compares the count value of the unit.
[Selection] Figure 2

Description

本発明は、ネットワークを構成する伝送装置及びネットワークの診断方法に関する。   The present invention relates to a transmission apparatus constituting a network and a network diagnosis method.

ネットワーク技術の進歩に伴い、伝送量の増大からサービスが多様化している。VLAN(Virtual LAN:仮想ネットワーク)ルーティング等によりEthernet(登録商標、以下、単に「LAN」と呼ぶ)フレームを処理する装置では、装置内の障害等でサービスが受ける影響等をユーザが直接知ることが困難であった。つまり、装置の障害等によるLANフレームの消滅や不達などが発生しても、明示的に異常を検出するような診断機能はなかった。しかし、サービスの増加に伴い回線数が増大するにつれて伝送路のクオリティ低下、クロスコネクトや、VLANルーティング機能が異常になった場合、即座に保守者へ異常となったサービスを明示的に通知し、メンテナンスを促す必要が不可欠となってきた。   With the advance of network technology, services are diversified due to the increase in transmission volume. In a device that processes an Ethernet (registered trademark, hereinafter simply referred to as “LAN”) frame by VLAN (Virtual LAN: Virtual Network) routing or the like, the user can directly know the influence of the service on the failure in the device. It was difficult. In other words, there is no diagnostic function that explicitly detects an abnormality even if the LAN frame disappears or fails to arrive due to a device failure or the like. However, when the number of lines increases as the number of services increases, if the quality of the transmission path deteriorates, the cross-connect or VLAN routing function becomes abnormal, immediately notify the maintenance service to the maintenance person explicitly, The need to encourage maintenance has become essential.

図1は従来のLANフレームのルーティングを行う伝送装置の一例のブロック図を示す。伝送装置は、PHY部1a,1b,2a,2b、フレーム処理部3,4、スイッチ処理部5、それらの監視制御を行うCPU6a,6b,6cを有する。   FIG. 1 is a block diagram showing an example of a conventional transmission apparatus for routing LAN frames. The transmission apparatus includes PHY units 1a, 1b, 2a, and 2b, frame processing units 3 and 4, a switch processing unit 5, and CPUs 6a, 6b, and 6c that perform monitoring control thereof.

PHY部1a,1b,2a,2bは外部の伝送路とのインタフェースを行う部分であり、入力されたLAN信号の光/電気変換及び符号変換を行い、フレーム処理部3,4に送る。逆に、フレーム処理部3,4から送られた信号を符号変換及び電気/光変換してPHY部1a,1b,2a,2bから外部の伝送路に出力する。   The PHY units 1a, 1b, 2a, and 2b are parts that interface with external transmission lines, perform optical / electrical conversion and code conversion of input LAN signals, and send the frame signals to the frame processing units 3 and 4. Conversely, the signals sent from the frame processing units 3 and 4 are subjected to code conversion and electrical / optical conversion, and output from the PHY units 1a, 1b, 2a and 2b to an external transmission line.

フレーム処理部3,4は入力されたLANフレームのポリシング制御やLANフレームの処理を実施し、スイッチ処理部5にデータを転送する。また逆に、スイッチ処理部5から送られてきたデータフレームの処理やシェーピング制御などを実施し、PHY部1a,1b,2a,2bよりLANフレームの送信を行う。LANフレームの統計カウンタは、フレーム処理部3,4に存在する。これら統計カウンタはVLAN回線毎に設けられている。   The frame processing units 3 and 4 perform policing control of the input LAN frame and LAN frame processing, and transfer data to the switch processing unit 5. Conversely, processing of the data frame sent from the switch processing unit 5 and shaping control are performed, and LAN frames are transmitted from the PHY units 1a, 1b, 2a, and 2b. LAN frame statistical counters exist in the frame processing units 3 and 4. These statistical counters are provided for each VLAN line.

スイッチ処理部5はフレーム処理部3,4から送られてきたフレームデータのスイッチングを行い、適切なフレーム処理部3,4のポートに転送する機能を持つ。   The switch processing unit 5 has a function of switching the frame data transmitted from the frame processing units 3 and 4 and transferring the frame data to an appropriate port of the frame processing units 3 and 4.

ところで、各仮想回線の入力ポートと出力ポートでのネット・データの流れの差を測定し、閾値以上の場合に装置異常と判断してアラームを送出する技術が知られている(例えば特許文献1参照)。また、受信パケットに入力部でIDを付加し、出力部でそのIDを検出し、それらの対応を検査することで、診断を行う技術が知られている(例えば特許文献2参照)。   By the way, there is known a technique for measuring a difference in the flow of net data between an input port and an output port of each virtual circuit, and determining that the device is abnormal when it is equal to or greater than a threshold value (for example, Patent Document 1). reference). In addition, a technique is known in which diagnosis is performed by adding an ID to a received packet at an input unit, detecting the ID at an output unit, and examining their correspondence (see, for example, Patent Document 2).

特開平3−167939号公報JP-A-3-167939 特開平11−331259号公報JP 11-33159 A

図1において、PHY部1aから入力されてフレーム処理部3、スイッチ処理部5、フレーム処理部4を経由し、PHY部2aから出力されるLANフレームを考える。フレーム処理部3上の受信フレームカウンタをCPU6aで監視し、フレーム処理部4上の送信フレームカウンタをCPU6cで監視し、それらのカウンタを例えばCPU6bで比較することでLANフレームの透過性をチェックできる。   In FIG. 1, a LAN frame input from the PHY unit 1a and output from the PHY unit 2a through the frame processing unit 3, the switch processing unit 5, and the frame processing unit 4 is considered. The reception frame counter on the frame processing unit 3 is monitored by the CPU 6a, the transmission frame counter on the frame processing unit 4 is monitored by the CPU 6c, and these counters are compared by, for example, the CPU 6b, thereby checking the transparency of the LAN frame.

しかし、仮に異常がなかったとしても、CPU6aとCPU6cそれぞれの監視開始タイミングの違いや、LANフレームがフレーム処理部3,4やスイッチ処理部5を通過する遅延時間の関係で誤差が発生し、フレーム処理部3上の受信フレームカウンタとフレーム処理部4上の送信フレームカウンタの値には誤差が発生してしまう。この誤差を考慮して、誤差に閾値を設け閾値以上の差分があればアラーム通知することもできるが、LANのトラフィック量はダイナミックに変化するため、適切な閾値を決定し設定することは困難である。例えばある程度大きめの閾値を設定しても、トラフィックが少ない場合は障害検出ができないなどという問題があった。   However, even if there is no abnormality, an error occurs due to the difference in the monitoring start timing between the CPU 6a and the CPU 6c and the delay time for the LAN frame to pass through the frame processing units 3 and 4 and the switch processing unit 5. An error occurs between the values of the reception frame counter on the processing unit 3 and the transmission frame counter on the frame processing unit 4. In consideration of this error, a threshold is set for the error and an alarm can be notified if there is a difference greater than or equal to the threshold. However, since the traffic volume of the LAN changes dynamically, it is difficult to determine and set an appropriate threshold. is there. For example, there is a problem that even if a somewhat large threshold value is set, failure detection cannot be performed when the traffic is low.

開示の伝送装置は、ネットワークの障害を正確に診断することを目的とする。   The disclosed transmission apparatus is intended to accurately diagnose a network failure.

開示の一実施形態による伝送装置は、ネットワークを構成し、前記ネットワークの伝送路から受信したLANフレームを第1フレーム処理部からスイッチ処理部を通して第2フレーム処理部に供給し前記第2フレーム処理部から前記ネットワークの伝送路に送信する伝送装置において、
所定期間毎にトリガフレームを生成し前記伝送路から受信したLANフレームと共に第1フレーム処理部に供給するフレーム生成手段と、
前記第1フレーム処理部で前記トリガフレームが供給される前記所定期間に供給される前記LANフレームをカウントする第1カウント手段と、
前記第2フレーム処理部で前記トリガフレームが供給される前記所定期間に供給される前記LANフレームをカウントする第2カウント手段と、
前記第1カウント手段のカウント値と前記第2カウント手段のカウント値を比較して伝送装置内の障害を診断する装置内診断手段と、を有する。
A transmission apparatus according to an embodiment of the disclosure configures a network and supplies a LAN frame received from a transmission path of the network from a first frame processing unit to a second frame processing unit through a switch processing unit, and the second frame processing unit In the transmission device for transmitting to the transmission path of the network from
Frame generating means for generating a trigger frame every predetermined period and supplying the first frame processing unit together with the LAN frame received from the transmission path;
First counting means for counting the LAN frames supplied during the predetermined period in which the trigger frame is supplied by the first frame processing unit;
Second counting means for counting the LAN frames supplied in the predetermined period in which the trigger frame is supplied by the second frame processing unit;
In-device diagnostic means for comparing the count value of the first count means and the count value of the second count means to diagnose a fault in the transmission apparatus.

本実施形態によれば、ネットワークの障害を正確に診断することができる。   According to this embodiment, it is possible to accurately diagnose a network failure.

従来の伝送装置の一例のブロック図である。It is a block diagram of an example of the conventional transmission apparatus. 伝送装置の第1実施形態のブロック図である。1 is a block diagram of a first embodiment of a transmission apparatus. LANフレームの構成図である。It is a block diagram of a LAN frame. トリガフレームの構成図である。It is a block diagram of a trigger frame. トリガフレームの構成図である。It is a block diagram of a trigger frame. 伝送装置の第2実施形態の送信局のブロック図である。It is a block diagram of the transmitting station of 2nd Embodiment of a transmission apparatus. 伝送装置の第2実施形態の中継局のブロック図である。It is a block diagram of the relay station of 2nd Embodiment of a transmission apparatus. 伝送装置の第2実施形態の受信局のブロック図である。It is a block diagram of the receiving station of 2nd Embodiment of a transmission apparatus. 擬似VLANフレームの構成図である。It is a block diagram of a pseudo VLAN frame. 伝送装置の第3、第4実施形態のブロック図である。It is a block diagram of 3rd, 4th embodiment of a transmission device. 伝送装置の第5、第6実施形態のブロック図である。It is a block diagram of 5th, 6th embodiment of a transmission device. トリガフレームの構成図である。It is a block diagram of a trigger frame. トリガフレームの構成図である。It is a block diagram of a trigger frame. 第1実施形態を応用した伝送装置のブロック図である。It is a block diagram of the transmission apparatus which applied 1st Embodiment. 第2実施形態を応用した送信局の伝送装置のブロック図である。It is a block diagram of the transmission apparatus of the transmission station which applied 2nd Embodiment. 第2実施形態を応用した中継局の伝送装置のブロック図である。It is a block diagram of the transmission apparatus of the relay station to which the second embodiment is applied. 第2実施形態を応用した受信局の伝送装置のブロック図である。It is a block diagram of the transmission apparatus of the receiving station which applied 2nd Embodiment. 第3実施形態を応用した伝送装置のブロック図である。It is a block diagram of the transmission apparatus which applied 3rd Embodiment. 第4実施形態を応用した送信局の伝送装置のブロック図である。It is a block diagram of the transmission apparatus of the transmission station which applied 4th Embodiment. 第4実施形態を応用した中継局の伝送装置のブロック図である。It is a block diagram of the transmission apparatus of the relay station which applied 4th Embodiment. 第4実施形態を応用した受信局の伝送装置のブロック図である。It is a block diagram of the transmission apparatus of the receiving station which applied 4th Embodiment. 第5実施形態を応用した伝送装置のブロック図である。It is a block diagram of the transmission apparatus which applied 5th Embodiment. 第6実施形態を応用した送信局の伝送装置のブロック図である。It is a block diagram of the transmission apparatus of the transmission station which applied 6th Embodiment. 第6実施形態を応用した中継局の伝送装置のブロック図である。It is a block diagram of the transmission apparatus of the relay station to which the sixth embodiment is applied. 第6実施形態を応用した受信局の伝送装置のブロック図である。It is a block diagram of the transmission apparatus of the receiving station which applied 6th Embodiment.

以下、図面に基づいて実施形態を説明する。   Embodiments will be described below with reference to the drawings.

<第1実施形態>
図2はLANフレームのルーティングを行う伝送装置の第1実施形態のブロック図を示す。伝送装置10は、PHY部11,12、フレーム処理部13,14、スイッチ処理部15、それらの監視制御を行うCPU16a,16b,16cを有する。
<First Embodiment>
FIG. 2 shows a block diagram of a first embodiment of a transmission apparatus for routing LAN frames. The transmission apparatus 10 includes PHY units 11 and 12, frame processing units 13 and 14, a switch processing unit 15, and CPUs 16a, 16b, and 16c that perform monitoring control thereof.

PHY部11,12は外部の伝送路とのインタフェースを行う部分であり、入力されたLAN信号の光/電気変換及び符号変換を行いフレーム処理部13,14に送る。逆に、フレーム処理部13,14から送られた信号を符号変換及び電気/光変換してPHY部11,12から外部の伝送路に出力する。   The PHY units 11 and 12 are parts for interfacing with an external transmission line. The PHY units 11 and 12 perform optical / electrical conversion and code conversion of the input LAN signal and send them to the frame processing units 13 and 14. Conversely, the signals sent from the frame processing units 13 and 14 are subjected to code conversion and electrical / optical conversion, and output from the PHY units 11 and 12 to an external transmission line.

フレーム処理部13,14は主として入力されたLANフレームのポリシング制御やVLANフレームの処理を実施し、スイッチ処理部15にデータを転送する。また逆に、フレーム処理部13,14はスイッチ処理部15から送られてきたデータフレームの処理やシェーピング制御などを実施し、PHY部11,12よりLANフレームの送信を行う。   The frame processing units 13 and 14 mainly perform policing control of the input LAN frame and processing of the VLAN frame, and transfer data to the switch processing unit 15. Conversely, the frame processing units 13 and 14 perform processing of the data frame sent from the switch processing unit 15 and shaping control, and the PHY units 11 and 12 transmit LAN frames.

フレーム処理部13にはフレーム生成・挿入処理部21と、トリガフレーム検出処理部22と、フレームカウント部23と、リセット処理部24が設けられ、フレーム処理部14にはトリガフレーム検出処理部25と、フレームカウント部26と、リセット処理部27が設けられている。ここでは、便宜上、フレーム処理部13が受信側、フレーム処理部14が送信側となる片方向送信の場合について示している。双方向送信の場合にはフレーム処理部14にもフレーム生成・挿入処理部21と、トリガフレーム検出処理部22と、フレームカウント部23と、リセット処理部24が設けられ、フレーム処理部13にもトリガフレーム検出処理部25と、フレームカウント部26と、リセット処理部27が設けられる。   The frame processing unit 13 includes a frame generation / insertion processing unit 21, a trigger frame detection processing unit 22, a frame count unit 23, and a reset processing unit 24. The frame processing unit 14 includes a trigger frame detection processing unit 25 and A frame count unit 26 and a reset processing unit 27 are provided. Here, for the sake of convenience, the case of unidirectional transmission in which the frame processing unit 13 is the receiving side and the frame processing unit 14 is the transmitting side is shown. In the case of bidirectional transmission, the frame processing unit 14 is also provided with a frame generation / insertion processing unit 21, a trigger frame detection processing unit 22, a frame count unit 23, and a reset processing unit 24. A trigger frame detection processing unit 25, a frame count unit 26, and a reset processing unit 27 are provided.

PHY部11には図3に示す構成の主信号のLANフレームが供給される。LANフレームは、宛先アドレス(DA)、送信元アドレス(SA)、TPID(Tag Protocol Identifier(通常は0x8100)0xは16進表示を表す)#1、TCI(Tag Control Information)#1、Type/Length、Data、FCS(Frame Check Sequence)を持つ。TPID及びTCIがVLANタグであり、TCI内にVLAN−ID(仮想ネットワーク識別子)が含まれる。ここでは、TPID#1,TCI#1からなるVLANタグは1段であるが、2段以上のVLANタグを持つ構成であっても良い。これについては、後述の図4、図5、図9、図12等についても号用である。   The PHY unit 11 is supplied with the main signal LAN frame having the configuration shown in FIG. The LAN frame includes a destination address (DA), a source address (SA), a TPID (Tag Protocol Identifier (usually 0x8100), 0x represents a hexadecimal display) # 1, TCI (Tag Control Information) # 1, Type / Length. , Data, FCS (Frame Check Sequence). TPID and TCI are VLAN tags, and VLAN-ID (virtual network identifier) is included in TCI. Here, the VLAN tag consisting of TPID # 1 and TCI # 1 has one stage, but may have a structure having VLAN tags having two or more stages. This is also the case with reference to FIGS. 4, 5, 9, 12 and the like described later.

図2において、例えばCPU16aからシーケンスナンバを含むフレーム生成の指示により、フレーム生成・挿入処理部21は所定期間(例えば数10秒から数分程度)毎にトリガフレームを生成する。なお、CPU16a,16b,16cは互いに接続されており、どのCPUがフレーム生成の指示や障害の診断の指示を行っても良い。   In FIG. 2, for example, in response to a frame generation instruction including a sequence number from the CPU 16 a, the frame generation / insertion processing unit 21 generates a trigger frame every predetermined period (for example, about several tens of seconds to several minutes). The CPUs 16a, 16b, and 16c are connected to each other, and any CPU may issue a frame generation instruction or a failure diagnosis instruction.

図4にトリガフレームの構成図を示す。トリガフレームは、宛先アドレス(DA)、送信元アドレス(SA)、TPID#1及びTCI#1(主信号で使用されているTPID#1,TCI#1と同一のVLANタグ)、TPID#2及びTCI#2(トリガフレームを識別するための特殊なVLANタグ)、Type/Length(シーケンスナンバが含まれることを識別するための特別なTypeを指定)、シーケンスナンバ(SEQ Number:同期判定用の情報)、PAD(Padding)、FCSを持つ。トリガフレームのフレーム長は64オクテットである。上記シーケンスナンバはCPU16aから通知される値である。   FIG. 4 shows a configuration diagram of the trigger frame. The trigger frame includes a destination address (DA), a source address (SA), TPID # 1 and TCI # 1 (the same VLAN tag as TPID # 1 and TCI # 1 used in the main signal), TPID # 2, and TCI # 2 (special VLAN tag for identifying the trigger frame), Type / Length (specify a special type for identifying that the sequence number is included), sequence number (SEQ Number: information for synchronization determination) ), PAD (Padding), and FCS. The frame length of the trigger frame is 64 octets. The sequence number is a value notified from the CPU 16a.

フレーム生成・挿入処理部21で生成されたトリガフレームは主信号フレーム・キューに挿入され、主信号フレーム・キューからトリガフレーム検出処理部22に供給される。なお、CPU16aは上記フレーム生成の指示を出した後、同期判定用のシーケンスナンバを1だけインクリメントする。   The trigger frame generated by the frame generation / insertion processing unit 21 is inserted into the main signal frame queue and supplied to the trigger frame detection processing unit 22 from the main signal frame queue. The CPU 16a increments the sequence number for synchronization determination by 1 after issuing the frame generation instruction.

トリガフレーム検出処理部22は、供給されるフレームのTPID#2及びTCI#2からトリガフレームであることを検出すると、リセット処理部24にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部24からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部23の保持及びリセット処理が行われる。   When the trigger frame detection processing unit 22 detects that the frame is a trigger frame from the TPID # 2 and TCI # 2 of the supplied frame, the trigger frame detection processing unit 22 makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 24 and resets it. In response to a request (including a trigger frame sequence number) from the processing unit 24, the frame count unit 23 is held and reset.

フレームカウント部23は受信統計カウンタ(Rx Statistics Counters;以下、StatisticsをStatsと記す)23aと、前回受信統計カウンタ(Prev. Rx Stats Counter)23bを有している。受信統計カウンタ23aは、トリガ検出処理部22から供給されるLANフレームのフレーム数をVLAN−ID毎にカウントする受信フレームカウンタと、ポリシング機能によって設定された受信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする受信ポリシングカウンタを有している。前回受信統計カウンタ23bは、フレーム数をVLAN−ID毎に保持する前回受信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回受信ポリシングカウンタを有している。   The frame count unit 23 includes a reception statistics counter (Rx Statistics Counters; hereinafter, “Statistics” will be referred to as “Stats”) 23a and a previous reception statistics counter (Prev. Rx Status Counter) 23b. The reception statistics counter 23a includes a reception frame counter that counts the number of LAN frames supplied from the trigger detection processing unit 22 for each VLAN-ID, and a frame that exceeds the threshold of the reception frame rate set by the policing function and is discarded. Is received for each VLAN-ID. The previous reception statistics counter 23b includes a previous reception frame counter that holds the number of frames for each VLAN-ID, and a previous reception policing counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部23の保持及びリセット処理では、受信統計カウンタ23aの受信フレームカウンタの値と受信ポリシングカウンタの値をトリガフレームのシーケンスナンバと共に前回受信統計カウンタ23bの前回受信フレームカウンタと前回受信ポリシングカウンタに保持した後、受信統計カウンタ23aの受信フレームカウンタと受信ポリシングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 23, the value of the reception frame counter of the reception statistics counter 23a and the value of the reception policing counter are set in the previous reception frame counter and the previous reception policing counter of the previous reception statistics counter 23b together with the sequence number of the trigger frame. After the hold, the reception frame counter and the reception policing counter of the reception statistics counter 23a are reset to start a new count.

トリガフレームは、スイッチ処理部15を経由してフレーム処理部14に供給される。トリガフレームは、通常のLANフレームと同じTPID#1,TCI#1を有しているため、通常のLANフレームの出力先と同じ出力先まで到達することができ、フレーム処理部14に供給される。   The trigger frame is supplied to the frame processing unit 14 via the switch processing unit 15. Since the trigger frame has the same TPID # 1 and TCI # 1 as the normal LAN frame, the trigger frame can reach the same output destination as the output destination of the normal LAN frame and is supplied to the frame processing unit 14 .

フレーム処理部14のトリガフレーム検出処理部25は、トリガフレームを検出すると、リセット処理部27にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部27からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部26の保持及びリセット処理が行われる。この第1実施形態では、トリガフレームはこのトリガフレーム検出処理部25にて廃棄される。   When the trigger frame detection processing unit 25 of the frame processing unit 14 detects the trigger frame, it makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 27 and requests from the reset processing unit 27 (sequence of the trigger frame). The frame count unit 26 is held and reset. In the first embodiment, the trigger frame is discarded by the trigger frame detection processing unit 25.

フレームカウント部26は送信統計カウンタ(Tx Stats Counter)26aと、前回送信統計カウンタ(Prev.Tx Stats Counter)26bを有している。送信統計カウンタ26aは、トリガフレーム検出処理部25から供給されるLANフレームのフレーム数をVLAN−ID毎にカウントする送信フレームカウンタと、シェーピング機能によって設定された送信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする送信シェーピングカウンタを有している。前回送信統計カウンタ26bは、フレーム数をVLAN−ID毎に保持する前回送信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回送信シェーピングカウンタを有している。   The frame count unit 26 includes a transmission statistics counter (Tx Stats Counter) 26a and a previous transmission statistics counter (Prev. Tx Stats Counter) 26b. The transmission statistics counter 26a is discarded by exceeding a transmission frame rate threshold set by the shaping function and a transmission frame counter that counts the number of LAN frames supplied from the trigger frame detection processing unit 25 for each VLAN-ID. A transmission shaping counter that counts frames for each VLAN-ID is included. The previous transmission statistics counter 26b includes a previous transmission frame counter that holds the number of frames for each VLAN-ID, and a previous transmission shaping counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部26の保持及びリセット処理では、送信統計カウンタ26aの送信フレームカウンタの値と送信シェーピングカウンタの値をトリガフレームのシーケンスナンバと共に前回送信統計カウンタ26bの前回送信フレームカウンタと前回送信シェーピングカウンタに保持した後、送信統計カウンタ26aの送信フレームカウンタと送信シェーピングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 26, the value of the transmission frame counter of the transmission statistics counter 26a and the value of the transmission shaping counter are used as the previous transmission frame counter and the previous transmission shaping counter of the previous transmission statistics counter 26b together with the sequence number of the trigger frame. After the hold, the transmission frame counter and the transmission shaping counter of the transmission statistics counter 26a are reset to start a new count.

また、トリガフレーム検出処理部25において供給されたLANフレームがトリガフレームではない通常のLANフレームである場合は、通常のLANフレームはトリガフレーム検出処理部25からPHY部12を通して装置外に出力される。   When the LAN frame supplied in the trigger frame detection processing unit 25 is a normal LAN frame that is not a trigger frame, the normal LAN frame is output from the trigger frame detection processing unit 25 through the PHY unit 12 to the outside of the apparatus. .

CPU16aは、トリガフレーム検出処理部25からトリガフレーム検出を通知されると、フレームカウント部23の前回受信統計カウンタ23bに保持されているシーケンスナンバと、フレームカウント部26の前回送信統計カウンタ26bに保持されているシーケンスナンバを比較する。両シーケンスナンバが一致していた場合には、CPU16aは前回受信統計カウンタ23bに保持されているカウンタ値と、前回送信統計カウンタ26bに保持されているカウンタ値をVLAN−ID毎に比較することで障害の診断を実施する。   When notified of the trigger frame detection from the trigger frame detection processing unit 25, the CPU 16a holds the sequence number held in the previous reception statistics counter 23b of the frame count unit 23 and the previous transmission statistics counter 26b of the frame count unit 26. Compare the sequence numbers that have been set. If both sequence numbers match, the CPU 16a compares the counter value held in the previous reception statistics counter 23b with the counter value held in the previous transmission statistics counter 26b for each VLAN-ID. Diagnose the failure.

なお、前回受信統計カウンタ23b,前回送信統計カウンタ26bにカウンタ値及びトリガフレームのシーケンスナンバを保持する代りに、カウンタ値及びシーケンスナンバ期待値を保持し、シーケンスナンバ期待値をリセット要求によりインクリメントし、障害の診断時にCPU16aは前回受信統計カウンタ23b,前回送信統計カウンタ26bそれぞれのシーケンスナンバ期待値を比較する構成としてもよい。この場合、前回受信統計カウンタ23b,前回送信統計カウンタ26bそれぞれのシーケンスナンバ期待値が異なるときは,CPU16aは前回受信統計カウンタ23b,26のカウンタ値の比較を行わず、前回受信統計カウンタ23b,前回送信統計カウンタ26bそれぞれのシーケンスナンバ期待値をトリガフレームのシーケンスナンバをインクリメントした値に訂正して同期補正を行う。   Instead of holding the counter value and the trigger frame sequence number in the previous reception statistical counter 23b and the previous transmission statistical counter 26b, the counter value and the sequence number expected value are held, and the sequence number expected value is incremented by a reset request, The CPU 16a may compare the sequence number expected values of the previous reception statistical counter 23b and the previous transmission statistical counter 26b when diagnosing a fault. In this case, when the sequence number expectation values of the previous reception statistical counter 23b and the previous transmission statistical counter 26b are different, the CPU 16a does not compare the counter values of the previous reception statistical counters 23b and 26, and does not compare the previous reception statistical counter 23b and the previous transmission statistical counter 23b. The sequence number expected value of each of the transmission statistics counters 26b is corrected to a value obtained by incrementing the sequence number of the trigger frame to perform synchronization correction.

上記障害の診断では、前回受信統計カウンタ23bの前回受信フレームカウンタの値が前回送信統計カウンタ26bの前回送信フレームカウンタの値と前回送信シェーピングカウンタの値の和と同一のとき障害なし、同一ではないとき障害ありと診断する。この障害の診断は以降の診断においても同じである。   In the above failure diagnosis, there is no failure when the value of the previous reception frame counter of the previous reception statistics counter 23b is the same as the sum of the previous transmission frame counter value of the previous transmission statistics counter 26b and the previous transmission shaping counter value. When diagnosed as having trouble. The diagnosis of this failure is the same in the subsequent diagnosis.

上記の動作で使用されるトリガフレームにより、フレームカウント部23とフレームカウント部26のカウント開始の同期を取ることができ、監視開始タイミングのずれによる誤差をなくすことができる。また、トリガフレーム内のシーケンスナンバにより、診断時に使用されるフレームカウント部23とフレームカウント部26が同一時間帯のカウントであることを判定することができる。   With the trigger frame used in the above operation, the count start of the frame count unit 23 and the frame count unit 26 can be synchronized, and an error due to a shift in the monitoring start timing can be eliminated. Further, it can be determined from the sequence number in the trigger frame that the frame count unit 23 and the frame count unit 26 used at the time of diagnosis are counted in the same time zone.

この実施形態によれば、ネットワークを構成する伝送装置内の障害を正確に診断することができる。   According to this embodiment, it is possible to accurately diagnose a failure in a transmission apparatus that constitutes a network.

<第2実施形態>
第1実施形態では伝送装置内の診断を行うのに対し,第2実施形態では伝送装置間の診断を行う。伝送装置間の診断を行うために,トリガフレームを図5に示す構成とする。図5において、トリガフレームは、宛先アドレス(DA)、送信元アドレス(SA)、TPID#1及びTCI#1(主信号で使用されているTPID/TCIと同一)、TPID#2及びTCI#2(トリガフレームを識別するための特殊なVLANタグ)、Type/Length(シーケンスナンバが含まれることを識別するための特別なTypeを指定する)、シーケンスナンバ(SEQ Number:同期判定用の情報)、統計カウンタ(Stats Counter)、PAD(Padding)、FCSを持つ。トリガフレームのフレーム長は64オクテットであり、統計カウンタには前回送信フレームカウンタの値が設定される。
Second Embodiment
In the first embodiment, diagnosis within the transmission apparatus is performed, whereas in the second embodiment, diagnosis between transmission apparatuses is performed. In order to perform diagnosis between transmission apparatuses, the trigger frame has a configuration shown in FIG. In FIG. 5, the trigger frame includes a destination address (DA), a source address (SA), TPID # 1 and TCI # 1 (same as TPID / TCI used in the main signal), TPID # 2 and TCI # 2. (Special VLAN tag for identifying the trigger frame), Type / Length (specify a special type for identifying that the sequence number is included), sequence number (SEQ Number: information for synchronization determination), It has a statistic counter (Stats Counter), PAD (Padding), and FCS. The frame length of the trigger frame is 64 octets, and the value of the previous transmission frame counter is set in the statistical counter.

<送信局の伝送装置の動作>
図6は伝送装置の第2実施形態の送信局のブロック図を示す。図6において、図2と同一部分には同一符号を付す。また、LANフレームの流れを破線で示し、トリガフレームの流れを一点鎖線で示す。例えばCPU16aからシーケンスナンバを含むフレーム生成の指示により、フレーム生成・挿入処理部21は所定期間毎にトリガフレームを生成する。フレーム生成・挿入処理部21で生成されたトリガフレームは主信号フレーム・キューに挿入され、主信号フレーム・キューからトリガフレーム検出処理部22に供給される。
<Operation of transmission device of transmitting station>
FIG. 6 shows a block diagram of a transmitting station of the second embodiment of the transmission apparatus. In FIG. 6, the same parts as those in FIG. Further, the flow of the LAN frame is indicated by a broken line, and the flow of the trigger frame is indicated by a one-dot chain line. For example, in response to a frame generation instruction including a sequence number from the CPU 16a, the frame generation / insertion processing unit 21 generates a trigger frame every predetermined period. The trigger frame generated by the frame generation / insertion processing unit 21 is inserted into the main signal frame queue and supplied to the trigger frame detection processing unit 22 from the main signal frame queue.

トリガフレーム検出処理部22は、供給されるフレームのTPID#2及びTCI#2からトリガフレームであることを検出すると、リセット処理部24にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部24からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部23の保持及びリセット処理が行われる。   When the trigger frame detection processing unit 22 detects that the frame is a trigger frame from the TPID # 2 and TCI # 2 of the supplied frame, the trigger frame detection processing unit 22 makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 24 and resets it. In response to a request (including a trigger frame sequence number) from the processing unit 24, the frame count unit 23 is held and reset.

フレームカウント部23は受信統計カウンタと、前回受信統計カウンタ23bを有している。受信統計カウンタ23aは、トリガ検出処理部22から供給されるLANフレームのフレーム数をVLAN−ID毎にカウントする受信フレームカウンタと、ポリシング機能によって設定された受信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする受信ポリシングカウンタを有している。前回受信統計カウンタ23bは、フレーム数をVLAN−ID毎に保持する前回受信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回受信ポリシングカウンタを有している。   The frame count unit 23 includes a reception statistics counter and a previous reception statistics counter 23b. The reception statistics counter 23a includes a reception frame counter that counts the number of LAN frames supplied from the trigger detection processing unit 22 for each VLAN-ID, and a frame that exceeds the threshold of the reception frame rate set by the policing function and is discarded. Is received for each VLAN-ID. The previous reception statistics counter 23b includes a previous reception frame counter that holds the number of frames for each VLAN-ID, and a previous reception policing counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部23の保持及びリセット処理では、受信統計カウンタ23aの受信フレームカウンタの値と受信ポリシングカウンタの値をトリガフレームのシーケンスナンバと共に前回受信統計カウンタ23bの前回受信フレームカウンタと前回受信ポリシングカウンタに保持した後、受信統計カウンタ23aの受信フレームカウンタと受信ポリシングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 23, the value of the reception frame counter of the reception statistics counter 23a and the value of the reception policing counter are set in the previous reception frame counter and the previous reception policing counter of the previous reception statistics counter 23b together with the sequence number of the trigger frame. After the hold, the reception frame counter and the reception policing counter of the reception statistics counter 23a are reset to start a new count.

トリガフレームは、スイッチ処理部15を経由してフレーム処理部14に供給される。トリガフレームは、通常のLANフレームと同じTPID#1,TCI#1を有しているため、通常のLANフレームの出力先と同じ出力先まで到達することができ、フレーム処理部14に供給される。   The trigger frame is supplied to the frame processing unit 14 via the switch processing unit 15. Since the trigger frame has the same TPID # 1 and TCI # 1 as the normal LAN frame, the trigger frame can reach the same output destination as the output destination of the normal LAN frame and is supplied to the frame processing unit 14 .

フレーム処理部14のトリガフレーム検出処理部25は、トリガフレームを検出すると、リセット処理部27にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部27からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部26の保持及びリセット処理が行われる。この第2実施形態の送信局では、トリガフレーム検出処理部25はトリガフレーム検出時に、前回送信統計カウンタ26bの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値を図5に示すトリガフレームの統計カウンタに設定した後、PHY部12を通して装置外に出力する。   When the trigger frame detection processing unit 25 of the frame processing unit 14 detects the trigger frame, it makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 27 and requests from the reset processing unit 27 (sequence of the trigger frame). The frame count unit 26 is held and reset. In the transmission station of the second embodiment, the trigger frame detection processing unit 25 uses the trigger frame statistics shown in FIG. 5 as the values held in the transmission frame counter and the transmission shaping counter of the previous transmission statistics counter 26b when the trigger frame is detected. After setting the counter, the data is output outside the apparatus through the PHY unit 12.

フレームカウント部26は送信統計カウンタ26aと、前回送信統計カウンタ26bを有している。送信統計カウンタ26aは、トリガフレーム検出処理部25から供給されるLANフレームのフレーム数をVLAN−ID毎にカウントする送信フレームカウンタと、シェーピング機能によって設定された送信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする送信シェーピングカウンタを有している。前回送信統計カウンタ26bは、フレーム数をVLAN−ID毎に保持する前回送信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回送信シェーピングカウンタを有している。   The frame count unit 26 includes a transmission statistics counter 26a and a previous transmission statistics counter 26b. The transmission statistics counter 26a is discarded by exceeding a transmission frame rate threshold set by the shaping function and a transmission frame counter that counts the number of LAN frames supplied from the trigger frame detection processing unit 25 for each VLAN-ID. A transmission shaping counter that counts frames for each VLAN-ID is included. The previous transmission statistics counter 26b includes a previous transmission frame counter that holds the number of frames for each VLAN-ID, and a previous transmission shaping counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部26の保持及びリセット処理では、送信統計カウンタ26aの送信フレームカウンタの値と送信シェーピングカウンタの値をトリガフレームのシーケンスナンバと共に前回送信統計カウンタ26bの前回送信フレームカウンタと前回送信シェーピングカウンタに保持した後、送信統計カウンタ26aの送信フレームカウンタと送信シェーピングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 26, the value of the transmission frame counter of the transmission statistics counter 26a and the value of the transmission shaping counter are used as the previous transmission frame counter and the previous transmission shaping counter of the previous transmission statistics counter 26b together with the sequence number of the trigger frame. After the hold, the transmission frame counter and the transmission shaping counter of the transmission statistics counter 26a are reset to start a new count.

また、トリガフレーム検出処理部25において供給されたLANフレームがトリガフレームではない通常のLANフレームである場合は、通常のLANフレームはトリガフレーム検出処理部25からPHY部12を通して装置外に出力される。   When the LAN frame supplied in the trigger frame detection processing unit 25 is a normal LAN frame that is not a trigger frame, the normal LAN frame is output from the trigger frame detection processing unit 25 through the PHY unit 12 to the outside of the apparatus. .

CPU16aは、トリガフレーム検出処理部25からトリガフレーム検出を通知されると、フレームカウント部23の前回受信統計カウンタ23bに保持されているシーケンスナンバと、フレームカウント部26の前回送信統計カウンタ26bに保持されているシーケンスナンバを比較する。両シーケンスナンバが一致していた場合には、CPU16aは前回受信統計カウンタ23bに保持されているカウンタ値と、前回送信統計カウンタ26bに保持されているカウンタ値をVLAN−ID毎に比較することで障害の診断を実施する。   When notified of the trigger frame detection from the trigger frame detection processing unit 25, the CPU 16a holds the sequence number held in the previous reception statistics counter 23b of the frame count unit 23 and the previous transmission statistics counter 26b of the frame count unit 26. Compare the sequence numbers that have been set. If both sequence numbers match, the CPU 16a compares the counter value held in the previous reception statistics counter 23b with the counter value held in the previous transmission statistics counter 26b for each VLAN-ID. Diagnose the failure.

<中継局の伝送装置の動作>
図7は伝送装置の第2実施形態の中継局のブロック図を示す。図7において、図2と同一部分には同一符号を付す。また、LANフレームの流れを破線で示し、トリガフレームの流れを一点鎖線で示す。PHY部11で受信したLANフレーム(トリガフレームを含む)はフレーム生成・挿入処理部21を透過してトリガフレーム検出処理部22に供給される。
<Operation of Relay Station Transmission Device>
FIG. 7 shows a block diagram of a relay station of the second embodiment of the transmission apparatus. In FIG. 7, the same parts as those in FIG. Further, the flow of the LAN frame is indicated by a broken line, and the flow of the trigger frame is indicated by a one-dot chain line. The LAN frame (including the trigger frame) received by the PHY unit 11 passes through the frame generation / insertion processing unit 21 and is supplied to the trigger frame detection processing unit 22.

トリガフレーム検出処理部22は、供給されるフレームのTPID#2及びTCI#2からトリガフレームであることを検出すると、リセット処理部24にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部24からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部23の保持及びリセット処理が行われる。   When the trigger frame detection processing unit 22 detects that the frame is a trigger frame from the TPID # 2 and TCI # 2 of the supplied frame, the trigger frame detection processing unit 22 makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 24 and resets it. In response to a request (including a trigger frame sequence number) from the processing unit 24, the frame count unit 23 is held and reset.

フレームカウント部23は受信統計カウンタと、前回受信統計カウンタ23bを有している。受信統計カウンタ23aは、トリガ検出処理部22から供給されるLANフレームのフレーム数をVLAN−ID毎にカウントする受信フレームカウンタとポリシング機能によって設定された受信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする受信ポリシングカウンタを有している。前回受信統計カウンタ23bは、フレーム数をVLAN−ID毎に保持する前回受信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回受信ポリシングカウンタを有している。   The frame count unit 23 includes a reception statistics counter and a previous reception statistics counter 23b. The reception statistic counter 23a receives frames discarded above the threshold of the reception frame rate set by the reception frame counter and the policing function that count the number of LAN frames supplied from the trigger detection processing unit 22 for each VLAN-ID. It has a reception policing counter that counts for each VLAN-ID. The previous reception statistics counter 23b includes a previous reception frame counter that holds the number of frames for each VLAN-ID, and a previous reception policing counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部23の保持及びリセット処理では、受信統計カウンタ23aの受信フレームカウンタの値と受信ポリシングカウンタの値をトリガフレームのシーケンスナンバと共に前回受信統計カウンタ23bの前回受信フレームカウンタと前回受信ポリシングカウンタに保持した後、受信統計カウンタ23aの受信フレームカウンタと受信ポリシングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 23, the value of the reception frame counter of the reception statistics counter 23a and the value of the reception policing counter are set in the previous reception frame counter and the previous reception policing counter of the previous reception statistics counter 23b together with the sequence number of the trigger frame. After the hold, the reception frame counter and the reception policing counter of the reception statistics counter 23a are reset to start a new count.

CPU16aは、トリガフレーム検出処理部22からトリガフレーム検出を通知されると、トリガフレームのシーケンスナンバと、フレームカウント部23の前回受信統計カウンタ23bに保持されているシーケンスナンバを比較する。両シーケンスナンバが一致していた場合には、CPU16aはトリガフレームの統計カウンタの値と、前回受信統計カウンタ23bに保持されているカウンタ値をVLAN−ID毎に比較することで送信局と中継局間の障害の診断を実施する。   When notified of the trigger frame detection from the trigger frame detection processing unit 22, the CPU 16a compares the sequence number of the trigger frame with the sequence number held in the previous reception statistical counter 23b of the frame count unit 23. When both sequence numbers match, the CPU 16a compares the value of the trigger frame statistical counter with the counter value held in the previous reception statistical counter 23b for each VLAN-ID, so that the transmitting station and the relay station Diagnose the failure during.

この障害の診断では、トリガフレームの統計カウンタの送信フレームカウンタの値が前回受信統計カウンタ23bの前回受信フレームカウンタの値と前回受信ポリシングカウンタの値の和と同一のとき障害なし、同一ではないとき障害ありと診断する。この障害の診断は以降の中継局及び受信局の診断においても同じである。   In this failure diagnosis, when the transmission frame counter value of the trigger frame statistical counter is the same as the sum of the previous reception frame counter value of the previous reception statistical counter 23b and the previous reception policing counter value, there is no failure, and when it is not the same Diagnose with failure. The diagnosis of the failure is the same in the subsequent diagnosis of the relay station and the receiving station.

トリガフレームは、スイッチ処理部15を経由してフレーム処理部14に供給される。トリガフレームは、通常のLANフレームと同じTPID#1,TCI#1を有しているため、通常のLANフレームの出力先と同じ出力先まで到達することができ、フレーム処理部14に供給される。   The trigger frame is supplied to the frame processing unit 14 via the switch processing unit 15. Since the trigger frame has the same TPID # 1 and TCI # 1 as the normal LAN frame, the trigger frame can reach the same output destination as the output destination of the normal LAN frame and is supplied to the frame processing unit 14 .

フレーム処理部14のトリガフレーム検出処理部25は、トリガフレームを検出すると、リセット処理部27にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部27からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部26の保持及びリセット処理が行われる。この第2実施形態の中継局では、トリガフレーム検出処理部25はトリガフレーム検出時に、前回送信統計カウンタ26bの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値を図5に示すトリガフレームの統計カウンタに設定した後、PHY部12を通して装置外に出力する。   When the trigger frame detection processing unit 25 of the frame processing unit 14 detects the trigger frame, it makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 27 and requests from the reset processing unit 27 (sequence of the trigger frame). The frame count unit 26 is held and reset. In the relay station of the second embodiment, the trigger frame detection processing unit 25 sets the values held in the transmission frame counter and the transmission shaping counter of the previous transmission statistics counter 26b to the trigger frame statistics shown in FIG. After setting the counter, the data is output outside the apparatus through the PHY unit 12.

フレームカウント部26は送信統計カウンタ26aと、前回送信統計カウンタ26bを有している。送信統計カウンタ26aは、トリガフレーム検出処理部25から供給されるLANフレームのフレーム数をVLAN−ID毎にカウントする送信フレームカウンタと、シェーピング機能によって設定された送信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする送信シェーピングカウンタを有している。前回送信統計カウンタ26bは、フレーム数をVLAN−ID毎に保持する前回送信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回送信シェーピングカウンタを有している。   The frame count unit 26 includes a transmission statistics counter 26a and a previous transmission statistics counter 26b. The transmission statistics counter 26a is discarded by exceeding a transmission frame rate threshold set by the shaping function and a transmission frame counter that counts the number of LAN frames supplied from the trigger frame detection processing unit 25 for each VLAN-ID. A transmission shaping counter that counts frames for each VLAN-ID is included. The previous transmission statistics counter 26b includes a previous transmission frame counter that holds the number of frames for each VLAN-ID, and a previous transmission shaping counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部26の保持及びリセット処理では、送信統計カウンタ26aの送信フレームカウンタの値と送信シェーピングカウンタの値をトリガフレームのシーケンスナンバと共に前回送信統計カウンタ26bの前回送信フレームカウンタと前回送信シェーピングカウンタに保持した後、送信統計カウンタ26aの送信フレームカウンタと送信シェーピングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 26, the value of the transmission frame counter of the transmission statistics counter 26a and the value of the transmission shaping counter are used as the previous transmission frame counter and the previous transmission shaping counter of the previous transmission statistics counter 26b together with the sequence number of the trigger frame. After the hold, the transmission frame counter and the transmission shaping counter of the transmission statistics counter 26a are reset to start a new count.

また、トリガフレーム検出処理部25において供給されたLANフレームがトリガフレームではない通常のLANフレームである場合は、通常のLANフレームはトリガフレーム検出処理部25からPHY部12を通して装置外に出力される。   When the LAN frame supplied in the trigger frame detection processing unit 25 is a normal LAN frame that is not a trigger frame, the normal LAN frame is output from the trigger frame detection processing unit 25 through the PHY unit 12 to the outside of the apparatus. .

CPU16aは、トリガフレーム検出処理部25からトリガフレーム検出を通知されると、フレームカウント部23の前回受信統計カウンタ23bに保持されているシーケンスナンバと、フレームカウント部26の前回送信統計カウンタ26bに保持されているシーケンスナンバを比較する。両シーケンスナンバが一致していた場合には、CPU16aは前回受信統計カウンタ23bに保持されているカウンタ値と、前回送信統計カウンタ26bに保持されているカウンタ値をVLAN−ID毎に比較することで障害の診断を実施する。   When notified of the trigger frame detection from the trigger frame detection processing unit 25, the CPU 16a holds the sequence number held in the previous reception statistics counter 23b of the frame count unit 23 and the previous transmission statistics counter 26b of the frame count unit 26. Compare the sequence numbers that have been set. If both sequence numbers match, the CPU 16a compares the counter value held in the previous reception statistics counter 23b with the counter value held in the previous transmission statistics counter 26b for each VLAN-ID. Diagnose the failure.

<受信局の伝送装置の動作>
図8は伝送装置の第2実施形態の受信局のブロック図を示す。図8において、図2と同一部分には同一符号を付す。また、LANフレームの流れを破線で示し、トリガフレームの流れを一点鎖線で示す。PHY部11で受信したLANフレーム(トリガフレームを含む)はフレーム生成・挿入処理部21を透過してトリガフレーム検出処理部22に供給される。
<Operation of receiving station transmission device>
FIG. 8 shows a block diagram of a receiving station of the second embodiment of the transmission apparatus. In FIG. 8, the same parts as those in FIG. Further, the flow of the LAN frame is indicated by a broken line, and the flow of the trigger frame is indicated by a one-dot chain line. The LAN frame (including the trigger frame) received by the PHY unit 11 passes through the frame generation / insertion processing unit 21 and is supplied to the trigger frame detection processing unit 22.

トリガフレーム検出処理部22は、供給されるフレームのTPID#2及びTCI#2からトリガフレームであることを検出すると、リセット処理部24にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部24からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部23の保持及びリセット処理が行われる。   When the trigger frame detection processing unit 22 detects that the frame is a trigger frame from the TPID # 2 and TCI # 2 of the supplied frame, the trigger frame detection processing unit 22 makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 24 and resets it. In response to a request (including a trigger frame sequence number) from the processing unit 24, the frame count unit 23 is held and reset.

フレームカウント部23は受信統計カウンタと、前回受信統計カウンタ23bを有している。受信統計カウンタ23aは、トリガ検出処理部22から供給されるLANフレームのフレーム数をVLAN−ID毎にカウントする受信フレームカウンタと、ポリシング機能によって設定された受信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする受信ポリシングカウンタを有している。前回受信統計カウンタ23bは、フレーム数をVLAN−ID毎に保持する前回受信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回受信ポリシングカウンタを有している。   The frame count unit 23 includes a reception statistics counter and a previous reception statistics counter 23b. The reception statistics counter 23a includes a reception frame counter that counts the number of LAN frames supplied from the trigger detection processing unit 22 for each VLAN-ID, and a frame that exceeds the threshold of the reception frame rate set by the policing function and is discarded. Is received for each VLAN-ID. The previous reception statistics counter 23b includes a previous reception frame counter that holds the number of frames for each VLAN-ID, and a previous reception policing counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部23の保持及びリセット処理では、受信統計カウンタ23aの受信フレームカウンタの値と受信ポリシングカウンタの値をトリガフレームのシーケンスナンバと共に前回受信統計カウンタ23bの前回受信フレームカウンタと前回受信ポリシングカウンタに保持した後、受信統計カウンタ23aの受信フレームカウンタと受信ポリシングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 23, the value of the reception frame counter of the reception statistics counter 23a and the value of the reception policing counter are set in the previous reception frame counter and the previous reception policing counter of the previous reception statistics counter 23b together with the sequence number of the trigger frame. After the hold, the reception frame counter and the reception policing counter of the reception statistics counter 23a are reset to start a new count.

CPU16aは、トリガフレーム検出処理部22からトリガフレーム検出を通知されると、トリガフレームのシーケンスナンバと、フレームカウント部23の前回受信統計カウンタ23bに保持されているシーケンスナンバを比較する。両シーケンスナンバが一致していた場合には、CPU16aはトリガフレームの統計カウンタの値と、前回受信統計カウンタ23bに保持されているカウンタ値をVLAN−ID毎に比較することで中継局と受信局間の障害の診断を実施する。   When notified of the trigger frame detection from the trigger frame detection processing unit 22, the CPU 16a compares the sequence number of the trigger frame with the sequence number held in the previous reception statistical counter 23b of the frame count unit 23. If both sequence numbers match, the CPU 16a compares the value of the statistical counter of the trigger frame with the counter value held in the previous reception statistical counter 23b for each VLAN-ID, so that the relay station and the receiving station Diagnose the failure during.

トリガフレームは、スイッチ処理部15を経由してフレーム処理部14に供給される。トリガフレームは、通常のLANフレームと同じTPID#1,TCI#1を有しているため、通常のLANフレームの出力先と同じ出力先まで到達することができ、フレーム処理部14に供給される。   The trigger frame is supplied to the frame processing unit 14 via the switch processing unit 15. Since the trigger frame has the same TPID # 1 and TCI # 1 as the normal LAN frame, the trigger frame can reach the same output destination as the output destination of the normal LAN frame and is supplied to the frame processing unit 14 .

フレーム処理部14のトリガフレーム検出処理部25は、トリガフレームを検出すると、リセット処理部27にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部27からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部26の保持及びリセット処理が行われる。この第2実施形態の受信局では、トリガフレーム検出処理部25は自局宛のトリガフレーム(宛先アドレスから自局宛を判別)を廃棄する。   When the trigger frame detection processing unit 25 of the frame processing unit 14 detects the trigger frame, it makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 27 and requests from the reset processing unit 27 (sequence of the trigger frame). The frame count unit 26 is held and reset. In the receiving station according to the second embodiment, the trigger frame detection processing unit 25 discards the trigger frame addressed to the own station (determining whether it is addressed to the own station from the destination address).

フレームカウント部26は送信統計カウンタ26aと、前回送信統計カウンタ26bを有している。送信統計カウンタ26aは、トリガフレーム検出処理部25から供給されるLANフレームのフレーム数をVLAN−ID毎にカウントする送信フレームカウンタと、シェーピング機能によって設定された送信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする送信シェーピングカウンタを有している。前回送信統計カウンタ26bは、フレーム数をVLAN−ID毎に保持する前回送信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回送信シェーピングカウンタを有している。   The frame count unit 26 includes a transmission statistics counter 26a and a previous transmission statistics counter 26b. The transmission statistics counter 26a is discarded by exceeding a transmission frame rate threshold set by the shaping function and a transmission frame counter that counts the number of LAN frames supplied from the trigger frame detection processing unit 25 for each VLAN-ID. A transmission shaping counter that counts frames for each VLAN-ID is included. The previous transmission statistics counter 26b includes a previous transmission frame counter that holds the number of frames for each VLAN-ID, and a previous transmission shaping counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部26の保持及びリセット処理では、送信統計カウンタ26aの送信フレームカウンタの値と送信シェーピングカウンタの値をトリガフレームのシーケンスナンバと共に前回送信統計カウンタ26bの前回送信フレームカウンタと前回送信シェーピングカウンタに保持した後、送信統計カウンタ26aの送信フレームカウンタと送信シェーピングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 26, the value of the transmission frame counter of the transmission statistics counter 26a and the value of the transmission shaping counter are used as the previous transmission frame counter and the previous transmission shaping counter of the previous transmission statistics counter 26b together with the sequence number of the trigger frame. After the hold, the transmission frame counter and the transmission shaping counter of the transmission statistics counter 26a are reset to start a new count.

また、トリガフレーム検出処理部25において供給されたLANフレームがトリガフレームではない通常のLANフレームである場合は、通常のLANフレームはトリガフレーム検出処理部25からPHY部12を通して装置外に出力される。   When the LAN frame supplied in the trigger frame detection processing unit 25 is a normal LAN frame that is not a trigger frame, the normal LAN frame is output from the trigger frame detection processing unit 25 through the PHY unit 12 to the outside of the apparatus. .

CPU16aは、トリガフレーム検出処理部25からトリガフレーム検出を通知されると、フレームカウント部23の前回受信統計カウンタ23bに保持されているシーケンスナンバと、フレームカウント部26の前回送信統計カウンタ26bに保持されているシーケンスナンバを比較する。両シーケンスナンバが一致していた場合には、CPU16aは前回受信統計カウンタ23bに保持されているカウンタ値と、前回送信統計カウンタ26bに保持されているカウンタ値をVLAN−ID毎に比較することで障害の診断を実施する。   When notified of the trigger frame detection from the trigger frame detection processing unit 25, the CPU 16a holds the sequence number held in the previous reception statistics counter 23b of the frame count unit 23 and the previous transmission statistics counter 26b of the frame count unit 26. Compare the sequence numbers that have been set. If both sequence numbers match, the CPU 16a compares the counter value held in the previous reception statistics counter 23b with the counter value held in the previous transmission statistics counter 26b for each VLAN-ID. Diagnose the failure.

この実施形態によれば、トラフィック量が少なくても、ネットワークを構成する伝送装置内の障害及び伝送装置間の障害を正確に診断することができる。   According to this embodiment, even if the amount of traffic is small, it is possible to accurately diagnose a failure in a transmission device constituting a network and a failure between transmission devices.

<第3実施形態>
第1実施形態では外部からLANフレームが供給されない場合、フレームカウント部23,26はカウントを行わないため、診断つまり異常の検出を行うことができない。これを解決するのが第3実施形態である。第3実施形態では、トリガフレームに加えて擬似VLANフレームを生成する。
<Third Embodiment>
In the first embodiment, when the LAN frame is not supplied from the outside, the frame count units 23 and 26 do not count, and thus cannot diagnose, that is, detect an abnormality. The third embodiment solves this problem. In the third embodiment, a pseudo VLAN frame is generated in addition to the trigger frame.

図9に擬似VLANフレームの構成図を示す。擬似VLANフレームは、宛先アドレス(DA)、送信元アドレス(SA)、TPID#1及びTCI#1(主信号で使用されているTPID/TCIと同一)、TPID#3及びTCI#3(擬似VLANフレームを識別するための特殊なVLANタグ)、Type/Length、Data、FCSを持つ。Dataの内容はどのような値でも良く、擬似VLANフレームのフレーム長は例えば64オクテットとする。   FIG. 9 shows a configuration diagram of a pseudo VLAN frame. The pseudo VLAN frame has a destination address (DA), a source address (SA), TPID # 1 and TCI # 1 (same as TPID / TCI used in the main signal), TPID # 3 and TCI # 3 (pseudo VLAN). Special VLAN tag for identifying a frame), Type / Length, Data, and FCS. Data may have any value, and the frame length of the pseudo VLAN frame is, for example, 64 octets.

図10は伝送装置の第3実施形態のブロック図を示す。図10において、図2と同一部分には同一符号を付す。また、トリガフレームの流れを一点鎖線で示し、疑似LANフレームの流れを二点鎖線で示す。PHY部11で受信したLANフレームはフレーム生成・挿入処理部21を透過してトリガフレーム検出処理部22に供給される。例えばCPU16aからシーケンスナンバを含むフレーム生成の指示により、フレーム生成・挿入処理部21は所定期間(例えば数10秒から数分程度)毎にトリガフレームを生成すると共に、前記所定期間内に所定数(数1000から数10000程度)の疑似LANフレームを生成する。フレーム生成・挿入処理部21で生成されたトリガフレーム及び疑似LANフレームは主信号フレーム・キューに挿入され、主信号フレーム・キューからトリガフレーム検出処理部22に供給される。   FIG. 10 shows a block diagram of a third embodiment of the transmission apparatus. In FIG. 10, the same parts as those in FIG. Further, the flow of the trigger frame is indicated by a one-dot chain line, and the flow of the pseudo LAN frame is indicated by a two-dot chain line. The LAN frame received by the PHY unit 11 passes through the frame generation / insertion processing unit 21 and is supplied to the trigger frame detection processing unit 22. For example, in response to a frame generation instruction including a sequence number from the CPU 16a, the frame generation / insertion processing unit 21 generates a trigger frame every predetermined period (for example, several tens of seconds to several minutes), and a predetermined number (within the predetermined period ( A number of pseudo LAN frames of about several thousand to several tens of thousands) are generated. The trigger frame and the pseudo LAN frame generated by the frame generation / insertion processing unit 21 are inserted into the main signal frame queue and supplied to the trigger frame detection processing unit 22 from the main signal frame queue.

トリガフレーム検出処理部22は、供給されるフレームのTPID#2及びTCI#2からトリガフレームであることを検出すると、リセット処理部24にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部24からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部23の保持及びリセット処理が行われる。   When the trigger frame detection processing unit 22 detects that the frame is a trigger frame from the TPID # 2 and TCI # 2 of the supplied frame, the trigger frame detection processing unit 22 makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 24 and resets it. In response to a request from the processing unit 24 (including the sequence number of the trigger frame), the frame count unit 23 is held and reset.

フレームカウント部23は受信統計カウンタ23aと、前回受信統計カウンタ23bを有している。受信統計カウンタ23aは、トリガ検出処理部22から供給されるLANフレーム及び疑似LANフレームのフレーム数をVLAN−ID毎にカウントする受信フレームカウンタと、ポリシング機能によって設定された受信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする受信ポリシングカウンタを有している。前回受信統計カウンタ23bは、フレーム数をVLAN−ID毎に保持する前回受信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回受信ポリシングカウンタを有している。   The frame count unit 23 includes a reception statistics counter 23a and a previous reception statistics counter 23b. The reception statistics counter 23a exceeds the reception frame rate threshold set by the policing function and the reception frame counter that counts the number of LAN frames and pseudo LAN frames supplied from the trigger detection processing unit 22 for each VLAN-ID. A reception policing counter that counts discarded frames for each VLAN-ID is provided. The previous reception statistics counter 23b includes a previous reception frame counter that holds the number of frames for each VLAN-ID, and a previous reception policing counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部23の保持及びリセット処理では、受信統計カウンタ23aの受信フレームカウンタの値と受信ポリシングカウンタの値をトリガフレームのシーケンスナンバと共に前回受信統計カウンタ23bの前回受信フレームカウンタと前回受信ポリシングカウンタに保持した後、受信統計カウンタ23aの受信フレームカウンタと受信ポリシングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 23, the value of the reception frame counter of the reception statistics counter 23a and the value of the reception policing counter are set in the previous reception frame counter and the previous reception policing counter of the previous reception statistics counter 23b together with the sequence number of the trigger frame. After the hold, the reception frame counter and the reception policing counter of the reception statistics counter 23a are reset to start a new count.

トリガフレームは、スイッチ処理部15を経由してフレーム処理部14に供給される。トリガフレームは、通常のLANフレームと同じTPID#1,TCI#1を有しているため、通常のLANフレームの出力先と同じ出力先まで到達することができ、フレーム処理部14に供給される。   The trigger frame is supplied to the frame processing unit 14 via the switch processing unit 15. Since the trigger frame has the same TPID # 1 and TCI # 1 as the normal LAN frame, the trigger frame can reach the same output destination as the output destination of the normal LAN frame and is supplied to the frame processing unit 14 .

フレーム処理部14のトリガフレーム検出処理部25は、トリガフレームを検出すると、リセット処理部27にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部27からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部26の保持及びリセット処理が行われる。この第3実施形態では、トリガフレームはこのトリガフレーム検出処理部25にて廃棄される。   When the trigger frame detection processing unit 25 of the frame processing unit 14 detects the trigger frame, it makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 27 and requests from the reset processing unit 27 (sequence of the trigger frame). The frame count unit 26 is held and reset. In the third embodiment, the trigger frame is discarded by the trigger frame detection processing unit 25.

フレームカウント部26は送信統計カウンタ26aと、前回送信統計カウンタ26bを有している。送信統計カウンタ26aは、トリガフレーム検出処理部25から供給されるLANフレーム及び疑似LANフレームのフレーム数をVLAN−ID毎にカウントする送信フレームカウンタと、シェーピング機能によって設定された送信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする送信シェーピングカウンタを有している。前回送信統計カウンタ26bは、フレーム数をVLAN−ID毎に保持する前回送信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回送信シェーピングカウンタを有している。   The frame count unit 26 includes a transmission statistics counter 26a and a previous transmission statistics counter 26b. The transmission statistics counter 26a includes a transmission frame counter that counts the number of LAN frames and pseudo LAN frames supplied from the trigger frame detection processing unit 25 for each VLAN-ID, and a transmission frame rate threshold set by the shaping function. There is a transmission shaping counter that counts frames discarded by the upper limit for each VLAN-ID. The previous transmission statistics counter 26b includes a previous transmission frame counter that holds the number of frames for each VLAN-ID, and a previous transmission shaping counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部26の保持及びリセット処理では、送信統計カウンタ26aの送信フレームカウンタの値と送信シェーピングカウンタの値をトリガフレームのシーケンスナンバと共に前回送信統計カウンタ26bの前回送信フレームカウンタと前回送信シェーピングカウンタに保持した後、送信統計カウンタ26aの送信フレームカウンタと送信シェーピングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 26, the value of the transmission frame counter of the transmission statistics counter 26a and the value of the transmission shaping counter are used as the previous transmission frame counter and the previous transmission shaping counter of the previous transmission statistics counter 26b together with the sequence number of the trigger frame. After the hold, the transmission frame counter and the transmission shaping counter of the transmission statistics counter 26a are reset to start a new count.

また、トリガフレーム検出処理部25において供給されたLANフレームがトリガフレームではない通常のLANフレーム又は疑似LANフレームである場合は、通常のLANフレーム又は疑似LANフレームはトリガフレーム検出処理部25から疑似LANフレーム検出部28に供給される。疑似LANフレーム検出部28はTPID#3及びTCI#3から疑似LANフレームを検出して廃棄し、通常のLANフレームをPHY部12を通して装置外に出力する。   When the LAN frame supplied in the trigger frame detection processing unit 25 is a normal LAN frame or a pseudo LAN frame that is not a trigger frame, the normal LAN frame or the pseudo LAN frame is transmitted from the trigger frame detection processing unit 25 to the pseudo LAN. It is supplied to the frame detection unit 28. The pseudo LAN frame detection unit 28 detects and discards the pseudo LAN frame from TPID # 3 and TCI # 3, and outputs a normal LAN frame to the outside of the apparatus through the PHY unit 12.

CPU16aは、トリガフレーム検出処理部25からトリガフレーム検出を通知されると、フレームカウント部23の前回受信統計カウンタ23bに保持されているシーケンスナンバと、フレームカウント部26の前回送信統計カウンタ26bに保持されているシーケンスナンバを比較する。両シーケンスナンバが一致していた場合には、CPU16aは前回受信統計カウンタ23bに保持されているカウンタ値と、前回送信統計カウンタ26bに保持されているカウンタ値をVLAN−ID毎に比較することで障害の診断を実施する。この実施形態では外部からLANフレームが供給されない場合であっても疑似LANフレームをカウントすることで伝送装置内の診断つまり異常の検出を行うことができる。すなわち、トラフィック量がゼロの場合に、ネットワークを構成する伝送装置内の障害を正確に診断することができる。   When notified of the trigger frame detection from the trigger frame detection processing unit 25, the CPU 16a holds the sequence number held in the previous reception statistics counter 23b of the frame count unit 23 and the previous transmission statistics counter 26b of the frame count unit 26. Compare the sequence numbers that have been set. If both sequence numbers match, the CPU 16a compares the counter value held in the previous reception statistics counter 23b with the counter value held in the previous transmission statistics counter 26b for each VLAN-ID. Diagnose the failure. In this embodiment, even if a LAN frame is not supplied from the outside, it is possible to perform diagnosis in the transmission apparatus, that is, to detect an abnormality, by counting pseudo LAN frames. That is, when the amount of traffic is zero, it is possible to accurately diagnose a failure in the transmission apparatus constituting the network.

<第4実施形態>
第3実施形態では外部からLANフレームが供給されない場合にも伝送装置内の診断を行うのに対し,第4実施形態では伝送装置間の診断を行う。このため、トリガフレームは図5に示す構成とする。また、第4実施形態における送信局、中継局、受信局それぞれの構成は図10に示すものと同一である。
<Fourth embodiment>
In the third embodiment, diagnosis within the transmission apparatus is performed even when a LAN frame is not supplied from the outside. In the fourth embodiment, diagnosis between transmission apparatuses is performed. For this reason, the trigger frame is configured as shown in FIG. The configurations of the transmitting station, relay station, and receiving station in the fourth embodiment are the same as those shown in FIG.

<送信局の伝送装置の動作>
図10において、PHY部11で受信したLANフレーム(トリガフレームを含む)はフレーム生成・挿入処理部21を透過してトリガフレーム検出処理部22に供給される。例えばCPU16aからシーケンスナンバを含むフレーム生成の指示により、フレーム生成・挿入処理部21は所定期間毎にトリガフレームを生成すると共に、前記所定期間内に所定数の疑似LANフレームを生成する。フレーム生成・挿入処理部21で生成されたトリガフレーム及び疑似LANフレームは主信号フレーム・キューに挿入され、主信号フレーム・キューからトリガフレーム検出処理部22に供給される。
<Operation of transmission device of transmitting station>
In FIG. 10, the LAN frame (including the trigger frame) received by the PHY unit 11 passes through the frame generation / insertion processing unit 21 and is supplied to the trigger frame detection processing unit 22. For example, in response to a frame generation instruction including a sequence number from the CPU 16a, the frame generation / insertion processing unit 21 generates a trigger frame every predetermined period and also generates a predetermined number of pseudo LAN frames within the predetermined period. The trigger frame and the pseudo LAN frame generated by the frame generation / insertion processing unit 21 are inserted into the main signal frame queue and supplied to the trigger frame detection processing unit 22 from the main signal frame queue.

トリガフレーム検出処理部22は、供給されるフレームのTPID#2及びTCI#2からトリガフレームであることを検出すると、リセット処理部24にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部24からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部23の保持及びリセット処理が行われる。   When the trigger frame detection processing unit 22 detects that the frame is a trigger frame from the TPID # 2 and TCI # 2 of the supplied frame, the trigger frame detection processing unit 22 makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 24 and resets it. In response to a request (including a trigger frame sequence number) from the processing unit 24, the frame count unit 23 is held and reset.

フレームカウント部23は受信統計カウンタ23aと、前回受信統計カウンタ23bを有している。受信統計カウンタ23aは、トリガ検出処理部22から供給されるLANフレーム及び疑似LANフレームのフレーム数をVLAN−ID毎にカウントする受信フレームカウンタと、ポリシング機能によって設定された受信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする受信ポリシングカウンタを有している。前回受信統計カウンタ23bは、フレーム数をVLAN−ID毎に保持する前回受信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回受信ポリシングカウンタを有している。   The frame count unit 23 includes a reception statistics counter 23a and a previous reception statistics counter 23b. The reception statistics counter 23a exceeds the reception frame rate threshold set by the policing function and the reception frame counter that counts the number of LAN frames and pseudo LAN frames supplied from the trigger detection processing unit 22 for each VLAN-ID. A reception policing counter that counts discarded frames for each VLAN-ID is provided. The previous reception statistics counter 23b includes a previous reception frame counter that holds the number of frames for each VLAN-ID, and a previous reception policing counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部23の保持及びリセット処理では、受信統計カウンタ23aの受信フレームカウンタの値と受信ポリシングカウンタの値をトリガフレームのシーケンスナンバと共に前回受信統計カウンタ23bの前回受信フレームカウンタと前回受信ポリシングカウンタに保持した後、受信統計カウンタ23aの受信フレームカウンタと受信ポリシングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 23, the value of the reception frame counter of the reception statistics counter 23a and the value of the reception policing counter are set in the previous reception frame counter and the previous reception policing counter of the previous reception statistics counter 23b together with the sequence number of the trigger frame. After the hold, the reception frame counter and the reception policing counter of the reception statistics counter 23a are reset to start a new count.

トリガフレームは、スイッチ処理部15を経由してフレーム処理部14に供給される。トリガフレームは、通常のLANフレームと同じTPID#1,TCI#1を有しているため、通常のLANフレームの出力先と同じ出力先まで到達することができ、フレーム処理部14に供給される。   The trigger frame is supplied to the frame processing unit 14 via the switch processing unit 15. Since the trigger frame has the same TPID # 1 and TCI # 1 as the normal LAN frame, the trigger frame can reach the same output destination as the output destination of the normal LAN frame and is supplied to the frame processing unit 14 .

フレーム処理部14のトリガフレーム検出処理部25は、トリガフレームを検出すると、リセット処理部27にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部27からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部26の保持及びリセット処理が行われる。この第4実施形態の送信局では、トリガフレーム検出処理部25はトリガフレーム検出時に、前回送信統計カウンタ26bの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値を図5に示すトリガフレームの統計カウンタに設定した後、疑似LANフレーム検出部28,PHY部12を通して装置外に出力する。   When the trigger frame detection processing unit 25 of the frame processing unit 14 detects the trigger frame, it makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 27 and requests from the reset processing unit 27 (sequence of the trigger frame). The frame count unit 26 is held and reset. In the transmission station of the fourth embodiment, the trigger frame detection processing unit 25 uses the trigger frame statistics shown in FIG. 5 as the values held in the transmission frame counter and the transmission shaping counter of the previous transmission statistics counter 26b when the trigger frame is detected. After setting the counter, the data is output outside the apparatus through the pseudo LAN frame detection unit 28 and the PHY unit 12.

フレームカウント部26は送信統計カウンタ26aと、前回送信統計カウンタ26bを有している。送信統計カウンタ26aは、トリガフレーム検出処理部25から供給されるLANフレーム及び疑似LANフレームのフレーム数をVLAN−ID毎にカウントする送信フレームカウンタとシェーピング機能によって設定された送信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする送信シェーピングカウンタを有している。前回送信統計カウンタ26bは、フレーム数をVLAN−ID毎に保持する前回送信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回送信シェーピングカウンタを有している。   The frame count unit 26 includes a transmission statistics counter 26a and a previous transmission statistics counter 26b. The transmission statistics counter 26a exceeds the transmission frame rate threshold set by the transmission frame counter and the shaping function for counting the number of LAN frames and pseudo LAN frames supplied from the trigger frame detection processing unit 25 for each VLAN-ID. A transmission shaping counter that counts discarded frames for each VLAN-ID is included. The previous transmission statistics counter 26b includes a previous transmission frame counter that holds the number of frames for each VLAN-ID, and a previous transmission shaping counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部26の保持及びリセット処理では、送信統計カウンタ26aの送信フレームカウンタの値と送信シェーピングカウンタの値をトリガフレームのシーケンスナンバと共に前回送信統計カウンタ26bの前回送信フレームカウンタと前回送信シェーピングカウンタに保持した後、送信統計カウンタ26aの送信フレームカウンタと送信シェーピングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 26, the value of the transmission frame counter of the transmission statistics counter 26a and the value of the transmission shaping counter are used as the previous transmission frame counter and the previous transmission shaping counter of the previous transmission statistics counter 26b together with the sequence number of the trigger frame. After the hold, the transmission frame counter and the transmission shaping counter of the transmission statistics counter 26a are reset to start a new count.

また、トリガフレーム検出処理部25において供給されたLANフレームがトリガフレームではない通常のLANフレーム又は疑似LANフレームである場合は、通常のLANフレーム又は疑似LANフレームはトリガフレーム検出処理部25から疑似LANフレーム検出部28に供給される。この第4実施形態の送信局では、疑似LANフレーム検出部28は疑似LANフレームの廃棄を行わず、疑似LANフレーム及び通常のLANフレームをPHY部12を通して装置外に出力する。   When the LAN frame supplied in the trigger frame detection processing unit 25 is a normal LAN frame or a pseudo LAN frame that is not a trigger frame, the normal LAN frame or the pseudo LAN frame is transmitted from the trigger frame detection processing unit 25 to the pseudo LAN. It is supplied to the frame detection unit 28. In the transmission station of the fourth embodiment, the pseudo LAN frame detection unit 28 does not discard the pseudo LAN frame but outputs the pseudo LAN frame and the normal LAN frame to the outside of the apparatus through the PHY unit 12.

CPU16aは、トリガフレーム検出処理部25からトリガフレーム検出を通知されると、フレームカウント部23の前回受信統計カウンタ23bに保持されているシーケンスナンバと、フレームカウント部26の前回送信統計カウンタ26bに保持されているシーケンスナンバを比較する。両シーケンスナンバが一致していた場合には、CPU16aは前回受信統計カウンタ23bに保持されているカウンタ値と、前回送信統計カウンタ26bに保持されているカウンタ値をVLAN−ID毎に比較することで障害の診断を実施する。   When notified of the trigger frame detection from the trigger frame detection processing unit 25, the CPU 16a holds the sequence number held in the previous reception statistics counter 23b of the frame count unit 23 and the previous transmission statistics counter 26b of the frame count unit 26. Compare the sequence numbers that have been set. If both sequence numbers match, the CPU 16a compares the counter value held in the previous reception statistics counter 23b with the counter value held in the previous transmission statistics counter 26b for each VLAN-ID. Diagnose the failure.

<中継局の伝送装置の動作>
図10において、PHY部11で受信したLANフレーム(トリガフレーム及び疑似LANフレームを含む)はフレーム生成・挿入処理部21を透過してトリガフレーム検出処理部22に供給される。
<Operation of Relay Station Transmission Device>
In FIG. 10, the LAN frame (including the trigger frame and the pseudo LAN frame) received by the PHY unit 11 passes through the frame generation / insertion processing unit 21 and is supplied to the trigger frame detection processing unit 22.

トリガフレーム検出処理部22は、供給されるフレームのTPID#2及びTCI#2からトリガフレームであることを検出すると、リセット処理部24にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部24からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部23の保持及びリセット処理が行われる。   When the trigger frame detection processing unit 22 detects that the frame is a trigger frame from the TPID # 2 and TCI # 2 of the supplied frame, the trigger frame detection processing unit 22 makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 24 and resets it. In response to a request (including a trigger frame sequence number) from the processing unit 24, the frame count unit 23 is held and reset.

フレームカウント部23は受信統計カウンタと、前回受信統計カウンタ23bを有している。受信統計カウンタ23aは、トリガ検出処理部22から供給されるLANフレーム及び疑似LANフレームのフレーム数をVLAN−ID毎にカウントする受信フレームカウンタと、ポリシング機能によって設定された受信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする受信ポリシングカウンタを有している。前回受信統計カウンタ23bは、フレーム数をVLAN−ID毎に保持する前回受信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回受信ポリシングカウンタを有している。   The frame count unit 23 includes a reception statistics counter and a previous reception statistics counter 23b. The reception statistics counter 23a exceeds the reception frame rate threshold set by the policing function and the reception frame counter that counts the number of LAN frames and pseudo LAN frames supplied from the trigger detection processing unit 22 for each VLAN-ID. A reception policing counter that counts discarded frames for each VLAN-ID is provided. The previous reception statistics counter 23b includes a previous reception frame counter that holds the number of frames for each VLAN-ID, and a previous reception policing counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部23の保持及びリセット処理では、受信統計カウンタ23aの受信フレームカウンタの値と受信ポリシングカウンタの値をトリガフレームのシーケンスナンバと共に前回受信統計カウンタ23bの前回受信フレームカウンタと前回受信ポリシングカウンタに保持した後、受信統計カウンタ23aの受信フレームカウンタと受信ポリシングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 23, the value of the reception frame counter of the reception statistics counter 23a and the value of the reception policing counter are set in the previous reception frame counter and the previous reception policing counter of the previous reception statistics counter 23b together with the sequence number of the trigger frame. After the hold, the reception frame counter and the reception policing counter of the reception statistics counter 23a are reset to start a new count.

CPU16aは、トリガフレーム検出処理部22からトリガフレーム検出を通知されると、トリガフレームのシーケンスナンバと、フレームカウント部23の前回受信統計カウンタ23bに保持されているシーケンスナンバを比較する。両シーケンスナンバが一致していた場合には、CPU16aはトリガフレームの統計カウンタの値と、前回受信統計カウンタ23bに保持されているカウンタ値をVLAN−ID毎に比較することで送信局と中継局間の障害の診断を実施する。   When notified of the trigger frame detection from the trigger frame detection processing unit 22, the CPU 16a compares the sequence number of the trigger frame with the sequence number held in the previous reception statistical counter 23b of the frame count unit 23. When both sequence numbers match, the CPU 16a compares the value of the trigger frame statistical counter with the counter value held in the previous reception statistical counter 23b for each VLAN-ID, so that the transmitting station and the relay station Diagnose the failure during.

トリガフレームは、スイッチ処理部15を経由してフレーム処理部14に供給される。トリガフレームは、通常のLANフレームと同じTPID#1,TCI#1を有しているため、通常のLANフレームの出力先と同じ出力先まで到達することができ、フレーム処理部14に供給される。   The trigger frame is supplied to the frame processing unit 14 via the switch processing unit 15. Since the trigger frame has the same TPID # 1 and TCI # 1 as the normal LAN frame, the trigger frame can reach the same output destination as the output destination of the normal LAN frame and is supplied to the frame processing unit 14 .

フレーム処理部14のトリガフレーム検出処理部25は、トリガフレームを検出すると、リセット処理部27にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部27からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部26の保持及びリセット処理が行われる。この第4実施形態の中継局では、トリガフレーム検出処理部25はトリガフレーム検出時に、前回送信統計カウンタ26bの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値を図5に示すトリガフレームの統計カウンタに設定した後、疑似LANフレーム検出部28,PHY部12を通して装置外に出力する。   When the trigger frame detection processing unit 25 of the frame processing unit 14 detects the trigger frame, it makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 27 and requests from the reset processing unit 27 (sequence of the trigger frame). The frame count unit 26 is held and reset. In the relay station of the fourth embodiment, the trigger frame detection processing unit 25 sets the values held in the transmission frame counter and the transmission shaping counter of the previous transmission statistics counter 26b to the trigger frame statistics shown in FIG. After setting the counter, the data is output outside the apparatus through the pseudo LAN frame detection unit 28 and the PHY unit 12.

フレームカウント部26は送信統計カウンタ26aと、前回送信統計カウンタ26bを有している。送信統計カウンタ26aは、トリガフレーム検出処理部25から供給されるLANフレーム及び疑似LANフレームのフレーム数をVLAN−ID毎にカウントする送信フレームカウンタと、シェーピング機能によって設定された送信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする送信シェーピングカウンタを有している。前回送信統計カウンタ26bは、フレーム数をVLAN−ID毎に保持する前回送信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回送信シェーピングカウンタを有している。   The frame count unit 26 includes a transmission statistics counter 26a and a previous transmission statistics counter 26b. The transmission statistics counter 26a includes a transmission frame counter that counts the number of LAN frames and pseudo LAN frames supplied from the trigger frame detection processing unit 25 for each VLAN-ID, and a transmission frame rate threshold set by the shaping function. There is a transmission shaping counter that counts frames discarded by the upper limit for each VLAN-ID. The previous transmission statistics counter 26b includes a previous transmission frame counter that holds the number of frames for each VLAN-ID, and a previous transmission shaping counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部26の保持及びリセット処理では、送信統計カウンタ26aの送信フレームカウンタの値と送信シェーピングカウンタの値をトリガフレームのシーケンスナンバと共に前回送信統計カウンタ26bの前回送信フレームカウンタと前回送信シェーピングカウンタに保持した後、送信統計カウンタ26aの送信フレームカウンタと送信シェーピングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 26, the value of the transmission frame counter of the transmission statistics counter 26a and the value of the transmission shaping counter are used as the previous transmission frame counter and the previous transmission shaping counter of the previous transmission statistics counter 26b together with the sequence number of the trigger frame. After the hold, the transmission frame counter and the transmission shaping counter of the transmission statistics counter 26a are reset to start a new count.

また、トリガフレーム検出処理部25において供給されたLANフレームがトリガフレームではない通常のLANフレーム又は疑似LANフレームである場合は、通常のLANフレーム又は疑似LANフレームはトリガフレーム検出処理部25から疑似LANフレーム検出部28に供給される。この第4実施形態の中継局では、疑似LANフレーム検出部28は疑似LANフレームの廃棄を行わず、疑似LANフレーム及び通常のLANフレームをPHY部12を通して装置外に出力する。   When the LAN frame supplied in the trigger frame detection processing unit 25 is a normal LAN frame or a pseudo LAN frame that is not a trigger frame, the normal LAN frame or the pseudo LAN frame is transmitted from the trigger frame detection processing unit 25 to the pseudo LAN. It is supplied to the frame detection unit 28. In the relay station of the fourth embodiment, the pseudo LAN frame detection unit 28 does not discard the pseudo LAN frame but outputs the pseudo LAN frame and the normal LAN frame to the outside of the apparatus through the PHY unit 12.

CPU16aは、トリガフレーム検出処理部25からトリガフレーム検出を通知されると、フレームカウント部23の前回受信統計カウンタ23bに保持されているシーケンスナンバと、フレームカウント部26の前回送信統計カウンタ26bに保持されているシーケンスナンバを比較する。両シーケンスナンバが一致していた場合には、CPU16aは前回受信統計カウンタ23bに保持されているカウンタ値と、前回送信統計カウンタ26bに保持されているカウンタ値をVLAN−ID毎に比較することで障害の診断を実施する。   When notified of the trigger frame detection from the trigger frame detection processing unit 25, the CPU 16a holds the sequence number held in the previous reception statistics counter 23b of the frame count unit 23 and the previous transmission statistics counter 26b of the frame count unit 26. Compare the sequence numbers that have been set. If both sequence numbers match, the CPU 16a compares the counter value held in the previous reception statistics counter 23b with the counter value held in the previous transmission statistics counter 26b for each VLAN-ID. Diagnose the failure.

<受信局の伝送装置の動作>
図10において、PHY部11で受信したLANフレーム(トリガフレーム及び疑似LANフレームを含む)はフレーム生成・挿入処理部21を透過してトリガフレーム検出処理部22に供給される。
<Operation of receiving station transmission device>
In FIG. 10, the LAN frame (including the trigger frame and the pseudo LAN frame) received by the PHY unit 11 passes through the frame generation / insertion processing unit 21 and is supplied to the trigger frame detection processing unit 22.

トリガフレーム検出処理部22は、供給されるフレームのTPID#2及びTCI#2からトリガフレームであることを検出すると、リセット処理部24にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部24からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部23の保持及びリセット処理が行われる。   When the trigger frame detection processing unit 22 detects that the frame is a trigger frame from the TPID # 2 and TCI # 2 of the supplied frame, the trigger frame detection processing unit 22 makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 24 and resets it. In response to a request (including a trigger frame sequence number) from the processing unit 24, the frame count unit 23 is held and reset.

フレームカウント部23は受信統計カウンタと、前回受信統計カウンタ23bを有している。受信統計カウンタ23aは、トリガ検出処理部22から供給されるLANフレーム及び疑似LANフレームのフレーム数をVLAN−ID毎にカウントする受信フレームカウンタと、ポリシング機能によって設定された受信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする受信ポリシングカウンタを有している。前回受信統計カウンタ23bは、フレーム数をVLAN−ID毎に保持する前回受信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回受信ポリシングカウンタを有している。   The frame count unit 23 includes a reception statistics counter and a previous reception statistics counter 23b. The reception statistics counter 23a exceeds the reception frame rate threshold set by the policing function and the reception frame counter that counts the number of LAN frames and pseudo LAN frames supplied from the trigger detection processing unit 22 for each VLAN-ID. A reception policing counter that counts discarded frames for each VLAN-ID is provided. The previous reception statistics counter 23b includes a previous reception frame counter that holds the number of frames for each VLAN-ID, and a previous reception policing counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部23の保持及びリセット処理では、受信統計カウンタ23aの受信フレームカウンタの値と受信ポリシングカウンタの値をトリガフレームのシーケンスナンバと共に前回受信統計カウンタ23bの前回受信フレームカウンタと前回受信ポリシングカウンタに保持した後、受信統計カウンタ23aの受信フレームカウンタと受信ポリシングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 23, the value of the reception frame counter of the reception statistics counter 23a and the value of the reception policing counter are set in the previous reception frame counter and the previous reception policing counter of the previous reception statistics counter 23b together with the sequence number of the trigger frame. After the hold, the reception frame counter and the reception policing counter of the reception statistics counter 23a are reset to start a new count.

CPU16aは、トリガフレーム検出処理部22からトリガフレーム検出を通知されると、トリガフレームのシーケンスナンバと、フレームカウント部23の前回受信統計カウンタ23bに保持されているシーケンスナンバを比較する。両シーケンスナンバが一致していた場合には、CPU16aはトリガフレームの統計カウンタの値と、前回受信統計カウンタ23bに保持されているカウンタ値をVLAN−ID毎に比較することで中継局と受信局間の障害の診断を実施する。   When notified of the trigger frame detection from the trigger frame detection processing unit 22, the CPU 16a compares the sequence number of the trigger frame with the sequence number held in the previous reception statistical counter 23b of the frame count unit 23. If both sequence numbers match, the CPU 16a compares the value of the statistical counter of the trigger frame with the counter value held in the previous reception statistical counter 23b for each VLAN-ID, so that the relay station and the receiving station Diagnose the failure during.

トリガフレームは、スイッチ処理部15を経由してフレーム処理部14に供給される。トリガフレームは、通常のLANフレームと同じTPID#1,TCI#1を有しているため、通常のLANフレームの出力先と同じ出力先まで到達することができ、フレーム処理部14に供給される。   The trigger frame is supplied to the frame processing unit 14 via the switch processing unit 15. Since the trigger frame has the same TPID # 1 and TCI # 1 as the normal LAN frame, the trigger frame can reach the same output destination as the output destination of the normal LAN frame and is supplied to the frame processing unit 14 .

フレーム処理部14のトリガフレーム検出処理部25は、トリガフレームを検出すると、リセット処理部27にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部27からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部26の保持及びリセット処理が行われる。この第4実施形態の受信局では、トリガフレーム検出処理部25は自局宛のトリガフレームを廃棄する。   When the trigger frame detection processing unit 25 of the frame processing unit 14 detects the trigger frame, it makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 27 and requests from the reset processing unit 27 (sequence of the trigger frame). The frame count unit 26 is held and reset. In the receiving station of the fourth embodiment, the trigger frame detection processing unit 25 discards the trigger frame addressed to itself.

フレームカウント部26は送信統計カウンタ26aと、前回送信統計カウンタ26bを有している。送信統計カウンタ26aは、トリガフレーム検出処理部25から供給されるLANフレーム及び疑似LANフレームのフレーム数をVLAN−ID毎にカウントする送信フレームカウンタと、シェーピング機能によって設定された送信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする送信シェーピングカウンタを有している。前回送信統計カウンタ26bは、フレーム数をVLAN−ID毎に保持する前回送信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回送信シェーピングカウンタを有している。   The frame count unit 26 includes a transmission statistics counter 26a and a previous transmission statistics counter 26b. The transmission statistics counter 26a includes a transmission frame counter that counts the number of LAN frames and pseudo LAN frames supplied from the trigger frame detection processing unit 25 for each VLAN-ID, and a transmission frame rate threshold set by the shaping function. There is a transmission shaping counter that counts frames discarded by the upper limit for each VLAN-ID. The previous transmission statistics counter 26b includes a previous transmission frame counter that holds the number of frames for each VLAN-ID, and a previous transmission shaping counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部26の保持及びリセット処理では、送信統計カウンタ26aの送信フレームカウンタの値と送信シェーピングカウンタの値をトリガフレームのシーケンスナンバと共に前回送信統計カウンタ26bの前回送信フレームカウンタと前回送信シェーピングカウンタに保持した後、送信統計カウンタ26aの送信フレームカウンタと送信シェーピングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 26, the value of the transmission frame counter of the transmission statistics counter 26a and the value of the transmission shaping counter are used as the previous transmission frame counter and the previous transmission shaping counter of the previous transmission statistics counter 26b together with the sequence number of the trigger frame. After the hold, the transmission frame counter and the transmission shaping counter of the transmission statistics counter 26a are reset to start a new count.

また、トリガフレーム検出処理部25において供給されたLANフレームがトリガフレームではない通常のLANフレーム又は疑似LANフレームである場合は、通常のLANフレーム又は疑似LANフレームはトリガフレーム検出処理部25から疑似LANフレーム検出部28に供給される。この第4実施形態の受信局では、疑似LANフレーム検出部28は疑似LANフレームの廃棄を行い、通常のLANフレームをPHY部12を通して装置外に出力する。   When the LAN frame supplied in the trigger frame detection processing unit 25 is a normal LAN frame or a pseudo LAN frame that is not a trigger frame, the normal LAN frame or the pseudo LAN frame is transmitted from the trigger frame detection processing unit 25 to the pseudo LAN. It is supplied to the frame detection unit 28. In the receiving station of the fourth embodiment, the pseudo LAN frame detection unit 28 discards the pseudo LAN frame and outputs a normal LAN frame to the outside of the apparatus through the PHY unit 12.

CPU16aは、トリガフレーム検出処理部25からトリガフレーム検出を通知されると、フレームカウント部23の前回受信統計カウンタ23bに保持されているシーケンスナンバと、フレームカウント部26の前回送信統計カウンタ26bに保持されているシーケンスナンバを比較する。両シーケンスナンバが一致していた場合には、CPU16aは前回受信統計カウンタ23bに保持されているカウンタ値と、前回送信統計カウンタ26bに保持されているカウンタ値をVLAN−ID毎に比較することで障害の診断を実施する。   When notified of the trigger frame detection from the trigger frame detection processing unit 25, the CPU 16a holds the sequence number held in the previous reception statistics counter 23b of the frame count unit 23 and the previous transmission statistics counter 26b of the frame count unit 26. Compare the sequence numbers that have been set. If both sequence numbers match, the CPU 16a compares the counter value held in the previous reception statistics counter 23b with the counter value held in the previous transmission statistics counter 26b for each VLAN-ID. Diagnose the failure.

この実施形態によれば、トラフィック量がゼロの場合に、ネットワークを構成する伝送装置内の障害及び伝送装置間の障害を正確に診断することができる。   According to this embodiment, when the amount of traffic is zero, it is possible to accurately diagnose a failure in the transmission device constituting the network and a failure between the transmission devices.

<第5実施形態>
第5実施形態では回線が高使用率の場合を考慮して、第1実施形態のようにトリガフレームを生成して追加する代りに、トリガ用のVLANタグを通常のLANフレームに挿入してトリガフレームとすることで対応する。トリガ用のVLANタグは数バイト(例えば4バイト)であり、最小でも64バイトのトリガフレームに比して、回線使用率の増加を抑制することができる。
<Fifth Embodiment>
In the fifth embodiment, in consideration of the case where the line has a high usage rate, instead of generating and adding a trigger frame as in the first embodiment, a trigger VLAN tag is inserted into a normal LAN frame for triggering. This is done by using a frame. The trigger VLAN tag is several bytes (for example, 4 bytes), and an increase in the line usage rate can be suppressed as compared with a trigger frame of 64 bytes at the minimum.

図11は伝送装置の第5実施形態のブロック図を示す。図11において、図2と同一部分には同一符号を付す。PHY部11で受信したLANフレームはトリガ用VLANタグ生成・挿入処理部31に供給される。例えばCPU16aからシーケンスナンバを含むフレーム生成の指示により、トリガ用VLANタグ生成・挿入処理部31は所定期間(例えば数10秒から数分程度)毎にトリガ用VLANタグを生成し、その時点で主信号フレーム・キューに格納されている受信LANフレームに、上記トリガ用VLANタグを挿入してトリガフレームとする。   FIG. 11 shows a block diagram of a fifth embodiment of the transmission apparatus. In FIG. 11, the same parts as those in FIG. The LAN frame received by the PHY unit 11 is supplied to the trigger VLAN tag generation / insertion processing unit 31. For example, in response to a frame generation instruction including a sequence number from the CPU 16a, the trigger VLAN tag generation / insertion processing unit 31 generates a trigger VLAN tag every predetermined period (for example, several tens of seconds to several minutes). The trigger VLAN tag is inserted into the received LAN frame stored in the signal frame queue to form a trigger frame.

図12にトリガ用VLANタグを挿入したトリガフレームの構成図を示す。このLANフレームにおける、部分Iの宛先アドレス(DA)、送信元アドレス(SA)、TPID#1(通常は0x8100)、TCI#1と、部分IIIのType/Length、Data、FCSは、元の受信LANフレームである。部分IIのTPID#4及びTCI#4(トリガフレームを識別するための特殊なVLANタグ)、Type(シーケンスナンバが含まれることを識別するための特別なTypeを指定する)、シーケンスナンバ(SEQ Number:同期判定用の情報)がトリガ用VLANタグ生成・挿入処理部31で生成されたトリガ用VLANタグである。   FIG. 12 shows a configuration diagram of a trigger frame in which a trigger VLAN tag is inserted. In this LAN frame, the destination address (DA), source address (SA), TPID # 1 (usually 0x8100), TCI # 1, and type III / length, data, and FCS of part III are the original reception. It is a LAN frame. Part II TPID # 4 and TCI # 4 (special VLAN tag for identifying the trigger frame), Type (specify a special type for identifying that the sequence number is included), sequence number (SEQ Number) : Synchronization determination information) is a trigger VLAN tag generated by the trigger VLAN tag generation / insertion processing unit 31.

トリガ用VLANタグ生成・挿入処理部31の出力するLANフレームはトリガ用VLANタグ検出処理部32に供給される。   The LAN frame output from the trigger VLAN tag generation / insertion processing unit 31 is supplied to the trigger VLAN tag detection processing unit 32.

トリガ用VLANタグ検出処理部32は、供給されるフレームのTPID#4及びTCI#4からトリガフレームであることを検出すると、リセット処理部24にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部24からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部23の保持及びリセット処理が行われる。   When the trigger VLAN tag detection processing unit 32 detects the trigger frame from the TPID # 4 and TCI # 4 of the supplied frame, the trigger VLAN tag detection processing unit 32 makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 24. The frame count unit 23 is held and reset by a request from the reset processing unit 24 (including the trigger frame sequence number).

フレームカウント部23は受信統計カウンタ23aと、前回受信統計カウンタ23bを有している。受信統計カウンタ23aは、トリガ検出処理部22から供給されるLANフレーム(トリガフレームを含む)のフレーム数をVLAN−ID毎にカウントする受信フレームカウンタと、ポリシング機能によって設定された受信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする受信ポリシングカウンタを有している。前回受信統計カウンタ23bは、フレーム数をVLAN−ID毎に保持する前回受信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回受信ポリシングカウンタを有している。   The frame count unit 23 includes a reception statistics counter 23a and a previous reception statistics counter 23b. The reception statistics counter 23a includes a reception frame counter that counts the number of LAN frames (including a trigger frame) supplied from the trigger detection processing unit 22 for each VLAN-ID, and a threshold value of the reception frame rate set by the policing function. There is a reception policing counter that counts frames discarded in excess of the number of each VLAN-ID. The previous reception statistics counter 23b includes a previous reception frame counter that holds the number of frames for each VLAN-ID, and a previous reception policing counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部23の保持及びリセット処理では、受信統計カウンタ23aの受信フレームカウンタの値と受信ポリシングカウンタの値をトリガフレームのシーケンスナンバと共に前回受信統計カウンタ23bの前回受信フレームカウンタと前回受信ポリシングカウンタに保持した後、受信統計カウンタ23aの受信フレームカウンタと受信ポリシングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 23, the value of the reception frame counter of the reception statistics counter 23a and the value of the reception policing counter are set in the previous reception frame counter and the previous reception policing counter of the previous reception statistics counter 23b together with the sequence number of the trigger frame. After the hold, the reception frame counter and the reception policing counter of the reception statistics counter 23a are reset to start a new count.

トリガフレームは、スイッチ処理部15を経由してフレーム処理部14に供給される。トリガフレームは、通常のLANフレームと同じTPID#1,TCI#1を有しているため、通常のLANフレームの出力先と同じ出力先まで到達することができ、フレーム処理部14に供給される。   The trigger frame is supplied to the frame processing unit 14 via the switch processing unit 15. Since the trigger frame has the same TPID # 1 and TCI # 1 as the normal LAN frame, the trigger frame can reach the same output destination as the output destination of the normal LAN frame and is supplied to the frame processing unit 14 .

フレーム処理部14のトリガ用VLANタグ検出処理部35は、トリガフレームを検出すると、リセット処理部27にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部27からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部26の保持及びリセット処理が行われる。この第5実施形態では、トリガフレームはこのトリガ用VLANタグ検出処理部35にて、部分IIのTPID#4及びTCI#4、Type、シーケンスナンバを削除して元のLANフレームとされ、PHY部12を通して装置外に出力される。   When the trigger VLAN tag detection processing unit 35 of the frame processing unit 14 detects the trigger frame, the trigger VLAN tag detection processing unit 35 makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 27 and requests from the reset processing unit 27 (trigger frame). The frame count unit 26 is held and reset. In the fifth embodiment, the trigger VLAN tag detection processing unit 35 deletes the TPID # 4, TCI # 4, Type, and sequence number of the part II to obtain the original LAN frame, and the PHY unit 12 is output to the outside of the apparatus.

フレームカウント部26は送信統計カウンタ26aと、前回送信統計カウンタ26bを有している。送信統計カウンタ26aは、トリガ用VLANタグ検出処理部35から供給されるLANフレームのフレーム数をVLAN−ID毎にカウントする送信フレームカウンタと、シェーピング機能によって設定された送信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする送信シェーピングカウンタを有している。前回送信統計カウンタ26bは、フレーム数をVLAN−ID毎に保持する前回送信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回送信シェーピングカウンタを有している。   The frame count unit 26 includes a transmission statistics counter 26a and a previous transmission statistics counter 26b. The transmission statistics counter 26a discards the transmission frame counter that counts the number of LAN frames supplied from the trigger VLAN tag detection processing unit 35 for each VLAN-ID and exceeds the transmission frame rate threshold set by the shaping function. A transmission shaping counter that counts each frame for each VLAN-ID. The previous transmission statistics counter 26b includes a previous transmission frame counter that holds the number of frames for each VLAN-ID, and a previous transmission shaping counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部26の保持及びリセット処理では、送信統計カウンタ26aの送信フレームカウンタの値と送信シェーピングカウンタの値をトリガフレームのシーケンスナンバと共に前回送信統計カウンタ26bの前回送信フレームカウンタと前回送信シェーピングカウンタに保持した後、送信統計カウンタ26aの送信フレームカウンタと送信シェーピングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 26, the value of the transmission frame counter of the transmission statistics counter 26a and the value of the transmission shaping counter are used as the previous transmission frame counter and the previous transmission shaping counter of the previous transmission statistics counter 26b together with the sequence number of the trigger frame. After the hold, the transmission frame counter and the transmission shaping counter of the transmission statistics counter 26a are reset to start a new count.

CPU16aは、トリガ用VLANタグ検出処理部35からトリガフレーム検出を通知されると、フレームカウント部23の前回受信統計カウンタ23bに保持されているシーケンスナンバと、フレームカウント部26の前回送信統計カウンタ26bに保持されているシーケンスナンバを比較する。両シーケンスナンバが一致していた場合には、CPU16aは前回受信統計カウンタ23bに保持されているカウンタ値と、前回送信統計カウンタ26bに保持されているカウンタ値をVLAN−ID毎に比較することで障害の診断を実施する。   When the CPU 16a is notified of the trigger frame detection from the trigger VLAN tag detection processing unit 35, the sequence number held in the previous reception statistical counter 23b of the frame count unit 23 and the previous transmission statistical counter 26b of the frame count unit 26 are displayed. Compare the sequence numbers held in. If both sequence numbers match, the CPU 16a compares the counter value held in the previous reception statistics counter 23b with the counter value held in the previous transmission statistics counter 26b for each VLAN-ID. Diagnose the failure.

この実施形態によれば、回線が高使用率状態であっても、ネットワークを構成する伝送装置内の障害を正確に診断することができる。   According to this embodiment, even if the line is in a high usage rate state, it is possible to accurately diagnose a failure in the transmission apparatus that constitutes the network.

<第6実施形態>
第5実施形態では伝送装置内の診断を行うのに対し,第6実施形態では伝送装置間の診断を行う。伝送装置間の診断を行うために,トリガフレームのフォーマットを図13に示す構成とする。図13において、部分IVの宛先アドレス(DA)、送信元アドレス(SA)、TPID#1(通常は0x8100)、TCI#1と、部分VIのType/Length、Data、FCSは、元の受信LANフレームである。部分VのTPID#4及びTCI#4(トリガフレームを識別するための特殊なVLANタグ)、Type(シーケンスナンバが含まれることを識別するための特別なTypeを指定する)、シーケンスナンバ(SEQ Number:同期判定用の情報)、統計カウンタ(Stats Counter)がトリガ用VLANタグ生成・挿入処理部31で生成されたトリガ用VLANタグである。また、第6実施形態における送信局、中継局、受信局それぞれの構成は図11に示すものと同一である。
<Sixth Embodiment>
In the fifth embodiment, diagnosis within the transmission apparatus is performed, whereas in the sixth embodiment, diagnosis between transmission apparatuses is performed. In order to perform diagnosis between transmission apparatuses, the trigger frame format is configured as shown in FIG. In FIG. 13, the destination address (DA), transmission source address (SA), TPID # 1 (usually 0x8100), TCI # 1, and Type / Length, Data, FCS of the part VI are the original receiving LAN. It is a frame. Part V TPID # 4 and TCI # 4 (special VLAN tag for identifying the trigger frame), Type (specify a special type for identifying that the sequence number is included), sequence number (SEQ Number) : Information for synchronization determination) and a statistics counter (Stats Counter) are trigger VLAN tags generated by the trigger VLAN tag generation / insertion processing unit 31. Further, the configurations of the transmitting station, the relay station, and the receiving station in the sixth embodiment are the same as those shown in FIG.

<送信局の伝送装置の動作>
図11において、例えばCPU16aからシーケンスナンバを含むフレーム生成の指示により、トリガ用VLANタグ生成・挿入処理部31は所定期間毎にトリガ用VLANタグを生成し、その時点で主信号フレーム・キューに格納されている受信LANフレームに、上記トリガ用VLANタグを挿入する。
<Operation of transmission device of transmitting station>
In FIG. 11, for example, in response to a frame generation instruction including a sequence number from the CPU 16a, the trigger VLAN tag generation / insertion processing unit 31 generates a trigger VLAN tag every predetermined period and stores it in the main signal frame queue at that time. The trigger VLAN tag is inserted into the received LAN frame.

トリガ用VLANタグ検出処理部32は、供給されるフレームのTPID#4及びTCI#4からトリガフレームであることを検出すると、リセット処理部24にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部24からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部23の保持及びリセット処理が行われる。   When the trigger VLAN tag detection processing unit 32 detects the trigger frame from the TPID # 4 and TCI # 4 of the supplied frame, the trigger VLAN tag detection processing unit 32 makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 24. The frame count unit 23 is held and reset by a request from the reset processing unit 24 (including the trigger frame sequence number).

フレームカウント部23は受信統計カウンタと、前回受信統計カウンタ23bを有している。受信統計カウンタ23aは、トリガ検出処理部22から供給されるLANフレームのフレーム数をVLAN−ID毎にカウントする受信フレームカウンタと、ポリシング機能によって設定された受信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする受信ポリシングカウンタを有している。前回受信統計カウンタ23bは、フレーム数をVLAN−ID毎に保持する前回受信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回受信ポリシングカウンタを有している。   The frame count unit 23 includes a reception statistics counter and a previous reception statistics counter 23b. The reception statistics counter 23a includes a reception frame counter that counts the number of LAN frames supplied from the trigger detection processing unit 22 for each VLAN-ID, and a frame that exceeds the threshold of the reception frame rate set by the policing function and is discarded. Is received for each VLAN-ID. The previous reception statistics counter 23b includes a previous reception frame counter that holds the number of frames for each VLAN-ID, and a previous reception policing counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部23の保持及びリセット処理では、受信統計カウンタ23aの受信フレームカウンタの値と受信ポリシングカウンタの値をトリガフレームのシーケンスナンバと共に前回受信統計カウンタ23bの前回受信フレームカウンタと前回受信ポリシングカウンタに保持した後、受信統計カウンタ23aの受信フレームカウンタと受信ポリシングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 23, the value of the reception frame counter of the reception statistics counter 23a and the value of the reception policing counter are set in the previous reception frame counter and the previous reception policing counter of the previous reception statistics counter 23b together with the sequence number of the trigger frame. After the hold, the reception frame counter and the reception policing counter of the reception statistics counter 23a are reset to start a new count.

トリガフレームは、スイッチ処理部15を経由してフレーム処理部14に供給される。トリガフレームは、通常のLANフレームと同じTPID#1,TCI#1を有しているため、通常のLANフレームの出力先と同じ出力先まで到達することができ、フレーム処理部14に供給される。   The trigger frame is supplied to the frame processing unit 14 via the switch processing unit 15. Since the trigger frame has the same TPID # 1 and TCI # 1 as the normal LAN frame, the trigger frame can reach the same output destination as the output destination of the normal LAN frame and is supplied to the frame processing unit 14 .

フレーム処理部14のトリガ用VLANタグ検出処理部35は、トリガフレームを検出すると、リセット処理部27にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部27からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部26の保持及びリセット処理が行われる。この第6実施形態の送信局では、トリガ用VLANタグ検出処理部35はトリガフレーム検出時に、前回送信統計カウンタ26bの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値を図13に示すトリガフレームの統計カウンタに設定した後、PHY部12を通して装置外に出力する。   When the trigger VLAN tag detection processing unit 35 of the frame processing unit 14 detects the trigger frame, the trigger VLAN tag detection processing unit 35 makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 27 and requests from the reset processing unit 27 (trigger frame). The frame count unit 26 is held and reset. In the transmission station of the sixth embodiment, the trigger VLAN tag detection processing unit 35 sets the values held in the transmission frame counter and the transmission shaping counter of the previous transmission statistics counter 26b to the trigger frame shown in FIG. Is output to the outside of the apparatus through the PHY unit 12.

フレームカウント部26は送信統計カウンタ26aと、前回送信統計カウンタ26bを有している。送信統計カウンタ26aは、トリガ用VLANタグ検出処理部35から供給されるLANフレームのフレーム数をVLAN−ID毎にカウントする送信フレームカウンタと、シェーピング機能によって設定された送信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする送信シェーピングカウンタを有している。前回送信統計カウンタ26bは、フレーム数をVLAN−ID毎に保持する前回送信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回送信シェーピングカウンタを有している。   The frame count unit 26 includes a transmission statistics counter 26a and a previous transmission statistics counter 26b. The transmission statistics counter 26a discards the transmission frame counter that counts the number of LAN frames supplied from the trigger VLAN tag detection processing unit 35 for each VLAN-ID and exceeds the transmission frame rate threshold set by the shaping function. A transmission shaping counter that counts each frame for each VLAN-ID. The previous transmission statistics counter 26b includes a previous transmission frame counter that holds the number of frames for each VLAN-ID, and a previous transmission shaping counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部26の保持及びリセット処理では、送信統計カウンタ26aの送信フレームカウンタの値と送信シェーピングカウンタの値をトリガフレームのシーケンスナンバと共に前回送信統計カウンタ26bの前回送信フレームカウンタと前回送信シェーピングカウンタに保持した後、送信統計カウンタ26aの送信フレームカウンタと送信シェーピングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 26, the value of the transmission frame counter of the transmission statistics counter 26a and the value of the transmission shaping counter are used as the previous transmission frame counter and the previous transmission shaping counter of the previous transmission statistics counter 26b together with the sequence number of the trigger frame. After the hold, the transmission frame counter and the transmission shaping counter of the transmission statistics counter 26a are reset to start a new count.

また、トリガ用VLANタグ検出処理部35において供給されたLANフレームがトリガフレームではない通常のLANフレームである場合は、通常のLANフレームはトリガ用VLANタグ検出処理部35からPHY部12を通して装置外に出力される。   When the LAN frame supplied in the trigger VLAN tag detection processing unit 35 is a normal LAN frame that is not a trigger frame, the normal LAN frame is transmitted from the trigger VLAN tag detection processing unit 35 to the outside of the apparatus through the PHY unit 12. Is output.

CPU16aは、トリガ用VLANタグ検出処理部35からトリガフレーム検出を通知されると、フレームカウント部23の前回受信統計カウンタ23bに保持されているシーケンスナンバと、フレームカウント部26の前回送信統計カウンタ26bに保持されているシーケンスナンバを比較する。両シーケンスナンバが一致していた場合には、CPU16aは前回受信統計カウンタ23bに保持されているカウンタ値と、前回送信統計カウンタ26bに保持されているカウンタ値をVLAN−ID毎に比較することで障害の診断を実施する。   When the CPU 16a is notified of the trigger frame detection from the trigger VLAN tag detection processing unit 35, the sequence number held in the previous reception statistical counter 23b of the frame count unit 23 and the previous transmission statistical counter 26b of the frame count unit 26 are displayed. Compare the sequence numbers held in. If both sequence numbers match, the CPU 16a compares the counter value held in the previous reception statistics counter 23b with the counter value held in the previous transmission statistics counter 26b for each VLAN-ID. Diagnose the failure.

<中継局の伝送装置の動作>
図11において、PHY部11で受信したLANフレーム(トリガフレームを含む)はトリガ用VLANタグ生成・挿入処理部31を透過してトリガ用VLANタグ検出処理部32に供給される。
<Operation of Relay Station Transmission Device>
In FIG. 11, the LAN frame (including the trigger frame) received by the PHY unit 11 passes through the trigger VLAN tag generation / insertion processing unit 31 and is supplied to the trigger VLAN tag detection processing unit 32.

トリガ用VLANタグ検出処理部32は、供給されるフレームのTPID#4及びTCI#4からトリガフレームであることを検出すると、リセット処理部24にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部24からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部23の保持及びリセット処理が行われる。   When the trigger VLAN tag detection processing unit 32 detects the trigger frame from the TPID # 4 and TCI # 4 of the supplied frame, the trigger VLAN tag detection processing unit 32 makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 24. The frame count unit 23 is held and reset by a request from the reset processing unit 24 (including the trigger frame sequence number).

フレームカウント部23は受信統計カウンタと、前回受信統計カウンタ23bを有している。受信統計カウンタ23aは、トリガ検出処理部22から供給されるLANフレームのフレーム数をVLAN−ID毎にカウントする受信フレームカウンタと、ポリシング機能によって設定された受信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする受信ポリシングカウンタを有している。前回受信統計カウンタ23bは、フレーム数をVLAN−ID毎に保持する前回受信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回受信ポリシングカウンタを有している。   The frame count unit 23 includes a reception statistics counter and a previous reception statistics counter 23b. The reception statistics counter 23a includes a reception frame counter that counts the number of LAN frames supplied from the trigger detection processing unit 22 for each VLAN-ID, and a frame that exceeds the threshold of the reception frame rate set by the policing function and is discarded. Is received for each VLAN-ID. The previous reception statistics counter 23b includes a previous reception frame counter that holds the number of frames for each VLAN-ID, and a previous reception policing counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部23の保持及びリセット処理では、受信統計カウンタ23aの受信フレームカウンタの値と受信ポリシングカウンタの値をトリガフレームのシーケンスナンバと共に前回受信統計カウンタ23bの前回受信フレームカウンタと前回受信ポリシングカウンタに保持した後、受信統計カウンタ23aの受信フレームカウンタと受信ポリシングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 23, the value of the reception frame counter of the reception statistics counter 23a and the value of the reception policing counter are set in the previous reception frame counter and the previous reception policing counter of the previous reception statistics counter 23b together with the sequence number of the trigger frame. After the hold, the reception frame counter and the reception policing counter of the reception statistics counter 23a are reset to start a new count.

CPU16aは、トリガ用VLANタグ検出処理部32からトリガフレーム検出を通知されると、トリガフレームのシーケンスナンバと、フレームカウント部23の前回受信統計カウンタ23bに保持されているシーケンスナンバを比較する。両シーケンスナンバが一致していた場合には、CPU16aはトリガフレームの統計カウンタの値と、前回受信統計カウンタ23bに保持されているカウンタ値をVLAN−ID毎に比較することで送信局と中継局間の障害の診断を実施する。   When notified of the trigger frame detection from the trigger VLAN tag detection processing unit 32, the CPU 16a compares the sequence number of the trigger frame with the sequence number held in the previous reception statistics counter 23b of the frame count unit 23. When both sequence numbers match, the CPU 16a compares the value of the trigger frame statistical counter with the counter value held in the previous reception statistical counter 23b for each VLAN-ID, so that the transmitting station and the relay station Diagnose the failure during.

トリガフレームは、スイッチ処理部15を経由してフレーム処理部14に供給される。トリガフレームは、通常のLANフレームと同じTPID#1,TCI#1を有しているため、通常のLANフレームの出力先と同じ出力先まで到達することができ、フレーム処理部14に供給される。   The trigger frame is supplied to the frame processing unit 14 via the switch processing unit 15. Since the trigger frame has the same TPID # 1 and TCI # 1 as the normal LAN frame, the trigger frame can reach the same output destination as the output destination of the normal LAN frame and is supplied to the frame processing unit 14 .

フレーム処理部14のトリガ用VLANタグ検出処理部35は、トリガフレームを検出すると、リセット処理部27にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部27からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部26の保持及びリセット処理が行われる。この第6実施形態の送信局では、トリガ用VLANタグ検出処理部35はトリガフレーム検出時に、前回送信統計カウンタ26bの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値を図13に示すトリガフレームの統計カウンタに設定した後、PHY部12を通して装置外に出力する。   When the trigger VLAN tag detection processing unit 35 of the frame processing unit 14 detects the trigger frame, the trigger VLAN tag detection processing unit 35 makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 27 and requests from the reset processing unit 27 (trigger frame). The frame count unit 26 is held and reset. In the transmission station of the sixth embodiment, the trigger VLAN tag detection processing unit 35 sets the values held in the transmission frame counter and the transmission shaping counter of the previous transmission statistics counter 26b to the trigger frame shown in FIG. Is output to the outside of the apparatus through the PHY unit 12.

フレームカウント部26は送信統計カウンタ26aと、前回送信統計カウンタ26bを有している。送信統計カウンタ26aは、トリガ用VLANタグ検出処理部35から供給されるLANフレームのフレーム数をVLAN−ID毎にカウントする送信フレームカウンタと、シェーピング機能によって設定された送信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする送信シェーピングカウンタを有している。前回送信統計カウンタ26bは、フレーム数をVLAN−ID毎に保持する前回送信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回送信シェーピングカウンタを有している。   The frame count unit 26 includes a transmission statistics counter 26a and a previous transmission statistics counter 26b. The transmission statistics counter 26a discards the transmission frame counter that counts the number of LAN frames supplied from the trigger VLAN tag detection processing unit 35 for each VLAN-ID and exceeds the transmission frame rate threshold set by the shaping function. A transmission shaping counter that counts each frame for each VLAN-ID. The previous transmission statistics counter 26b includes a previous transmission frame counter that holds the number of frames for each VLAN-ID, and a previous transmission shaping counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部26の保持及びリセット処理では、送信統計カウンタ26aの送信フレームカウンタの値と送信シェーピングカウンタの値をトリガフレームのシーケンスナンバと共に前回送信統計カウンタ26bの前回送信フレームカウンタと前回送信シェーピングカウンタに保持した後、送信統計カウンタ26aの送信フレームカウンタと送信シェーピングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 26, the value of the transmission frame counter of the transmission statistics counter 26a and the value of the transmission shaping counter are used as the previous transmission frame counter and the previous transmission shaping counter of the previous transmission statistics counter 26b together with the sequence number of the trigger frame. After the hold, the transmission frame counter and the transmission shaping counter of the transmission statistics counter 26a are reset to start a new count.

また、トリガフレーム検出処理部35において供給されたLANフレームがトリガフレームではない通常のLANフレームである場合は、通常のLANフレームはトリガフレーム検出処理部25からPHY部12を通して装置外に出力される。   When the LAN frame supplied in the trigger frame detection processing unit 35 is a normal LAN frame that is not a trigger frame, the normal LAN frame is output from the trigger frame detection processing unit 25 to the outside of the apparatus through the PHY unit 12. .

CPU16aは、トリガ用VLANタグ検出処理部35からトリガフレーム検出を通知されると、フレームカウント部23の前回受信統計カウンタ23bに保持されているシーケンスナンバと、フレームカウント部26の前回送信統計カウンタ26bに保持されているシーケンスナンバを比較する。両シーケンスナンバが一致していた場合には、CPU16aは前回受信統計カウンタ23bに保持されているカウンタ値と、前回送信統計カウンタ26bに保持されているカウンタ値をVLAN−ID毎に比較することで障害の診断を実施する。   When the CPU 16a is notified of the trigger frame detection from the trigger VLAN tag detection processing unit 35, the sequence number held in the previous reception statistical counter 23b of the frame count unit 23 and the previous transmission statistical counter 26b of the frame count unit 26 are displayed. Compare the sequence numbers held in. If both sequence numbers match, the CPU 16a compares the counter value held in the previous reception statistics counter 23b with the counter value held in the previous transmission statistics counter 26b for each VLAN-ID. Diagnose the failure.

<受信局の伝送装置の動作>
図11において、PHY部11で受信したLANフレーム(トリガフレームを含む)はトリガ用VLANタグ生成・挿入処理部31を透過してトリガ用VLANタグ検出処理部32に供給される。
<Operation of receiving station transmission device>
In FIG. 11, the LAN frame (including the trigger frame) received by the PHY unit 11 passes through the trigger VLAN tag generation / insertion processing unit 31 and is supplied to the trigger VLAN tag detection processing unit 32.

トリガ用VLANタグ検出処理部22は、供給されるフレームのTPID#2及びTCI#2からトリガフレームであることを検出すると、リセット処理部24にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部24からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部23の保持及びリセット処理が行われる。   When the trigger VLAN tag detection processing unit 22 detects that it is a trigger frame from TPID # 2 and TCI # 2 of the supplied frame, it performs a reset request (including the sequence number of the trigger frame) to the reset processing unit 24. The frame count unit 23 is held and reset by a request from the reset processing unit 24 (including the trigger frame sequence number).

フレームカウント部23は受信統計カウンタと、前回受信統計カウンタ23bを有している。受信統計カウンタ23aは、トリガ検出処理部22から供給されるLANフレームのフレーム数をVLAN−ID毎にカウントする受信フレームカウンタと、ポリシング機能によって設定された受信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする受信ポリシングカウンタを有している。前回受信統計カウンタ23bは、フレーム数をVLAN−ID毎に保持する前回受信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回受信ポリシングカウンタを有している。   The frame count unit 23 includes a reception statistics counter and a previous reception statistics counter 23b. The reception statistics counter 23a includes a reception frame counter that counts the number of LAN frames supplied from the trigger detection processing unit 22 for each VLAN-ID, and a frame that exceeds the threshold of the reception frame rate set by the policing function and is discarded. Is received for each VLAN-ID. The previous reception statistics counter 23b includes a previous reception frame counter that holds the number of frames for each VLAN-ID, and a previous reception policing counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部23の保持及びリセット処理では、受信統計カウンタ23aの受信フレームカウンタの値と受信ポリシングカウンタの値をトリガフレームのシーケンスナンバと共に前回受信統計カウンタ23bの前回受信フレームカウンタと前回受信ポリシングカウンタに保持した後、受信統計カウンタ23aの受信フレームカウンタと受信ポリシングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 23, the value of the reception frame counter of the reception statistics counter 23a and the value of the reception policing counter are set in the previous reception frame counter and the previous reception policing counter of the previous reception statistics counter 23b together with the sequence number of the trigger frame. After the hold, the reception frame counter and the reception policing counter of the reception statistics counter 23a are reset to start a new count.

CPU16aは、トリガ用VLANタグ検出処理部32からトリガフレーム検出を通知されると、トリガフレームのシーケンスナンバと、フレームカウント部23の前回受信統計カウンタ23bに保持されているシーケンスナンバを比較する。両シーケンスナンバが一致していた場合には、CPU16aはトリガフレームの統計カウンタの値と、前回受信統計カウンタ23bに保持されているカウンタ値をVLAN−ID毎に比較することで中継局と受信局間の障害の診断を実施する。   When notified of the trigger frame detection from the trigger VLAN tag detection processing unit 32, the CPU 16a compares the sequence number of the trigger frame with the sequence number held in the previous reception statistics counter 23b of the frame count unit 23. If both sequence numbers match, the CPU 16a compares the value of the statistical counter of the trigger frame with the counter value held in the previous reception statistical counter 23b for each VLAN-ID, so that the relay station and the receiving station Diagnose the failure during.

トリガフレームは、スイッチ処理部15を経由してフレーム処理部14に供給される。トリガフレームは、通常のLANフレームと同じTPID#1,TCI#1を有しているため、通常のLANフレームの出力先と同じ出力先まで到達することができ、フレーム処理部14に供給される。   The trigger frame is supplied to the frame processing unit 14 via the switch processing unit 15. Since the trigger frame has the same TPID # 1 and TCI # 1 as the normal LAN frame, the trigger frame can reach the same output destination as the output destination of the normal LAN frame and is supplied to the frame processing unit 14 .

フレーム処理部14のトリガ用VLANタグ検出処理部35は、トリガフレームを検出すると、リセット処理部27にリセット要求(トリガフレームのシーケンスナンバを含む)を行い、リセット処理部27からの要求(トリガフレームのシーケンスナンバを含む)によりフレームカウント部26の保持及びリセット処理が行われる。この第6実施形態の受信局では、トリガフレームはこのトリガ用VLANタグ検出処理部35にて、部分IIのTPID#4及びTCI#4、Type、シーケンスナンバを削除して元のLANフレームとされ、PHY部12を通して装置外に出力される。   When the trigger VLAN tag detection processing unit 35 of the frame processing unit 14 detects the trigger frame, the trigger VLAN tag detection processing unit 35 makes a reset request (including the sequence number of the trigger frame) to the reset processing unit 27 and requests from the reset processing unit 27 (trigger frame). The frame count unit 26 is held and reset. In the receiving station of the sixth embodiment, the trigger VLAN tag detection processing unit 35 deletes the TPID # 4, TCI # 4, Type, and sequence number of the part II to make the original LAN frame. , It is output outside the apparatus through the PHY unit 12.

フレームカウント部26は送信統計カウンタ26aと、前回送信統計カウンタ26bを有している。送信統計カウンタ26aは、トリガフレーム検出処理部25から供給されるLANフレームのフレーム数をVLAN−ID毎にカウントする送信フレームカウンタと、シェーピング機能によって設定された送信フレームレートの閾値を上回り破棄されたフレームをVLAN−ID毎にカウントする送信シェーピングカウンタを有している。前回送信統計カウンタ26bは、フレーム数をVLAN−ID毎に保持する前回送信フレームカウンタと、破棄されたフレーム数をVLAN−ID毎に保持する前回送信シェーピングカウンタを有している。   The frame count unit 26 includes a transmission statistics counter 26a and a previous transmission statistics counter 26b. The transmission statistics counter 26a is discarded by exceeding a transmission frame rate threshold set by the shaping function and a transmission frame counter that counts the number of LAN frames supplied from the trigger frame detection processing unit 25 for each VLAN-ID. A transmission shaping counter that counts frames for each VLAN-ID is included. The previous transmission statistics counter 26b includes a previous transmission frame counter that holds the number of frames for each VLAN-ID, and a previous transmission shaping counter that holds the number of discarded frames for each VLAN-ID.

フレームカウント部26の保持及びリセット処理では、送信統計カウンタ26aの送信フレームカウンタの値と送信シェーピングカウンタの値をトリガフレームのシーケンスナンバと共に前回送信統計カウンタ26bの前回送信フレームカウンタと前回送信シェーピングカウンタに保持した後、送信統計カウンタ26aの送信フレームカウンタと送信シェーピングカウンタをリセットして新たなカウントを開始させる。   In the holding and reset processing of the frame count unit 26, the value of the transmission frame counter of the transmission statistics counter 26a and the value of the transmission shaping counter are used as the previous transmission frame counter and the previous transmission shaping counter of the previous transmission statistics counter 26b together with the sequence number of the trigger frame. After the hold, the transmission frame counter and the transmission shaping counter of the transmission statistics counter 26a are reset to start a new count.

また、トリガフレーム検出処理部25において供給されたLANフレームがトリガフレームではない通常のLANフレームである場合は、通常のLANフレームはトリガフレーム検出処理部25からPHY部12を通して装置外に出力される。   When the LAN frame supplied in the trigger frame detection processing unit 25 is a normal LAN frame that is not a trigger frame, the normal LAN frame is output from the trigger frame detection processing unit 25 through the PHY unit 12 to the outside of the apparatus. .

CPU16aは、トリガ用VLANタグ検出処理部35からトリガフレーム検出を通知されると、フレームカウント部23の前回受信統計カウンタ23bに保持されているシーケンスナンバと、フレームカウント部26の前回送信統計カウンタ26bに保持されているシーケンスナンバを比較する。両シーケンスナンバが一致していた場合には、CPU16aは前回受信統計カウンタ23bに保持されているカウンタ値と、前回送信統計カウンタ26bに保持されているカウンタ値をVLAN−ID毎に比較することで障害の診断を実施する。   When the CPU 16a is notified of the trigger frame detection from the trigger VLAN tag detection processing unit 35, the sequence number held in the previous reception statistical counter 23b of the frame count unit 23 and the previous transmission statistical counter 26b of the frame count unit 26 are displayed. Compare the sequence numbers held in. If both sequence numbers match, the CPU 16a compares the counter value held in the previous reception statistics counter 23b with the counter value held in the previous transmission statistics counter 26b for each VLAN-ID. Diagnose the failure.

この実施形態によれば、回線が高使用率状態であっても、ネットワークを構成する伝送装置内の障害及び伝送装置間の障害を正確に診断することができる。   According to this embodiment, even if the line is in a high usage rate state, it is possible to accurately diagnose a failure in a transmission device that constitutes a network and a failure between transmission devices.

<第7実施形態>
ダイナミックに変化するLANフレームのトラフィック量に合わせて、第1、第3、第5実施形態を自動的に切り替えることで、トラフィック量の全域にわたって動作可能な伝送装置内での診断を実現させることができる。
<Seventh embodiment>
By automatically switching between the first, third, and fifth embodiments according to the dynamically changing traffic amount of the LAN frame, it is possible to realize diagnosis in the transmission apparatus that can operate over the entire traffic amount. it can.

このためには、図11に示す伝送装置の構成において、トリガ用VLANタグ生成・挿入処理部31にフレーム生成・挿入処理部21の機能を追加し、トリガ用VLANタグ検出処理部32,35それぞれにトリガフレーム検出処理部22,25の機能を追加する。   For this purpose, in the configuration of the transmission apparatus shown in FIG. 11, the function of the frame generation / insertion processing unit 21 is added to the trigger VLAN tag generation / insertion processing unit 31, and the trigger VLAN tag detection processing units 32, 35 are respectively added. The functions of the trigger frame detection processing units 22 and 25 are added.

そして、CPU16aは、PHY部11では単位時間に受信したLANフレームのトラフィック量(実トラフィック量)を第1閾値及び第2閾値と比較する。なお、第1閾値は伝送装置における最大トラフィック量の例えば20%程度とし、第2閾値は伝送装置における最大トラフィック量の例えば80%程度とする。CPU16aは実トラフィック量が第1閾値未満のときトリガ用VLANタグ生成・挿入処理部31及びトリガ用VLANタグ検出処理部32,35に第3実施形態で説明した動作を行わせる。また、CPU16aは実トラフィック量が第1閾値以上かつ第2閾値未満のときトリガ用VLANタグ生成・挿入処理部31及びトリガ用VLANタグ検出処理部32,35に第1実施形態で説明した動作を行わせる。また、CPU16aは実トラフィック量が第2閾値以上のときトリガ用VLANタグ生成・挿入処理部31及びトリガ用VLANタグ検出処理部32,35に第5実施形態で説明した動作を行わせる。   Then, the CPU 16a compares the traffic amount (actual traffic amount) of the LAN frame received per unit time with the first threshold value and the second threshold value in the PHY unit 11. Note that the first threshold value is, for example, about 20% of the maximum traffic amount in the transmission apparatus, and the second threshold value is, for example, about 80% of the maximum traffic amount in the transmission apparatus. When the actual traffic amount is less than the first threshold, the CPU 16a causes the trigger VLAN tag generation / insertion processing unit 31 and the trigger VLAN tag detection processing units 32 and 35 to perform the operations described in the third embodiment. Further, the CPU 16a performs the operation described in the first embodiment on the trigger VLAN tag generation / insertion processing unit 31 and the trigger VLAN tag detection processing units 32 and 35 when the actual traffic amount is not less than the first threshold and less than the second threshold. Let it be done. The CPU 16a causes the trigger VLAN tag generation / insertion processing unit 31 and the trigger VLAN tag detection processing units 32 and 35 to perform the operation described in the fifth embodiment when the actual traffic amount is equal to or greater than the second threshold.

<第8実施形態>
更に、ダイナミックに変化するLANフレームのトラフィック量に合わせて、第2、第4、第6実施形態を自動的に切り替えることで、トラフィック量の全域にわたって動作可能な伝送装置間の障害の診断を実現させることができる。
<Eighth Embodiment>
Furthermore, by automatically switching between the second, fourth, and sixth embodiments according to the dynamically changing LAN frame traffic volume, it is possible to diagnose failures between transmission devices that can operate over the entire traffic volume. Can be made.

このためには、図11に示す伝送装置の構成において、トリガ用VLANタグ生成・挿入処理部31にフレーム生成・挿入処理部21の機能を追加し、トリガ用VLANタグ検出処理部32,35それぞれにトリガフレーム検出処理部22,25の機能を追加する。   For this purpose, the function of the frame generation / insertion processing unit 21 is added to the trigger VLAN tag generation / insertion processing unit 31 in the configuration of the transmission apparatus shown in FIG. The functions of the trigger frame detection processing units 22 and 25 are added.

そして、CPU16aは、PHY部11では単位時間に受信したLANフレームのトラフィック量(実トラフィック量)を第1閾値及び第2閾値と比較する。CPU16aは実トラフィック量が第1閾値未満のときトリガ用VLANタグ生成・挿入処理部31及びトリガ用VLANタグ検出処理部32,35に第4実施形態で説明した動作を行わせる。また、CPU16aは実トラフィック量が第1閾値以上かつ第2閾値未満のときトリガ用VLANタグ生成・挿入処理部31及びトリガ用VLANタグ検出処理部32,35に第2実施形態で説明した動作を行わせる。また、CPU16aは実トラフィック量が第2閾値以上のときトリガ用VLANタグ生成・挿入処理部31及びトリガ用VLANタグ検出処理部32,35に第6実施形態で説明した動作を行わせる。   Then, the CPU 16a compares the traffic amount (actual traffic amount) of the LAN frame received per unit time with the first threshold value and the second threshold value in the PHY unit 11. When the actual traffic amount is less than the first threshold, the CPU 16a causes the trigger VLAN tag generation / insertion processing unit 31 and the trigger VLAN tag detection processing units 32 and 35 to perform the operations described in the fourth embodiment. Further, the CPU 16a performs the operation described in the second embodiment on the trigger VLAN tag generation / insertion processing unit 31 and the trigger VLAN tag detection processing units 32 and 35 when the actual traffic amount is not less than the first threshold and less than the second threshold. Let it be done. The CPU 16a causes the trigger VLAN tag generation / insertion processing unit 31 and the trigger VLAN tag detection processing units 32 and 35 to perform the operation described in the sixth embodiment when the actual traffic amount is equal to or greater than the second threshold.

<第1実施形態の応用例>
図14は第1実施形態を応用した伝送装置のブロック図を示す。図14において、伝送装置は、フレーム処理部13に対応するLANインタフェースカード37と、スイッチ処理部15に対応するLANスイッチカード38と、フレーム処理部14に対応するSDH(Synchronous Digital Hierarchy)スイッチカード39を有している。また、LANフレームの流れを破線で示し、トリガフレームの流れを一点鎖線で示す。
<Application example of the first embodiment>
FIG. 14 is a block diagram of a transmission apparatus to which the first embodiment is applied. 14, the transmission apparatus includes a LAN interface card 37 corresponding to the frame processing unit 13, a LAN switch card 38 corresponding to the switch processing unit 15, and an SDH (Synchronous Digital Hierarchy) switch card 39 corresponding to the frame processing unit 14. have. Further, the flow of the LAN frame is indicated by a broken line, and the flow of the trigger frame is indicated by a one-dot chain line.

LANインタフェースカード37において、SFP(Small Form−factor Pluggable)光トランシーバ41a,41bはPHY部11に対応し、LANスイッチ42に接続されている。CPU43はCPU16a及びフレーム生成・挿入処理部21及びトリガフレーム検出処理部22に対応しており、また、CPU43はLANスイッチ42のスイッチング制御を行う。また、LANスイッチ42に接続されているネットワークプロセッサ44は、フレームカウント部23に対応する統計カウント部45とリセット処理部24に対応するリセット部46を有している。   In the LAN interface card 37, SFP (Small Form-factor Pluggable) optical transceivers 41 a and 41 b correspond to the PHY unit 11 and are connected to the LAN switch 42. The CPU 43 corresponds to the CPU 16 a, the frame generation / insertion processing unit 21, and the trigger frame detection processing unit 22, and the CPU 43 performs switching control of the LAN switch 42. In addition, the network processor 44 connected to the LAN switch 42 includes a statistical count unit 45 corresponding to the frame count unit 23 and a reset unit 46 corresponding to the reset processing unit 24.

LANスイッチカード38において、LANスイッチ47はスイッチ処理部15に対応し、CPU48はCPU16bに対応している。CPU48はLANスイッチ47のスイッチング制御を行う。   In the LAN switch card 38, the LAN switch 47 corresponds to the switch processing unit 15, and the CPU 48 corresponds to the CPU 16b. The CPU 48 performs switching control of the LAN switch 47.

SDHスイッチカード39において、ネットワークプロセッサ51はフレームカウント部26に対応する統計カウント部52とリセット処理部27に対応するリセット部53を有している。ネットワークプロセッサ51はLANスイッチ54を介してSDHフレーマ56に接続されている。CPU55はCPU16a及びトリガフレーム検出処理部25に対応する。また、CPU55はLANスイッチ54のスイッチング制御を行う。   In the SDH switch card 39, the network processor 51 has a statistical count unit 52 corresponding to the frame count unit 26 and a reset unit 53 corresponding to the reset processing unit 27. The network processor 51 is connected to the SDH framer 56 via the LAN switch 54. The CPU 55 corresponds to the CPU 16a and the trigger frame detection processing unit 25. Further, the CPU 55 performs switching control of the LAN switch 54.

SDHフレーマ56はLANスイッチ54からのLANフレームをSDHフレームにマッピングしてPHY部12に対応するSFP光トランシーバ57a,57bに供給する共に、SFP光トランシーバ57a,57bからのSDHフレームをLANフレームにマッピングしてLANスイッチ54に供給する。なお、CPU43,48,55は図示しないバスによって相互にスイッチされている。   The SDH framer 56 maps the LAN frame from the LAN switch 54 to the SDH frame and supplies it to the SFP optical transceivers 57a and 57b corresponding to the PHY unit 12, and also maps the SDH frame from the SFP optical transceivers 57a and 57b to the LAN frame. To the LAN switch 54. The CPUs 43, 48, and 55 are mutually switched by a bus (not shown).

図14において、SFP光トランシーバ41a,41bで受信されたLANフレームは破線で示すように、LANスイッチ42からネットワークプロセッサ44に供給され、統計カウント部45でカウントされる。また、LANフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給され、統計カウント部52でカウントされる。更に、LANフレームはネットワークプロセッサ51からLANスイッチ54を通しSDHフレーマ56に供給され、SDHフレームとされてSFP光トランシーバ57a,57bのいずれかから出力される。   In FIG. 14, the LAN frames received by the SFP optical transceivers 41 a and 41 b are supplied from the LAN switch 42 to the network processor 44 and counted by the statistic counting unit 45 as indicated by broken lines. The LAN frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 and counted by the statistics counting unit 52. Further, the LAN frame is supplied from the network processor 51 to the SDH framer 56 through the LAN switch 54, converted into an SDH frame, and output from one of the SFP optical transceivers 57a and 57b.

また、CPU43で生成されたトリガフレームは、一点鎖線で示すように、LANスイッチ42からネットワークプロセッサ44に供給される。また、CPU43はリセット部46にトリガフレーム検出信号を供給する。また、トリガフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給されてトリガフレーム検出処理がなされ、リセット部53にトリガフレーム検出結果が供給される。更に、トリガフレームはネットワークプロセッサ51からLANスイッチ54を通してCPU55に供給され、CPU55で終端されて廃棄される。   Further, the trigger frame generated by the CPU 43 is supplied from the LAN switch 42 to the network processor 44 as indicated by a one-dot chain line. Further, the CPU 43 supplies a trigger frame detection signal to the reset unit 46. The trigger frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 to perform trigger frame detection processing, and the trigger frame detection result is supplied to the reset unit 53. Further, the trigger frame is supplied from the network processor 51 to the CPU 55 through the LAN switch 54, terminated at the CPU 55, and discarded.

CPU55はトリガフレーム検出時に、統計カウント部45のデータ(前回受信統計カウンタの受信フレームカウンタ及び受信ポリシングカウンタに保持されている値)と統計カウント部52のデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値)をVLAN−ID毎に比較して障害の診断を行う。   When detecting the trigger frame, the CPU 55 detects the data of the statistics counter 45 (values held in the reception frame counter and reception policing counter of the previous reception statistics counter) and the data of the statistics count unit 52 (transmission frame counter of the previous transmission statistics counter and The value of the transmission shaping counter) is compared for each VLAN-ID to diagnose a fault.

<第2実施形態の応用例>
図15は第2実施形態を応用した送信局の伝送装置のブロック図を示す。図15において、図14と同一部分には同一符号を付す。また、LANフレームの流れを破線で示し、トリガフレームの流れを一点鎖線で示す。SFP光トランシーバ41a,41bで受信されたLANフレームは破線で示すように、LANスイッチ42からネットワークプロセッサ44に供給され、統計カウント部45でカウントされる。また、LANフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給され、統計カウント部52でカウントされる。更に、LANフレームはネットワークプロセッサ51からLANスイッチ54を通しSDHフレーマ56に供給され、SDHフレームとされたのちSFP光トランシーバ57a,57bのいずれかから出力される。
<Application Example of Second Embodiment>
FIG. 15 shows a block diagram of a transmission apparatus of a transmitting station to which the second embodiment is applied. 15, the same parts as those in FIG. 14 are denoted by the same reference numerals. Further, the flow of the LAN frame is indicated by a broken line, and the flow of the trigger frame is indicated by a one-dot chain line. The LAN frames received by the SFP optical transceivers 41 a and 41 b are supplied from the LAN switch 42 to the network processor 44 and counted by the statistic counting unit 45 as indicated by broken lines. The LAN frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 and counted by the statistics counting unit 52. Further, the LAN frame is supplied from the network processor 51 through the LAN switch 54 to the SDH framer 56, converted into an SDH frame, and then output from one of the SFP optical transceivers 57a and 57b.

また、CPU43で生成されたトリガフレームは、一点鎖線で示すように、LANスイッチ42からネットワークプロセッサ44に供給される。また、CPU43はリセット部46にトリガフレーム検出信号を供給する。また、トリガフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給されてトリガフレーム検出処理がなされ、リセット部53にトリガフレーム検出結果が供給される。更に、トリガフレームはネットワークプロセッサ51からLANスイッチ54を通してCPU55に供給される。   Further, the trigger frame generated by the CPU 43 is supplied from the LAN switch 42 to the network processor 44 as indicated by a one-dot chain line. Further, the CPU 43 supplies a trigger frame detection signal to the reset unit 46. The trigger frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 to perform trigger frame detection processing, and the trigger frame detection result is supplied to the reset unit 53. Further, the trigger frame is supplied from the network processor 51 to the CPU 55 through the LAN switch 54.

CPU55はトリガフレームを検出すると、統計カウント部45のデータ(前回受信統計カウンタの受信フレームカウンタ及び受信ポリシングカウンタに保持されている値)と統計カウント部52のデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値)をVLAN−ID毎に比較して障害の診断を行う。また、CPU55は統計カウント部52のデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値)をトリガフレームの統計カウンタに設定する。このトリガフレームはLANスイッチ54を通しSDHフレーマ56に供給され、SDHフレームとされたのちSFP光トランシーバ57a,57bのいずれかから出力される。   When the CPU 55 detects the trigger frame, the data of the statistics counter 45 (values held in the reception frame counter and reception policing counter of the previous reception statistics counter) and the data of the statistics counter 52 (transmission frame counter of the previous transmission statistics counter) And the value held in the transmission shaping counter) are compared for each VLAN-ID to diagnose a fault. Further, the CPU 55 sets the data of the statistics counter 52 (values held in the transmission frame counter and the transmission shaping counter of the previous transmission statistics counter) in the trigger frame statistics counter. The trigger frame is supplied to the SDH framer 56 through the LAN switch 54, converted into an SDH frame, and then output from one of the SFP optical transceivers 57a and 57b.

図16は第2実施形態を応用した中継局の伝送装置のブロック図を示す。図16において、図14と同一部分には同一符号を付す。また、LANフレームの流れを破線で示し、トリガフレームの流れを一点鎖線で示す。SFP光トランシーバ41a,41bで受信されたLANフレームは破線で示すように、LANスイッチ42からネットワークプロセッサ44に供給され、統計カウント部45でカウントされる。また、LANフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給され、統計カウント部52でカウントされる。更に、LANフレームはネットワークプロセッサ51からLANスイッチ54を通しSDHフレーマ56に供給され、SDHフレームとされたのちSFP光トランシーバ57a,57bのいずれかから出力される。   FIG. 16 shows a block diagram of a relay station transmission apparatus to which the second embodiment is applied. In FIG. 16, the same parts as those in FIG. Further, the flow of the LAN frame is indicated by a broken line, and the flow of the trigger frame is indicated by a one-dot chain line. The LAN frames received by the SFP optical transceivers 41 a and 41 b are supplied from the LAN switch 42 to the network processor 44 and counted by the statistic counting unit 45 as indicated by broken lines. The LAN frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 and counted by the statistics counting unit 52. Further, the LAN frame is supplied from the network processor 51 through the LAN switch 54 to the SDH framer 56, converted into an SDH frame, and then output from one of the SFP optical transceivers 57a and 57b.

また、SFP光トランシーバ41a,41bで受信されたトリガフレームは、一点鎖線で示すように、LANスイッチ42からCPU43及びネットワークプロセッサ44に供給される。   In addition, the trigger frame received by the SFP optical transceivers 41a and 41b is supplied from the LAN switch 42 to the CPU 43 and the network processor 44, as indicated by a one-dot chain line.

CPU43はトリガフレームを検出すると、トリガフレームの統計カウンタのデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタの値)と統計カウント部45のデータ(前回受信統計カウンタの受信フレームカウンタ及び受信ポリシングカウンタに保持されている値)をVLAN−ID毎に比較して伝送装置間の障害の診断を行う。   When the CPU 43 detects the trigger frame, the trigger frame statistics counter data (the values of the transmission frame counter and transmission shaping counter of the previous transmission statistics counter) and the data of the statistics counter 45 (the reception frame counter and reception policing of the previous reception statistics counter) The value held in the counter) is compared for each VLAN-ID, and a fault between transmission apparatuses is diagnosed.

また、トリガフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給されてトリガフレーム検出処理がなされ、リセット部53にトリガフレーム検出結果が供給される。更に、トリガフレームはネットワークプロセッサ51からLANスイッチ54を通してCPU55に供給される。   The trigger frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 to perform trigger frame detection processing, and the trigger frame detection result is supplied to the reset unit 53. Further, the trigger frame is supplied from the network processor 51 to the CPU 55 through the LAN switch 54.

CPU55はトリガフレームを検出すると、統計カウント部45のデータ(前回受信統計カウンタの受信フレームカウンタ及び受信ポリシングカウンタに保持されている値)と統計カウント部52のデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値)をVLAN−ID毎に比較して障害の診断を行う。また、CPU55は統計カウント部52のデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値)をトリガフレームの統計カウンタに設定する。このトリガフレームはLANスイッチ54を通しSDHフレーマ56に供給され、SDHフレームとされたのちSFP光トランシーバ57a,57bのいずれかから出力される。   When the CPU 55 detects the trigger frame, the data of the statistics counter 45 (values held in the reception frame counter and reception policing counter of the previous reception statistics counter) and the data of the statistics counter 52 (transmission frame counter of the previous transmission statistics counter) And the value held in the transmission shaping counter) are compared for each VLAN-ID to diagnose a fault. Further, the CPU 55 sets the data of the statistics counter 52 (values held in the transmission frame counter and the transmission shaping counter of the previous transmission statistics counter) in the trigger frame statistics counter. The trigger frame is supplied to the SDH framer 56 through the LAN switch 54, converted into an SDH frame, and then output from one of the SFP optical transceivers 57a and 57b.

図17は第2実施形態を応用した受信局の伝送装置のブロック図を示す。図17において、図14と同一部分には同一符号を付す。また、LANフレームの流れを破線で示し、トリガフレームの流れを一点鎖線で示す。SFP光トランシーバ41a,41bで受信されたLANフレームは破線で示すように、LANスイッチ42からネットワークプロセッサ44に供給され、統計カウント部45でカウントされる。また、LANフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給され、統計カウント部52でカウントされる。更に、LANフレームはネットワークプロセッサ51からLANスイッチ54を通しSDHフレーマ56に供給され、SDHフレームとされたのちSFP光トランシーバ57a,57bのいずれかから出力される。   FIG. 17 shows a block diagram of a transmission apparatus of a receiving station to which the second embodiment is applied. In FIG. 17, the same parts as those in FIG. Further, the flow of the LAN frame is indicated by a broken line, and the flow of the trigger frame is indicated by a one-dot chain line. The LAN frames received by the SFP optical transceivers 41 a and 41 b are supplied from the LAN switch 42 to the network processor 44 and counted by the statistic counting unit 45 as indicated by broken lines. The LAN frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 and counted by the statistics counting unit 52. Further, the LAN frame is supplied from the network processor 51 through the LAN switch 54 to the SDH framer 56, converted into an SDH frame, and then output from one of the SFP optical transceivers 57a and 57b.

また、SFP光トランシーバ41a,41bで受信されたトリガフレームは、一点鎖線で示すように、LANスイッチ42からCPU43及びネットワークプロセッサ44に供給される。   In addition, the trigger frame received by the SFP optical transceivers 41a and 41b is supplied from the LAN switch 42 to the CPU 43 and the network processor 44, as indicated by a one-dot chain line.

CPU43はトリガフレームを検出すると、トリガフレームの統計カウンタのデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタの値)と統計カウント部45のデータ(前回受信統計カウンタの受信フレームカウンタ及び受信ポリシングカウンタに保持されている値)をVLAN−ID毎に比較して伝送装置間の障害の診断を行う。   When the CPU 43 detects the trigger frame, the trigger frame statistics counter data (the values of the transmission frame counter and transmission shaping counter of the previous transmission statistics counter) and the data of the statistics counter 45 (the reception frame counter and reception policing of the previous reception statistics counter) The value held in the counter) is compared for each VLAN-ID, and a fault between transmission apparatuses is diagnosed.

また、トリガフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給されてトリガフレーム検出処理がなされ、リセット部53にトリガフレーム検出結果が供給される。更に、トリガフレームはネットワークプロセッサ51からLANスイッチ54を通してCPU55に供給される。   The trigger frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 to perform trigger frame detection processing, and the trigger frame detection result is supplied to the reset unit 53. Further, the trigger frame is supplied from the network processor 51 to the CPU 55 through the LAN switch 54.

CPU55はトリガフレームを検出すると、統計カウント部45のデータ(前回受信統計カウンタの受信フレームカウンタ及び受信ポリシングカウンタに保持されている値)と統計カウント部52のデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値)をVLAN−ID毎に比較して障害の診断を行う。また、CPU55はトリガフレームを終端して廃棄する。   When the CPU 55 detects the trigger frame, the data of the statistics counter 45 (values held in the reception frame counter and reception policing counter of the previous reception statistics counter) and the data of the statistics counter 52 (transmission frame counter of the previous transmission statistics counter) And the value held in the transmission shaping counter) are compared for each VLAN-ID to diagnose a fault. The CPU 55 terminates the trigger frame and discards it.

<第3実施形態の応用例>
図18は第3実施形態を応用した伝送装置のブロック図を示す。図18において、図14と同一部分には同一符号を付す。また、疑似LANフレームの流れを破線で示し、トリガフレームの流れを一点鎖線で示す。CPU43で生成された疑似LANフレームは破線で示すように、LANスイッチ42からネットワークプロセッサ44に供給され、統計カウント部45でカウントされる。また、疑似LANフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給され、統計カウント部52でカウントされる。更に、疑似LANフレームはネットワークプロセッサ51からLANスイッチ54に供給され、LANスイッチ54で廃棄される。
<Application example of the third embodiment>
FIG. 18 is a block diagram of a transmission apparatus to which the third embodiment is applied. In FIG. 18, the same parts as those in FIG. Further, the flow of the pseudo LAN frame is indicated by a broken line, and the flow of the trigger frame is indicated by a one-dot chain line. The pseudo LAN frame generated by the CPU 43 is supplied from the LAN switch 42 to the network processor 44 and counted by the statistic counting unit 45 as indicated by a broken line. The pseudo LAN frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 and counted by the statistics counting unit 52. Further, the pseudo LAN frame is supplied from the network processor 51 to the LAN switch 54 and discarded by the LAN switch 54.

また、CPU43で生成されたトリガフレームは、一点鎖線で示すように、LANスイッチ42からネットワークプロセッサ44に供給される。また、CPU43はリセット部46にトリガフレーム検出信号を供給する。また、トリガフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給されてトリガフレーム検出処理がなされ、リセット部53にトリガフレーム検出結果が供給される。更に、トリガフレームはネットワークプロセッサ51からLANスイッチ54を通してCPU55に供給され、CPU55で終端されて廃棄される。   Further, the trigger frame generated by the CPU 43 is supplied from the LAN switch 42 to the network processor 44 as indicated by a one-dot chain line. Further, the CPU 43 supplies a trigger frame detection signal to the reset unit 46. The trigger frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 to perform trigger frame detection processing, and the trigger frame detection result is supplied to the reset unit 53. Further, the trigger frame is supplied from the network processor 51 to the CPU 55 through the LAN switch 54, terminated at the CPU 55, and discarded.

CPU55は統計カウント部45のデータ(前回受信統計カウンタの受信フレームカウンタ及び受信ポリシングカウンタに保持されている値)と統計カウント部52のデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値)をVLAN−ID毎に比較して障害の診断を行う。   The CPU 55 stores the data of the statistics count unit 45 (values held in the reception frame counter and reception policing counter of the previous reception statistics counter) and the data of the statistics count unit 52 (stored in the transmission frame counter and transmission shaping counter of the previous transmission statistics counter). Are compared for each VLAN-ID, and the failure is diagnosed.

<第4実施形態の応用例>
図19は第4実施形態を応用した送信局の伝送装置のブロック図を示す。図19において、図14と同一部分には同一符号を付す。また、疑似LANフレームの流れを破線で示し、トリガフレームの流れを一点鎖線で示す。CPU43で生成された疑似LANフレームは破線で示すように、LANスイッチ42からネットワークプロセッサ44に供給され、統計カウント部45でカウントされる。また、疑似LANフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給され、統計カウント部52でカウントされる。更に、疑似LANフレームはネットワークプロセッサ51からLANスイッチ54を通しSDHフレーマ56に供給され、SDHフレームとされたのちSFP光トランシーバ57a,57bのいずれかから出力される。
<Application Example of Fourth Embodiment>
FIG. 19 shows a block diagram of a transmission apparatus of a transmitting station to which the fourth embodiment is applied. 19, the same parts as those in FIG. 14 are denoted by the same reference numerals. Further, the flow of the pseudo LAN frame is indicated by a broken line, and the flow of the trigger frame is indicated by a one-dot chain line. The pseudo LAN frame generated by the CPU 43 is supplied from the LAN switch 42 to the network processor 44 and counted by the statistic counting unit 45 as indicated by a broken line. The pseudo LAN frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 and counted by the statistics counting unit 52. Further, the pseudo LAN frame is supplied from the network processor 51 through the LAN switch 54 to the SDH framer 56, converted into an SDH frame, and then output from one of the SFP optical transceivers 57a and 57b.

また、CPU43で生成されたトリガフレームは、一点鎖線で示すように、LANスイッチ42からネットワークプロセッサ44に供給される。また、CPU43はリセット部46にトリガフレーム検出信号を供給する。また、トリガフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給されてトリガフレーム検出処理がなされ、リセット部53にトリガフレーム検出結果が供給される。更に、トリガフレームはネットワークプロセッサ51からLANスイッチ54を通してCPU55に供給される。   Further, the trigger frame generated by the CPU 43 is supplied from the LAN switch 42 to the network processor 44 as indicated by a one-dot chain line. Further, the CPU 43 supplies a trigger frame detection signal to the reset unit 46. The trigger frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 to perform trigger frame detection processing, and the trigger frame detection result is supplied to the reset unit 53. Further, the trigger frame is supplied from the network processor 51 to the CPU 55 through the LAN switch 54.

CPU55はトリガフレームを検出すると、統計カウント部45のデータ(前回受信統計カウンタの受信フレームカウンタ及び受信ポリシングカウンタに保持されている値)と統計カウント部52のデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値)をVLAN−ID毎に比較して障害の診断を行う。また、CPU55は統計カウント部52のデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値)をトリガフレームの統計カウンタに設定する。このトリガフレームはLANスイッチ54を通しSDHフレーマ56に供給され、SDHフレームとされたのちSFP光トランシーバ57a,57bのいずれかから出力される。   When the CPU 55 detects the trigger frame, the data of the statistics counter 45 (values held in the reception frame counter and reception policing counter of the previous reception statistics counter) and the data of the statistics counter 52 (transmission frame counter of the previous transmission statistics counter) And the value held in the transmission shaping counter) are compared for each VLAN-ID to diagnose a fault. Further, the CPU 55 sets the data of the statistics counter 52 (values held in the transmission frame counter and the transmission shaping counter of the previous transmission statistics counter) in the trigger frame statistics counter. The trigger frame is supplied to the SDH framer 56 through the LAN switch 54, converted into an SDH frame, and then output from one of the SFP optical transceivers 57a and 57b.

図20は第4実施形態を応用した中継局の伝送装置のブロック図を示す。図16において、図14と同一部分には同一符号を付す。また、疑似LANフレームの流れを破線で示し、トリガフレームの流れを一点鎖線で示す。SFP光トランシーバ41a,41bで受信された疑似LANフレームは破線で示すように、LANスイッチ42からネットワークプロセッサ44に供給され、統計カウント部45でカウントされる。また、疑似LANフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給され、統計カウント部52でカウントされる。更に、疑似LANフレームはネットワークプロセッサ51からLANスイッチ54を通しSDHフレーマ56に供給され、SDHフレームとされたのちSFP光トランシーバ57a,57bのいずれかから出力される。   FIG. 20 shows a block diagram of a relay station transmission apparatus to which the fourth embodiment is applied. In FIG. 16, the same parts as those in FIG. Further, the flow of the pseudo LAN frame is indicated by a broken line, and the flow of the trigger frame is indicated by a one-dot chain line. The pseudo LAN frames received by the SFP optical transceivers 41 a and 41 b are supplied from the LAN switch 42 to the network processor 44 and counted by the statistic counting unit 45 as indicated by broken lines. The pseudo LAN frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 and counted by the statistics counting unit 52. Further, the pseudo LAN frame is supplied from the network processor 51 through the LAN switch 54 to the SDH framer 56, converted into an SDH frame, and then output from one of the SFP optical transceivers 57a and 57b.

また、SFP光トランシーバ41a,41bで受信されたトリガフレームは、一点鎖線で示すように、LANスイッチ42からCPU43及びネットワークプロセッサ44に供給される。   In addition, the trigger frame received by the SFP optical transceivers 41a and 41b is supplied from the LAN switch 42 to the CPU 43 and the network processor 44, as indicated by a one-dot chain line.

CPU43はトリガフレームを検出すると、トリガフレームの統計カウンタのデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタの値)と統計カウント部45のデータ(前回受信統計カウンタの受信フレームカウンタ及び受信ポリシングカウンタに保持されている値)をVLAN−ID毎に比較して伝送装置間の障害の診断を行う。   When the CPU 43 detects the trigger frame, the trigger frame statistics counter data (the values of the transmission frame counter and transmission shaping counter of the previous transmission statistics counter) and the data of the statistics counter 45 (the reception frame counter and reception policing of the previous reception statistics counter) The value held in the counter) is compared for each VLAN-ID, and a fault between transmission apparatuses is diagnosed.

また、トリガフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給されてトリガフレーム検出処理がなされ、リセット部53にトリガフレーム検出結果が供給される。更に、トリガフレームはネットワークプロセッサ51からLANスイッチ54を通してCPU55に供給される。   The trigger frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 to perform trigger frame detection processing, and the trigger frame detection result is supplied to the reset unit 53. Further, the trigger frame is supplied from the network processor 51 to the CPU 55 through the LAN switch 54.

CPU55はトリガフレームを検出すると、統計カウント部45のデータ(前回受信統計カウンタの受信フレームカウンタ及び受信ポリシングカウンタに保持されている値)と統計カウント部52のデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値)をVLAN−ID毎に比較して障害の診断を行う。また、CPU55は統計カウント部52のデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値)をトリガフレームの統計カウンタに設定する。このトリガフレームはLANスイッチ54を通しSDHフレーマ56に供給され、SDHフレームとされたのちSFP光トランシーバ57a,57bのいずれかから出力される。   When the CPU 55 detects the trigger frame, the data of the statistics counter 45 (values held in the reception frame counter and reception policing counter of the previous reception statistics counter) and the data of the statistics counter 52 (transmission frame counter of the previous transmission statistics counter) And the value held in the transmission shaping counter) are compared for each VLAN-ID to diagnose a fault. Further, the CPU 55 sets the data of the statistics counter 52 (values held in the transmission frame counter and the transmission shaping counter of the previous transmission statistics counter) in the trigger frame statistics counter. The trigger frame is supplied to the SDH framer 56 through the LAN switch 54, converted into an SDH frame, and then output from one of the SFP optical transceivers 57a and 57b.

図21は第4実施形態を応用した受信局の伝送装置のブロック図を示す。図21において、図14と同一部分には同一符号を付す。また、疑似LANフレームの流れを破線で示し、トリガフレームの流れを一点鎖線で示す。SFP光トランシーバ41a,41bで受信された疑似LANフレームは破線で示すように、LANスイッチ42からネットワークプロセッサ44に供給され、統計カウント部45でカウントされる。また、疑似LANフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給され、統計カウント部52でカウントされる。更に、疑似LANフレームはネットワークプロセッサ51からLANスイッチ54に供給され、LANスイッチ54で廃棄される。   FIG. 21 shows a block diagram of a transmission apparatus of a receiving station to which the fourth embodiment is applied. In FIG. 21, the same parts as those of FIG. Further, the flow of the pseudo LAN frame is indicated by a broken line, and the flow of the trigger frame is indicated by a one-dot chain line. The pseudo LAN frames received by the SFP optical transceivers 41 a and 41 b are supplied from the LAN switch 42 to the network processor 44 and counted by the statistic counting unit 45 as indicated by broken lines. The pseudo LAN frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 and counted by the statistics counting unit 52. Further, the pseudo LAN frame is supplied from the network processor 51 to the LAN switch 54 and discarded by the LAN switch 54.

CPU43はトリガフレームを検出すると、トリガフレームの統計カウンタのデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタの値)と統計カウント部45のデータ(前回受信統計カウンタの受信フレームカウンタ及び受信ポリシングカウンタに保持されている値)をVLAN−ID毎に比較して伝送装置間の障害の診断を行う。   When the CPU 43 detects the trigger frame, the trigger frame statistics counter data (the values of the transmission frame counter and transmission shaping counter of the previous transmission statistics counter) and the data of the statistics counter 45 (the reception frame counter and reception policing of the previous reception statistics counter) The value held in the counter) is compared for each VLAN-ID, and a fault between transmission apparatuses is diagnosed.

また、トリガフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給されてトリガフレーム検出処理がなされ、リセット部53にトリガフレーム検出結果が供給される。更に、トリガフレームはネットワークプロセッサ51からLANスイッチ54を通してCPU55に供給される。   The trigger frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 to perform trigger frame detection processing, and the trigger frame detection result is supplied to the reset unit 53. Further, the trigger frame is supplied from the network processor 51 to the CPU 55 through the LAN switch 54.

CPU55はトリガフレームを検出すると、統計カウント部45のデータ(前回受信統計カウンタの受信フレームカウンタ及び受信ポリシングカウンタに保持されている値)と統計カウント部52のデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値)をVLAN−ID毎に比較して障害の診断を行う。また、CPU55はトリガフレームを終端して廃棄する。   When the CPU 55 detects the trigger frame, the data of the statistics counter 45 (values held in the reception frame counter and reception policing counter of the previous reception statistics counter) and the data of the statistics counter 52 (transmission frame counter of the previous transmission statistics counter) And the value held in the transmission shaping counter) are compared for each VLAN-ID to diagnose a fault. The CPU 55 terminates the trigger frame and discards it.

<第5実施形態の応用例>
図22は第5実施形態を応用した伝送装置のブロック図を示す。図22において、において、図14と同一部分には同一符号を付す。また、LANフレームの流れを破線で示し、トリガフレームの流れを一点鎖線で示す。ここで、CPU43はトリガ用VLANタグ生成・挿入処理部31及びトリガ用VLANタグ検出処理部32に対応しており、CPU55はトリガ用VLANタグ検出処理部35に対応している。
<Application Example of Fifth Embodiment>
FIG. 22 is a block diagram of a transmission apparatus to which the fifth embodiment is applied. In FIG. 22, the same parts as those in FIG. Further, the flow of the LAN frame is indicated by a broken line, and the flow of the trigger frame is indicated by a one-dot chain line. Here, the CPU 43 corresponds to the trigger VLAN tag generation / insertion processing unit 31 and the trigger VLAN tag detection processing unit 32, and the CPU 55 corresponds to the trigger VLAN tag detection processing unit 35.

SFP光トランシーバ41a,41bで受信されたLANフレームは破線で示すように、LANスイッチ42からネットワークプロセッサ44に供給され、統計カウント部45でカウントされる。また、LANフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給され、統計カウント部52でカウントされる。更に、LANフレームはネットワークプロセッサ51からLANスイッチ54を通しSDHフレーマ56に供給され、SDHフレームとされてSFP光トランシーバ57a,57bのいずれかから出力される。   The LAN frames received by the SFP optical transceivers 41 a and 41 b are supplied from the LAN switch 42 to the network processor 44 and counted by the statistic counting unit 45 as indicated by broken lines. The LAN frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 and counted by the statistics counting unit 52. Further, the LAN frame is supplied from the network processor 51 to the SDH framer 56 through the LAN switch 54, converted into an SDH frame, and output from one of the SFP optical transceivers 57a and 57b.

また、CPU43は所定期間毎にLANスイッチ42の受信LANフレームにトリガ用VLANタグを挿入してトリガフレームとする。このトリガフレームは、一点鎖線で示すように、LANスイッチ42からネットワークプロセッサ44に供給される。また、CPU43はリセット部46にトリガフレーム検出信号を供給する。また、トリガフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給されてトリガフレーム検出処理がなされ、リセット部53にトリガフレーム検出結果が供給される。更に、トリガフレームはネットワークプロセッサ51からLANスイッチ54を通してCPU55に供給される。   In addition, the CPU 43 inserts a trigger VLAN tag into the received LAN frame of the LAN switch 42 every predetermined period to make a trigger frame. The trigger frame is supplied from the LAN switch 42 to the network processor 44, as indicated by a one-dot chain line. Further, the CPU 43 supplies a trigger frame detection signal to the reset unit 46. The trigger frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 to perform trigger frame detection processing, and the trigger frame detection result is supplied to the reset unit 53. Further, the trigger frame is supplied from the network processor 51 to the CPU 55 through the LAN switch 54.

CPU55はトリガフレーム検出時に、統計カウント部45のデータ(前回受信統計カウンタの受信フレームカウンタ及び受信ポリシングカウンタに保持されている値)と統計カウント部52のデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値)をVLAN−ID毎に比較して障害の診断を行う。また、CPU55はLANスイッチ54においてトリガフレームからトリガ用VLANタグ,シーケンスナンバを削除して元のLANフレームとする。このLANフレームはSDHフレーマ56に供給され、SDHフレームとされたのちSFP光トランシーバ57a,57bのいずれかから出力される。   When detecting the trigger frame, the CPU 55 detects the data of the statistics counter 45 (values held in the reception frame counter and reception policing counter of the previous reception statistics counter) and the data of the statistics count unit 52 (transmission frame counter of the previous transmission statistics counter and The value of the transmission shaping counter) is compared for each VLAN-ID to diagnose a fault. In addition, the CPU 55 deletes the trigger VLAN tag and the sequence number from the trigger frame in the LAN switch 54 to obtain the original LAN frame. This LAN frame is supplied to the SDH framer 56, converted into an SDH frame, and then output from one of the SFP optical transceivers 57a and 57b.

<第6実施形態の応用例>
図23は第6実施形態を応用した送信局の伝送装置のブロック図を示す。図23において、図14と同一部分には同一符号を付す。また、LANフレームの流れを破線で示し、トリガフレームの流れを一点鎖線で示す。SFP光トランシーバ41a,41bで受信されたLANフレームは破線で示すように、LANスイッチ42からネットワークプロセッサ44に供給され、統計カウント部45でカウントされる。また、LANフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給され、統計カウント部52でカウントされる。更に、LANフレームはネットワークプロセッサ51からLANスイッチ54を通しSDHフレーマ56に供給され、SDHフレームとされたのちSFP光トランシーバ57a,57bのいずれかから出力される。
<Application Example of Sixth Embodiment>
FIG. 23 shows a block diagram of a transmission apparatus of a transmitting station to which the sixth embodiment is applied. 23, the same symbols are added to the same portions as FIG. Further, the flow of the LAN frame is indicated by a broken line, and the flow of the trigger frame is indicated by a one-dot chain line. The LAN frames received by the SFP optical transceivers 41 a and 41 b are supplied from the LAN switch 42 to the network processor 44 and counted by the statistic counting unit 45 as indicated by broken lines. The LAN frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 and counted by the statistics counting unit 52. Further, the LAN frame is supplied from the network processor 51 through the LAN switch 54 to the SDH framer 56, converted into an SDH frame, and then output from one of the SFP optical transceivers 57a and 57b.

また、CPU43は所定期間毎にLANスイッチ42の受信LANフレームにトリガ用VLANタグを挿入してトリガフレームとする。このトリガフレームは、一点鎖線で示すように、LANスイッチ42からネットワークプロセッサ44に供給される。また、CPU43はリセット部46にトリガフレーム検出信号を供給する。また、トリガフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給されてトリガフレーム検出処理がなされ、リセット部53にトリガフレーム検出結果が供給される。更に、トリガフレームはネットワークプロセッサ51からLANスイッチ54を通してCPU55に供給される。   In addition, the CPU 43 inserts a trigger VLAN tag into the received LAN frame of the LAN switch 42 every predetermined period to make a trigger frame. The trigger frame is supplied from the LAN switch 42 to the network processor 44, as indicated by a one-dot chain line. Further, the CPU 43 supplies a trigger frame detection signal to the reset unit 46. The trigger frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 to perform trigger frame detection processing, and the trigger frame detection result is supplied to the reset unit 53. Further, the trigger frame is supplied from the network processor 51 to the CPU 55 through the LAN switch 54.

CPU55はトリガフレームを検出すると、統計カウント部45のデータ(前回受信統計カウンタの受信フレームカウンタ及び受信ポリシングカウンタに保持されている値)と統計カウント部52のデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値)をVLAN−ID毎に比較して障害の診断を行う。また、CPU55は統計カウント部52のデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値)をトリガフレームの統計カウンタに設定する。このトリガフレームはLANスイッチ54を通しSDHフレーマ56に供給され、SDHフレームとされたのちSFP光トランシーバ57a,57bのいずれかから出力される。   When the CPU 55 detects the trigger frame, the data of the statistics counter 45 (values held in the reception frame counter and reception policing counter of the previous reception statistics counter) and the data of the statistics counter 52 (transmission frame counter of the previous transmission statistics counter) And the value held in the transmission shaping counter) are compared for each VLAN-ID to diagnose a fault. Further, the CPU 55 sets the data of the statistics counter 52 (values held in the transmission frame counter and the transmission shaping counter of the previous transmission statistics counter) in the trigger frame statistics counter. The trigger frame is supplied to the SDH framer 56 through the LAN switch 54, converted into an SDH frame, and then output from one of the SFP optical transceivers 57a and 57b.

図24は第6実施形態を応用した中継局の伝送装置のブロック図を示す。図24において、図14と同一部分には同一符号を付す。また、LANフレームの流れを破線で示し、トリガフレームの流れを一点鎖線で示す。SFP光トランシーバ41a,41bで受信されたLANフレームは破線で示すように、LANスイッチ42からネットワークプロセッサ44に供給され、統計カウント部45でカウントされる。また、LANフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給され、統計カウント部52でカウントされる。更に、LANフレームはネットワークプロセッサ51からLANスイッチ54を通しSDHフレーマ56に供給され、SDHフレームとされたのちSFP光トランシーバ57a,57bのいずれかから出力される。   FIG. 24 shows a block diagram of a relay station transmission apparatus to which the sixth embodiment is applied. 24, the same parts as those in FIG. 14 are denoted by the same reference numerals. Further, the flow of the LAN frame is indicated by a broken line, and the flow of the trigger frame is indicated by a one-dot chain line. The LAN frames received by the SFP optical transceivers 41 a and 41 b are supplied from the LAN switch 42 to the network processor 44 and counted by the statistic counting unit 45 as indicated by broken lines. The LAN frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 and counted by the statistics counting unit 52. Further, the LAN frame is supplied from the network processor 51 through the LAN switch 54 to the SDH framer 56, converted into an SDH frame, and then output from one of the SFP optical transceivers 57a and 57b.

また、SFP光トランシーバ41a,41bで受信されたトリガフレームは、一点鎖線で示すように、LANスイッチ42からCPU43及びネットワークプロセッサ44に供給される。   In addition, the trigger frame received by the SFP optical transceivers 41a and 41b is supplied from the LAN switch 42 to the CPU 43 and the network processor 44, as indicated by a one-dot chain line.

CPU43はトリガフレームを検出すると、トリガフレームの統計カウンタのデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタの値)と統計カウント部45のデータ(前回受信統計カウンタの受信フレームカウンタ及び受信ポリシングカウンタに保持されている値)をVLAN−ID毎に比較して伝送装置間の障害の診断を行う。   When the CPU 43 detects the trigger frame, the trigger frame statistics counter data (the values of the transmission frame counter and transmission shaping counter of the previous transmission statistics counter) and the data of the statistics counter 45 (the reception frame counter and reception policing of the previous reception statistics counter) The value held in the counter) is compared for each VLAN-ID, and a fault between transmission apparatuses is diagnosed.

また、トリガフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給されてトリガフレーム検出処理がなされ、リセット部53にトリガフレーム検出結果が供給される。更に、トリガフレームはネットワークプロセッサ51からLANスイッチ54を通してCPU55に供給される。   The trigger frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 to perform trigger frame detection processing, and the trigger frame detection result is supplied to the reset unit 53. Further, the trigger frame is supplied from the network processor 51 to the CPU 55 through the LAN switch 54.

CPU55はトリガフレームを検出すると、統計カウント部45のデータ(前回受信統計カウンタの受信フレームカウンタ及び受信ポリシングカウンタに保持されている値)と統計カウント部52のデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値)をVLAN−ID毎に比較して障害の診断を行う。また、CPU55は統計カウント部52のデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値)をトリガフレームの統計カウンタに設定する。このトリガフレームはLANスイッチ54を通しSDHフレーマ56に供給され、SDHフレームとされたのちSFP光トランシーバ57a,57bのいずれかから出力される。   When the CPU 55 detects the trigger frame, the data of the statistics counter 45 (values held in the reception frame counter and reception policing counter of the previous reception statistics counter) and the data of the statistics counter 52 (transmission frame counter of the previous transmission statistics counter) And the value held in the transmission shaping counter) are compared for each VLAN-ID to diagnose a fault. Further, the CPU 55 sets the data of the statistics counter 52 (values held in the transmission frame counter and the transmission shaping counter of the previous transmission statistics counter) in the trigger frame statistics counter. The trigger frame is supplied to the SDH framer 56 through the LAN switch 54, converted into an SDH frame, and then output from one of the SFP optical transceivers 57a and 57b.

図25は第6実施形態を応用した受信局の伝送装置のブロック図を示す。図25において、図14と同一部分には同一符号を付す。また、LANフレームの流れを破線で示し、トリガフレームの流れを一点鎖線で示す。SFP光トランシーバ41a,41bで受信されたLANフレームは破線で示すように、LANスイッチ42からネットワークプロセッサ44に供給され、統計カウント部45でカウントされる。また、LANフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給され、統計カウント部52でカウントされる。更に、LANフレームはネットワークプロセッサ51からLANスイッチ54を通しSDHフレーマ56に供給され、SDHフレームとされたのちSFP光トランシーバ57a,57bのいずれかから出力される。   FIG. 25 shows a block diagram of a transmission apparatus of a receiving station to which the sixth embodiment is applied. In FIG. 25, the same parts as those in FIG. Further, the flow of the LAN frame is indicated by a broken line, and the flow of the trigger frame is indicated by a one-dot chain line. The LAN frames received by the SFP optical transceivers 41 a and 41 b are supplied from the LAN switch 42 to the network processor 44 and counted by the statistic counting unit 45 as indicated by broken lines. The LAN frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 and counted by the statistics counting unit 52. Further, the LAN frame is supplied from the network processor 51 through the LAN switch 54 to the SDH framer 56, converted into an SDH frame, and then output from one of the SFP optical transceivers 57a and 57b.

また、SFP光トランシーバ41a,41bで受信されたトリガフレームは、一点鎖線で示すように、LANスイッチ42からCPU43及びネットワークプロセッサ44に供給される。   In addition, the trigger frame received by the SFP optical transceivers 41a and 41b is supplied from the LAN switch 42 to the CPU 43 and the network processor 44, as indicated by a one-dot chain line.

CPU43はトリガフレームを検出すると、トリガフレームの統計カウンタのデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタの値)と統計カウント部45のデータ(前回受信統計カウンタの受信フレームカウンタ及び受信ポリシングカウンタに保持されている値)をVLAN−ID毎に比較して伝送装置間の障害の診断を行う。   When the CPU 43 detects the trigger frame, the trigger frame statistics counter data (the values of the transmission frame counter and transmission shaping counter of the previous transmission statistics counter) and the data of the statistics counter 45 (the reception frame counter and reception policing of the previous reception statistics counter) The value held in the counter) is compared for each VLAN-ID, and a fault between transmission apparatuses is diagnosed.

また、トリガフレームはネットワークプロセッサ44からLANスイッチ47を通してネットワークプロセッサ51に供給されてトリガフレーム検出処理がなされ、リセット部53にトリガフレーム検出結果が供給される。更に、トリガフレームはネットワークプロセッサ51からLANスイッチ54を通してCPU55に供給される。   The trigger frame is supplied from the network processor 44 to the network processor 51 through the LAN switch 47 to perform trigger frame detection processing, and the trigger frame detection result is supplied to the reset unit 53. Further, the trigger frame is supplied from the network processor 51 to the CPU 55 through the LAN switch 54.

CPU55はトリガフレームを検出すると、統計カウント部45のデータ(前回受信統計カウンタの受信フレームカウンタ及び受信ポリシングカウンタに保持されている値)と統計カウント部52のデータ(前回送信統計カウンタの送信フレームカウンタ及び送信シェーピングカウンタに保持されている値)をVLAN−ID毎に比較して障害の診断を行う。また、CPU55はLANスイッチ54のトリガフレームからトリガ用VLANタグ,シーケンスナンバを削除して元のLANフレームとする。このLANフレームはSDHフレーマ56に供給され、SDHフレームとされたのちSFP光トランシーバ57a,57bのいずれかから出力される。   When the CPU 55 detects the trigger frame, the data of the statistics counter 45 (values held in the reception frame counter and reception policing counter of the previous reception statistics counter) and the data of the statistics counter 52 (transmission frame counter of the previous transmission statistics counter) And the value held in the transmission shaping counter) are compared for each VLAN-ID to diagnose a fault. In addition, the CPU 55 deletes the trigger VLAN tag and the sequence number from the trigger frame of the LAN switch 54 to obtain the original LAN frame. This LAN frame is supplied to the SDH framer 56, converted into an SDH frame, and then output from one of the SFP optical transceivers 57a and 57b.

上記の各実施形態によれば、実パケットルート毎のフレーム欠落有無の検出を確実に行うことができる。これにより、性能及び品質の劣化などによる発生頻度の低いハードウェア障害の検出が可能となる。この結果、障害箇所を改修することで、LANネットワーク全体の回線品質の向上を期待できる。また、伝送装置で障害の診断を行うことで診断のリアルタイム性が向上し、回線障害の検出性能を向上することができる。
(付記1)
ネットワークを構成し、前記ネットワークの伝送路から受信したLANフレームを第1フレーム処理部からスイッチ処理部を通して第2フレーム処理部に供給し前記第2フレーム処理部から前記ネットワークの伝送路に送信する伝送装置において、
所定期間毎にトリガフレームを生成し前記伝送路から受信したLANフレームと共に第1フレーム処理部に供給するフレーム生成手段と、
前記第1フレーム処理部で前記トリガフレームが供給される前記所定期間に供給される前記LANフレームをカウントする第1カウント手段と、
前記第2フレーム処理部で前記トリガフレームが供給される前記所定期間に供給される前記LANフレームをカウントする第2カウント手段と、
前記第1カウント手段のカウント値と前記第2カウント手段のカウント値を比較して伝送装置内の障害を診断する装置内診断手段と、
を有することを特徴とする伝送装置。
(付記2)
付記1記載の伝送装置において、
前記第1カウント手段と前記第2カウント手段それぞれは、前記所定期間におけるLANフレームの数を仮想ネットワーク識別子毎にカウントすることを特徴とする伝送装置。
(付記3)
付記2記載の伝送装置において、
前記第2カウント手段のカウント値を前記トリガフレームに付加して前記第2フレーム処理部から前記伝送路に送信するトリガフレーム送信手段を
有することを特徴とする伝送装置。
(付記4)
付記3記載の伝送装置において、
前記伝送路から受信したトリガフレームに付加された前記第2カウント手段のカウント値と前記第1カウント手段のカウント値を比較して伝送装置間障害を診断する装置間診断手段を
有することを特徴とする伝送装置。
(付記5)
付記4記載の伝送装置において、
前記第2フレーム処理部に供給された前記トリガフレームを廃棄する廃棄手段を
有することを特徴とする伝送装置。
(付記6)
複数の伝送装置を伝送路で接続したネットワークシステムにおいて、
送信側の伝送装置は、所定期間毎にトリガフレームを生成し、前記トリガフレームが生成される前記所定期間に送信するLANフレームをカウントし、前記送信するLANフレームのカウント値を前記トリガフレームに付加して送信し、
受信側の伝送装置は、前記ネットワークの伝送路から前記トリガフレームを受信する前記所定期間に前記ネットワークの伝送路から受信したLANフレームをカウントし、前記受信したLANフレームのカウント値と前記トリガフレームに付加されている前記送信するLANフレームのカウント値を比較して伝送装置間障害を診断する
ことを特徴とするネットワークの診断方法。
(付記7)
付記2乃至5のいずれか1項記載の伝送装置において、
前記フレーム生成手段は、前記LANフレームと同様構成の疑似LANフレームを生成して前記第1フレーム処理部に供給することを特徴とする伝送装置。
(付記8)
付記2乃至5のいずれか1項記載の伝送装置において、
前記フレーム生成手段は、所定期間毎に前記伝送路から受信したLANフレームにトリガ用仮想ネットワークタグを挿入して前記トリガフレームを生成することを特徴とする伝送装置。
(付記9)
付記7記載の伝送装置において、
前記第2フレーム処理部に供給された前記トリガフレームから前記トリガ用仮想ネットワークタグを削除して元のLANフレームとするタグ削除手段を
有することを特徴とする伝送装置。
(付記10)
付記9記載の伝送装置において、
単位時間に前記ネットワークの伝送路から受信したLANフレームの実トラフィック量を最大トラフィック量より小さい値の第1閾値及び前記第1閾値より小さい値の第2閾値と比較し、前記実トラフィック量が前記第1閾値より大きいとき前記フレーム生成手段に前記伝送路から受信したLANフレームにトリガ用仮想ネットワークタグを挿入して前記トリガフレームを生成させ、前記実トラフィック量が前記第2閾値より小さいとき前記フレーム生成手段に疑似LANフレームを生成させる制御手段を
有することを特徴とする伝送装置。
According to each of the above embodiments, it is possible to reliably detect the presence or absence of a frame missing for each actual packet route. As a result, it is possible to detect a hardware failure with a low occurrence frequency due to degradation of performance and quality. As a result, improvement of the line quality of the entire LAN network can be expected by repairing the faulty part. Also, by performing a fault diagnosis with the transmission apparatus, the real-time nature of the diagnosis can be improved, and the line fault detection performance can be improved.
(Appendix 1)
Transmission that constitutes a network, supplies a LAN frame received from the transmission path of the network from the first frame processing section to the second frame processing section through the switch processing section, and transmits the LAN frame to the transmission path of the network from the second frame processing section In the device
Frame generating means for generating a trigger frame every predetermined period and supplying the first frame processing unit together with the LAN frame received from the transmission path;
First counting means for counting the LAN frames supplied during the predetermined period in which the trigger frame is supplied by the first frame processing unit;
Second counting means for counting the LAN frames supplied in the predetermined period in which the trigger frame is supplied by the second frame processing unit;
In-device diagnostic means for diagnosing a fault in the transmission device by comparing the count value of the first count means and the count value of the second count means;
A transmission apparatus comprising:
(Appendix 2)
In the transmission apparatus according to attachment 1,
Each of the first counting means and the second counting means counts the number of LAN frames in the predetermined period for each virtual network identifier.
(Appendix 3)
In the transmission apparatus according to attachment 2,
A transmission apparatus comprising trigger frame transmission means for adding the count value of the second count means to the trigger frame and transmitting the second frame processing section to the transmission path.
(Appendix 4)
In the transmission apparatus according to attachment 3,
It has inter-device diagnostic means for diagnosing a fault between transmission devices by comparing the count value of the second count means added to the trigger frame received from the transmission path with the count value of the first count means. Transmission equipment.
(Appendix 5)
In the transmission apparatus according to attachment 4,
A transmission apparatus comprising: discarding means for discarding the trigger frame supplied to the second frame processing unit.
(Appendix 6)
In a network system in which multiple transmission devices are connected via a transmission line,
The transmission apparatus on the transmission side generates a trigger frame every predetermined period, counts the LAN frame transmitted during the predetermined period when the trigger frame is generated, and adds the count value of the LAN frame to be transmitted to the trigger frame Then send
The transmission apparatus on the receiving side counts the LAN frame received from the transmission line of the network during the predetermined period of receiving the trigger frame from the transmission line of the network, and counts the received LAN frame count value and the trigger frame. A network diagnosis method comprising diagnosing a failure between transmission devices by comparing count values of the LAN frames to be transmitted added.
(Appendix 7)
In the transmission apparatus according to any one of appendices 2 to 5,
The frame generating means generates a pseudo LAN frame having the same configuration as the LAN frame and supplies the pseudo LAN frame to the first frame processing unit.
(Appendix 8)
In the transmission apparatus according to any one of appendices 2 to 5,
The transmission apparatus characterized in that the frame generation means generates the trigger frame by inserting a trigger virtual network tag into a LAN frame received from the transmission path every predetermined period.
(Appendix 9)
In the transmission device according to attachment 7,
A transmission apparatus, comprising: tag deletion means for deleting the trigger virtual network tag from the trigger frame supplied to the second frame processing unit to obtain an original LAN frame.
(Appendix 10)
In the transmission device according to attachment 9,
The actual traffic volume of the LAN frame received from the transmission line of the network per unit time is compared with a first threshold value having a value smaller than a maximum traffic volume and a second threshold value having a value smaller than the first threshold value. When larger than a first threshold, the frame generating means inserts a trigger virtual network tag into a LAN frame received from the transmission path to generate the trigger frame, and when the actual traffic amount is smaller than the second threshold, the frame A transmission apparatus comprising control means for causing the generation means to generate a pseudo LAN frame.

10 伝送装置
11,12PHY部
13,14 フレーム処理部
15 スイッチ処理部
16a,16b,16c CPU
21 フレーム生成・挿入処理部
22 トリガフレーム検出処理部
23 フレームカウント部
24 リセット処理部
25 トリガフレーム検出処理部
26 フレームカウント部
27 リセット処理部
37 LANインタフェースカード
38 LANスイッチカード
39 SDHスイッチカード
41a,41b,57a,57b SFP光トランシーバ
42,47,54 LANスイッチ
43,48,55 CPU
44,51 ネットワークプロセッサ
45 統計カウント部
46 リセット部
56 SDHフレーマ
10 Transmission device 11, 12 PHY unit 13, 14 Frame processing unit 15 Switch processing unit 16a, 16b, 16c CPU
21 frame generation / insertion processing unit 22 trigger frame detection processing unit 23 frame count unit 24 reset processing unit 25 trigger frame detection processing unit 26 frame count unit 27 reset processing unit 37 LAN interface card 38 LAN switch card 39 SDH switch card 41a, 41b 57a, 57b SFP optical transceiver 42, 47, 54 LAN switch 43, 48, 55 CPU
44, 51 Network processor 45 Statistics count section 46 Reset section 56 SDH framer

Claims (6)

ネットワークを構成し、前記ネットワークの伝送路から受信したLANフレームを第1フレーム処理部からスイッチ処理部を通して第2フレーム処理部に供給し前記第2フレーム処理部から前記ネットワークの伝送路に送信する伝送装置において、
所定期間毎にトリガフレームを生成し前記伝送路から受信したLANフレームと共に第1フレーム処理部に供給するフレーム生成手段と、
前記第1フレーム処理部で前記トリガフレームが供給される前記所定期間に供給される前記LANフレームをカウントする第1カウント手段と、
前記第2フレーム処理部で前記トリガフレームが供給される前記所定期間に供給される前記LANフレームをカウントする第2カウント手段と、
前記第1カウント手段のカウント値と前記第2カウント手段のカウント値を比較して伝送装置内の障害を診断する装置内診断手段と、
を有することを特徴とする伝送装置。
Transmission that constitutes a network, supplies a LAN frame received from the transmission path of the network from the first frame processing section to the second frame processing section through the switch processing section, and transmits the LAN frame to the transmission path of the network from the second frame processing section In the device
Frame generating means for generating a trigger frame every predetermined period and supplying the first frame processing unit together with the LAN frame received from the transmission path;
First counting means for counting the LAN frames supplied during the predetermined period in which the trigger frame is supplied by the first frame processing unit;
Second counting means for counting the LAN frames supplied in the predetermined period in which the trigger frame is supplied by the second frame processing unit;
In-device diagnostic means for diagnosing a fault in the transmission device by comparing the count value of the first count means and the count value of the second count means;
A transmission apparatus comprising:
請求項1記載の伝送装置において、
前記第1カウント手段と前記第2カウント手段それぞれは、前記所定期間におけるLANフレームの数を仮想ネットワーク識別子毎にカウントすることを特徴とする伝送装置。
The transmission apparatus according to claim 1, wherein
Each of the first counting means and the second counting means counts the number of LAN frames in the predetermined period for each virtual network identifier.
請求項2記載の伝送装置において、
前記第2カウント手段のカウント値を前記トリガフレームに付加して前記第2フレーム処理部から前記伝送路に送信するトリガフレーム送信手段を
有することを特徴とする伝送装置。
The transmission apparatus according to claim 2, wherein
A transmission apparatus comprising trigger frame transmission means for adding the count value of the second count means to the trigger frame and transmitting the second frame processing section to the transmission path.
請求項3記載の伝送装置において、
前記伝送路から受信したトリガフレームに付加された前記第2カウント手段のカウント値と前記第1カウント手段のカウント値を比較して伝送装置間の障害を診断する装置間診断手段を
有することを特徴とする伝送装置。
The transmission apparatus according to claim 3, wherein
It has an inter-device diagnosis means for diagnosing a fault between transmission devices by comparing the count value of the second count means added to the trigger frame received from the transmission path with the count value of the first count means. A transmission device.
請求項4記載の伝送装置において、
前記第2フレーム処理部に供給された前記トリガフレームを廃棄する廃棄手段を
有することを特徴とする伝送装置。
The transmission apparatus according to claim 4, wherein
A transmission apparatus comprising: discarding means for discarding the trigger frame supplied to the second frame processing unit.
複数の伝送装置を伝送路で接続したネットワークの診断方法において、
送信側の伝送装置は、所定期間毎にトリガフレームを生成し、前記トリガフレームが生成される前記所定期間に送信するLANフレームをカウントし、前記送信するLANフレームのカウント値を前記トリガフレームに付加して送信し、
受信側の伝送装置は、前記ネットワークの伝送路から前記トリガフレームを受信する前記所定期間に前記ネットワークの伝送路から受信したLANフレームをカウントし、前記受信したLANフレームのカウント値と前記トリガフレームに付加されている前記送信するLANフレームのカウント値を比較して伝送装置間の障害を診断する
ことを特徴とするネットワークの診断方法。
In a network diagnosis method in which a plurality of transmission devices are connected by a transmission line,
The transmission apparatus on the transmission side generates a trigger frame every predetermined period, counts the LAN frame transmitted during the predetermined period when the trigger frame is generated, and adds the count value of the LAN frame to be transmitted to the trigger frame Then send
The transmission apparatus on the receiving side counts the LAN frame received from the transmission line of the network during the predetermined period of receiving the trigger frame from the transmission line of the network, and counts the received LAN frame count value and the trigger frame. A network diagnosis method comprising diagnosing a failure between transmission devices by comparing the count values of the LAN frames to be transmitted added.
JP2010022761A 2010-02-04 2010-02-04 Transmission apparatus and network diagnosis method Withdrawn JP2011160374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010022761A JP2011160374A (en) 2010-02-04 2010-02-04 Transmission apparatus and network diagnosis method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010022761A JP2011160374A (en) 2010-02-04 2010-02-04 Transmission apparatus and network diagnosis method

Publications (1)

Publication Number Publication Date
JP2011160374A true JP2011160374A (en) 2011-08-18

Family

ID=44591911

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010022761A Withdrawn JP2011160374A (en) 2010-02-04 2010-02-04 Transmission apparatus and network diagnosis method

Country Status (1)

Country Link
JP (1) JP2011160374A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013102308A (en) * 2011-11-07 2013-05-23 Fujitsu Ltd Communication device, fault detection method and fault detection program
JP2017514372A (en) * 2014-03-31 2017-06-01 シーメンス アクチエンゲゼルシヤフトSiemens Aktiengesellschaft Detecting failed nodes in the network

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013102308A (en) * 2011-11-07 2013-05-23 Fujitsu Ltd Communication device, fault detection method and fault detection program
JP2017514372A (en) * 2014-03-31 2017-06-01 シーメンス アクチエンゲゼルシヤフトSiemens Aktiengesellschaft Detecting failed nodes in the network
US10103933B2 (en) 2014-03-31 2018-10-16 Siemens Aktiengesellschaft Detection of a faulty node in a network

Similar Documents

Publication Publication Date Title
US7924725B2 (en) Ethernet OAM performance management
US8195989B1 (en) Detection of ethernet link failure
US20050099955A1 (en) Ethernet OAM fault isolation
US20050099951A1 (en) Ethernet OAM fault detection and verification
US20050099954A1 (en) Ethernet OAM network topography discovery
US8243608B2 (en) Metro Ethernet connectivity fault management acceleration
US20050099949A1 (en) Ethernet OAM domains and ethernet OAM frame format
US11539607B2 (en) Detection block sending and receiving method, and network device and system
WO2012167667A1 (en) Signal degradation processing method, device and node device
US20150036510A1 (en) Method and device for measuring ethernet performance
JP2012527808A (en) Method of signal transmission of data transmission path characteristics to non-OAM observation (OBSERVENT) client
WO2015192518A1 (en) Error detection method, apparatus and system for potn
JP2012527808A5 (en)
US8929200B2 (en) Communication device, communication system, and communication method
US9203719B2 (en) Communicating alarms between devices of a network
CN101013928B (en) Apparatus and method for implementing line fault detection of pseudo-wire simulation
JP5113124B2 (en) Fault monitoring system in packet network
JP2009231906A (en) Data transmission system, transmission device and protection control method
JP2011160374A (en) Transmission apparatus and network diagnosis method
US9369359B2 (en) Diagnostic system
CN101453352B (en) Path failure detection method and apparatus
US9294373B2 (en) Synthetic loss measurements using session numbers
CN100466591C (en) master-slave system
JP2005268889A (en) Transmission path switching system and operating method of the transmission path switching system
JP2017050704A (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION METHOD

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20130507