JP5334912B2 - Network relay device, network system, and link trace method - Google Patents

Network relay device, network system, and link trace method Download PDF

Info

Publication number
JP5334912B2
JP5334912B2 JP2010109415A JP2010109415A JP5334912B2 JP 5334912 B2 JP5334912 B2 JP 5334912B2 JP 2010109415 A JP2010109415 A JP 2010109415A JP 2010109415 A JP2010109415 A JP 2010109415A JP 5334912 B2 JP5334912 B2 JP 5334912B2
Authority
JP
Japan
Prior art keywords
frame
network
mac address
encapsulated
mac
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.)
Expired - Fee Related
Application number
JP2010109415A
Other languages
Japanese (ja)
Other versions
JP2011239220A (en
Inventor
大介 深田
力 澤口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Cable Ltd
Original Assignee
Hitachi Cable 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 Hitachi Cable Ltd filed Critical Hitachi Cable Ltd
Priority to JP2010109415A priority Critical patent/JP5334912B2/en
Publication of JP2011239220A publication Critical patent/JP2011239220A/en
Application granted granted Critical
Publication of JP5334912B2 publication Critical patent/JP5334912B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To make it possible to search for precise communication path information and identify a precise section where communication failure has occurred through the use of a link trace function even if the management endpoint of a source and that of a destination are located in networks with distinct communication standards. <P>SOLUTION: Switches 4 and 6 of a start end MEP are arranged in an IEEE802.1ad network 1. An edge switch 8, a core switch 10, and a core switch 12 of a terminal MEP are arranged in a IEEE802.1ah network 2. Upon the reception and encapsulation of an LTM frame 14 transmitted from the start end MEP (switch 4), the edge switch 8 references TYPE and OpCode in order to determine whether or not the LTM frame is an LTM (Link Trace Message). Similar to the edge switch 8, the core switches 10 and 12 also reference TYPE and OpCode of an LTM frame 18 to be encapsulated in order to determine whether or not it is an LTM. <P>COPYRIGHT: (C)2012,JPO&amp;INPIT

Description

本発明は、ネットワークの運用、保守及び管理を行うリンクトレース機能をサポートしたネットワーク中継機器、ネットワークシステム及びリンクトレース方法に関する。   The present invention relates to a network relay device, a network system, and a link trace method that support a link trace function for operating, maintaining, and managing a network.

従来、ITU−T(国際電気通信連合電気通信標準化部門)の国際勧告「Y.1731」やIEEE802.1agの通信規格によって規定されたネットワークの運用、保守及び管理用のOAM(Operations Administration and Maintenance)のLT(Link Trace)機能が一般に知られている。   Conventionally, OAM (Operations Administration and Maintenance) for network operation, maintenance and management defined by the international recommendation “Y.1731” of the ITU-T (International Telecommunication Union Telecommunication Standardization Sector) and the IEEE802.1ag communication standard. The LT (Link Trace) function is generally known.

上記OAMのリンクトレース機能に関して、ネットワーク内の始点となる管理端点でLTM(Link Trace Message)フレームを生成し、このLTMフレームが宛先の管理端点に到達するまでに経由した通信機器の情報を検索する先行技術が知られている(例えば、特許文献1参照)。国際勧告「Y.1731」やIEEE802.1agの通信規格では、LTMフレームの構成のうち、MAC(Media Access Control)ヘッダ部の宛先MACアドレス(DA MAC)にマルチキャストアドレスを設定することが規定されているが、上記の先行技術(特許文献1)では、始点となる管理端点においてLTMフレームを生成する際、そのTLV(Type,Length,and Value)部に含まれているターゲットMACアドレス領域を参照して、そこに設定されているMACアドレスと同一のアドレスをMACヘッダ部の宛先MACアドレスとして設定している。   With regard to the link trace function of the OAM, an LTM (Link Trace Message) frame is generated at the management end point that is the starting point in the network, and information on the communication device through which this LTM frame has reached the destination management end point is retrieved. Prior art is known (see, for example, Patent Document 1). The international recommendation “Y.1731” and the IEEE802.1ag communication standard stipulate that a multicast address is set in a destination MAC address (DA MAC) of a MAC (Media Access Control) header portion of the LTM frame configuration. However, in the above prior art (Patent Document 1), when the LTM frame is generated at the management end point as the starting point, the target MAC address area included in the TLV (Type, Length, and Value) portion is referred to. Thus, the same address as the MAC address set there is set as the destination MAC address of the MAC header portion.

上記の先行技術によれば、ネットワーク内でOAMを実装していないネットワーク中継機器が介在したとしても、当該ネットワーク中継機器はLTMフレームを受信した際、宛先MACアドレスに基づいてユニキャストにLTMフレームを転送することができる。このため、OAMを実装していないネットワーク中継機器がLTMフレームをブロードキャストすることなく、宛先の管理端点までLTMフレームを転送することができる。またOAMを実装しているネットワーク中継機器については、LTMフレームを受信すると、国際勧告「Y.1731」やIEEE802.1agの通信規格に基づいて、それぞれLTR(Link Trace Reply)フレームを生成し、このLTRフレームを始点の管理端点へ送信することができる。これにより、始点の管理端点は、LTRフレームをその送信順に受信することで、宛先の管理端点に到達するまでにフレームが経由したネットワーク中継機器のMACアドレスから、その途中の通信経路の実体を明らかにすることができると考えられる。   According to the above prior art, even when a network relay device that does not implement OAM is interposed in the network, when the network relay device receives the LTM frame, the network relay device transmits the LTM frame to the unicast based on the destination MAC address. Can be transferred. Therefore, an LTM frame can be transferred to a destination management endpoint without broadcasting an LTM frame by a network relay device that does not have OAM installed. For network relay devices that implement OAM, when receiving an LTM frame, an LTR (Link Trace Reply) frame is generated based on the international recommendation “Y.1731” or the IEEE802.1ag communication standard, respectively. The LTR frame can be transmitted to the starting management endpoint. As a result, the management endpoint of the starting point receives the LTR frames in the order in which they are transmitted, thereby clarifying the substance of the communication path on the way from the MAC address of the network relay device through which the frame has passed before reaching the destination management endpoint. It is thought that it can be made.

特開2008−167331号公報JP 2008-167331 A

しかし上記の先行技術では、始点の管理端点と宛先の管理端点との間で、始点の管理端点が配置されているネットワークとは別のネットワークを経由するように配置されている場合に以下の不具合を生じる。   However, in the above-mentioned prior art, the following problems occur when the network is arranged between the management endpoint of the starting point and the management endpoint of the destination via a network different from the network where the management endpoint of the starting point is arranged. Produce.

例えば、始点の管理端点がIEEE802.1adに準拠して構成されたネットワーク内に配置されており、宛先の管理端点がIEEE802.1ahに基づいて構成されたネットワーク内に配置されている場合や、宛先の管理端点がIEEE802.1ahに基づいて構成されたネットワークを介して接続された他のIEEE802.1adに基づいて構成されたネットワーク内に配置されている場合、IEEE802.1ahに準拠したネットワーク内のエッジスイッチでは、上記のLTMフレームを受信すると、このフレームをカプセル化する。このとき先行技術の手法では、LTMフレーム中のヘッダ情報(宛先MACアドレス及びVLAN TAG)がMAC−in−MACヘッダ内の宛先MACアドレス(DA B−MAC)に反映されることになる。   For example, when the management endpoint of the starting point is arranged in a network configured in conformity with IEEE 802.1ad and the management endpoint of the destination is arranged in a network configured based on IEEE 802.1ah, If the management endpoint is located in another IEEE 802.1ad-based network connected via an IEEE 802.1ah based network, the edge in the IEEE 802.1ah compliant network When the switch receives the LTM frame, it encapsulates the frame. At this time, according to the technique of the prior art, header information (destination MAC address and VLAN TAG) in the LTM frame is reflected in the destination MAC address (DA B-MAC) in the MAC-in-MAC header.

ところが、IEEE802.1ahのネットワーク内ではLTMフレームそのものがカプセル化されているため、ネットワーク内の各コアスイッチではLTMフレームとして識別されず、通常のユーザフレームとして転送されることから、途中の各スイッチはLTRを返すことができない。したがって、IEEE802.1ad内の管理端点からIEEE802.1ahを経由してリンクトレースを実行することができないという問題がある。   However, since the LTM frame itself is encapsulated in the IEEE 802.1ah network, each core switch in the network is not identified as an LTM frame, and is transferred as a normal user frame. LTR cannot be returned. Therefore, there is a problem that link trace cannot be executed from the management end point in IEEE802.1ad via IEEE802.1ah.

そこで本発明は、始点となる管理端点と宛先の管理端点との間で始点となる管理端点が配置されているネットワークとは別のネットワークを経由するように配置されていても、リンクトレース機能を有効に発揮させることができる技術の提供を課題とする。   In view of this, the present invention provides a link trace function between a management endpoint that is a starting point and a management endpoint that is a destination even if the management endpoint that is the starting point is routed through a different network. The issue is to provide a technology that can be used effectively.

上記の目的を達成するための第1の発明は、第1の通信規格に準拠した第1のネットワーク内に配置され、かつ第1の通信規格と異なる第2の通信規格に準拠した第2のネットワークに接続されることで、第2のネットワークから送信されたMACフレームを受信すると、この受信したMACフレームを第1の通信規格に基づきカプセル化して第1のネットワーク内に転送するネットワーク中継機器である。   A first invention for achieving the above object is the second invention which is arranged in the first network conforming to the first communication standard and conforms to the second communication standard different from the first communication standard. A network relay device that, when connected to the network, receives a MAC frame transmitted from the second network and encapsulates the received MAC frame based on the first communication standard and transfers the MAC frame to the first network. is there.

特に第1の発明であるネットワーク中継機器は、上記のカプセル化に際して、受信したMACフレームに第1の通信規格に基づくカプセル化ヘッダ情報を付加した形式のカプセル化フレームを生成するカプセル化手段と、受信したMACフレームに含まれているヘッダ情報のうち、そのタイプ領域に管理用の識別情報が設定されているか否かを識別する識別手段と、識別手段によりタイプ領域に管理用の識別情報が設定されていると識別された場合、受信したMACフレームに含まれるデータ領域のうち、そのオペレーションコード領域にリンクトレースの規定で定めるリンクトレースメッセージを示す識別情報が設定されているか否かを判定する判定手段とを備える。   In particular, the network relay device according to the first aspect of the invention includes an encapsulation unit that generates an encapsulated frame in a format in which encapsulation header information based on the first communication standard is added to the received MAC frame at the time of the encapsulation. Of the header information included in the received MAC frame, identification means for identifying whether or not management identification information is set in the type area, and management identification information is set in the type area by the identification means If it is determined that the identification information indicating the link trace message defined in the link trace rule is set in the operation code area of the data area included in the received MAC frame Means.

上述した第1の発明は、例えばIEEE802.1ahやEoE(Ethernet over Ethernet(「Ethernet」は登録商標)等の通信規格により構成されたネットワークにおいて、このネットワークに配置されたエッジスイッチとして好適に動作する。すなわち、第1の発明であるネットワーク中継機器は、他のIEEE802.1adやIEEE802.1Q等の通信規格により構成されたネットワークから転送されたMACフレームをエッジスイッチとして受信した際、このMACフレームが通常のユーザフレームであるのか、それともITU−Tの国際勧告「Y.1731」やIEEE802.1ag等の特定の通信規格に基づいたリンクトレースメッセージを含む管理目的のフレームであるのかを正確に判定することができる。その結果、受信したMACフレームがユーザフレームであった場合はこれをカプセル化して転送する一方、受信したMACフレームが管理目的のフレームであった場合、転送に際してエッジスイッチとして「Y.1731」やIEEE802.1ag等の通信規格に基づいた処理を確実に行うことができる。   The first invention described above preferably operates as an edge switch disposed in this network in a network configured according to a communication standard such as IEEE802.1ah or EoE (Ethernet over Ethernet ("Ethernet" is a registered trademark)), for example. That is, when the network relay device according to the first aspect of the invention receives a MAC frame transferred from a network configured according to another communication standard such as IEEE802.1ad or IEEE802.1Q as an edge switch, Whether it is a normal user frame or a frame for management purposes including a link trace message based on a specific communication standard such as ITU-T international recommendation “Y.1731” or IEEE802.1ag. As a result, when the received MAC frame is a user frame, it is encapsulated and transferred, while when the received MAC frame is a management-purpose frame, it is used as an edge switch at the time of transfer. Processing based on communication standards such as “Y.1731” and IEEE802.1ag can be reliably performed.

第2の発明は、第1の発明の構成において、C−MACアドレスとB−MACアドレスとが関連付けて登録されるFDBと、判定手段によりオペレーションコード領域にリンクトレースメッセージを示す識別情報が設定されていると判定された場合、受信したMACフレームに含まれるデータ領域のうち、そのターゲットMACアドレス領域に設定されたターゲットMACアドレスと同じ値がFDB中にC−MACアドレスとして登録されていることを条件として、このC−MACアドレスと関連付けてFDBに登録されているB−MACアドレスをカプセル化ヘッダ情報に含まれる宛先B−MACアドレス領域に設定し、カプセル化フレームを生成する処理を行うフレーム処理手段と、判定手段によりオペレーションコード領域にリンクトレースメッセージを示す識別情報が設定されていると判定された場合、リンクトレースメッセージに対する応答としてのリンクトレースリプライをデータ領域に含めたLTRフレームを生成し、このLTRフレームを第2のネットワークに対して送信する応答処理手段とをさらに備える。   According to a second invention, in the configuration of the first invention, an FDB in which the C-MAC address and the B-MAC address are registered in association with each other, and identification information indicating a link trace message is set in the operation code area by the determination means. That the same value as the target MAC address set in the target MAC address area of the data area included in the received MAC frame is registered as the C-MAC address in the FDB. As a condition, a frame process for setting a B-MAC address registered in the FDB in association with this C-MAC address in a destination B-MAC address area included in the encapsulation header information and generating an encapsulated frame Linked to the operation code area When it is determined that identification information indicating a source message is set, an LTR frame including a link trace reply as a response to the link trace message in the data area is generated, and the LTR frame is transmitted to the second network. Response processing means.

第2の発明によれば、第1の発明に加えてさらに、エッジスイッチとして受信したMACフレームにリンクトレースメッセージが含まれていると判定した場合であって、ターゲットMACアドレスと同じ値がFDB中にC−MACアドレスとして登録されている場合に限ってカプセル化フレームを生成することができる。元々IEEE802.1ahの通信規格においてエッジスイッチは、受信したMACフレームに設定されている宛先MACアドレスがFDBに登録されているかを検索し、FDBに上記の宛先MACアドレスが登録されている場合、このMACフレームをカプセル化する際の宛先B−MACアドレス領域に、上記の宛先MACアドレスに関連付けてFDBに登録されているB−MACアドレスを設定している。一方、第2の発明でエッジスイッチは、受信したMACフレームに設定されているターゲットMACアドレスがFDBに登録されているかを検索し、FDBにターゲットMACアドレスが登録されている場合、このMACフレームをカプセル化する際の宛先B−MACアドレス領域に、上記のターゲットMACアドレスに関連付けてFDBに登録されているB−MACアドレスを設定する。これにより、MACフレームをカプセル化しても確実に第1のネットワーク内で転送することができるとともに、宛先の管理端点に対してリンクトレースメッセージを転送することができる。   According to the second invention, in addition to the first invention, when it is determined that the link trace message is included in the MAC frame received as the edge switch, the same value as the target MAC address is in the FDB. An encapsulated frame can be generated only when it is registered as a C-MAC address. Originally in the IEEE 802.1ah communication standard, the edge switch searches whether the destination MAC address set in the received MAC frame is registered in the FDB, and if the above destination MAC address is registered in the FDB, this edge switch A B-MAC address registered in the FDB in association with the destination MAC address is set in the destination B-MAC address area when the MAC frame is encapsulated. On the other hand, in the second invention, the edge switch searches whether the target MAC address set in the received MAC frame is registered in the FDB, and if the target MAC address is registered in the FDB, the edge switch The B-MAC address registered in the FDB in association with the target MAC address is set in the destination B-MAC address area when encapsulating. As a result, even if the MAC frame is encapsulated, it can be reliably transferred within the first network, and the link trace message can be transferred to the destination management endpoint.

第3の発明として、上記のフレーム処理手段は、判定手段によりオペレーションコード領域にリンクトレースメッセージを示す識別情報が設定されていると判定された場合であっても、FDBにターゲットMACアドレスが登録されていない場合、カプセル化フレームを生成することなく受信したMACフレームを破棄することとする。   As a third aspect of the invention, the frame processing means has the target MAC address registered in the FDB even when the judgment means determines that identification information indicating a link trace message is set in the operation code area. If not, the received MAC frame is discarded without generating an encapsulated frame.

第3の発明によれば、第2の発明の作用に加えてさらに、FDBにターゲットMACアドレスが登録されている場合にのみ処理を実行することで、フレームをブロードキャストしてしまうことを未然に防止している。IEEE802.1ahの通信規格ではユーザフレームと同様に宛先のMACアドレスと同じ値がFDB中にC−MACアドレスとして登録されていない場合、このMACフレームをブロードキャストしてしまい、これを受信したあらゆるネットワーク中継機器からさらにリンクトレースリプライが送信されてしまい、リンクトレースそのものが機能しなくなってしまう。しかし、第3の発明では、FDBにターゲットMACアドレスが登録されていない場合、このMACフレームを破棄することで上記のブロードキャストによる不具合を解消しているとともに、始点となる管理端点からどのスイッチまでリンクトレースが有効に実行されたかを正確に把握することができる。   According to the third invention, in addition to the action of the second invention, the process is executed only when the target MAC address is registered in the FDB, thereby preventing the frame from being broadcast. doing. In the IEEE802.1ah communication standard, if the same value as the destination MAC address is not registered as the C-MAC address in the FDB as in the case of the user frame, this MAC frame is broadcast, and every network relay that receives this MAC frame The link trace reply is further transmitted from the device, and the link trace itself does not function. However, in the third invention, when the target MAC address is not registered in the FDB, the problem caused by the broadcast is solved by discarding the MAC frame, and the link from the management end point which is the starting point to which switch It is possible to accurately grasp whether the trace is executed effectively.

第4の発明は、第1の通信規格に準拠した第1のネットワーク内に配置されることにより、第1の通信規格と異なる第2の通信規格に準拠した第2のネットワークから送信されたMACフレームが第1の通信規格に基づきカプセル化ヘッダ情報を付加してカプセル化された形式のカプセル化フレームを第1のネットワーク内で転送するネットワーク中継機器である。特に第4の発明であるネットワーク中継機器は、カプセル化フレームとしてカプセル化されたMACフレームに含まれるヘッダ情報のうち、そのタイプ領域に管理用の識別情報が設定されているか否かを識別する識別手段と、識別手段によりタイプ領域に管理用の識別情報が設定されていると識別された場合、カプセル化されたMACフレームに含まれるデータ領域のうち、そのオペレーションコード領域にリンクトレースの規定で定めるリンクトレースメッセージを示す識別情報が設定されているか否かを判定する判定手段とを備えるものである。   According to a fourth aspect of the present invention, the MAC transmitted from the second network conforming to the second communication standard different from the first communication standard is arranged in the first network conforming to the first communication standard. The network relay device transfers an encapsulated frame in a format in which a frame is encapsulated by adding encapsulation header information based on a first communication standard within the first network. In particular, the network relay device according to the fourth invention is an identification for identifying whether or not management identification information is set in the type area of the header information included in the MAC frame encapsulated as an encapsulated frame. When the identification information for management is set in the type area by the means and the identification means, it is defined by the link trace rule in the operation code area of the data area included in the encapsulated MAC frame Determination means for determining whether or not identification information indicating a link trace message is set.

第4の発明によれば、例えばIEEE802.1ahやEoE等の通信規格により構成されたネットワークにおいて、このネットワークに配置されたコアスイッチとして有効に機能する。すなわちコアスイッチは、エッジスイッチから転送されたカプセル化フレーム(例えば、MAC−in−MACフレームやEoEフレーム)を受信した際、このフレームがユーザフレームであるのか、それともITU−Tの国際勧告「Y.1731」やIEEE802.1ag等の通信規格に基づいたリンクトレースメッセージを含む管理目的のフレームであるのかを正確に判定することができる。これにより、コアスイッチにおいてもITU−Tの国際勧告「Y.1731」やIEEE802.1ag等の通信規格に基づいた処理を確実に行うことができる。   According to the fourth invention, for example, in a network configured by a communication standard such as IEEE802.1ah or EoE, it effectively functions as a core switch arranged in this network. That is, when the core switch receives an encapsulated frame (for example, a MAC-in-MAC frame or an EoE frame) transferred from the edge switch, whether the frame is a user frame or the ITU-T international recommendation “Y .1731 "or IEEE802.1ag or the like, it is possible to accurately determine whether the frame is a management purpose frame including a link trace message. As a result, processing based on communication standards such as ITU-T international recommendation “Y.1731” and IEEE802.1ag can also be reliably performed in the core switch.

第5の発明は、第4の発明の構成において、判定手段によりオペレーションコード領域にリンクトレースメッセージを示す識別情報が設定されていると判定された場合、カプセル化されたMACフレームに含まれるヘッダ情報のうち、その宛先B−MACアドレス領域に設定されたMACアドレスと同じ値がFDB中にB−MACアドレスとして登録されていることを条件として、カプセル化フレームを転送する処理を行うフレーム処理手段と、判定手段によりオペレーションコード領域にリンクトレースメッセージを示す識別情報が設定されていると判定された場合、カプセル化フレームに含まれるリンクトレースメッセージに対する応答としてのリンクトレースリプライをデータ領域に含み、かつ、カプセル化フレームの送信元B−MACアドレスを宛先B−MACアドレスとしてカプセル化LTRフレームを生成し、このカプセル化LTRフレームを第1のネットワーク内で送信する応答処理手段とをさらに備える。   5th invention WHEREIN: The header information contained in the encapsulated MAC frame, when it determines with the identification means which shows a link trace message being set to the operation code area | region by the determination means in the structure of 4th invention A frame processing means for performing a process of transferring the encapsulated frame on condition that the same value as the MAC address set in the destination B-MAC address area is registered as the B-MAC address in the FDB; When the determination means determines that the identification information indicating the link trace message is set in the operation code area, the data area includes a link trace reply as a response to the link trace message included in the encapsulated frame, and Source B-MA of encapsulated frame Further comprising a response processing means for generating an encapsulated LTR frame address as a destination B-MAC address and transmits the encapsulated LTR frames within the first network.

第5の発明によれば、第4の発明の作用に加えてさらに、コアスイッチで受信したカプセル化フレームにリンクトレースメッセージが含まれていると判定した場合であって、かつ、宛先B−MACに設定されたMACアドレスと同じ値がFDB中にB−MACアドレスとして登録されている場合に限り、このカプセル化フレームを中継することができる。また、リンクトレースメッセージであることを確実に判定した上で、始点の管理端点へリンクトレースリプライを含むフレームを送信することができる。これにより、始点の管理端点ではフレームが転送される経路情報を正確に収集することができる。   According to the fifth invention, in addition to the operation of the fourth invention, when it is determined that the link trace message is included in the encapsulated frame received by the core switch, and the destination B-MAC The encapsulated frame can be relayed only when the same value as the MAC address set in is registered as the B-MAC address in the FDB. In addition, it is possible to transmit a frame including a link trace reply to the management end point of the starting point after reliably determining that it is a link trace message. As a result, it is possible to accurately collect the route information on which the frame is transferred at the management end point of the starting point.

第6の発明は、第5の発明の構成において、判定手段によりオペレーションコード領域にリンクトレースメッセージを示す識別情報が設定されていると判定された場合であって、カプセル化フレームに含まれるカプセル化ヘッダ情報のうち、その宛先B−MACアドレス領域に設定されたMACアドレスが自己に固有のMACアドレスと同一であることを確認した場合、カプセル化フレームの転送を終了するフレーム処理手段をさらに備える。   A sixth invention is the case where, in the configuration of the fifth invention, the determination means determines that the identification information indicating the link trace message is set in the operation code area, and the encapsulation included in the encapsulated frame In the header information, when it is confirmed that the MAC address set in the destination B-MAC address area is the same as its own unique MAC address, it further includes a frame processing means for terminating the transfer of the encapsulated frame.

第6の発明によれば、第5の発明の作用に加えてさらに、コアスイッチが宛先の管理端点として指定されていた場合、その旨を正確に判定した上で、確実にリンクトレースリプライを始点の管理端点へ送信することができる。例えば、IEEE802.1ahの通信規格では、ネットワーク内でフレームがループすることを防止するため、受信したカプセル化フレームがユーザフレームであり、かつ、カプセル化フレームの宛先B−MACアドレス領域に自己のMACアドレスが設定されている場合、このカプセル化フレームを破棄することが定められている。その上で第6の発明では、判定手段でリンクトレースメッセージか否かを確実に識別しつつ、宛先のMACアドレスが自己のMACアドレスであったとしても、このフレームを破棄することなく確実にリンクトレースリプライを生成することができる。   According to the sixth aspect of the invention, in addition to the action of the fifth aspect, when the core switch is designated as the destination management end point, the link trace reply is reliably started after accurately determining that fact. It is possible to transmit to the management end point. For example, in the communication standard of IEEE802.1ah, in order to prevent a frame from looping in the network, the received encapsulated frame is a user frame, and its own MAC is set in the destination B-MAC address area of the encapsulated frame. When an address is set, it is stipulated that this encapsulated frame be discarded. In addition, according to the sixth aspect of the invention, it is possible to reliably identify the link trace message without discarding the frame even if the MAC address of the destination is the own MAC address while reliably identifying whether or not it is a link trace message. A trace reply can be generated.

第7の発明は、第5の発明及び第6の発明の構成において、応答処理手段は、カプセル化LTRフレームに含まれるカプセル化ヘッダ情報のうち、送信元B−MACアドレス領域及び送信元C−MACアドレス領域のそれぞれに対して自己に固有のMACアドレスを設定し、宛先B−MACアドレス領域にカプセル化フレームの送信元B−MACアドレスを設定し、宛先C−MACアドレス領域に対してカプセル化フレームに含まれるオリジナルMACアドレス領域に設定されたMACアドレスを設定する。   In a seventh aspect based on the fifth aspect and the sixth aspect, the response processing means includes a source B-MAC address area and a source C-of the encapsulation header information included in the encapsulated LTR frame. Set a unique MAC address for each of the MAC address areas, set the source B-MAC address of the encapsulated frame in the destination B-MAC address area, and encapsulate in the destination C-MAC address area The MAC address set in the original MAC address area included in the frame is set.

第7の発明によれば、第5の発明及び第6の発明の作用に加えてさらに、リンクトレースリプライを生成する過程で、ヘッダ情報のうち宛先C−MACアドレス領域に対してカプセル化フレームのオリジナルMACアドレス領域に設定された始点の管理端点のMACアドレスを設定し、宛先B−MACアドレス領域に対して、エッジスイッチのMACアドレスを設定できる。このため、コアスイッチで生成されたカプセル化LTRフレームは、例えばIEEE802.1ahのネットワーク内では宛先B−MACアドレス領域に設定されたエッジスイッチのMACアドレスに基づいてエッジスイッチまで転送される。そして、エッジスイッチでデカプセル化されたフレームがIEEE802.1adのネットワーク内を転送される際には、宛先C−MACアドレス領域に設定された始点の管理端点のMACアドレスに基づいてフレームの転送が行われる。これにより、始点の管理端点が宛先の管理端点と異なる通信規格に基づくネットワークに配置されていても、確実にリンクトレースリプライを送ることができる。   According to the seventh invention, in addition to the operations of the fifth invention and the sixth invention, in the process of generating the link trace reply, the encapsulated frame of the header information in the destination C-MAC address area is included. The MAC address of the starting management endpoint set in the original MAC address area can be set, and the MAC address of the edge switch can be set for the destination B-MAC address area. For this reason, the encapsulated LTR frame generated by the core switch is transferred to the edge switch based on the MAC address of the edge switch set in the destination B-MAC address area in the IEEE 802.1ah network, for example. When the frame decapsulated by the edge switch is transferred within the IEEE 802.1ad network, the frame is transferred based on the MAC address of the management endpoint at the start point set in the destination C-MAC address area. Is called. As a result, even if the starting management endpoint is arranged in a network based on a communication standard different from the destination management endpoint, the link trace reply can be sent reliably.

第8の発明は、少なくとも第1の通信規格に準拠した第1のネットワークに、第1の通信規格と異なる第2の通信規格に準拠した第2のネットワークが少なくとも1つ相互に接続されたネットワークシステムであって、第1のネットワークは、第2のネットワークから送信されたMACフレームを受信すると、この受信したMACフレームを第1の通信規格に基づきカプセル化したカプセル化フレームとして第1のネットワーク内に転送するエッジスイッチと、エッジスイッチにより転送されたカプセル化フレームを第1のネットワーク内で中継するコアスイッチとを含み、第2のネットワークは、MACフレームの中継を行う複数のスイッチと、複数のスイッチのうち、MACフレームのヘッダ情報に含まれる、タイプ領域に管理用の識別情報を設定し、かつ、そのデータ領域のオペレーションコード領域にリンクトレースの規定で定めるリンクトレースメッセージを示す識別情報を設定した状態で、第1のネットワーク内に配置されたいずれかのコアスイッチをターゲットMACアドレスに設定したLTMフレーム、又は、第1のネットワークに複数の第2のネットワークが接続されており、第1のネットワークを介して接続された他の第2のネットワーク内に配置されたいずれかのスイッチをターゲットMACアドレスに設定したLTMフレームを送信する管理端点を含み、第1のネットワークに含まれるエッジスイッチ及びコアスイッチは、管理端点から送信されたMACフレームに含まれているヘッダ情報のタイプ領域に管理用の識別情報が設定されているか否かを識別する識別手段と、識別手段によりタイプ領域に管理用の識別情報が設定されていると識別された場合、受信したMACフレームに含まれるデータ領域のオペレーションコード領域にリンクトレースメッセージを示す識別情報が設定されているか否かを判定する判定手段とを有する。   An eighth invention is a network in which at least one second network compliant with a second communication standard different from the first communication standard is connected to at least one first network compliant with the first communication standard. In the system, when the first network receives the MAC frame transmitted from the second network, the first network forms an encapsulated frame in which the received MAC frame is encapsulated based on the first communication standard. An edge switch that forwards to the network, and a core switch that relays the encapsulated frame forwarded by the edge switch within the first network. The second network includes a plurality of switches that relay MAC frames, a plurality of switches Management identification in the type area included in the MAC frame header information of the switch Information and set the identification information indicating the link trace message specified in the link trace specification in the operation code area of the data area, and target any core switch located in the first network Either an LTM frame set to the MAC address, or a plurality of second networks connected to the first network and arranged in another second network connected via the first network The edge switch and the core switch included in the first network include the management end point that transmits the LTM frame in which the switch is set as the target MAC address, and the type of header information included in the MAC frame transmitted from the management end point Identifies whether management identification information is set in the area Identification information indicating that a link trace message is set in the operation code area of the data area included in the received MAC frame. Determination means for determining whether or not it has been performed.

第8の発明によれば、リンクトレースを実行する際に始点の管理端点と宛先の管理端点とがそれぞれIEEE802.1ad及び802.1ahの異なる通信規格に基づくネットワークに配置されている場合であっても、宛先の管理端点が配置されているネットワーク(IEEE802.1ah)内で、リンクトレースメッセージを受信したエッジスイッチが確実にリンクトレースメッセージであることを判定することができる。   According to the eighth aspect of the invention, when the link trace is executed, the starting management endpoint and the destination management endpoint are arranged in networks based on different communication standards of IEEE 802.1ad and 802.1ah, respectively. In addition, it is possible to reliably determine that the edge switch that has received the link trace message is the link trace message within the network (IEEE 802.1ah) in which the destination management endpoint is located.

第9の発明は、第8の発明において、判定手段によりオペレーションコード領域にリンクトレースメッセージを示す識別情報が設定されていると判定された場合、管理端点から送信されたMACフレームに含まれるデータ領域のうち、そのターゲットMACアドレス領域に設定されたターゲットMACアドレスと同じ値がFDB中にC−MACアドレスとして登録されていることを条件として、このC−MACアドレスと関連付けてFDBに登録されたB−MACアドレスをカプセル化ヘッダ情報に含まれる宛先B−MACアドレス領域に設定し、カプセル化フレームを生成する処理を行う一方、ターゲットMACアドレスと同じ値がFDB中にC−MACアドレスとして登録されていない場合、カプセル化フレームを生成することなく受信したMACフレーム破棄するフレーム処理手段と、判定手段によりオペレーションコード領域にリンクトレースメッセージを示す識別情報が設定されていると判定された場合、リンクトレースメッセージに対する応答としてのリンクトレースリプライをデータ領域に含めたLTRフレームを生成し、このLTRフレームを第2のネットワークに対して送信する応答処理手段とをさらに有し、第1のネットワークに含まれるコアスイッチは、判定手段によりオペレーションコード領域にリンクトレースメッセージを示す識別情報が設定されていると判定された場合、カプセル化フレームに含まれるカプセル化ヘッダ情報のうち、その宛先B−MACアドレス領域に設定されたMACアドレスが自己に固有のMACアドレスと同一であることを確認した場合、カプセル化フレームの転送を終了するフレーム処理手段と、判定手段によりオペレーションコード領域にリンクトレースメッセージを示す識別情報が設定されていると判定された場合、カプセル化フレームに含まれるリンクトレースメッセージに対する応答としてのリンクトレースリプライをデータ領域に含み、かつ、カプセル化フレームの送信元B−MACアドレスを宛先B−MACアドレスとしてカプセル化LTRフレームを生成し、このカプセル化LTRフレームを第1のネットワーク内で送信する応答処理手段とを有する。   According to a ninth aspect, in the eighth aspect, when the determination means determines that identification information indicating a link trace message is set in the operation code area, the data area included in the MAC frame transmitted from the management end point B, which is registered in the FDB in association with this C-MAC address on condition that the same value as the target MAC address set in the target MAC address area is registered as the C-MAC address in the FDB. -The MAC address is set in the destination B-MAC address area included in the encapsulation header information and the process of generating the encapsulated frame is performed, while the same value as the target MAC address is registered as the C-MAC address in the FDB. If not, receive without generating encapsulated frame If the identification information indicating the link trace message is set in the operation code area by the frame processing means for discarding the MAC frame and the determination means, the link trace reply as a response to the link trace message is included in the data area. Response processing means for generating an LTR frame and transmitting the LTR frame to the second network, and the core switch included in the first network sends a link trace message to the operation code area by the judging means. When it is determined that the identification information indicating is set, the MAC address set in the destination B-MAC address area of the encapsulation header information included in the encapsulated frame is the same as its own unique MAC address Make sure In this case, the frame processing means for terminating the transfer of the encapsulated frame and the link trace message included in the encapsulated frame when the determination means determines that the identification information indicating the link trace message is set in the operation code area. A link trace reply as a response to the data field, and generating an encapsulated LTR frame with the source B-MAC address of the encapsulated frame as the destination B-MAC address, and generating the encapsulated LTR frame in the first network Response processing means for transmitting within the network.

第9の発明によれば、宛先の管理端点が配置されているネットワーク(IEEE802.1ah)内でリンクトレースメッセージを受信したエッジスイッチは、確実にリンクトレースメッセージをカプセル化フレームとして宛先の管理端点へ転送しつつ、始点の管理端点へリンクトレースリプライを応答することができる。すなわち、FDBにはターゲットMACアドレスに関連付けて宛先B−MACアドレス領域に設定するB−MACアドレスが登録されており、エッジスイッチで受信したMACフレームに設定されたターゲットMACアドレスがFDBに登録されている場合、このMACフレームはカプセル化されても第1のネットワーク内で正確に転送されて確実に宛先の管理端点まで転送される。さらに、受信したMACフレームのターゲットMACアドレスがFDBに登録されていない場合、エッジスイッチはこのMACフレームを破棄することで、上述したブロードキャストによる不具合を確実に防止することができる。   According to the ninth aspect of the invention, the edge switch that has received the link trace message in the network (IEEE802.1ah) in which the destination management endpoint is located reliably transmits the link trace message as an encapsulated frame to the destination management endpoint. While transferring, a link trace reply can be returned to the management end point of the starting point. That is, the B-MAC address set in the destination B-MAC address area in association with the target MAC address is registered in the FDB, and the target MAC address set in the MAC frame received by the edge switch is registered in the FDB. If the MAC frame is encapsulated, the MAC frame is correctly transferred within the first network and reliably transferred to the destination management endpoint. Further, when the target MAC address of the received MAC frame is not registered in the FDB, the edge switch can reliably prevent the above-described malfunction due to the broadcast by discarding the MAC frame.

さらにコアスイッチは、カプセル化されたリンクトレースメッセージを宛先の管理端点まで中継しつつ、それぞれにリンクトレースリプライを返すことができる。また、宛先の管理端点に指定されたコアスイッチは、自己宛のリンクトレースメッセージであることを正確に認識した上で、リンクトレースリプライを返すことができる。これにより、複数の異なる通信規格を用いたネットワークに跨るネットワークシステム内においても、リンクトレース機能を容易に実現することができる。   Furthermore, the core switch can return a link trace reply to each of the encapsulated link trace messages while relaying the encapsulated link trace message to the destination management endpoint. The core switch designated as the destination management endpoint can return a link trace reply after accurately recognizing that it is a link trace message addressed to itself. As a result, the link trace function can be easily realized even in a network system over a network using a plurality of different communication standards.

第10の発明は、第1の通信規格に準拠した第1のネットワークに、第1の通信規格とは異なる第2の通信規格に準拠した第2のネットワークが少なくとも1つ接続された状態で、第2のネットワーク内に配置された始点の管理端点に対して、第1のネットワーク内に配置されたいずれかのコアスイッチを宛先の管理端点とするか、もしくは、管理端点から第1のネットワークを介して接続された第2のネットワークに配置されたいずれかのスイッチを宛先の管理端点とし、始点の管理端点から宛先の管理端点に対してリンクトレースメッセージをデータ領域内に含むMACフレームを送信してリンクトレースを実行するリンクトレース方法であって、以下の工程を備える。   In a tenth aspect of the present invention, in a state where at least one second network conforming to the second communication standard different from the first communication standard is connected to the first network conforming to the first communication standard, Either one of the core switches arranged in the first network is set as the destination management endpoint with respect to the management endpoint of the starting point arranged in the second network, or the first network is changed from the management endpoint to the first network. A MAC frame including a link trace message in the data area is transmitted from the management endpoint of the start point to the management endpoint of the destination as one of the switches arranged in the second network connected via the network. A link trace method for executing a link trace comprises the following steps.

〔識別工程〕
この工程では、始点の管理端点から送信されたMACフレームを第1のネットワーク内に配置されたエッジスイッチで受信した場合、MACフレームに含まれるヘッダ情報のうち、タイプ領域に管理用の識別情報が設定されているか否かを識別する。
[Identification process]
In this process, when the MAC frame transmitted from the management endpoint of the starting point is received by the edge switch arranged in the first network, the identification information for management is included in the type area in the header information included in the MAC frame. Identifies whether it is set.

〔判定工程〕
この工程では、先の識別工程でタイプ領域に管理用の識別情報が設定されていると識別された場合、MACフレームに含まれるデータ領域のうち、オペレーションコード領域にリンクトレースメッセージを示す識別情報が設定されているか否かを判定する。
[Judgment process]
In this process, when it is identified in the previous identification process that management identification information is set in the type area, among the data areas included in the MAC frame, identification information indicating a link trace message is displayed in the operation code area. Determine whether it is set.

〔フレーム処理工程〕
この工程では、先の判定工程でオペレーションコード領域にリンクトレースメッセージを示す識別情報が設定されていると判定された場合、MACフレームにカプセル化ヘッダ情報を付加した形式のカプセル化フレームを生成する過程で、MACフレームに含まれるデータ領域のターゲットMACアドレス領域に設定されたターゲットMACアドレスと同じ値がFDB中にC−MACアドレスとして登録されていること条件として、このC−MACアドレスと関連付けてFDBに登録されているB−MACアドレスをカプセル化ヘッダ情報に含まれる宛先B−MACアドレス領域に設定してカプセル化フレームを第1のネットワーク内で送信する。
[Frame processing process]
In this step, when it is determined in the previous determination step that identification information indicating a link trace message is set in the operation code area, a process of generating an encapsulated frame in a format in which the encapsulation header information is added to the MAC frame As a condition that the same value as the target MAC address set in the target MAC address area of the data area included in the MAC frame is registered as the C-MAC address in the FDB, the FDB is associated with the C-MAC address. Is set in the destination B-MAC address area included in the encapsulation header information, and the encapsulated frame is transmitted within the first network.

〔応答処理工程〕
この工程では、先の判定工程でオペレーションコード領域にリンクトレースメッセージを示す識別情報が設定されていると判定された場合、リンクトレースメッセージに対する応答としてのリンクトレースリプライをデータ領域に含めたLTRフレームを生成し、このLTRフレームを第2のネットワークに対して送信する。
[Response processing process]
In this step, if it is determined in the previous determination step that identification information indicating a link trace message is set in the operation code area, an LTR frame including a link trace reply as a response to the link trace message in the data area is included. Generate and transmit this LTR frame to the second network.

第10の発明によれば、リンクトレースを実行する際に始点の管理端点と宛先の管理端点とがそれぞれIEEE802.1ad及び802.1ahの異なる通信規格に基づくネットワークに配置されている場合であっても、宛先の管理端点が配置されているネットワーク(IEEE802.1ah)内では、リンクトレースメッセージを受信したエッジスイッチにより、リンクトレースメッセージであることを正しく判定した上でMACフレームのカプセル化を実行することができる。これにより、その後のカプセル化フレームの中継に際して、第1のネットワーク内でのリンクトレース機能に基づく動作に備えることができる。   According to the tenth aspect of the present invention, when link trace is executed, the starting management endpoint and the destination management endpoint are arranged in networks based on different communication standards of IEEE 802.1ad and 802.1ah, respectively. In the network where the management end point of the destination is arranged (IEEE802.1ah), the edge switch that has received the link trace message correctly determines that it is a link trace message and executes encapsulation of the MAC frame. be able to. This makes it possible to prepare for an operation based on the link trace function in the first network when relaying the encapsulated frame thereafter.

第11の発明は、第10の発明において、コアスイッチにより実行される以下の工程をさらに備える。   The eleventh invention further includes the following steps executed by the core switch in the tenth invention.

〔識別工程〕
この工程では、エッジスイッチから送信されたカプセル化フレームを第1のネットワーク内に配置されたコアスイッチで受信した場合、カプセル化フレームとしてカプセル化されたMACフレームに含まれるヘッダ情報のうちタイプ領域に管理用の識別情報が設定されているか否かをコアスイッチにて識別する。
[Identification process]
In this process, when the encapsulated frame transmitted from the edge switch is received by the core switch arranged in the first network, the type area of the header information included in the MAC frame encapsulated as the encapsulated frame is displayed. Whether or not management identification information is set is identified by the core switch.

〔判定工程〕
この工程では、コアスイッチでの識別工程でタイプ領域に管理用の識別情報が設定されていると識別された場合、カプセル化されたMACフレームに含まれるデータ領域のオペレーションコード領域にリンクトレースメッセージを示す識別情報が設定されているか否かをコアスイッチにて判定する。
[Judgment process]
In this process, if it is identified in the identification process at the core switch that management identification information is set in the type area, a link trace message is sent to the operation code area of the data area included in the encapsulated MAC frame. It is determined by the core switch whether or not the identification information to be indicated is set.

〔応答処理工程〕
この工程では、コアスイッチでの判定工程でオペレーションコード領域にリンクトレースメッセージを示す識別情報が設定されていると判定された場合、カプセル化フレームに含まれるリンクトレースメッセージに対する応答としてのリンクトレースリプライをデータ領域に含むカプセル化LTRフレームを生成し、このカプセル化LTRフレームをコアスイッチにて第1のネットワーク内で送信する。
[Response processing process]
In this process, when it is determined in the determination process at the core switch that identification information indicating the link trace message is set in the operation code area, a link trace reply is sent as a response to the link trace message included in the encapsulated frame. An encapsulated LTR frame included in the data area is generated, and the encapsulated LTR frame is transmitted in the first network by the core switch.

第11の発明によれば、第1のネットワーク内でリンクトレースメッセージを受信したコアスイッチは、それぞれ確実にリンクトレースメッセージを処理しつつ、始点の管理端点へリンクトレースリプライを応答することができる。これにより、始点の管理端点は、それぞれから受信したリンクトレースリプライに基づいて、宛先の管理端点までフレームが正常に転送されたかを正確に把握することができる。   According to the eleventh aspect, the core switch that has received the link trace message in the first network can respond to the link trace reply to the starting management endpoint while reliably processing the link trace message. As a result, the starting management endpoint can accurately grasp whether the frame has been normally transferred to the destination management endpoint based on the link trace reply received from each.

また第12の発明は、第11の発明の構成において、コアスイッチにより実行される以下の工程をさらに備える。   The twelfth invention further includes the following steps executed by the core switch in the configuration of the eleventh invention.

〔フレーム処理工程〕
この工程では、コアスイッチでの判定工程でオペレーションコード領域にリンクトレースメッセージを示す識別情報が設定されていると判定された場合であって、カプセル化フレームに含まれるカプセル化ヘッダ情報のうち、その宛先B−MACアドレス領域に設定されたMACアドレスが自己に固有のMACアドレスと同一であることを確認した場合、カプセル化フレームの転送を終了する。
[Frame processing process]
In this process, when it is determined in the determination process at the core switch that identification information indicating a link trace message is set in the operation code area, of the encapsulated header information included in the encapsulated frame, When it is confirmed that the MAC address set in the destination B-MAC address area is the same as its own unique MAC address, the transfer of the encapsulated frame is terminated.

第12の発明によれば、宛先の管理端点に指定されたコアスイッチにおいて、リンクトレースメッセージが自己宛であることを正確に認識し、その上でリンクトレースリプライを返すことができる。これにより、始点の管理端点から宛先の管理端点までの間でリンクトレースを正確に実行することができる。   According to the twelfth aspect, in the core switch designated as the destination management end point, it is possible to accurately recognize that the link trace message is addressed to itself and return the link trace reply. As a result, the link trace can be accurately executed from the starting management endpoint to the destination management endpoint.

第13の発明は、第11及び第12の発明において、各応答処理工程では、カプセル化LTRフレームに含まれるカプセル化ヘッダ情報のうち、送信元B−MACアドレス領域及び送信元C−MACアドレス領域のそれぞれに対して自己に固有のMACアドレスを設定し、宛先B−MACアドレス領域にカプセル化フレームの送信元B−MACアドレスを設定し、宛先C−MACアドレス領域に対してカプセル化フレームに含まれるオリジナルMACアドレス領域に設定されたMACアドレスを設定する。   In a thirteenth aspect based on the eleventh and twelfth aspects, in each response processing step, the source B-MAC address area and the source C-MAC address area in the encapsulated header information included in the encapsulated LTR frame A unique MAC address is set for each of the packets, the source B-MAC address of the encapsulated frame is set in the destination B-MAC address area, and the encapsulated frame is included in the destination C-MAC address area The MAC address set in the original MAC address area to be set is set.

第13の発明によれば、第11の発明及び第12の発明の作用に加えてさらに、各コアスイッチにおいてリンクトレースリプライを生成し、カプセル化LTRフレームを送信する過程で、ヘッダ情報のうち宛先C−MACアドレス領域に対してカプセル化フレームのオリジナルMACアドレス領域に設定された始点の管理端点のMACアドレスを設定し、宛先B−MACアドレス領域に対して、エッジスイッチのMACアドレスを設定できる。このため、コアスイッチで生成されたカプセル化LTRフレームは、例えばIEEE802.1ahのネットワーク内では宛先B−MACアドレス領域に設定されたエッジスイッチのMACアドレスに基づいてエッジスイッチまで転送される。そして、エッジスイッチでデカプセル化されたフレームがIEEE802.1adのネットワーク内を転送される際には、宛先C−MACアドレス領域に設定された始点の管理端点のMACアドレスに基づいてフレームの転送が行われる。これにより、始点の管理端点が宛先の管理端点と異なる通信規格に基づくネットワークに配置されていても、確実にリンクトレースリプライを送ることができる。   According to the thirteenth invention, in addition to the effects of the eleventh invention and the twelfth invention, the link trace reply is generated in each core switch and the encapsulated LTR frame is transmitted. The MAC address of the starting management end point set in the original MAC address area of the encapsulated frame can be set for the C-MAC address area, and the MAC address of the edge switch can be set for the destination B-MAC address area. For this reason, the encapsulated LTR frame generated by the core switch is transferred to the edge switch based on the MAC address of the edge switch set in the destination B-MAC address area in the IEEE 802.1ah network, for example. When the frame decapsulated by the edge switch is transferred within the IEEE 802.1ad network, the frame is transferred based on the MAC address of the management endpoint at the start point set in the destination C-MAC address area. Is called. As a result, even if the starting management endpoint is arranged in a network based on a communication standard different from the destination management endpoint, the link trace reply can be sent reliably.

以上のように本発明によれば、始点の管理端点と宛先の管理端点との間で、始点となる管理端点が配置されているネットワークとは別のネットワークを経由するように配置されていても、フレームが経由する間の通信経路を正確に検索し、リンクトレース機能を有効に活用することができる。   As described above, according to the present invention, even if the network is arranged between the management endpoint of the starting point and the management endpoint of the destination via a network different from the network where the management endpoint serving as the starting point is arranged. The communication path between frames can be searched accurately, and the link trace function can be used effectively.

ネットワークシステムの構成を概略的に示す図である。1 is a diagram schematically showing a configuration of a network system. IEEE802.1adのフレーム形式とIEEE802.1ahのフレーム形式を対比して示す概要図である。FIG. 2 is a schematic diagram showing a comparison between an IEEE 802.1ad frame format and an IEEE 802.1ah frame format. 802.1ah網内に配置されるネットワーク中継機器の機能的な構成を概略的に示すブロック図である。It is a block diagram which shows roughly the functional structure of the network relay apparatus arrange | positioned in an 802.1ah network. ネットワークシステムに適用できるリンクトレース方法の概要を示す流れ図である。It is a flowchart which shows the outline | summary of the link trace method applicable to a network system. LTMフレームのフォーマットを概略的に示す図である。It is a figure which shows the format of an LTM frame schematically. カプセル化LTMフレームのフォーマットを概略的に示す図である。It is a figure which shows schematically the format of an encapsulated LTM frame. LTRフレームのフォーマットを概略的に示す図である。It is a figure which shows the format of a LTR frame roughly. カプセル化LTRフレームのフォーマットを概略的に示す図である。It is a figure which shows schematically the format of an encapsulated LTR frame. LTフレーム判定部により実行されるLTM判定処理の手順例を示すフローチャートである。It is a flowchart which shows the example of a procedure of the LTM determination process performed by the LT frame determination part. エッジスイッチのLTフレーム処理部で実行されるカプセル化LTMフレーム生成処理の概要を示すフローチャートである。It is a flowchart which shows the outline | summary of the encapsulation LTM frame generation process performed in the LT frame process part of an edge switch. エッジスイッチのFDBを示す表である。It is a table | surface which shows FDB of an edge switch. 終端MEPとなるコアスイッチのLTフレーム処理部で実行されるカプセル化LTRフレーム生成処理を示すフローチャートである。It is a flowchart which shows the encapsulation LTR frame production | generation process performed in the LT frame process part of the core switch used as termination | terminus MEP.

以下、本発明の実施形態について図面を参照しながら説明する。
以下に挙げる実施形態は、例えば(1)ネットワーク内に配置される個々のネットワーク中継機器(エッジスイッチ又はコアスイッチ)としての形態、(2)複数のネットワークから構成されるネットワークシステムとしての形態、そして、(3)複数のネットワーク中継機器及びネットワークシステムを用いて実行されるリンクトレース方法としての形態を含むものとする。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
The embodiments described below are, for example, (1) a form as individual network relay devices (edge switches or core switches) arranged in a network, (2) a form as a network system composed of a plurality of networks, and (3) A form as a link trace method executed using a plurality of network relay devices and a network system is included.

〔ネットワークシステムの概要〕
図1は、上記の形態(2)として挙げられるネットワークシステムの構成を概略的に示す図である。このネットワークシステムは、例えば広域ネットワークとしての使用を想定したものである。広域用のネットワークシステムは、準拠する通信規格の違いによって例えば3つ(4つ以上でもよい)のネットワーク1,2,3に区分することができる。なお図1に示される配置関係でみて、隣り合うネットワーク1,2の組、そしてネットワーク2,3の組は物理的に接続された状態にある。
[Overview of network system]
FIG. 1 is a diagram schematically showing a configuration of a network system cited as the above-described form (2). This network system is assumed to be used as a wide area network, for example. The network system for wide area can be divided into, for example, three (or four or more) networks 1, 2, and 3 depending on the difference in the communication standard to be compliant. In view of the arrangement relationship shown in FIG. 1, the pair of adjacent networks 1 and 2 and the pair of networks 2 and 3 are physically connected.

ネットワークシステムは、全体としてより高い信頼性を実現し、かつ大規模(広域用)な通信網を提供するため、その一部のネットワーク2に「MAC−in−MAC」と呼ばれるフレームのカプセル化技術に対応した通信規格を適用している。MAC−in−MACのカプセル化技術は、例えば通信規格の1つであるIEEE802.1ahによって標準化されており、このためネットワーク2を構成する個々のネットワーク中継機器(参照符号8,10,12,13)は、いずれもこのIEEE802.1ahの通信規格に準拠している。   The network system realizes higher reliability as a whole and provides a large-scale (wide area) communication network. Therefore, a frame encapsulation technique called “MAC-in-MAC” is included in a part of the network 2. The communication standard corresponding to is applied. The MAC-in-MAC encapsulation technology is standardized by, for example, IEEE802.1ah, which is one of communication standards, and for this reason, individual network relay devices (reference numerals 8, 10, 12, 13) constituting the network 2 are used. ) Conforms to the IEEE 802.1ah communication standard.

その他のネットワーク1,3は、別の通信規格であるIEEE802.1adに準拠している。このため各ネットワーク1,3を構成する個々のネットワーク中継機器(参照符号4,6,15,17)は、いずれもこのIEEE802.1adの通信規格に準拠している。   The other networks 1 and 3 comply with IEEE802.1ad, which is another communication standard. For this reason, each of the individual network relay devices (reference numerals 4, 6, 15, and 17) constituting each of the networks 1 and 3 conforms to the IEEE 802.1ad communication standard.

上記のIEEE802.1ahにより実現されるPBB(Provider Backbone Bridging)網は、その他のIEEE802.1adの通信規格に準拠したPB(Provider Bridging)網を束ねるバックボーン網として活用することができる。このため図1に示される形態のネットワークシステムにおいては、IEEE802.1ahに準拠したネットワーク2をバックボーン(PBB)網とし、このネットワーク2が両隣の各ネットワーク1,3をPB網として束ねる役割を果たすことができる。以下では、IEEE802.1ahの規格に準拠したネットワーク2を「802.1ah網2」と別称し、IEEE802.1adの規格に準拠したネットワーク1,3をそれぞれ「802.1ad網1,3」と別称する。   The PBB (Provider Backbone Bridging) network realized by the above IEEE802.1ah can be used as a backbone network that bundles other PB (Provider Bridging) networks conforming to the IEEE802.1ad communication standard. For this reason, in the network system of the form shown in FIG. 1, the network 2 conforming to IEEE 802.1ah is a backbone (PBB) network, and this network 2 plays a role of bundling the adjacent networks 1 and 3 as a PB network. Can do. Hereinafter, the network 2 conforming to the IEEE 802.1ah standard is referred to as “802.1ah network 2”, and the networks 1 and 3 conforming to the IEEE 802.1ad standard are also referred to as “802.1ad network 1, 3”, respectively. To do.

各ネットワーク1,2,3(802.1ad網1,3、802.1ah網2)内には、上記のように複数のネットワーク中継機器が配置されており、図1にはその一部がネットワーク中継機器(4〜17)として示されている。これら複数のネットワーク中継機器は、それぞれのネットワーク1,2,3内において相互に接続されている。なお図1では、便宜上、本実施形態の説明に関係する一部のネットワーク中継機器のみを示すこととし、その他多数のネットワーク中継機器については、図面の煩雑化を防止するために図示を省略している。   In each of the networks 1, 2, 3 (802.1ad network 1, 3, 802.1ah network 2), a plurality of network relay devices are arranged as described above. FIG. It is shown as a relay device (4-17). The plurality of network relay devices are connected to each other in the respective networks 1, 2, and 3. In FIG. 1, for the sake of convenience, only a part of the network relay devices related to the description of the present embodiment is shown, and a number of other network relay devices are omitted in order to prevent the drawing from being complicated. Yes.

〔802.1ad網〕
上記の802.1ad網1内には、例えばスイッチ4及びスイッチ6が配置されている。もう一方の802.1ad網3についても同様に、その内部に例えばスイッチ17及びスイッチ15が配置されている。このうちスイッチ6,15は、802.1ah網2から転送されたフレームを各802.1ad網1,3内で中継したり、各802.1ad網1,3内で転送されるフレームを802.1ah網2へ中継したりする。またスイッチ4,17は、スイッチ6,15から転送されたフレームを各802.1ad網1,3内で中継する。
[802.1ad network]
For example, a switch 4 and a switch 6 are disposed in the 802.1ad network 1. Similarly, for example, a switch 17 and a switch 15 are arranged in the other 802.1ad network 3. Among them, the switches 6 and 15 relay the frame transferred from the 802.1ah network 2 in each of the 802.1ad networks 1 and 3 and switch the frame transferred in each of the 802.1ad networks 1 and 3 to 802. Or relay to 1ah network 2. The switches 4 and 17 relay the frames transferred from the switches 6 and 15 in the 802.1ad networks 1 and 3, respectively.

〔802.1ah網〕
802.1ah網2内には、例えばエッジスイッチ8,13及びコアスイッチ10,12が配置されている。802.1ah網2においては、エッジスイッチ8,15は他の802.1ad網1,3との間でフレームを中継する際、これをMAC−in−MAC方式でカプセル化又はデカプセル化する。また、コアスイッチ10,12は、それぞれエッジスイッチ8,13から転送されたカプセル化フレームを802.1ah網2内で中継する。
[802.1ah network]
In the 802.1ah network 2, for example, edge switches 8 and 13 and core switches 10 and 12 are arranged. In the 802.1ah network 2, the edge switches 8 and 15 encapsulate or decapsulate the frames in the MAC-in-MAC method when relaying frames between the other 802.1ad networks 1 and 3. The core switches 10 and 12 relay the encapsulated frames transferred from the edge switches 8 and 13, respectively, in the 802.1ah network 2.

〔通信規格によるフレーム形式の違い〕
図2は、IEEE802.1adのフレーム形式とIEEE802.1ahのフレーム形式を対比して示す概要図である。なお、これらフレーム形式は公知であり、特段の説明を要しないため、図2中にフレーム内の各部に参照符号を付していない。
[Difference in frame format depending on communication standard]
FIG. 2 is a schematic diagram showing a comparison between the IEEE 802.1ad frame format and the IEEE 802.1ah frame format. Note that these frame formats are well known and do not require special explanation, and therefore, reference numerals are not attached to the respective parts in the frame in FIG.

〔IEEE802.1adのフレーム形式〕
図2中(A):IEEE802.1adに準拠した形式のMACフレームは、そのヘッダ部分にDA MAC(宛先MACアドレス)、SA MAC(送信元MACアドレス)、VLAN TAG、TYPE(タイプ)等の領域を備えている。またMACフレームは、ヘッダ部分に続くDATA(データ)領域、FCS(Frame Check Sequence)の領域を備えている。なお図2中、フレーム内の各部に括弧書きされている値(6B,4B等)はいずれも各領域のバイト長である。
[IEEE802.1ad frame format]
In FIG. 2, (A): MAC frame in a format conforming to IEEE802.1ad is an area such as DA MAC (destination MAC address), SA MAC (source MAC address), VLAN TAG, TYPE (type), etc. in the header part. It has. The MAC frame also includes a DATA (data) area and an FCS (Frame Check Sequence) area following the header portion. In FIG. 2, the values (6B, 4B, etc.) in parentheses at each part in the frame are the byte length of each area.

〔IEEE802.1ahのフレーム形式〕
図2中(B):IEEE802.1ahに準拠した形式のフレームは、上記のようにMAC−in−MACフレームとなる。すなわちMAC−in−MACフレームは、IEEE802.1adのフレーム形式にDA B−MAC(宛先B−MACアドレス)、SA B−MAC(送信元B−MACアドレス)、B−TAG、I−TAGを付加したものである。なおMAC−in−MACフレームには、上記のB−TAGがなくI−TAGだけを有した形式もある。
[Frame format of IEEE802.1ah]
In FIG. 2, (B): A frame in a format conforming to IEEE802.1ah is a MAC-in-MAC frame as described above. In other words, for the MAC-in-MAC frame, DA B-MAC (destination B-MAC address), SA B-MAC (source B-MAC address), B-TAG, and I-TAG are added to the IEEE 802.1ad frame format. It is a thing. Note that there is a MAC-in-MAC frame that has only the I-TAG without the B-TAG.

〔カプセル化技術の概要〕
図1に示される広域用のネットワークシステムにおいて、例えば一方の802.1ad網1から他方の802.1ad網3へMACフレームを送信する場合にフレームのカプセル化が行われる。例えば、一方の802.1ad網1内のスイッチ4を送信元として、ここから他方の802.1ad網3内のスイッチ17を宛先としたMACフレームが送信された場合を想定する。
[Overview of encapsulation technology]
In the wide area network system shown in FIG. 1, for example, when a MAC frame is transmitted from one 802.1ad network 1 to the other 802.1ad network 3, the frame is encapsulated. For example, a case is assumed where a MAC frame is transmitted from the switch 4 in one 802.1ad network 1 as a transmission source and the switch 17 in the other 802.1ad network 3 as a destination.

上記の事例において、802.1ad網1内でMACフレームはスイッチ4からスイッチ6に転送され、さらにスイッチ6から802.1ah網2に向けて送信される。802.1ah網2のエッジスイッチ8は、受信したMACフレームをカプセル化し、802.1ah網2内ではこれを上記のMAC−in−MACフレームとして転送する。   In the above case, the MAC frame is transferred from the switch 4 to the switch 6 in the 802.1ad network 1 and further transmitted from the switch 6 to the 802.1ah network 2. The edge switch 8 of the 802.1ah network 2 encapsulates the received MAC frame, and transfers it as the MAC-in-MAC frame in the 802.1ah network 2.

802.1ah網2内では、エッジスイッチ8において付加されたDA B−MAC(図2中(B)参照)に基づいて中継(転送)が行われる。これによりMAC−in−MACフレームは、コアスイッチ10,12により順に中継され、もう1つのエッジスイッチ13に到達する。エッジスイッチ13はMAC−in−MACフレームを受信すると、これをデカプセル化する。これにより、MAC−in−MACフレームはMACフレームとしての形式に復元される。   In the 802.1ah network 2, relaying (transfer) is performed based on DA B-MAC added in the edge switch 8 (see (B) in FIG. 2). As a result, the MAC-in-MAC frame is sequentially relayed by the core switches 10 and 12 and reaches the other edge switch 13. When the edge switch 13 receives the MAC-in-MAC frame, it decapsulates it. Thereby, the MAC-in-MAC frame is restored to a format as a MAC frame.

そして、エッジスイッチ13によりデカプセル化された後のMACフレームは、他方の802.1ad網3のスイッチ15で受信され、802.1ad網3内ではMACフレームとして宛先のスイッチ17に送信される。   Then, the MAC frame after being decapsulated by the edge switch 13 is received by the switch 15 of the other 802.1ad network 3 and is transmitted to the destination switch 17 as a MAC frame in the 802.1ad network 3.

以上のように、ネットワークシステムにおいて通常のMACフレーム(いわゆるユーザフレーム)を転送する場合、IEEE802.1ahによるカプセル化技術は特に有益である。   As described above, when a normal MAC frame (so-called user frame) is transferred in a network system, the encapsulation technique based on IEEE 802.1ah is particularly useful.

〔想定事例〕
一方、上記の事例において、転送されるフレームがネットワークの管理を目的とする場合は以下の現象が発生すると考えられる。
[Assumed cases]
On the other hand, in the above case, the following phenomenon is considered to occur when the transferred frame is intended for network management.

例えばネットワーク管理を目的とするフレームとして、リンクトレース試験に用いられるLTMフレームが挙げられる。LTMフレーム(図中参照符号なし)は、上記のように始点となる管理端点(以下、「始端MEP(Maintenance End Point)」と略称する)から、宛先の管理端点(以下、「終端MEP」と略称する)に向けて送信される。この場合、リンクトレース機能に関する規格の要求に基づき、途中でLTMフレームを中継した各中継機器はそれぞれにLTRフレームを生成し、これをLTMフレームの送信元に対して送信する必要がある。   For example, a frame for the purpose of network management includes an LTM frame used for a link trace test. As described above, an LTM frame (without reference numerals in the figure) is sent from a management end point (hereinafter referred to as “maintenance end point”) as a start point to a destination management end point (hereinafter referred to as “end MEP”). (Abbreviated). In this case, each relay device that relays an LTM frame on the way based on a standard requirement concerning the link trace function needs to generate an LTR frame and transmit it to the transmission source of the LTM frame.

図1に示されるネットワークシステムにおいて、例えば一方の802.1ad網1内のスイッチ4を始端MEPとし、802.1ah網2内のコアスイッチ12を終端MEPとしてそれぞれ指定する。この指定条件において、始端MEPのスイッチ4から終端MEPのコアスイッチ12までの通信経路についてリンクトレース試験が行われるものとする。   In the network system shown in FIG. 1, for example, the switch 4 in one 802.1ad network 1 is designated as a start MEP, and the core switch 12 in the 802.1ah network 2 is designated as a termination MEP. Under this specified condition, it is assumed that a link trace test is performed on a communication path from the switch 4 at the start MEP to the core switch 12 at the end MEP.

始端MEPとなるスイッチ4は、宛先MACアドレスをマルチキャストアドレスとし、TARGET MAC(ターゲットMACアドレス)を終端MEPとなるコアスイッチ12のMACアドレスとし、そしてSA MACを自己のMACアドレスとしたLTMフレームを送信する。このときLTMフレームのTYPE領域には、例えば国際勧告「Y.1731」やIEEE802.1agの規格で定められるOAMの識別値が格納されている。   The switch 4 serving as the start MEP transmits an LTM frame using the destination MAC address as the multicast address, the TARGET MAC (target MAC address) as the MAC address of the core switch 12 serving as the end MEP, and the SA MAC as its own MAC address. To do. At this time, in the TYPE area of the LTM frame, for example, an OAM identification value defined by the international recommendation “Y.1731” or the IEEE 802.1ag standard is stored.

802.1ad網1内でLTMフレームは、スイッチ4からスイッチ6に送信され、これを受信したスイッチ6は、LTMフレームを802.1ah網2のエッジスイッチ8に転送する。LTMフレームを受信したエッジスイッチ8は、上記のMAC−in−MAC形式でLTMフレームをカプセル化し、これをカプセル化LTMフレームとして802.1ah網2内へ中継する。この際、LTMフレームの宛先MACアドレスはマルチキャストアドレスであるため、エッジスイッチ8はカプセル化に際してDA B−MACにマルチキャストの値を格納する。   The LTM frame is transmitted from the switch 4 to the switch 6 in the 802.1ad network 1, and the switch 6 that receives the LTM frame transfers the LTM frame to the edge switch 8 of the 802.1ah network 2. The edge switch 8 that has received the LTM frame encapsulates the LTM frame in the above-described MAC-in-MAC format, and relays the encapsulated LTM frame into the 802.1ah network 2. At this time, since the destination MAC address of the LTM frame is a multicast address, the edge switch 8 stores the multicast value in the DA B-MAC at the time of encapsulation.

上記のようにカプセル化されたLTMフレームは、エッジスイッチ8からコアスイッチ10、コアスイッチ12へ転送される。このときカプセル化LTMフレームを受信したコアスイッチ12は、そのDA B−MACを参照し、その値がブロードキャストであればそのままフレームを中継するか、もしくは破棄する。一方、DA B−MACの値が自己のMACアドレスであることを確認すると、コアスイッチ12はフレームを破棄する。この場合のフレームの破棄は、コアスイッチ12が準拠するIEEE802.1ahの要求に基づくものであり、本来当然(規格通り)の処理である。   The LTM frame encapsulated as described above is transferred from the edge switch 8 to the core switch 10 and the core switch 12. At this time, the core switch 12 that has received the encapsulated LTM frame refers to the DA B-MAC and relays or discards the frame if the value is broadcast. On the other hand, when it is confirmed that the value of DA B-MAC is its own MAC address, the core switch 12 discards the frame. The discarding of the frame in this case is based on a request of IEEE 802.1ah that the core switch 12 complies with, and is naturally a process (as per the standard).

ところが上記の処理は、802.1ad網1と802.1ah網2に跨って行われるリンクトレース試験にとっては1つの障害となる。すなわち、コアスイッチ10及びコアスイッチ12からみれば、始端MEP(スイッチ4)が別の通信規格に準拠した802.1ad網1内に存在しているため、そのままではカプセル化されたLTMフレームをLTMフレームとしてコアスイッチ10及びコアスイッチ12は認識できない。したがってこの事例においては、始端MEPとなるスイッチ4がLTMフレームを送信しても、所望の通りにリンクトレースは機能しないことが分かる。   However, the above processing is one obstacle for the link trace test performed across the 802.1ad network 1 and the 802.1ah network 2. That is, when viewed from the core switch 10 and the core switch 12, the start end MEP (switch 4) exists in the 802.1ad network 1 compliant with another communication standard. The core switch 10 and the core switch 12 cannot be recognized as a frame. Therefore, in this case, it is understood that the link trace does not function as desired even when the switch 4 serving as the start MEP transmits the LTM frame.

本発明の発明者等は上記の現象に着眼しつつ、図1のネットワークシステムにおいてリンクトレースを所望通りに機能させるため、802.1ah網2内のネットワーク中継機器(エッジスイッチ8,13、コアスイッチ10,12等)に以下の構成を用いることが有効であることを見出した。   In order to make link trace function as desired in the network system shown in FIG. 1 while paying attention to the above phenomenon, the inventors of the present invention use network relay devices (edge switches 8, 13 and core switches in the 802.1ah network 2). (10, 12, etc.) was found to be effective to use the following configuration.

〔ネットワーク中継機器の形態〕
図3は、802.1ah網2内に配置されるネットワーク中継機器の機能的な構成を概略的に示すブロック図である。
[Network relay device configuration]
FIG. 3 is a block diagram schematically showing a functional configuration of a network relay device arranged in the 802.1ah network 2.

先ずネットワーク中継機器(エッジスイッチ8,13、コアスイッチ10,12)は、一般的なフレームの中継に必要な構成として、例えばフレーム転送制御部46やFDB(Forwarding DataBase)52、ソフトウェア制御のCPU(Central Processing Unit)50等を備えている。フレーム転送制御部46には送受信部46aが設けられており、送受信部46aは、個々にネットワークケーブルが接続される複数のポート(参照符号460a,460b,・・・等)を有している。またFDB52は、例えばRAM等の物理メモリ領域を用いて形成されている。   First, network relay devices (edge switches 8 and 13 and core switches 10 and 12) have, for example, a frame transfer control unit 46, an FDB (Forwarding DataBase) 52, and a software-controlled CPU (as a configuration required for general frame relay). Central Processing Unit) 50 and the like. The frame transfer control unit 46 is provided with a transmission / reception unit 46a, and the transmission / reception unit 46a has a plurality of ports (reference numerals 460a, 460b,...) To which network cables are individually connected. The FDB 52 is formed using a physical memory area such as a RAM.

この他にも本実施形態のネットワーク中継機器は、LTフレーム中継制御部48としての構成を有している。このLTフレーム中継制御部48には、例えばIEEE802.1ah規格に基づく標準的なフレーム中継機能実行部48cが組み込まれている。すなわちフレーム中継機能実行部48cは、IEEE802.1ah規格に基づいてMACフレームのカプセル化処理や、MAC−in−MACフレームの転送処理を実行する通常の機能を有する部分である。   In addition, the network relay device of the present embodiment has a configuration as the LT frame relay control unit 48. The LT frame relay control unit 48 incorporates a standard frame relay function execution unit 48c based on, for example, the IEEE 802.1ah standard. That is, the frame relay function execution unit 48c is a part having a normal function for executing the MAC frame encapsulation process and the MAC-in-MAC frame transfer process based on the IEEE 802.1ah standard.

その上でLTフレーム中継制御部48には、本実施形態に特有の機能要素としてLTフレーム判定部48a及びLTフレーム処理部48bが組み込まれている。このうちLTフレーム判定部48aは、受信したフレームがイーサネット(登録商標)OAM(以下、適宜「OAM」とだけ表記する。)のリンクトレース機能に対応するLTMを含むものであるか否かを判定する部分である。またLTフレーム処理部48bは、OAMのリンクトレース機能に対応したフレームの内容に従ってそのフレームの内容を書き換え、別のフレーム内容に変換する処理を行う部分である。なお、LTフレーム処理部48bやLTフレーム処理部48b等の機能要素は、例えばASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)等の集積回路で実現することかできる。   In addition, the LT frame relay control unit 48 incorporates an LT frame determination unit 48a and an LT frame processing unit 48b as functional elements unique to the present embodiment. Among these, the LT frame determination unit 48a determines whether or not the received frame includes an LTM corresponding to the link trace function of Ethernet (registered trademark) OAM (hereinafter simply referred to as “OAM” as appropriate). It is. The LT frame processing unit 48b is a part that performs processing for rewriting the content of the frame in accordance with the content of the frame corresponding to the link trace function of the OAM and converting it to another frame content. Note that functional elements such as the LT frame processing unit 48b and the LT frame processing unit 48b can be realized by an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).

〔中継機器による内部動作〕
上記の送受信部46aは、各ポートにおいて受信した全てのフレームをLTフレーム判定部48aへ転送する。このときLTフレーム制御部48内では、フレーム中継機能実行部48cでフレームのカプセル化処理が行われ(エッジスイッチ8,13の場合)、上記のMAC−in−MACフレームが生成される。
[Internal operation by relay device]
The transmission / reception unit 46a transfers all frames received at each port to the LT frame determination unit 48a. At this time, in the LT frame control unit 48, frame encapsulation processing is performed by the frame relay function execution unit 48c (in the case of the edge switches 8 and 13), and the MAC-in-MAC frame is generated.

〔LTフレーム判定〕
LTフレーム判定部48aは、送られてきたフレームの内容を参照し、その内容がOAMのリンクトレース機能に対応するLTM(リンクトレースメッセージ)を含むものであるか否かを判定する。具体的には、LTフレーム判定部48aはフレームの内容を先頭から参照していき、「I−TAG」を確認してMAC−in−MACフレームであることを確認すると、次に「TYPE」を参照し、そこにIEEE802.1agを示す識別情報(OAM)が記述されているか否かを識別する。
[LT frame determination]
The LT frame determination unit 48a refers to the content of the transmitted frame and determines whether or not the content includes an LTM (link trace message) corresponding to the link trace function of OAM. Specifically, the LT frame determination unit 48a refers to the contents of the frame from the top, confirms “I-TAG” and confirms that the frame is a MAC-in-MAC frame, and then selects “TYPE”. Reference is made to identify whether or not identification information (OAM) indicating IEEE 802.1ag is described therein.

このとき「TYPE」がOAMを示すものであれば、LTフレーム判定部48aは次に「DATA」内のOAM HEADER(OAMヘッダ)を参照し、その中で「OpCode」の識別値がLTMを示しているか否かを確認する。識別値がLTMを示していれば、LTフレーム判定部48aは、このフレームが「(OAM)LTMフレーム」であると判定する。この場合、LTフレーム判定部48aは「LTMフレーム」をLTフレーム処理部48bへ転送する。ここで、コアスイッチ10,12において、「LTMフレーム」でないと判定した場合、LTフレーム判定部48aはそのフレームをフレーム転送制御部46へ送り返す。また、エッジスイッチ8,13において、「LTMフレーム」でないと判定した場合、LTフレーム判定部48aは、そのフレームをフレーム中継機能実行部48cへ転送する。フレーム中継機能実行部48cは、上記のフレームをIEEE802.1ah規格に基づいてカプセル化する処理を実行し、カプセル化フレームをフレーム転送処理部46へ転送する。   At this time, if “TYPE” indicates OAM, the LT frame determination unit 48a next refers to the OAM HEADER (OAM header) in “DATA”, in which the identification value of “OpCode” indicates LTM. Check if it is. If the identification value indicates LTM, the LT frame determination unit 48a determines that this frame is a “(OAM) LTM frame”. In this case, the LT frame determination unit 48a transfers the “LTM frame” to the LT frame processing unit 48b. If the core switches 10 and 12 determine that the frame is not an “LTM frame”, the LT frame determination unit 48 a returns the frame to the frame transfer control unit 46. When the edge switches 8 and 13 determine that the frame is not an “LTM frame”, the LT frame determination unit 48a transfers the frame to the frame relay function execution unit 48c. The frame relay function execution unit 48 c executes a process of encapsulating the above frame based on the IEEE 802.1ah standard, and transfers the encapsulated frame to the frame transfer processing unit 46.

〔LTフレーム処理〕
「LTMフレーム」と判定されたフレームがLTフレーム処理部48bに送られた場合、LTフレーム処理部48bにて以下の処理が行われる。この場合の処理は、ネットワーク中継機器がエッジスイッチ8,13としての位置付けである場合と、コアスイッチ10,12としての位置付けである場合とで異なっている。
[LT frame processing]
When a frame determined to be an “LTM frame” is sent to the LT frame processing unit 48b, the following processing is performed in the LT frame processing unit 48b. The processing in this case is different between the case where the network relay device is positioned as the edge switches 8 and 13 and the case where the network relay device is positioned as the core switches 10 and 12.

〔エッジスイッチでの処理〕
ネットワーク中継機器がエッジスイッチ8,13としての位置付けである場合、LTフレーム処理部48bは、カプセル化に際して付加された「SA B−MAC」を自己(エッジスイッチ8,13)のMACアドレスに設定する。また「DA B−MAC」については、LTフレーム処理部48bにおいて「LTMフレーム」で示される「TARGET MAC」をキーとしてFDB52を検索し、この「TARGET MAC」に関連付けてB−MACアドレスが登録されていれば、B−MACアドレスを「DA B−MAC」に設定する。
[Processing by edge switch]
When the network relay device is positioned as the edge switches 8 and 13, the LT frame processing unit 48b sets “SA B-MAC” added at the time of encapsulation to the MAC address of itself (edge switches 8 and 13). . For “DA B-MAC”, the LT frame processing unit 48b searches the FDB 52 using “TARGET MAC” indicated by “LTM frame” as a key, and a B-MAC address is registered in association with this “TARGET MAC”. If so, the B-MAC address is set to “DA B-MAC”.

FDB52は、C−MACアドレスを登録するテーブル(以下、「C−MACアドレス欄」と略称する。)及び、B−MACアドレスを登録するテーブル(以下、「B−MACアドレス欄」と略称する。)を備えており、これらのテーブルにフレームの転送先となるMACアドレスを登録する。また、C−MACアドレス欄に登録されたMACアドレス及び、B−MACアドレス欄に登録されたMACアドレスは互いに対応付けられて登録されており、さらにこれらは、エッジスイッチ8,13に備えられているポートと対応付けられている。IEEE802.1ah規格では、IEEE802.1ad網1,3から転送されたMACフレームをMAC−in−MACヘッダでカプセル化する際、MACフレーム中の「DA MAC」に設定されたMACアドレスを参照する。そして、このMACアドレスがC−MACアドレス欄に登録されている場合、これに対応するB−MACアドレス欄のMACアドレスを「DA B−MAC」に設定する。   The FDB 52 is a table for registering C-MAC addresses (hereinafter abbreviated as “C-MAC address field”) and a table for registering B-MAC addresses (hereinafter abbreviated as “B-MAC address field”). ) And the MAC address that is the frame transfer destination is registered in these tables. Further, the MAC address registered in the C-MAC address field and the MAC address registered in the B-MAC address field are registered in association with each other, and these are provided in the edge switches 8 and 13. Is associated with a port. In the IEEE 802.1ah standard, when the MAC frame transferred from the IEEE 802.1ad network 1 or 3 is encapsulated with the MAC-in-MAC header, the MAC address set to “DA MAC” in the MAC frame is referred to. If this MAC address is registered in the C-MAC address field, the MAC address in the corresponding B-MAC address field is set to “DA B-MAC”.

一方、本実施形態では上記の通り、受信した「LTMフレーム」で示される「TARGET MAC」に設定されたMACアドレスを参照し、このMACアドレスがC−MACアドレス欄に登録されている場合、これに対応するB−MACアドレス欄のMACアドレスを「DA B−MAC」に設定する。なお、上記の設定について図10及び図11を用いてさらに詳しく後述する。   On the other hand, in this embodiment, as described above, the MAC address set in the “TARGET MAC” indicated by the received “LTM frame” is referred to, and this MAC address is registered in the C-MAC address field. Is set to “DA B-MAC”. The above setting will be described later in detail with reference to FIGS.

またLTフレーム処理部48bは、「SA C−MAC(送信元C−MACアドレス)」を自己(エッジスイッチ8,13)のMACアドレスに設定するとともに、「TTL(Time to Live)」の減算を行う。なお、LTフレーム処理部48bでは元のフレームの「DA MAC」を変更しない。   In addition, the LT frame processing unit 48b sets “SA C-MAC (source C-MAC address)” to the MAC address of itself (edge switches 8 and 13) and subtracts “TTL (Time to Live)”. Do. Note that the LT frame processing unit 48b does not change the “DA MAC” of the original frame.

〔コアスイッチでの処理〕
一方、ネットワーク中継機器がコアスイッチ10,12としての位置付けである場合、LTフレーム処理部48bは、「TTL」の減算、及び「SA C−MAC」の変更だけを行う。したがって、802.1ah網2内のコアスイッチ10,12間で「SA B−MAC」や「DA B−MAC」の設定(書き換え)は行われない。
[Processing by core switch]
On the other hand, when the network relay device is positioned as the core switches 10 and 12, the LT frame processing unit 48b performs only the subtraction of “TTL” and the change of “SA C-MAC”. Therefore, “SA B-MAC” and “DA B-MAC” are not set (rewritten) between the core switches 10 and 12 in the 802.1ah network 2.

〔LTRの処理〕
次に、LTMに対するLTR(LinkTrace Reply)の処理については、各ネットワーク中継機器(エッジスイッチ8,13、コアスイッチ10,12)において、受信したLTMの「SA B−MAC」をLTRの「DA B−MAC」に設定するとともに、「SA B−MAC」については、LTRを返す各ネットワーク中継機器(エッジスイッチ8,13、コアスイッチ10,12)の送信ポートのMACアドレスに設定する。また各ネットワーク中継機器(エッジスイッチ8,13、コアスイッチ10,12)において、LTRの「DA C−MAC(宛先C−MACアドレス)」を「ORIGINAL MAC(オリジナルMACアドレス)」の値に設定し、「SA C−MAC」を「SA B−MAC」と同じ値に設定する。なお、このような処理は、上記のLTフレーム処理部48bにて実行することができる。また、エッジスイッチ8からスイッチ6を介してスイッチ4へLTRフレームを生成する処理は、IEEE802.1ag規格及びIEEE802.1ad規格に準拠した処理が実行される。
[LTR processing]
Next, with respect to LTR (Link Trace Reply) processing for LTM, the received LTM “SA B-MAC” is changed to “DA B” of LTR at each network relay device (edge switches 8 and 13 and core switches 10 and 12). -MAC "and" SA B-MAC "are set to the MAC address of the transmission port of each network relay device (edge switch 8, 13, core switch 10, 12) that returns the LTR. In each network relay device (edge switches 8 and 13, core switches 10 and 12), the LTR's “DAC-MAC (destination C-MAC address)” is set to the value of “ORIGINAL MAC (original MAC address)”. , “SA C-MAC” is set to the same value as “SA B-MAC”. Note that such processing can be executed by the LT frame processing unit 48b. In addition, the process of generating an LTR frame from the edge switch 8 to the switch 4 via the switch 6 is performed in accordance with the IEEE 802.1ag standard and the IEEE 802.1ad standard.

また、ネットワーク中継機器(エッジスイッチ8,13、コアスイッチ10,12)はそれぞれ「TTL」の減算を行うが、802.1ah網2内での約束事として、LTRの転送に関しては特に何も実施しないこととする。   In addition, the network relay devices (edge switches 8 and 13 and core switches 10 and 12) each subtract “TTL”, but as an agreement within the 802.1ah network 2, nothing is performed regarding LTR transfer. I will do it.

以上のようなリンクトレースに関する機能を組み込んだネットワーク中継機器(エッジスイッチ8,13、コアスイッチ10,12)を802.1ah網2内に配置することにより、本実施形態のネットワークシステムにおいて以下のリンクトレース方法を一例として実現することができる。   By arranging the network relay devices (edge switches 8 and 13 and core switches 10 and 12) incorporating the functions related to link tracing as described above in the 802.1ah network 2, the following links are provided in the network system of the present embodiment. The tracing method can be realized as an example.

〔リンクトレース方法〕
図4は、ネットワークシステムに適用できるリンクトレース方法の概要を示す流れ図である。なお図4には、ネットワークシステム中でリンクトレース方法の説明に必要となる2つのネットワーク(802.1ad網1及び802.1ah網2)のみを示している。
[Link trace method]
FIG. 4 is a flowchart showing an outline of a link trace method applicable to the network system. FIG. 4 shows only two networks (802.1ad network 1 and 802.1ah network 2) that are necessary for explaining the link trace method in the network system.

例えば、802.1ad網1内に配置されるスイッチ4を始端MEPとして、このスイッチ4から別の802.1ah網2内のコアスイッチ12を終端MEPとしたLTMフレーム14を送信する。始端MEPとなるスイッチ4には、例えば図示しないPCやサーバ等の監視端末が接続されており、ネットワーク管理者は、監視端末からコマンドを入力してLTMフレーム14の送信を行うことができる。このときスイッチ6やエッジスイッチ8、コアスイッチ10は、リンクトレースを実施する際にLTMフレーム14を中継するMIP(Maintenance Intermediate Point)として機能する。   For example, the switch 4 arranged in the 802.1ad network 1 is set as the start MEP, and the LTM frame 14 is transmitted from the switch 4 with the core switch 12 in another 802.1ah network 2 as the end MEP. For example, a monitoring terminal such as a PC or a server (not shown) is connected to the switch 4 serving as a starting MEP, and the network administrator can transmit a LTM frame 14 by inputting a command from the monitoring terminal. At this time, the switch 6, the edge switch 8, and the core switch 10 function as a MIP (Maintenance Intermediate Point) that relays the LTM frame 14 when link tracing is performed.

リンクトレース方法は、おおよそ以下の工程を通じて実行される。
(1)802.1ad網1内のスイッチ4から、802.1ah網2内のコアスイッチ12をターゲットとしたLTMフレーム14を送信する。
(2)同802.1ad網1内のスイッチ6でLTMフレーム14を中継し、802.1ah網2内のエッジスイッチ8へLTMフレーム14を送信する。合わせてスイッチ6からLTRフレーム16を送信する。
(3)エッジスイッチ8によるカプセル化に際し、LTMフレーム14の判定と処理を行う。判定結果により、エッジスイッチ8からLTRフレーム16を送信する。
(4)802.1ah網2内にて、エッジスイッチ8からカプセル化LTMフレーム18を送信する。
(5)同802.1ah網2内のコアスイッチ10でカプセル化LTMフレーム18を中継する際、カプセル化LTMフレーム18の判定と処理を行う。判定結果により、コアスイッチ10からカプセル化LTRフレーム20を送信する。
(6)802.1ah網2内でカプセル化LTMフレーム18が中継され、ターゲットとするコアスイッチ12にカプセル化LTMフレーム18が到達する。
(7)コアスイッチ12がカプセル化LTMフレーム18の判定と処理を行い、自己宛と判定してカプセル化LTRフレーム20を送信する。
(8)コアスイッチ10,12から送信されたカプセル化LTRフレーム20は、802.1ah網2内のエッジスイッチ8でそれぞれデカプセル化され、LTRフレーム16として802.1ad網1へ中継される。
(9)始端MEPのスイッチ4で各LTRフレーム16を受信し、それぞれの内容からリンクトレースの結果を判断する。
The link trace method is roughly executed through the following steps.
(1) An LTM frame 14 targeting the core switch 12 in the 802.1ah network 2 is transmitted from the switch 4 in the 802.1ad network 1.
(2) The switch 6 in the 802.1ad network 1 relays the LTM frame 14 and transmits the LTM frame 14 to the edge switch 8 in the 802.1ah network 2. At the same time, the LTR frame 16 is transmitted from the switch 6.
(3) At the time of encapsulation by the edge switch 8, the LTM frame 14 is determined and processed. Based on the determination result, the LTR frame 16 is transmitted from the edge switch 8.
(4) The encapsulated LTM frame 18 is transmitted from the edge switch 8 within the 802.1ah network 2.
(5) When the encapsulated LTM frame 18 is relayed by the core switch 10 in the 802.1ah network 2, the encapsulated LTM frame 18 is determined and processed. Based on the determination result, the encapsulated LTR frame 20 is transmitted from the core switch 10.
(6) The encapsulated LTM frame 18 is relayed in the 802.1ah network 2, and the encapsulated LTM frame 18 reaches the target core switch 12.
(7) The core switch 12 determines and processes the encapsulated LTM frame 18, determines that it is addressed to itself, and transmits the encapsulated LTR frame 20.
(8) The encapsulated LTR frame 20 transmitted from the core switches 10 and 12 is decapsulated by the edge switch 8 in the 802.1ah network 2 and relayed to the 802.1ad network 1 as the LTR frame 16.
(9) Each LTR frame 16 is received by the switch 4 of the start MEP, and the result of the link trace is determined from the contents of each LTR frame 16.

以上が図4に示されるリンクトレース方法の概略的な流れであるが、以下にリンクトレース方法で用いられる各種フレームのフォーマット例を挙げつつ、より具体的に説明する。   The above is a schematic flow of the link trace method shown in FIG. 4, and will be described in more detail below by giving examples of formats of various frames used in the link trace method.

〔LTMフレームの形式〕
図5は、LTMフレーム14のフォーマットを概略的に示す図である。始端MEPのスイッチ4から送信されるLTMフレーム14は、上記のようにDA MAC22aをマルチキャストアドレスとし、TARGET MAC24eを終端MEPであるコアスイッチ12のMACアドレスとしたものである。またSA MAC22b及びORIGINAL MAC24dには、それぞれ自己(スイッチ4)のMACアドレスが格納されている。
[LTM frame format]
FIG. 5 is a diagram schematically showing the format of the LTM frame 14. As described above, the LTM frame 14 transmitted from the start MEP switch 4 has the DA MAC 22a as the multicast address and the TARGET MAC 24e as the MAC address of the core switch 12 as the end MEP. The SA MAC 22b and the ORIGINAL MAC 24d store their own (switch 4) MAC addresses.

LTMフレーム14において、MACヘッダ部22のTYPE22dには、OAMのフレームであることを示す識別情報が格納されている。また、データ部24のOAM HEADER24a内には上記のOpCode(オペレーションコード)240aがヘッダ情報の一部として格納されており、このOpCode240aには、DATA領域の内容がLTMであることを示す識別情報が格納されている。なお、TID24bはLTMの処理番号を示す情報であり、各ネットワーク中継機器でLTRを生成する際にこの処理番号が用いられる。   In the LTM frame 14, TYPE 22d of the MAC header portion 22 stores identification information indicating that it is an OAM frame. Further, the above-mentioned OpCode (operation code) 240a is stored as a part of the header information in the OAM HEADER 24a of the data section 24, and this OpCode 240a has identification information indicating that the content of the DATA area is LTM. Stored. The TID 24b is information indicating an LTM process number, and this process number is used when an LTR is generated by each network relay device.

TTL24cは、上記のように各ネットワーク中継機器がLTMフレーム14を受信した場合に減算を行う値である。またORIGINAL MAC24dには、上記のようにLTMフレーム14の送信元であるスイッチ4(始端MEP)のMACアドレスが登録されている。そしてTARGET MAC24eには、終端MEPとなるコアスイッチ12のMACアドレスが登録されている。なおEND24eは、データ部24の終了を表す値である。   The TTL 24c is a value to be subtracted when each network relay device receives the LTM frame 14 as described above. In addition, as described above, the MAC address of the switch 4 (starting MEP) that is the transmission source of the LTM frame 14 is registered in the ORIGINAL MAC 24d. In the TARGET MAC 24e, the MAC address of the core switch 12 serving as the terminal MEP is registered. Note that END 24 e is a value indicating the end of the data portion 24.

〔LTMフレーム送信工程〕
スイッチ4から送信されたLTMフレーム14は、DA MAC22aに基づいて802.1ad網1内を中継され、スイッチ6から802.1ah網2のエッジスイッチ8へ転送される。なお、ここでは始端MEPをスイッチ4としているが、始端MEPをスイッチ6として、LTMフレーム14をスイッチ6から802.1ah網2のエッジスイッチ8へ送信してもよい。
[LTM frame transmission process]
The LTM frame 14 transmitted from the switch 4 is relayed through the 802.1ad network 1 based on the DA MAC 22a and transferred from the switch 6 to the edge switch 8 of the 802.1ah network 2. Although the start MEP is the switch 4 here, the start MEP may be the switch 6 and the LTM frame 14 may be transmitted from the switch 6 to the edge switch 8 of the 802.1ah network 2.

〔識別工程〕
エッジスイッチ8は、受信したLTMフレーム14にMAC−in−MACヘッダ情報を付加してカプセル化を行い、そのカプセル化LTMフレーム18をコアスイッチ10へ転送する。このときエッジスイッチ8は、LTMフレーム14をカプセル化する過程でLTMフレーム14中のTYPE22dを参照し、その値がOAMを示すものであるか否かを確認する。この確認は、上記のようにエッジスイッチ8内のLTフレーム判定部48aの機能を用いて実行することができる。
[Identification process]
The edge switch 8 adds MAC-in-MAC header information to the received LTM frame 14 to perform encapsulation, and transfers the encapsulated LTM frame 18 to the core switch 10. At this time, the edge switch 8 refers to the TYPE 22d in the LTM frame 14 in the process of encapsulating the LTM frame 14, and confirms whether or not the value indicates OAM. This confirmation can be executed using the function of the LT frame determination unit 48a in the edge switch 8 as described above.

〔判定工程〕
TYPE22dがOAMを示していれば、さらにエッジスイッチ8でOpCode240aを参照し、その値がLTMを示すものであるか否かを判定する。この判定もまた、エッジスイッチ8内のLTフレーム判定部48aの機能を用いて実行することができる。そしてLTMフレーム14を受信した場合、エッジスイッチ8はカプセル化LTMフレーム18について以下の設定を行う。
[Judgment process]
If TYPE 22d indicates OAM, the edge switch 8 further refers to the OpCode 240a to determine whether or not the value indicates LTM. This determination can also be executed using the function of the LT frame determination unit 48a in the edge switch 8. When the LTM frame 14 is received, the edge switch 8 performs the following setting for the encapsulated LTM frame 18.

〔カプセル化LTMフレーム〕
図6は、カプセル化LTMフレーム18のフォーマットを概略的に示す図である。エッジスイッチ8はLTMフレーム14をカプセル化する過程で、DA B−MAC34aには基本的に終端MEPとなるコアスイッチ12のMACアドレスを設定する。すなわち、上記のようにエッジスイッチ8のLTフレーム処理部48bは、図5に示すTARGET MAC24eの値をキーとして自己のFDB52を検索し、得られたB−MACアドレス(すなわち、コアスイッチ12のMACアドレス)をDA B−MAC34aに設定する。
[Encapsulated LTM frame]
FIG. 6 is a diagram schematically showing the format of the encapsulated LTM frame 18. In the process of encapsulating the LTM frame 14, the edge switch 8 basically sets the MAC address of the core switch 12 serving as the termination MEP in the DA B-MAC 34a. That is, as described above, the LT frame processing unit 48b of the edge switch 8 searches its FDB 52 using the value of the TARGET MAC 24e shown in FIG. 5 as a key, and obtains the obtained B-MAC address (that is, the MAC of the core switch 12). Address) is set to DA B-MAC 34a.

またエッジスイッチ8は、SA B−MAC34bに自己本体のMACアドレスをするとともに、SA C−MAC34fには送信ポート(コアスイッチ10に接続されているポート)のMACアドレスを設定する。なお、TTL36cはエッジスイッチ8においても1つ減算される。   Further, the edge switch 8 sets the MAC address of the main body in the SA B-MAC 34b, and sets the MAC address of the transmission port (port connected to the core switch 10) in the SA C-MAC 34f. One TTL 36c is also subtracted in the edge switch 8.

一方、図5に示すTARGET MAC24eが自己のFDB52に登録されていない場合、エッジスイッチ8はLTMフレーム14を破棄する。この場合、カプセル化LTMフレーム18は生成されない。これにより、FDB52に登録されていないことを理由としてカプセル化LTMフレーム18がブロードキャストされるのを防止することができる。したがって、本来フレームが経由することのない他のネットワーク中継機器(コアスイッチ10,12以外のコアスイッチ)でカプセル化LTRフレーム20が生成されることはない。   On the other hand, when the TARGET MAC 24 e shown in FIG. 5 is not registered in its own FDB 52, the edge switch 8 discards the LTM frame 14. In this case, the encapsulated LTM frame 18 is not generated. This can prevent the encapsulated LTM frame 18 from being broadcast because it is not registered in the FDB 52. Therefore, the encapsulated LTR frame 20 is not generated by another network relay device (a core switch other than the core switches 10 and 12) through which a frame does not originally pass.

DA C−MAC34e及びSA C−MAC34fは、それぞれLTMフレーム14中のDA MAC22a及びSA MAC22bに相当するフォーマットである。エッジスイッチ8は、LTMフレーム14をカプセル化する際、IEEE802.1ahの通信規格に基づいて、LTMフレーム14中のDA MAC22a、SA MAC22b、VLAN TAG22c及びTYPE22dに設定されている情報をカプセル化LTMフレーム18中で対応するフォーマットに設定する。またB−TAG34c及びI−TAG34dには、上記の各フォーマットと同様にIEEE802.1ahの通信規格に基づいて所定の情報が設定されている。   The DA C-MAC 34e and the SA C-MAC 34f are formats corresponding to the DA MAC 22a and the SA MAC 22b in the LTM frame 14, respectively. When the edge switch 8 encapsulates the LTM frame 14, the LTM frame encapsulates information set in the DA MAC 22a, SA MAC 22b, VLAN TAG 22c, and TYPE 22d in the LTM frame 14 based on the IEEE 802.1ah communication standard. 18 to the corresponding format. Also, in the B-TAG 34c and the I-TAG 34d, predetermined information is set based on the IEEE 802.1ah communication standard in the same manner as the above-described formats.

カプセル化LTMフレーム18のデータ部36にもまた、LTMフレーム14中のデータ部24と同様にIEEE802.1agに準拠したLTMデータを示す情報が格納されている。DATA35b中のOAM HEADER36a、ORIGINAL MAC36d及びTARGET MAC36eには、それぞれLTMフレーム14中のOAM HEADER22a、ORIGINAL MAC22d及びTARGET MAC22eと同一の情報が設定されている。またTID36b、TTL36c及びEND36eには、IEEE802.1agの通信規格に基づく情報が登録されている。また、TYPE35aは、図5に示すLTMフレーム14のTYPE22dに相当するフォーマットであり、OAMを示す値が設定されている。   The data portion 36 of the encapsulated LTM frame 18 also stores information indicating LTM data compliant with IEEE802.1ag, like the data portion 24 in the LTM frame 14. In the OAM HEADER 36a, the ORIGINAL MAC 36d, and the TARGET MAC 36e in the DATA 35b, the same information as the OAM HEADER 22a, the ORIGINAL MAC 22d, and the TARGET MAC 22e in the LTM frame 14 is set, respectively. Information based on the IEEE 802.1ag communication standard is registered in the TID 36b, TTL 36c, and END 36e. The TYPE 35a is a format corresponding to the TYPE 22d of the LTM frame 14 shown in FIG. 5, and a value indicating OAM is set.

〔LTRフレームの送信〕
エッジスイッチ8もまたスイッチ6と同様に、LTMフレーム14を受信すると、LTRフレーム16を生成してこれを始端MEPのスイッチ4に向けて送信する。エッジスイッチ8から送信されたLTRフレーム16は、802.1ad網1のスイッチ6で中継され、スイッチ4で受信される。
[Transmission of LTR frame]
Similarly to the switch 6, when receiving the LTM frame 14, the edge switch 8 generates an LTR frame 16 and transmits it to the switch 4 of the starting MEP. The LTR frame 16 transmitted from the edge switch 8 is relayed by the switch 6 of the 802.1ad network 1 and received by the switch 4.

〔LTRフレーム〕
図7は、LTRフレーム16のフォーマットを概略的に示す図である。スイッチ6及びエッジスイッチ8は、LTRフレーム16のDA MAC28aをLTMフレーム14のORIGINAL MAC24dに設定し、またSA MAC28bを各自の送信ポートのMACアドレスに設定する。その他のVLAN TAG28c、TYPE28dには、LTMフレーム14のVLAN TAG22c、TYPE22dと同様の識別情報がそれぞれ設定されている。
[LTR frame]
FIG. 7 is a diagram schematically showing the format of the LTR frame 16. The switch 6 and the edge switch 8 set the DA MAC 28a of the LTR frame 16 to the ORIGINAL MAC 24d of the LTM frame 14, and set the SA MAC 28b to the MAC address of its own transmission port. In the other VLAN TAG 28c and TYPE 28d, identification information similar to the VLAN TAG 22c and TYPE 22d of the LTM frame 14 is set.

またデータ部30には、IEEE802.1agに準拠したLTRデータが格納されており、データ部30はOAM HEADER30a、TID30b、ReplyTTL30c、RelayAct30d、AdditionalTLV(Type Length Value)30e及びEND30fにより構成されている。   The data section 30 stores LTR data compliant with IEEE802.1ag, and the data section 30 includes an OAM HEADER 30a, a TID 30b, a Reply TTL 30c, a Relay Act 30d, an Additional TLV (Type Length Value) 30e, and an END 30f.

OAM HEADER30aは、LTMフレーム14と同様に、その一部にOpCode300aを有している。このOpCode300aには、データ部30の内容がLTRデータであることを示す識別情報が格納されている。   Like the LTM frame 14, the OAM HEADER 30a has an OpCode 300a in a part thereof. In this OpCode 300a, identification information indicating that the content of the data part 30 is LTR data is stored.

TID30b、Reply TTL30c、RelayAct30d、AdditionalTLV30e及びEND30fには、IEEE802.1agの通信規格に基づく情報がそれぞれ設定されている。またスイッチ6及びエッジスイッチ8は、受信したLTMフレーム14のTTL24cをそれぞれ減算し、その値をReply TTL30cに設定する。   Information based on the IEEE 802.1ag communication standard is set in each of the TID 30b, the Reply TTL 30c, the Relay Act 30d, the Additional TLV 30e, and the END 30f. Further, the switch 6 and the edge switch 8 subtract the TTL 24c of the received LTM frame 14, respectively, and set the value to the Reply TTL 30c.

〔カプセル化LTMフレームの中継〕
エッジスイッチ8から送信されたカプセル化LTMフレーム18は、DA B−MAC34aに基づいて802.1ah網2内で中継され、次のコアスイッチ10に到達する。
[Relay of encapsulated LTM frame]
The encapsulated LTM frame 18 transmitted from the edge switch 8 is relayed in the 802.1ah network 2 based on the DA B-MAC 34 a and reaches the next core switch 10.

〔カプセル化LTMフレームの判定〕
コアスイッチ10は、図3に示される送受信部46aにおいてカプセル化LTMフレーム18を受信する。コアスイッチ10の送受信部46aは、上記のようにカプセル化LTMフレーム18をLTフレーム判定部48aへ送る。LTフレーム判定部48aはカプセル化LTMフレーム18の内容を参照し、TYPE35a及びOpCode360aに設定された各値からカプセル化LTMフレーム18がOAMのLTMであると判定する。この場合、LTフレーム判定部48aはカプセル化LTMフレーム18をLTフレーム処理部48bへ送る。
[Determination of encapsulated LTM frame]
The core switch 10 receives the encapsulated LTM frame 18 at the transmission / reception unit 46a shown in FIG. The transmission / reception unit 46a of the core switch 10 sends the encapsulated LTM frame 18 to the LT frame determination unit 48a as described above. The LT frame determination unit 48a refers to the contents of the encapsulated LTM frame 18 and determines that the encapsulated LTM frame 18 is an OAM LTM from the values set in the TYPE 35a and the OpCode 360a. In this case, the LT frame determination unit 48a sends the encapsulated LTM frame 18 to the LT frame processing unit 48b.

〔カプセル化LTMフレームの処理〕
コアスイッチ10のLTフレーム処理部48bでは、TTL36cの減算を行うとともに、SA C−MAC34fを送信ポート(コアスイッチ12に接続されたポート)のMACアドレスに変更する。そしてコアスイッチ10は、DA B−MAC34aに基づいてカプセル化LTMフレーム18をコアスイッチ12へ転送する。
[Processing of encapsulated LTM frame]
The LT frame processing unit 48b of the core switch 10 subtracts the TTL 36c and changes the SAC-MAC 34f to the MAC address of the transmission port (port connected to the core switch 12). Then, the core switch 10 transfers the encapsulated LTM frame 18 to the core switch 12 based on the DA B-MAC 34a.

〔カプセル化LTRフレームの送信〕
また図4に示されているように、コアスイッチ10はカプセル化LTMフレーム18を中継する一方で、カプセル化LTRフレーム20を生成し、これをエッジスイッチ8へ向けて送信する。エッジスイッチ8は、カプセル化LTRフレーム20を受信するとデカプセル化を行い、LTRフレーム16としてスイッチ6へ転送する。このLTRフレーム16を受信したスイッチ6は、上記したLTRフレーム16の転送処理と同様に、これを始端MEPであるスイッチ4へ転送する。
[Transmission of encapsulated LTR frame]
As shown in FIG. 4, the core switch 10 relays the encapsulated LTM frame 18, while generating the encapsulated LTR frame 20 and transmits it to the edge switch 8. When the edge switch 8 receives the encapsulated LTR frame 20, it performs decapsulation and transfers it to the switch 6 as the LTR frame 16. The switch 6 that has received the LTR frame 16 transfers the LTR frame 16 to the switch 4 that is the starting MEP in the same manner as the transfer process of the LTR frame 16 described above.

〔カプセル化LTRフレーム〕
図8は、カプセル化LTRフレーム20のフォーマットを概略的に示す図である。カプセル化LTRフレーム20は、大きく分けてMAC−in−MACヘッダ部40、データ部42及びFCS44により構成されている。このうちMAC−in−MACヘッダ部40には、DA B−MAC40a、SA B−MAC40b、B−TAG40c、I−TAG40d、DA C−MAC40e及び送信元C−MAC40fが含まれている。
[Encapsulated LTR frame]
FIG. 8 is a diagram schematically showing a format of the encapsulated LTR frame 20. The encapsulated LTR frame 20 is roughly composed of a MAC-in-MAC header part 40, a data part 42, and an FCS 44. Among these, the MAC-in-MAC header section 40 includes DA B-MAC 40a, SA B-MAC 40b, B-TAG 40c, I-TAG 40d, DAC-MAC 40e, and transmission source C-MAC 40f.

カプセル化LTMフレーム18を受信したコアスイッチ10は、そのSA B−MAC34bをカプセル化LTRフレーム20のDA B−MAC40aに設定するとともに、送信ポートのMACアドレスをSA B−MAC40bに設定する。またコアスイッチ10は、DA C−MAC40eをORIGINAL MAC36dの値に設定するとともに、SA C−MAC40fをSA B−MAC40bと同じ値に設定する。   The core switch 10 that has received the encapsulated LTM frame 18 sets the SA B-MAC 34b to the DA B-MAC 40a of the encapsulated LTR frame 20, and sets the MAC address of the transmission port to the SA B-MAC 40b. The core switch 10 sets the DAC-MAC 40e to the value of the original MAC 36d, and sets the SA C-MAC 40f to the same value as the SA B-MAC 40b.

その他のB−TAG40c及びI−TAG40dには、IEEE802.1ahの通信規格に基づく設定が実行され、カプセル化LTRフレーム20を802.1ah網2内で中継するための情報が格納されている。   In the other B-TAG 40c and I-TAG 40d, setting based on the IEEE 802.1ah communication standard is executed, and information for relaying the encapsulated LTR frame 20 in the 802.1ah network 2 is stored.

データ部42には、LTRフレーム16中のデータ部30と同様にIEEE802.1agの準拠したLTRデータを示す情報がDATA41bに格納されている。すなわち、DATA41b中のOAM HEADER42a、ORIGINAL MAC42d及びTARGET MAC42eには、LTRフレーム16中のOAM HEADER30a、ORIGINAL MAC30d及びTARGET MAC30eに登録されている情報と同一の情報が設定されている。またTYPE41aは、LTRフレーム16中のMACヘッダ部28に含まれるTYPE28dに相当するフォーマットである。   Similar to the data unit 30 in the LTR frame 16, the data unit 42 stores information indicating LTR data compliant with IEEE802.1ag in the DATA 41b. That is, the same information as the information registered in the OAM HEADER 30a, the ORIGINAL MAC 30d, and the TARGET MAC 30e in the LTR frame 16 is set in the OAM HEADER 42a, the ORIGINAL MAC 42d, and the TARGET MAC 42e in the DATA 41b. The TYPE 41a is a format corresponding to the TYPE 28d included in the MAC header portion 28 in the LTR frame 16.

また、DATA41b中のTID42b、TTL42c及びEND42eには、IEEE802.1agの通信規格に基づく情報が設定されている。なおTTL42cには、コアスイッチ10で受信したカプセル化LTMフレーム18のTTL36cを減算した結果が格納される。   Information based on the IEEE 802.1ag communication standard is set in the TID 42b, TTL 42c, and END 42e in the DATA 41b. The TTL 42c stores a result obtained by subtracting the TTL 36c of the encapsulated LTM frame 18 received by the core switch 10.

〔カプセル化LTRフレームのデカプセル化・中継〕
エッジスイッチ8は、受信したカプセル化LTRフレーム20をデカプセル化すると、そのDA MAC28aに基づいてこれをLTRフレーム16とし、802.1ad網1へ中継する。この後、LTRフレーム16はスイッチ6で中継されてスイッチ4に到達する。
[Decapsulation / Relay of Encapsulated LTR Frame]
When the encapsulated LTR frame 20 is decapsulated, the edge switch 8 converts the encapsulated LTR frame 20 into an LTR frame 16 based on the DA MAC 28a and relays it to the 802.1ad network 1. Thereafter, the LTR frame 16 is relayed by the switch 6 and reaches the switch 4.

一方、カプセル化LTMフレーム18は、そのDA B−MAC34aに基づいて802.1ah網2内で中継され、終端MEPであるコアスイッチ12に到達する。   On the other hand, the encapsulated LTM frame 18 is relayed in the 802.1ah network 2 based on the DA B-MAC 34a, and reaches the core switch 12 which is the terminal MEP.

〔カプセル化LTMフレーム判定工程〕
コアスイッチ12もまた、上記の送受信部46aでカプセル化LTMフレーム18を受信する。コアスイッチ12の送受信部46aは、受信したカプセル化LTMフレーム18をLTフレーム判定部48aへ送る。LTフレーム判定部48aはカプセル化LTMフレーム18の内容を参照し、TYPE34h及びOpCode360aに設定された各値からカプセル化LTMフレーム18がOAMのLTMであると判定する。この場合、LTフレーム判定部48aはカプセル化LTMフレーム18をLTフレーム処理部48bへ送る。
[Encapsulated LTM frame determination process]
The core switch 12 also receives the encapsulated LTM frame 18 at the transmission / reception unit 46a. The transmission / reception unit 46a of the core switch 12 sends the received encapsulated LTM frame 18 to the LT frame determination unit 48a. The LT frame determination unit 48a refers to the contents of the encapsulated LTM frame 18, and determines that the encapsulated LTM frame 18 is an OAM LTM from the values set in the TYPE 34h and the OpCode 360a. In this case, the LT frame determination unit 48a sends the encapsulated LTM frame 18 to the LT frame processing unit 48b.

このときLTフレーム判定部48aは、DA B−MAC34aの内容から、受け取ったカプセル化LTMフレーム18が自己宛のフレームであると判定する。通常、IEEE802.1ahの通信規格では、網内のコアスイッチはDA B−MACが自己を宛先とする場合、そのフレームを破棄する決まりである。その上で本実施形態では、DA B−MAC34aが自己を宛先として指定している場合であっても、それが自分に宛てられたOAMのLTMフレーム(カプセル化LTMフレーム18)であると判定した場合、これを破棄することなく以下の処理を継続することとしている。   At this time, the LT frame determination unit 48a determines from the contents of the DA B-MAC 34a that the received encapsulated LTM frame 18 is a frame addressed to itself. Normally, in the IEEE802.1ah communication standard, the core switch in the network is determined to discard the frame when the DA B-MAC is destined for itself. In addition, in this embodiment, even if DA B-MAC 34a designates itself as a destination, it is determined that it is an OAM LTM frame (encapsulated LTM frame 18) addressed to itself. In this case, the following processing is continued without discarding this.

〔カプセル化LTMフレームの処理〕
終端MEPであるコアスイッチ12のLTフレーム処理部48bは、カプセル化LTRフレーム20をエッジスイッチ8へ向けて送信するために以下の設定を行う。すなわち、LTフレーム処理部48bは、受信したカプセル化LTMフレーム18のSA B−MAC34bの値を用いてカプセル化LTRフレーム20のDA B−MAC40aを同じ値に設定するとともに、コアスイッチ12の送信ポート(コアスイッチ10に接続されているポート)のMACアドレスをSA B−MAC40b及びSA C−MAC40fに設定する。
[Processing of encapsulated LTM frame]
The LT frame processing unit 48b of the core switch 12, which is the terminal MEP, performs the following setting in order to transmit the encapsulated LTR frame 20 toward the edge switch 8. That is, the LT frame processing unit 48b sets the DA B-MAC 40a of the encapsulated LTR frame 20 to the same value by using the value of the SA B-MAC 34b of the received encapsulated LTM frame 18, and the transmission port of the core switch 12 The MAC address of (the port connected to the core switch 10) is set to SA B-MAC 40b and SA C-MAC 40f.

またLTフレーム処理部48bは、受信したカプセル化LTMフレーム18のORIGINAL MAC36dの値を用いてカプセル化LTRフレーム20のDA C−MAC40eの値を同じ値に設定する。そしてLTフレーム処理部48bは、カプセル化LTMフレーム18のTTL36cを減算し、その値をカプセル化LTRフレーム20のReply TTL42cに設定する。   Further, the LT frame processing unit 48b sets the value of the DAC-MAC 40e of the encapsulated LTR frame 20 to the same value using the value of the ORIGINAL MAC 36d of the received encapsulated LTM frame 18. Then, the LT frame processing unit 48b subtracts the TTL 36c of the encapsulated LTM frame 18 and sets the value to the Reply TTL 42c of the encapsulated LTR frame 20.

〔カプセル化LTRフレームの送信〕
以上の処理を行うと、LTフレーム処理部48bはカプセル化LTRフレーム20を送受信部46aへ送る。送受信部46aは、DA B−MAC40aに基づいてカプセル化LTRフレーム20を送信する。
[Transmission of encapsulated LTR frame]
When the above processing is performed, the LT frame processing unit 48b sends the encapsulated LTR frame 20 to the transmission / reception unit 46a. The transmission / reception unit 46a transmits the encapsulated LTR frame 20 based on the DA B-MAC 40a.

〔カプセル化LTRフレームの中継〕
コアスイッチ10でカプセル化LTRフレーム20を受信した場合、特に何らかの処理を行うことなく、DA B−MAC40aに基づいて中継動作を行う。
[Relay of encapsulated LTR frame]
When the encapsulated LTR frame 20 is received by the core switch 10, a relay operation is performed based on the DA B-MAC 40a without any particular processing.

この後、カプセル化LTRフレーム20は上記のようにエッジスイッチ8でデカプセル化され、LTRフレーム16として802.1ad網1内を中継される。802.1ad網1内でLTRフレーム16は、そのDA MAC28aに基づいて中継され、最終的に始端MEPであるスイッチ4に到達する。   Thereafter, the encapsulated LTR frame 20 is decapsulated by the edge switch 8 as described above, and relayed through the 802.1ad network 1 as the LTR frame 16. In the 802.1ad network 1, the LTR frame 16 is relayed based on the DA MAC 28a, and finally reaches the switch 4 that is the starting MEP.

以上のように、2つの網1,2内において各ネットワーク中継機器がそれぞれに与えられた処理を実行することにより、本実施形態のネットワークシステムにおいてリンクトレース方法が実現可能となる。これにより、802.1ad網1内に配置されたスイッチ4と802.1ah網2内に配置されたコアスイッチ12との間の通信経路の正常性を判断することができる。また、スイッチ4からコアスイッチ12へフレームが到達するまでに経由した中継機器(スイッチ6、エッジスイッチ8及びコアスイッチ10等)の各MACアドレスや、途中の通信経路を正確に把握することができる。   As described above, the link trace method can be realized in the network system of this embodiment by executing the processing given to each network relay device in the two networks 1 and 2. Thereby, the normality of the communication path between the switch 4 arranged in the 802.1ad network 1 and the core switch 12 arranged in the 802.1ah network 2 can be determined. In addition, it is possible to accurately grasp the MAC addresses of relay devices (switch 6, edge switch 8, core switch 10, etc.) that have passed through from the switch 4 to the core switch 12 and the intermediate communication path. .

上述したリンクトレース方法を実現するため、本実施形態では802.1ah網2内に配置されるネットワーク中継機器(エッジスイッチ8、コアスイッチ10,12等)がLTフレーム判定部48a及びLTフレーム処理部48bとしての機能を有しているが、以下にそれぞれの機能を実現するための制御手順の例を挙げ、発明の好適な実施に資するものとする。   In order to realize the link trace method described above, in the present embodiment, network relay devices (edge switch 8, core switches 10, 12, etc.) arranged in the 802.1ah network 2 are replaced with an LT frame determination unit 48a and an LT frame processing unit. Although it has the function as 48b, the example of the control procedure for implement | achieving each function below is given, and it shall contribute to suitable implementation of invention.

〔LTM判定処理〕
図9は、LTフレーム判定部48aにより実行されるLTM判定処理の手順例を示すフローチャートである。以下では、エッジスイッチ8のLTフレーム判定部48aがLTMを判別する場合を例に挙げているが、コアスイッチ10,12のLTフレーム判定部48aも同様に、受信したカプセル化LTMフレーム18に対して同様の処理を実行する。
[LTM judgment processing]
FIG. 9 is a flowchart illustrating an exemplary procedure of the LTM determination process executed by the LT frame determination unit 48a. In the following, the case where the LT frame determination unit 48a of the edge switch 8 determines LTM is taken as an example, but the LT frame determination unit 48a of the core switches 10 and 12 similarly applies to the received encapsulated LTM frame 18 as well. The same process is executed.

ステップS100:LTフレーム判定部48aは、送受信部46aから送られてきたフレーム(LTMフレーム14又はその他のユーザフレーム)のMACヘッダ部を参照する。具体的には、MACヘッダ部に格納されている「DA MAC」から「TYPE」までを順に参照する。なお、コアスイッチ10,12については、MAC−in−MACヘッダ部の「DA B−MAC」から「TYPE」までを順に参照する。   Step S100: The LT frame determination unit 48a refers to the MAC header portion of the frame (LTM frame 14 or other user frame) sent from the transmission / reception unit 46a. Specifically, “DA MAC” to “TYPE” stored in the MAC header portion are sequentially referred to. For the core switches 10 and 12, “DA B-MAC” to “TYPE” in the MAC-in-MAC header part are sequentially referred to.

ステップS102:参照した「TYPE」の値がIEEE802.1agを示す識別情報であると判断した場合(Yes)、LTフレーム判定部48aはステップS104以降に進む。一方、「TYPE」の値がIEEE802.1agを示す識別情報でない場合(No)、LTフレーム判定部48aは受信したフレーム(その他のユーザフレーム)をフレーム中継機能実行部48cへ転送し(ステップS108)、この処理を終了する。なおフレーム中継機能実行部48は、上記のフレーム(その他のユーザフレーム)をIEEE802.1ah規格に基づいたカプセル化処理を実行して、カプセル化したフレームをフレーム転送制御部46へ転送する。   Step S102: When it is determined that the referenced “TYPE” value is identification information indicating IEEE 802.1ag (Yes), the LT frame determination unit 48a proceeds to Step S104 and subsequent steps. On the other hand, when the value of “TYPE” is not identification information indicating IEEE802.1ag (No), the LT frame determination unit 48a transfers the received frame (other user frame) to the frame relay function execution unit 48c (step S108). This process is terminated. The frame relay function execution unit 48 executes an encapsulation process based on the IEEE802.1ah standard on the frame (other user frames), and transfers the encapsulated frame to the frame transfer control unit 46.

ステップS104:次にLTフレーム判定部48aは、受信したフレームの「データ部」を参照する。
ステップS106:そしてLTフレーム判定部48aは、「データ部」に格納されている領域のうち、OAM HEADER部の「OpCode」を参照し、これに登録されている情報がLTMを示す識別情報であるか否かを判定する(判定工程)。その結果、LTMを示す識別情報が登録されていた場合(Yes)、LTフレーム判定部48aはステップS110に進む。
Step S104: Next, the LT frame determination unit 48a refers to the “data part” of the received frame.
Step S106: The LT frame determination unit 48a refers to “OpCode” of the OAM HEADER unit in the region stored in the “data unit”, and information registered therein is identification information indicating the LTM. Whether or not (determination step). As a result, when the identification information indicating the LTM is registered (Yes), the LT frame determination unit 48a proceeds to Step S110.

ステップS110:LTフレーム判定部48aは、受信したフレームをLTフレーム処理部48bへ転送し、この処理を終了する。このとき、エッジスイッチ8であればLTMフレーム14がLTフレーム処理部48bへ送られる。またコアスイッチ10,12であれば、カプセル化LTMフレーム18がLTフレーム処理部48bへ送られることになる。   Step S110: The LT frame determination unit 48a transfers the received frame to the LT frame processing unit 48b, and ends this processing. At this time, if it is the edge switch 8, the LTM frame 14 is sent to the LT frame processing unit 48b. In the case of the core switches 10 and 12, the encapsulated LTM frame 18 is sent to the LT frame processing unit 48b.

これに対し、OpCode240aに登録されている情報がLTMを示す識別情報でない場合(ステップS106:No)、LTフレーム判定部48aは受信したフレームをフレーム転送制御部46へ転送し(ステップS108)、この処理を終了する。なお、このような手順が実行されるのは、例えば受信したフレームがOAMであっても、リンクトレース機能とは別の機能をサポートしていた場合である。   On the other hand, when the information registered in the OpCode 240a is not identification information indicating LTM (step S106: No), the LT frame determination unit 48a transfers the received frame to the frame transfer control unit 46 (step S108). End the process. Note that such a procedure is executed when, for example, a received frame is an OAM and a function different from the link trace function is supported.

〔カプセル化LTMフレーム生成処理〕
図10は、エッジスイッチ8のLTフレーム処理部48bで実行されるカプセル化LTMフレーム生成処理の概要を示すフローチャートである。また、図11はエッジスイッチ8のFDB52を示す表である。エッジスイッチ8のLTフレーム処理部48bは、LTフレーム判定部48aからLTMフレーム14が送られてきたことをトリガとして以下の処理を実行する。なお、ここではエッジスイッチ8を代表例としているが、802.1ah網2内に「エッジスイッチ」として配置されている他のネットワーク中継機器でも、LTMフレーム14を受信した場合にそれぞれのLTフレーム処理部48bで同様の処理を行うこととする。
[Encapsulated LTM frame generation processing]
FIG. 10 is a flowchart showing an outline of the encapsulated LTM frame generation process executed by the LT frame processing unit 48b of the edge switch 8. FIG. 11 is a table showing the FDB 52 of the edge switch 8. The LT frame processing unit 48b of the edge switch 8 executes the following processing with the LTM frame 14 sent from the LT frame determination unit 48a as a trigger. Here, the edge switch 8 is a representative example, but other network relay devices arranged as “edge switches” in the 802.1ah network 2 also receive the LT frame processing when the LTM frame 14 is received. The same processing is performed in the unit 48b.

ステップS300:LTフレーム処理部48bは、LTMフレーム14に設定されている「TARGET MAC」を参照する。
ステップS302:そしてLTフレーム処理部48bは、「TARGET MAC」をキーとしてFDB52を検索する。すなわち、図11中に示すFDB52のC−MACアドレス欄に「TARGET MAC」と同一のMACアドレス(すなわちコアスイッチ12のMACアドレス)が登録されていなかった場合(No)、LTフレーム処理部48bは受信したLTMフレーム14を破棄し(ステップS306)、この処理を終了する。
Step S300: The LT frame processing unit 48b refers to “TARGET MAC” set in the LTM frame 14.
Step S302: The LT frame processing unit 48b searches the FDB 52 using “TARGET MAC” as a key. That is, if the same MAC address as the “TARGET MAC” (that is, the MAC address of the core switch 12) is not registered in the C-MAC address field of the FDB 52 shown in FIG. 11 (No), the LT frame processing unit 48b The received LTM frame 14 is discarded (step S306), and this process ends.

一方、FDB52内のC−MACアドレス欄に「TARGET MAC」と同一のMACアドレスが登録されていた場合(ステップS302:Yes)、LTフレーム処理部48bはステップS304以降を実行する。   On the other hand, when the same MAC address as “TARGET MAC” is registered in the C-MAC address field in the FDB 52 (step S302: Yes), the LT frame processing unit 48b executes step S304 and subsequent steps.

ステップS304:LTフレーム処理部48bは、カプセル化LTMフレーム18の生成に際して、FDB52内のC−MACアドレス欄に登録されているコアスイッチ12のMACアドレスに基づいて、これに対応するFDB52内のB−MACアドレス欄に登録されたMACアドレスをDA B−MAC34bに設定する。なお、図11に示すB−MACアドレス欄にはコアスイッチ12のMACアドレスが登録されており、DA B−MAC34bにコアスイッチ12のMACアドレスが設定される。
ステップS308:またLTフレーム処理部48bは、SA B−MAC34b及びSA C−MAC34fをそれぞれ設定する。なお、それぞれに設定される値の詳細は既に説明したとおりである。
Step S304: When generating the encapsulated LTM frame 18, the LT frame processing unit 48b, based on the MAC address of the core switch 12 registered in the C-MAC address field in the FDB 52, corresponds to the B in the FDB 52. -Set the MAC address registered in the MAC address field to DA B-MAC 34b. Note that the MAC address of the core switch 12 is registered in the B-MAC address column shown in FIG. 11, and the MAC address of the core switch 12 is set in the DA B-MAC 34b.
Step S308: The LT frame processing unit 48b sets SA B-MAC 34b and SA C-MAC 34f, respectively. The details of the values set for each are as described above.

ステップS310:LTフレーム処理部48bは、IEEE802.1ahの通信規格に基づき、B−TAG34c及びI−TAG34dの各領域を設定する。   Step S310: The LT frame processing unit 48b sets each region of the B-TAG 34c and the I-TAG 34d based on the IEEE 802.1ah communication standard.

ステップS312:またLTフレーム処理部48bは、IEEE802.1agの通信規格に基づき、データ部36の各領域を設定する。具体的には、OAM HEADER36aのOpCode360aに対し、LTRを示す識別情報を設定する。またTTL36cには、上記のようにLTMフレーム14中のTTL24cに登録されていた値から1減算した値を設定する。ORIGINAL MAC36d、TARGET MAC36eには、それぞれLTMフレーム14のORIGINAL MAC24d、TARGET MAC24eと同様の値を設定する。   Step S312: The LT frame processing unit 48b sets each area of the data unit 36 based on the IEEE 802.1ag communication standard. Specifically, identification information indicating the LTR is set for the OpCode 360a of the OAM HEADER 36a. Also, a value obtained by subtracting 1 from the value registered in the TTL 24c in the LTM frame 14 as described above is set in the TTL 36c. In the ORIGINAL MAC 36d and the TARGET MAC 36e, the same values as the ORIGINAL MAC 24d and the TARGET MAC 24e of the LTM frame 14 are set, respectively.

ステップS314:そしてLTフレーム処理部48bは、生成したカプセル化LTMフレーム18をフレーム転送制御部46へ転送し、この処理を終了する。   Step S314: The LT frame processing unit 48b transfers the generated encapsulated LTM frame 18 to the frame transfer control unit 46, and ends this processing.

〔カプセル化LTRフレーム生成処理〕
次に図12は、終端MEPとなるコアスイッチ12のLTフレーム処理部48bで実行されるカプセル化LTRフレーム生成処理を示すフローチャートである。コアスイッチ10,12のLTフレーム処理部48は、LTフレーム判定部48aからカプセル化LTMフレーム18が送られてきたことをトリガとして以下の処理を実行する。なお、ここではコアスイッチ10,12を代表例としているが、802.1ah網2内に「コアスイッチ」として配置されている他のネットワーク中継機器でも、カプセル化LTMフレーム18を受信した場合にそれぞれのLTフレーム処理部48bで同様の処理を行うこととする。
[Encapsulated LTR frame generation processing]
Next, FIG. 12 is a flowchart showing an encapsulated LTR frame generation process executed by the LT frame processing unit 48b of the core switch 12 serving as the terminal MEP. The LT frame processing unit 48 of the core switches 10 and 12 executes the following processing triggered by the fact that the encapsulated LTM frame 18 has been sent from the LT frame determination unit 48a. Here, the core switches 10 and 12 are representative examples, but other network relay devices arranged as “core switches” in the 802.1ah network 2 also receive the encapsulated LTM frame 18 respectively. Similar processing is performed by the LT frame processing unit 48b.

ステップS400:LTフレーム処理部48bは、カプセル化LTRフレーム20の生成に際して、MAC−in−MACヘッダ部40の各領域に値を設定する。なお、具体的な値の設定については、リンクトレース方法の一例において既に説明したとおりである。   Step S400: The LT frame processing unit 48b sets a value in each area of the MAC-in-MAC header unit 40 when generating the encapsulated LTR frame 20. In addition, about the setting of a specific value, it is as having already demonstrated in the example of the link trace method.

ステップS402:次にLTフレーム処理部48bは、データ部42の各領域に値を設定する。すなわち、LTフレーム処理部48bは、受信したカプセル化LTMフレーム18のTTL36cを参照し、その値から1減算した値をReplyTTL42cに設定する。またLTフレーム処理部48bは、OpCode420aにLTRを示す識別情報を設定する。その他、TID42b、RelayAct42d及びAdditionalTLV42eには、IEEE802.1agの通信規格に基づく値を設定する(詳細は省略)。   Step S402: Next, the LT frame processing unit 48b sets a value in each area of the data unit 42. That is, the LT frame processing unit 48b refers to the TTL 36c of the received encapsulated LTM frame 18, and sets a value obtained by subtracting 1 from the value in the ReplyTTL 42c. The LT frame processing unit 48b sets identification information indicating the LTR in the OpCode 420a. In addition, values based on the IEEE 802.1ag communication standard are set in the TID 42b, the Relay Act 42d, and the Additional TLV 42e (details are omitted).

ステップS404:以上の手順を終えると、LTフレーム処理部48bはカプセル化LTRフレーム20をフレーム制御部46へ転送し、この処理を終了する。   Step S404: When the above procedure is completed, the LT frame processing unit 48b transfers the encapsulated LTR frame 20 to the frame control unit 46, and ends this processing.

以上の各処理を通じて、802.1ah網2内のエッジスイッチ8やコアスイッチ10,12は、受信したフレームの「TYPE」及び「OpCode」を参照し、受信したフレームがOAMのLTMであることを判定することができる。このため、規格の異なる802.1ad網1から送信されてきたフレームがユーザフレームと誤認されたり、TARGET MACに指定されたコアスイッチ12でフレームが破棄されたりすることなく、異なる規格のネットワークに跨った通信経路についてOAMのリンクトレース機能を有効に活用することができる。   Through the above processes, the edge switch 8 and the core switches 10 and 12 in the 802.1ah network 2 refer to the “TYPE” and “OpCode” of the received frame, and confirm that the received frame is an OAM LTM. Can be determined. For this reason, a frame transmitted from an 802.1ad network 1 with a different standard is not mistaken as a user frame, or the frame is not discarded by the core switch 12 specified by the TARGET MAC. It is possible to effectively utilize the link trace function of OAM for the communication path.

本発明は上述した実施形態に制約されることなく、特許請求の範囲を逸脱しない範囲で種々に変更して実施可能である。例えば、802.1ad網1,3や802.1ah網2内に配置されているネットワーク中継機器は、IEEE802.1agの通信規格に限らず、ITU−Tの国際規格「Y.1731」に規定されるリンクトレース機能を実装していてもよい。   The present invention is not limited to the above-described embodiments, and can be implemented with various modifications without departing from the scope of the claims. For example, network relay devices arranged in the 802.1ad networks 1 and 3 and the 802.1ah network 2 are not limited to the IEEE802.1ag communication standard but are defined in the international standard “Y.1731” of ITU-T. The link trace function may be implemented.

また、カプセル化LTMフレーム18及びカプセル化LTRフレーム20は、B−TAG34c及びB−TAG40cが存在しない形式のフレームにも適用することができる。   Further, the encapsulated LTM frame 18 and the encapsulated LTR frame 20 can also be applied to a frame of a format in which the B-TAG 34c and the B-TAG 40c do not exist.

1 ネットワーク(IEEE802.1ad網)
2 ネットワーク(IEEE802.1ah網)
3 ネットワーク(IEEE802.1ad網)
4 スイッチ(始端MEP)
8 エッジスイッチ
12 コアスイッチ(終端MEP)
14 LTMフレーム
16 LTRフレーム
18 カプセル化LTMフレーム
20 カプセル化LTRフレーム
22d,28d,35a,41a TYPE
240a,300a,360a,400a OpCode
1 Network (IEEE802.1ad network)
2 Network (IEEE802.1ah network)
3 Network (IEEE802.1ad network)
4 switch (starting MEP)
8 Edge switch 12 Core switch (Terminal MEP)
14 LTM frame 16 LTR frame 18 Encapsulated LTM frame 20 Encapsulated LTR frame 22d, 28d, 35a, 41a TYPE
240a, 300a, 360a, 400a OpCode

Claims (9)

第1の通信規格に準拠した第1のネットワーク内に配置され、かつ前記第1の通信規格と異なる第2の通信規格に準拠した第2のネットワークに接続されることで、前記第2のネットワークから送信されたMACフレームを受信すると、この受信したMACフレームを前記第1の通信規格に基づきカプセル化して前記第1のネットワーク内に転送するネットワーク中継機器であって、
前記カプセル化に際して、前記受信したMACフレームに前記第1の通信規格に基づくカプセル化ヘッダ情報を付加した形式のカプセル化フレームを生成するカプセル化手段と、
前記受信したMACフレームに含まれているヘッダ情報のうち、そのタイプ領域に管理用の識別情報が設定されているか否かを識別する識別手段と、
前記識別手段により前記タイプ領域に管理用の識別情報が設定されていると識別された場合、前記受信したMACフレームに含まれるデータ領域のうち、そのオペレーションコード領域にリンクトレースの規定で定めるリンクトレースメッセージを示す識別情報が設定されているか否かを判定する判定手段と
C−MACアドレスとB−MACアドレスとが関連付けて登録されるFDBと、
前記判定手段により前記オペレーションコード領域に前記リンクトレースメッセージを示す識別情報が設定されていると判定された場合、前記受信したMACフレームに含まれるデータ領域のうち、そのターゲットMACアドレス領域に設定されたターゲットMACアドレスと同じ値が前記FDB中にC−MACアドレスとして登録されていることを条件として、このC−MACアドレスと関連付けて前記FDBに登録されているB−MACアドレスを前記カプセル化ヘッダ情報に含まれる宛先B−MACアドレス領域に設定し、前記カプセル化フレームを生成する処理を行うフレーム処理手段と、
前記判定手段により前記オペレーションコード領域に前記リンクトレースメッセージを示す識別情報が設定されていると判定された場合、前記リンクトレースメッセージに対する応答としてのリンクトレースリプライをデータ領域に含めたLTRフレームを生成し、このLTRフレームを前記第2のネットワークに対して送信する応答処理手段と
を備え、
前記フレーム処理手段は、
前記判定手段により前記オペレーションコード領域に前記リンクトレースメッセージを示す識別情報が設定されていると判定された場合であっても、前記FDBに前記ターゲットMACアドレスが登録されていない場合、前記カプセル化フレームを生成することなく前記受信したMACフレームを破棄する
ネットワーク中継機器。
The second network is arranged in the first network conforming to the first communication standard and connected to the second network conforming to the second communication standard different from the first communication standard. Receiving the MAC frame transmitted from the network relay device for encapsulating the received MAC frame based on the first communication standard and transferring the encapsulated MAC frame to the first network,
Encapsulating means for generating an encapsulated frame in a format in which encapsulation header information based on the first communication standard is added to the received MAC frame at the time of the encapsulation;
Identification means for identifying whether or not management identification information is set in the type area of the header information included in the received MAC frame;
When it is identified by the identification means that management identification information is set in the type area, a link trace defined by a link trace rule in the operation code area of the data area included in the received MAC frame Determining means for determining whether identification information indicating a message is set ;
An FDB in which a C-MAC address and a B-MAC address are registered in association with each other;
When it is determined by the determination means that identification information indicating the link trace message is set in the operation code area, the data is included in the received MAC frame, and the target MAC address area is set. On the condition that the same value as the target MAC address is registered as the C-MAC address in the FDB, the B-MAC address registered in the FDB in association with the C-MAC address is used as the encapsulation header information. Frame processing means for setting the destination B-MAC address area included in
If it is determined by the determination means that identification information indicating the link trace message is set in the operation code area, an LTR frame including a link trace reply as a response to the link trace message in a data area is generated. Response processing means for transmitting the LTR frame to the second network;
With
The frame processing means includes
Even if it is determined by the determination means that identification information indicating the link trace message is set in the operation code area, if the target MAC address is not registered in the FDB, the encapsulated frame A network relay device that discards the received MAC frame without generating a message .
第1の通信規格に準拠した第1のネットワーク内に配置されることにより、前記第1の通信規格と異なる第2の通信規格に準拠した第2のネットワークから送信されたMACフレームが前記第1の通信規格に基づきカプセル化ヘッダ情報を付加してカプセル化された形式のカプセル化フレームを前記第1のネットワーク内で転送するネットワーク中継機器であって、
前記カプセル化フレームとしてカプセル化された前記MACフレームに含まれるヘッダ情報のうち、そのタイプ領域に管理用の識別情報が設定されているか否かを識別する識別手段と、
前記識別手段により前記タイプ領域に管理用の識別情報が設定されていると識別された場合、前記カプセル化された前記MACフレームに含まれるデータ領域のうち、そのオペレーションコード領域にリンクトレースの規定で定めるリンクトレースメッセージを示す識別情報が設定されているか否かを判定する判定手段と
前記判定手段により前記オペレーションコード領域に前記リンクトレースメッセージを示す識別情報が設定されていると判定された場合、前記カプセル化フレームに含まれる前記リンクトレースメッセージに対する応答としてのリンクトレースリプライをデータ領域に含み、かつ、前記カプセル化フレームの送信元B−MACアドレスを宛先B−MACアドレスとしてカプセル化LTRフレームを生成し、このカプセル化LTRフレームを前記第1のネットワーク内で送信する応答処理手段と
を備えたネットワーク中継機器。
By being arranged in the first network compliant with the first communication standard, the MAC frame transmitted from the second network compliant with the second communication standard different from the first communication standard is the first frame. A network relay device that transfers an encapsulated frame in a form encapsulated by adding encapsulated header information based on the communication standard in the first network,
Identification means for identifying whether or not management identification information is set in the type area of the header information included in the MAC frame encapsulated as the encapsulated frame;
When it is identified by the identification means that management identification information is set in the type area, a link trace is defined in the operation code area of the data area included in the encapsulated MAC frame. Determining means for determining whether or not identification information indicating a link trace message to be set is set ;
When it is determined by the determination means that identification information indicating the link trace message is set in the operation code area, a link trace reply as a response to the link trace message included in the encapsulated frame is stored in the data area. Response processing means for generating an encapsulated LTR frame using the source B-MAC address of the encapsulated frame as a destination B-MAC address and transmitting the encapsulated LTR frame in the first network. Network relay equipment provided.
請求項に記載のネットワーク中継機器において、
前記判定手段により前記オペレーションコード領域に前記リンクトレースメッセージを示す識別情報が設定されていると判定された場合であって、前記カプセル化フレームに含まれる前記カプセル化ヘッダ情報のうち、その宛先B−MACアドレス領域に設定されたMACアドレスが自己に固有のMACアドレスと同一であることを確認した場合、前記カプセル化フレームの転送を終了するフレーム処理手段をさらに備えたことを特徴とするネットワーク中継機器。
The network relay device according to claim 2 ,
In the case where it is determined by the determination means that identification information indicating the link trace message is set in the operation code area, among the encapsulated header information included in the encapsulated frame, the destination B- A network relay device characterized by further comprising a frame processing means for terminating the transfer of the encapsulated frame when it is confirmed that the MAC address set in the MAC address area is the same as its own unique MAC address .
請求項又はに記載のネットワーク中継機器において、
前記応答処理手段は、
前記カプセル化LTRフレームに含まれるカプセル化ヘッダ情報のうち、送信元B−MACアドレス領域及び送信元C−MACアドレス領域のそれぞれに対して自己に固有のMACアドレスを設定し、宛先B−MACアドレス領域に前記カプセル化フレームの送信元B−MACアドレスを設定し、宛先C−MACアドレス領域に対して前記カプセル化フレームに含まれるオリジナルMACアドレス領域に設定されたMACアドレスを設定することを特徴とするネットワーク中継機器。
In the network relay device according to claim 2 or 3 ,
The response processing means includes
Of the encapsulated header information included in the encapsulated LTR frame, a unique MAC address is set for each of the source B-MAC address area and the source C-MAC address area, and the destination B-MAC address is set. A source B-MAC address of the encapsulated frame is set in an area, and a MAC address set in an original MAC address area included in the encapsulated frame is set in a destination C-MAC address area. Network relay device to be used.
少なくとも第1の通信規格に準拠した第1のネットワークに、前記第1の通信規格と異なる第2の通信規格に準拠した第2のネットワークが少なくとも1つ相互に接続されたネットワークシステムであって、
前記第1のネットワークは、
前記第2のネットワークから送信されたMACフレームを受信すると、この受信したMACフレームを前記第1の通信規格に基づきカプセル化したカプセル化フレームとして前記第1のネットワーク内に転送するエッジスイッチと、
前記エッジスイッチにより転送された前記カプセル化フレームを前記第1のネットワーク内で中継するコアスイッチとを含み、
前記第2のネットワークは、
前記MACフレームの中継を行う複数のスイッチと、
前記複数のスイッチのうち、前記MACフレームのヘッダ情報に含まれる、タイプ領域に管理用の識別情報を設定し、かつ、そのデータ領域のオペレーションコード領域にリンクトレースの規定で定めるリンクトレースメッセージを示す識別情報を設定した状態で、前記第1のネットワーク内に配置されたいずれかの前記コアスイッチをターゲットMACアドレスに設定したLTMフレーム、又は、前記第1のネットワークに複数の第2のネットワークが接続されており、前記第1のネットワークを介して接続された他の第2のネットワーク内に配置されたいずれかの前記スイッチをターゲットMACアドレスに設定したLTMフレームを送信する管理端点を含み、
前記第1のネットワークに含まれる前記エッジスイッチ及び前記コアスイッチは、
前記管理端点から送信された前記MACフレームに含まれているヘッダ情報のタイプ領域に管理用の識別情報が設定されているか否かを識別する識別手段と、
前記識別手段により前記タイプ領域に管理用の識別情報が設定されていると識別された場合、前記受信したMACフレームに含まれるデータ領域の前記オペレーションコード領域に前記リンクトレースメッセージを示す識別情報が設定されているか否かを判定する判定手段と
を備え
前記第1のネットワークに含まれる前記エッジスイッチは、
前記判定手段により前記オペレーションコード領域に前記リンクトレースメッセージを示す識別情報が設定されていると判定された場合、前記管理端点から送信された前記MACフレームに含まれるデータ領域のうち、そのターゲットMACアドレス領域に設定されたターゲットMACアドレスと同じ値がFDB中にC−MACアドレスとして登録されていることを条件として、このC−MACアドレスと関連付けて前記FDBに登録されたB−MACアドレスを前記カプセル化ヘッダ情報に含まれる宛先B−MACアドレス領域に設定し、前記カプセル化フレームを生成する処理を行う一方、前記ターゲットMACアドレスと同じ値がFDB中にC−MACアドレスとして登録されていない場合、前記カプセル化フレームを生成することなく受信した前記MACフレーム破棄するフレーム処理手段と、
前記判定手段により前記オペレーションコード領域に前記リンクトレースメッセージを示す識別情報が設定されていると判定された場合、前記リンクトレースメッセージに対する応答としてのリンクトレースリプライをデータ領域に含めたLTRフレームを生成し、このLTRフレームを前記第2のネットワークに対して送信する応答処理手段とをさらに有し、
前記第1のネットワークに含まれる前記コアスイッチは、
前記判定手段により前記オペレーションコード領域に前記リンクトレースメッセージを示す識別情報が設定されていると判定された場合、前記カプセル化フレームに含まれる前記カプセル化ヘッダ情報のうち、その宛先B−MACアドレス領域に設定されたMACアドレスが自己に固有のMACアドレスと同一であることを確認した場合、前記カプセル化フレームの転送を終了するフレーム処理手段と、
前記判定手段により前記オペレーションコード領域に前記リンクトレースメッセージを示す識別情報が設定されていると判定された場合、前記カプセル化フレームに含まれる前記リンクトレースメッセージに対する応答としてのリンクトレースリプライをデータ領域に含み、かつ、前記カプセル化フレームの送信元B−MACアドレスを宛先B−MACアドレスとしてカプセル化LTRフレームを生成し、このカプセル化LTRフレームを前記第1のネットワーク内で送信する応答処理手段と
さらに備えたネットワークシステム。
A network system in which at least one second network based on a second communication standard different from the first communication standard is connected to at least one first network based on the first communication standard,
The first network is
When receiving a MAC frame transmitted from the second network, an edge switch that transfers the received MAC frame as an encapsulated frame encapsulated based on the first communication standard into the first network;
A core switch that relays the encapsulated frame transferred by the edge switch in the first network;
The second network is
A plurality of switches that relay the MAC frame;
Among the plurality of switches, management identification information is set in the type area included in the header information of the MAC frame, and a link trace message defined by the link trace rule is shown in the operation code area of the data area With the identification information set, an LTM frame in which any one of the core switches arranged in the first network is set as a target MAC address, or a plurality of second networks are connected to the first network A management endpoint for transmitting an LTM frame in which any one of the switches arranged in another second network connected via the first network is set to a target MAC address,
The edge switch and the core switch included in the first network are:
Identification means for identifying whether management identification information is set in a type area of header information included in the MAC frame transmitted from the management endpoint;
When the identification means identifies that management identification information is set in the type area, identification information indicating the link trace message is set in the operation code area of the data area included in the received MAC frame and a judging means for judging whether it is,
The edge switch included in the first network is:
When it is determined by the determination means that identification information indicating the link trace message is set in the operation code area, the target MAC address of the data area included in the MAC frame transmitted from the management endpoint On the condition that the same value as the target MAC address set in the area is registered as the C-MAC address in the FDB, the B-MAC address registered in the FDB in association with the C-MAC address is used as the capsule. If the same value as the target MAC address is not registered as the C-MAC address in the FDB while setting the destination B-MAC address area included in the header header information and generating the encapsulated frame, Do not generate the encapsulated frame Said MAC frame discarding frame processing unit that receives,
If it is determined by the determination means that identification information indicating the link trace message is set in the operation code area, an LTR frame including a link trace reply as a response to the link trace message in a data area is generated. Response processing means for transmitting the LTR frame to the second network,
The core switch included in the first network is:
When it is determined by the determining means that identification information indicating the link trace message is set in the operation code area, the destination B-MAC address area of the encapsulated header information included in the encapsulated frame Frame processing means for ending the transfer of the encapsulated frame, when it is confirmed that the MAC address set to is the same as its own unique MAC address;
When it is determined by the determination means that identification information indicating the link trace message is set in the operation code area, a link trace reply as a response to the link trace message included in the encapsulated frame is stored in the data area. Response processing means for generating an encapsulated LTR frame using the source B-MAC address of the encapsulated frame as a destination B-MAC address and transmitting the encapsulated LTR frame in the first network. A network system with more .
第1の通信規格に準拠した第1のネットワークに、前記第1の通信規格とは異なる第2の通信規格に準拠した第2のネットワークが少なくとも1つ接続された状態で、前記第2のネットワーク内に配置された始点の管理端点に対して、前記第1のネットワーク内に配置されたいずれかのコアスイッチを宛先の管理端点とするか、もしくは、前記管理端点から前記第1のネットワークを介して接続された前記第2のネットワークに配置されたいずれかのスイッチを宛先の管理端点とし、前記始点の管理端点から前記宛先の管理端点に対してリンクトレースメッセージをデータ領域内に含むMACフレームを送信してリンクトレースを実行するリンクトレース方法であって、
前記始点の管理端点から送信された前記MACフレームを前記第1のネットワーク内に配置されたエッジスイッチで受信した場合、前記MACフレームに含まれるヘッダ情報のうち、タイプ領域に管理用の識別情報が設定されているか否かを識別する識別工程と、
前記識別工程で前記タイプ領域に管理用の識別情報が設定されていると識別された場合、前記MACフレームに含まれるデータ領域のうち、オペレーションコード領域に前記リンクトレースメッセージを示す識別情報が設定されているか否かを判定する判定工程と、
前記判定工程で前記オペレーションコード領域に前記リンクトレースメッセージを示す識別情報が設定されていると判定された場合、前記MACフレームにカプセル化ヘッダ情報を付加した形式のカプセル化フレームを生成する過程で、前記MACフレームに含まれるデータ領域のターゲットMACアドレス領域に設定されたターゲットMACアドレスと同じ値がFDB中にC−MACアドレスとして登録されていること条件として、このC−MACアドレスと関連付けて前記FDBに登録されているB−MACアドレスを前記カプセル化ヘッダ情報に含まれる宛先B−MACアドレス領域に設定して前記カプセル化フレームを前記第1のネットワーク内で送信するフレーム処理工程と、
s 前記判定工程で前記オペレーションコード領域に前記リンクトレースメッセージを示す識別情報が設定されていると判定された場合、前記リンクトレースメッセージに対する応答としてのリンクトレースリプライをデータ領域に含めたLTRフレームを生成し、このLTRフレームを前記第2のネットワークに対して送信する応答処理工程と
を備えたリンクトレース方法。
In a state where at least one second network compliant with a second communication standard different from the first communication standard is connected to the first network compliant with the first communication standard, the second network One of the core switches arranged in the first network is set as a destination management endpoint with respect to the management endpoint of the start point arranged in the network, or from the management endpoint via the first network A MAC frame including a link trace message in a data area from a management end point of the start point to the management end point of the destination as any one of the switches arranged in the second network connected to the destination A link trace method for sending and executing a link trace,
When the MAC frame transmitted from the management endpoint of the start point is received by an edge switch arranged in the first network, management identification information is included in the type area of the header information included in the MAC frame. An identification process for identifying whether it is set,
When it is identified in the identification step that management identification information is set in the type area, identification information indicating the link trace message is set in the operation code area of the data area included in the MAC frame. A determination step of determining whether or not
When it is determined in the determination step that identification information indicating the link trace message is set in the operation code area, a process of generating an encapsulated frame in a format in which encapsulation header information is added to the MAC frame; Assuming that the same value as the target MAC address set in the target MAC address area of the data area included in the MAC frame is registered as the C-MAC address in the FDB, the FDB is associated with the C-MAC address. Frame processing step of transmitting the encapsulated frame in the first network by setting the B-MAC address registered in the destination B-MAC address area included in the encapsulation header information;
s If it is determined in the determination step that identification information indicating the link trace message is set in the operation code area, an LTR frame including a link trace reply as a response to the link trace message in a data area is generated. And a response processing step of transmitting the LTR frame to the second network.
請求項に記載のリンクトレース方法において、
前記エッジスイッチから送信された前記カプセル化フレームを前記第1のネットワーク内に配置されたコアスイッチで受信した場合、前記カプセル化フレームとしてカプセル化された前記MACフレームに含まれるヘッダ情報のうちタイプ領域に管理用の識別情報が設定されているか否かを前記コアスイッチにて識別する識別工程と、
前記コアスイッチでの前記識別工程で前記タイプ領域に管理用の識別情報が設定されていると識別された場合、前記カプセル化された前記MACフレームに含まれるデータ領域のオペレーションコード領域に前記リンクトレースメッセージを示す識別情報が設定されているか否かを前記コアスイッチにて判定する判定工程と、
前記コアスイッチでの前記判定工程で前記オペレーションコード領域に前記リンクトレースメッセージを示す識別情報が設定されていると判定された場合、前記カプセル化フレームに含まれる前記リンクトレースメッセージに対する応答としてのリンクトレースリプライをデータ領域に含むカプセル化LTRフレームを生成し、このカプセル化LTRフレームを前記コアスイッチにて前記第1のネットワーク内で送信する応答処理工程と
をさらに備えたことを特徴とするリンクトレース方法。
The link trace method according to claim 6 ,
When the encapsulated frame transmitted from the edge switch is received by the core switch arranged in the first network, the type area of the header information included in the MAC frame encapsulated as the encapsulated frame An identification step for identifying whether or not management identification information is set in the core switch,
When it is identified in the identification step in the core switch that management identification information is set in the type area, the link trace is stored in the operation code area of the data area included in the encapsulated MAC frame. A determination step of determining whether or not identification information indicating a message is set in the core switch;
If it is determined in the determination step at the core switch that identification information indicating the link trace message is set in the operation code area, a link trace as a response to the link trace message included in the encapsulated frame And a response processing step of generating an encapsulated LTR frame including a reply in a data area and transmitting the encapsulated LTR frame in the first network by the core switch. .
請求項に記載のリンクトレース方法において、
前記コアスイッチでの前記判定工程で前記オペレーションコード領域に前記リンクトレースメッセージを示す識別情報が設定されていると判定された場合であって、前記カプセル化フレームに含まれる前記カプセル化ヘッダ情報のうち、その宛先B−MACアドレス領域に設定されたMACアドレスが自己に固有のMACアドレスと同一であることを確認した場合、前記カプセル化フレームの転送を終了するフレーム処理工程をさらに備えたことを特徴とするリンクトレース方法。
The link trace method according to claim 7 ,
In the determination step in the core switch, when it is determined that identification information indicating the link trace message is set in the operation code area, of the encapsulation header information included in the encapsulation frame And further comprising a frame processing step for terminating the transfer of the encapsulated frame when it is confirmed that the MAC address set in the destination B-MAC address area is the same as the MAC address unique to the destination B-MAC address area. Link trace method.
請求項又はに記載のリンクトレース方法において、
前記各応答処理工程では、
前記カプセル化LTRフレームに含まれるカプセル化ヘッダ情報のうち、送信元B−MACアドレス領域及び送信元C−MACアドレス領域のそれぞれに対して自己に固有のMACアドレスを設定し、宛先B−MACアドレス領域に前記カプセル化フレームの送信元B−MACアドレスを設定し、宛先C−MACアドレス領域に対して前記カプセル化フレームに含まれるオリジナルMACアドレス領域に設定されたMACアドレスを設定することを特徴とするリンクトレース方法。
In the link trace method according to claim 7 or 8 ,
In each response processing step,
Of the encapsulated header information included in the encapsulated LTR frame, a unique MAC address is set for each of the source B-MAC address area and the source C-MAC address area, and the destination B-MAC address is set. A source B-MAC address of the encapsulated frame is set in an area, and a MAC address set in an original MAC address area included in the encapsulated frame is set in a destination C-MAC address area. Link trace method to do.
JP2010109415A 2010-05-11 2010-05-11 Network relay device, network system, and link trace method Expired - Fee Related JP5334912B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010109415A JP5334912B2 (en) 2010-05-11 2010-05-11 Network relay device, network system, and link trace method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010109415A JP5334912B2 (en) 2010-05-11 2010-05-11 Network relay device, network system, and link trace method

Publications (2)

Publication Number Publication Date
JP2011239220A JP2011239220A (en) 2011-11-24
JP5334912B2 true JP5334912B2 (en) 2013-11-06

Family

ID=45326705

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010109415A Expired - Fee Related JP5334912B2 (en) 2010-05-11 2010-05-11 Network relay device, network system, and link trace method

Country Status (1)

Country Link
JP (1) JP5334912B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7163256B2 (en) * 2019-08-28 2022-10-31 APRESIA Systems株式会社 Optical transceiver and network system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4744429B2 (en) * 2006-12-29 2011-08-10 Kddi株式会社 Extended maintenance domain level management method, communication apparatus, program, and data structure

Also Published As

Publication number Publication date
JP2011239220A (en) 2011-11-24

Similar Documents

Publication Publication Date Title
JP5287481B2 (en) Network relay device, network, and network maintenance operation method
RU2471302C2 (en) Method to develop frame of oam of hybrid network ethernet/tmpls and appropriate signals
KR101266671B1 (en) Scaled ethernet oam for mesh and hub-and-spoke networks
US8098649B2 (en) Using network transport tunnels to provide service-based data transport
CN101286922B (en) Signalling control method, system and apparatus
JP5765623B2 (en) Network system
JP4744429B2 (en) Extended maintenance domain level management method, communication apparatus, program, and data structure
US8102854B2 (en) Neighbor discovery proxy with distributed packet inspection scheme
CN104270309A (en) Method for achieving multi-hop BFD under IP RAN equipment
CN103067278B (en) A kind of method for transmission processing of Frame, equipment and system
US10171259B2 (en) Network system and relay device
JP5267065B2 (en) Communication apparatus and network test method
JP2019117972A (en) Network management device, network system, method, and program
JP5557777B2 (en) Connectivity monitoring method by subscriber termination equipment
JP5334912B2 (en) Network relay device, network system, and link trace method
US8498218B2 (en) Communication apparatus and method in a communication network system
JP4591338B2 (en) Communications system
JP2006067054A (en) Loop detection method for bridge device, program and bridge device
JP4201270B2 (en) Bridge device, loop detection method and program
JP5041600B2 (en) Method of transmitting trace request for operation and maintenance management, management endpoint device and program
JP6541434B2 (en) Relay device and relay system
US9264253B2 (en) Network system
JP5510594B2 (en) Network relay device and network
WO2008119289A1 (en) Method and device for sending mac
JP6574144B2 (en) Relay device and relay system

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20111222

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120226

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120622

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130311

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130514

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130705

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130723

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130730

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees