JP4873556B2 - Topology detection method, communication device, management device, and program for detecting logical topology of network - Google Patents
Topology detection method, communication device, management device, and program for detecting logical topology of network Download PDFInfo
- Publication number
- JP4873556B2 JP4873556B2 JP2007002782A JP2007002782A JP4873556B2 JP 4873556 B2 JP4873556 B2 JP 4873556B2 JP 2007002782 A JP2007002782 A JP 2007002782A JP 2007002782 A JP2007002782 A JP 2007002782A JP 4873556 B2 JP4873556 B2 JP 4873556B2
- Authority
- JP
- Japan
- Prior art keywords
- trace
- response
- topology
- network
- ttl
- 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
Links
- 238000004891 communication Methods 0.000 title claims description 48
- 238000001514 detection method Methods 0.000 title claims description 23
- 238000012546 transfer Methods 0.000 claims description 34
- 230000005540 biological transmission Effects 0.000 claims description 21
- 238000012423 maintenance Methods 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 2
- 239000000835 fiber Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005316 response function Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Landscapes
- Small-Scale Networks (AREA)
Description
本発明は、ネットワークの論理トポロジを検出するトポロジ検出方法、通信装置、管理装置及びプログラムに関する。 The present invention relates to a topology detection method, a communication device, a management device, and a program for detecting a logical topology of a network.
現在のところ、LAN(Local Area Network)用のレイヤ2ネットワークとして、イーサネット(登録商標)技術が普及している。これに対し、近年、超高速のレイヤ2ネットワークとして、FTTH(Fiber To The Home)技術が用いられてきている。このFTTH技術や他の高速アクセスライン技術によって、アクセスネットワークの通信速度が増大するに伴って、コアネットワークやメトロネットワークも含めた通信ネットワークの大容量化が必要となっている。また、ネットワーク全体の通信速度の向上と共に、レイヤ2ネットワーク装置のような通信装置のスイッチング処理容量の増大や、レイヤ2ネットワーク装置間の通信速度の増大も必要となっている。
At present, Ethernet (registered trademark) technology is widely used as a
サービス事業者は、加入者に対して常に安定したサービスを提供するために、遠隔から接続線路の運用・保守・管理(OAM:Operation Administration and Maintenance)をする必要がある。そのために、ITU−T Y.1731又はIEEE802.1agによって、イーサネットOAMフレームが規定されてきている(例えば非特許文献1参照)。特に、ITU−T Y.1731は、イーサネット網にSONET(Synchronous Optical NETwork)とほぼ同等の運用保守管理機能を実現する規格である。 Service providers need to perform operation administration and maintenance (OAM) from a remote location in order to provide a stable service to subscribers at all times. Therefore, ITU-T Y.T. An Ethernet OAM frame has been defined by 1731 or IEEE802.1ag (see, for example, Non-Patent Document 1). In particular, ITU-T Y.M. 1731 is a standard that realizes an operation and maintenance management function almost equivalent to SONET (Synchronous Optical NETwork) in the Ethernet network.
イーサネットOAMフレームは、到達性管理(CFM: Connectivity Fault Management) や、エラー通知、リンク(回線)パフォーマンスモニタ等の機能やその情報を伝達する機能を有するフレームである。イーサネットOAMフレームは、宛先MAC(Media Access Control)アドレスと、送信元MACアドレスと、Ethernet OAM TLV(Type, Length, and Value)と、FCS(Frame Check Sequence)とを含む。MACアドレスは、運用保守管理対象となるレイヤ2ネットワーク装置固有の、又はネットワークインターフェイスカードに固有の、48ビットの識別番号である。通常、レイヤ2ネットワーク装置は、ネットワークインターフェイスカードが持つ固有の識別子は用いられず、その装置自体を特定する1つの装置MACアドレス(CPU−MACアドレス)を用いて、フレーム転送時などは装置を認識する。Ethernet OAM TLVは、例えば、制御情報(要求/応答)、ステータス(電源状態、受信光状態、リンク断、故障等)、ベンダコード、モデルコード等を含む。
The Ethernet OAM frame is a frame having functions such as reachability management (CFM: Connectivity Fault Management), error notification, link (line) performance monitor, and the like and a function for transmitting the information. The Ethernet OAM frame includes a destination MAC (Media Access Control) address, a source MAC address, an Ethernet OAM TLV (Type, Length, and Value), and an FCS (Frame Check Sequence). The MAC address is a 48-bit identification number that is unique to the
図1は、従来技術における経路トレースのシーケンス図である。 FIG. 1 is a sequence diagram of path trace in the prior art.
図1の経路トレース(Traceroute)機能によれば、管理装置は、対象となるネットワークへ、即ち隣接するレイヤ2ネットワーク装置へ、トレース要求を送信する。トレース要求は、例えば、運用保守管理フレームであるイーサネットOAMフレームにおけるETH−LTM(ETHernet Link Trace Massage)である。ETH−LTMの宛先アドレスにはunknown(不明)が設定され、そのTTLには最大値(例えば64)が設定される。
According to the route trace (Traceroute) function of FIG. 1, the management device transmits a trace request to a target network, that is, to an
ETH−LTMを受信したレイヤ2ネットワーク装置は、ETH−LTMの送信元MACアドレスを宛先MACアドレスとするトレース応答を生成する。トレース応答は、例えば、運用保守管理フレームであるイーサネットOAMフレームにおけるETH−LTR(ETHernet Link Trace Reply)である。レイヤ2ネットワーク装置は、そのETH−LTRを、ETH−LTMを受信したポートへ返信する。これにより、ETH−LTMを送信した管理装置へ、ETH−LTRが返信される。
The
また、レイヤ2ネットワーク装置は、受信したレイヤ2フレームのTTLを1減分して、宛先アドレスをunknownとするETH−LTMを他のポートから更にブロードキャストする。これは、TTLが0になるまで繰り返される。ETH−LTMは、ネットワーク内にブロードキャストされた、そのETH−LTMを受信したレイヤ2ネットワーク装置は、管理装置へ、ETH−LTRを返信する。これにより、管理装置は、ネットワーク内の全てのレイヤ2ネットワーク装置から、ETH−LTRを受信することができる。従って、管理装置は、ネットワーク内におけるレイヤ2ネットワーク装置の装置トポロジを知ることができる。
In addition, the
通常、インタフェース毎にレイヤ2処理機能を有する大規模レイヤ2ネットワーク装置及びレイヤ2伝送装置によれば、装置MACアドレス(CPU−MACアドレス)とポートMACアドレスとが異なり、それぞれのMACアドレスに対して、管理装置はETH−LTM/LTRの送受信をすることができる。従って、この場合、管理装置は、MACアドレスによって装置トポロジだけでなく、装置の接続ポート情報であるポートトポロジについても知ることができる。管理装置は、ポートトポロジまで知ることによって、運用・保守・管理を向上させることができる。
In general, according to a large-
しかしながら、一般消費者向けの簡易なレイヤ2ネットワーク装置の場合、装置MACアドレスのみで管理されている。従って、この場合、管理装置は、装置MACアドレスによる装置トポロジしか知ることができない。
However, in the case of a
従って、本発明は、装置MACアドレスのみによって管理されているレイヤ2ネットワーク装置について、装置トポロジだけでなく、ポートトポロジも検出することができるトポロジ検出方法、通信装置、管理装置及びプログラムを提供することを目的とする。
Therefore, the present invention provides a topology detection method, a communication device, a management device, and a program capable of detecting not only the device topology but also the port topology for a
本発明によれば、複数のポート間でレイヤ2フレームを中継する複数の通信装置と、該通信装置が接続されたネットワークの論理トポロジを検出する管理装置とを有するシステムにおけるトポロジ検出方法であって、
通信装置は、ポート番号と送信元MAC(Media Access Control)アドレスとを対応付けた転送情報を記録しており、
管理装置が、TTL(Time To Live)を1から順に1増分する毎に、該TTLを含むトレース要求を通信装置へ送信する第1のステップと、
通信装置が、TTL=1のトレース要求に対して、転送情報を含むトレース応答を管理装置へ返信する第2のステップと、
管理装置が、受信したトレース応答から転送情報を取得し、ネットワークの装置トポロジにおけるポートトポロジを導出する第3のステップと
を有することを特徴とする。
According to the present invention, there is provided a topology detection method in a system including a plurality of communication devices that relay
The communication device records transfer information in which a port number and a source MAC (Media Access Control) address are associated with each other,
A first step of transmitting a trace request including the TTL to the communication device every time the management device increments a TTL (Time To Live) by 1 in order,
A second step in which the communication device returns a trace response including transfer information to the management device in response to a trace request of TTL = 1;
The management device has a third step of obtaining transfer information from the received trace response and deriving a port topology in the device topology of the network.
本発明のトポロジ検出方法における他の実施形態によれば、トレース要求及びトレース応答は、運用保守管理フレームであるイーサネットOAMフレームであり、トレース要求は、ETH−LTMであり、トレース応答は、ETH−LTRであることも好ましい。 According to another embodiment of the topology detection method of the present invention, the trace request and the trace response are Ethernet OAM frames that are operation and maintenance management frames, the trace request is an ETH-LTM, and the trace response is an ETH- It is also preferable that it is LTR.
本発明によれば、複数のポート間でレイヤ2フレームを中継するスイッチ制御手段を有する通信装置において、
レイヤ2フレームが入出力されるポートのポート番号と送信元MACアドレスとを対応付けた転送情報を記録した転送情報記録手段と、
ポートから受信されたトレース要求について、TTL=1であるか否かを判定するトレース要求判定手段と、
TTL=1のトレース要求に対して、トレース要求の送信元MACアドレスを宛先MACアドレスとするトレース応答を生成し、該トレース応答に、転送情報記録手段に記録された転送情報を含めるトレース応答生成手段と
を有し、
スイッチ制御手段は、トレース応答を、トレース要求を受信したポートから返信することを特徴とする。
According to the present invention, in a communication apparatus having switch control means for relaying a
Transfer information recording means for recording transfer information in which a port number of a port through which a
Trace request determination means for determining whether or not TTL = 1 for the trace request received from the port;
In response to a trace request with TTL = 1, a trace response generation unit that generates a trace response with the source MAC address of the trace request as a destination MAC address and includes the transfer information recorded in the transfer information recording unit in the trace response And
The switch control means returns a trace response from the port that received the trace request.
本発明の通信装置における他の実施形態によれば、トレース要求及びトレース応答は、運用保守管理フレームであるイーサネットOAMフレームであり、トレース要求は、ETH−LTMであり、トレース応答は、ETH−LTRであることも好ましい。 According to another embodiment of the communication apparatus of the present invention, the trace request and the trace response are Ethernet OAM frames that are operation and maintenance management frames, the trace request is an ETH-LTM, and the trace response is an ETH-LTR. It is also preferable.
本発明によれば、前述の複数の通信装置が接続されたネットワークにおける論理トポロジを検出する管理装置であって、
TTLを1から順に1増分する毎に、該TTLを含むトレース要求を通信装置へ送信し、トレース応答を受信するポートトレース送受信手段と、
受信したトレース応答から転送情報を取得し、ネットワークの装置トポロジにおけるポートトポロジを導出するポートトポロジ検出手段と
を有することを特徴とする。
According to the present invention, a management device that detects a logical topology in a network to which a plurality of communication devices described above are connected,
Port trace transmission / reception means for transmitting a trace request including the TTL to the communication device and receiving a trace response each time the TTL is incremented by 1 from 1
And port topology detection means for obtaining transfer information from the received trace response and deriving a port topology in the network device topology.
本発明の管理装置における他の実施形態によれば、
ネットワークにおける最大値となるTTLを含むトレース要求を通信装置へ送信し、通信装置の全てからトレース応答を受信する装置トレース送受信手段と、
トレース応答から、ネットワークの装置トポロジを導出する装置トポロジ検出手段と
を更に有することも好ましい。
According to another embodiment of the management device of the present invention,
Device trace transmission / reception means for transmitting a trace request including a TTL that is the maximum value in the network to the communication device and receiving a trace response from all of the communication devices;
It is also preferable to further include device topology detecting means for deriving the device topology of the network from the trace response.
本発明によれば、複数のポートを有する通信装置に搭載されたコンピュータを機能させるプログラムであって、ポート間でレイヤ2フレームを中継するスイッチ制御手段としてコンピュータを機能させる通信装置において、
ポート番号と送信元MACアドレスとを対応付けた転送情報を記録した転送情報記録手段と、
ポートから受信されたトレース要求について、TTL=1であるか否かを判定するトレース要求判定手段と、
TTL=1のトレース要求に対して、トレース要求の送信元MACアドレスを宛先MACアドレスとするトレース応答を生成し、該トレース応答に、転送情報記録手段に記録された転送情報を含めるトレース応答生成手段と
してコンピュータを機能させ、
スイッチ制御手段は、トレース応答を、トレース要求を受信したポートから返信するようにコンピュータを機能させることを特徴とする。
According to the present invention, there is provided a program for causing a computer mounted on a communication device having a plurality of ports to function, wherein the communication device causes the computer to function as switch control means for relaying a
Transfer information recording means for recording transfer information in which a port number and a source MAC address are associated with each other;
Trace request determination means for determining whether or not TTL = 1 for the trace request received from the port;
In response to a trace request with TTL = 1, a trace response generation unit that generates a trace response with the source MAC address of the trace request as a destination MAC address and includes the transfer information recorded in the transfer information recording unit in the trace response Function as a computer
The switch control means makes the computer function so as to send back a trace response from the port that has received the trace request.
本発明の通信装置用プログラムによれば、トレース要求及びトレース応答は、運用保守管理フレームであるイーサネットOAMフレームであり、トレース要求は、ETH−LTMであり、トレース応答は、ETH−LTRであることも好ましい。 According to the communication apparatus program of the present invention, the trace request and the trace response are Ethernet OAM frames that are operation and maintenance management frames, the trace request is ETH-LTM, and the trace response is ETH-LTR. Is also preferable.
本発明によれば、前述した複数の通信装置が接続されたネットワークにおける論理トポロジを検出する管理装置に搭載されたコンピュータを機能させるプログラムであって、
TTLを1から順に1増分する毎に、該TTLを含むトレース要求を通信装置へ送信し、トレース応答を受信するポートトレース送受信手段と、
受信したトレース応答から転送情報を取得し、ネットワークの装置トポロジにおけるポートトポロジを導出するポートトポロジ検出手段と
してコンピュータを機能させることを特徴とする。
According to the present invention, there is provided a program for causing a computer mounted on a management device that detects a logical topology in a network to which a plurality of communication devices are connected to function.
Port trace transmission / reception means for transmitting a trace request including the TTL to the communication device and receiving a trace response each time the TTL is incremented by 1 from 1
Transfer information is acquired from the received trace response, and the computer functions as port topology detection means for deriving a port topology in the network device topology.
本発明の管理装置用プログラムにおける他の実施形態によれば、
ネットワークにおける最大値となるTTLを含むトレース要求を通信装置へ送信し、通信装置の全てからトレース応答を受信する装置トレース送受信手段と、
トレース応答から、ネットワークの装置トポロジを導出する装置トポロジ検出手段と
してコンピュータを更に機能させることも好ましい。
According to another embodiment of the management device program of the present invention,
Device trace transmission / reception means for transmitting a trace request including a TTL that is the maximum value in the network to the communication device and receiving a trace response from all of the communication devices;
It is also preferable to further cause the computer to function as device topology detection means for deriving the device topology of the network from the trace response.
本発明のトポロジ検出方法、通信装置、管理装置及びプログラムによれば、装置MACアドレスのみによって管理されているレイヤ2ネットワーク装置について、装置トポロジだけでなく、ポートトポロジも検出することができる。
According to the topology detection method, communication device, management device, and program of the present invention, not only the device topology but also the port topology can be detected for the
以下では、図面を用いて、本発明を実施するための最良の形態について詳細に説明する。 Hereinafter, the best mode for carrying out the present invention will be described in detail with reference to the drawings.
図2は、本発明におけるレイヤ2ネットワーク装置及び管理装置の機能構成図である。
FIG. 2 is a functional configuration diagram of the
図2によれば、レイヤ2ネットワーク装置1は、複数のポート101と、スイッチ制御部102と、トレース要求判定部103と、トレース応答生成部104と、転送情報記録部105とを有する。ポート101を除くこれら機能部は、レイヤ2ネットワーク装置に搭載されたコンピュータを機能させるプログラムを実行することによっても実現できる。
According to FIG. 2, the
ポート101は、ハードウェアとしての接続インタフェースである。各ポートには、任意にポート番号が付与され(TCPのポート番号とは異なる)、他の通信装置(レイヤ2ネットワーク装置、管理装置又は通信端末)との間で有線によって接続される。
The
スイッチ制御部102は、複数のポート間でレイヤ2フレームを中継する。例えば、スイッチングHUBと同様の機能を有する。ここで、スイッチ制御部102は、いずれかのポートからトレース要求を受信した場合、そのトレース要求を、トレース要求判定部103へ通知する。尚、トレース要求は、運用保守管理フレームであるイーサネットOAMフレームにおけるETH−LTMである。
The
転送情報記録部105は、ポート番号と送信元MACアドレスとを対応付けた転送情報を記録する。転送情報は、FDB(Forwarding DataBase)と称される。例えば、ポート1にレイヤ2ネットワーク装置Aが接続されている場合、ポート番号1と、そのレイヤ2ネットワーク装置AのMACアドレスAとが対応付けて記録される。
The transfer information recording unit 105 records transfer information in which a port number and a transmission source MAC address are associated with each other. The forwarding information is referred to as FDB (Forwarding DataBase). For example, when the
トレース要求判定部103は、スイッチ制御部102から通知されたETH−LTMについて、TTL=1であるか否かを判定する。TTL(Time To Live)は、そのパケットの生存期間を意味し、そのパケットがレイヤ2ネットワーク装置を介して中継される毎に、そのTTLは1減分される。TTL=1のフレームを受信したレイヤ2ネットワーク装置は、そのフレームを廃棄する。
The trace
本発明によれば、トレース要求判定部103は、TTL=1のETH−LTMを、トレース応答生成部104へ通知する。一方で、TTL=1以外のETH−LTMは、スイッチ制御部102へ通知し、宛先アドレスに基づいて次のポートへ転送される。
According to the present invention, the trace
トレース応答生成部104は、TTL=1のETH−LTMに対して、その送信元MACアドレスを宛先MACアドレスとするトレース応答を生成する。尚、トレース応答は、運用保守管理フレームであるイーサネットOAMフレームにおけるETH−LTRである。ここで、本発明によれば、ETH−LTRのTLV(Time, Length and Value)に、転送情報記録部105に記録されたFDBが含められる。そして、ETH−LTRは、スイッチ制御部102へ通知される。
The trace
スイッチ制御部102は、そのETH−LTRを、ETH−LTMを受信したポートから返信する。これにより、管理装置は、そのETH−LTRを受信し、FDBに基づいてポートトポロジを知ることができる。
The
図2によれば、管理装置2は、装置トレース送受信部201と、装置トポロジ検出部202と、ポートトレース送受信部203と、ポートトポロジ検出部204とを有する。これら機能部は、管理装置に搭載されたコンピュータを機能させるプログラムを実行することによっても実現できる。
According to FIG. 2, the
装置トレース送受信部201は、ETH−LTMを、隣接するレイヤ2ネットワーク装置へ送信する。ETH−LTMは、宛先アドレスをunknownとし、ネットワークにおける最大値のTTLを含む。これに対し、装置トレース送受信部201は、ネットワークにおける全てのレイヤ2ネットワーク装置から、ETH−LTRを受信する。
The device trace transmission /
装置トポロジ検出部202は、ETH−LTRの送信元MACアドレスから、ネットワークに接続されたレイヤ2ネットワーク装置の装置トポロジを導出する。
The device
ポートトレース送受信部203は、TTLを1から順に1増分する毎に、そのTTLを含むETH−LTMを、隣接するレイヤ2ネットワーク装置へ送信する。これにより、レイヤ2ネットワーク装置毎に、ETH−LTRを受信する。
Each time the port trace transmission /
ポートトポロジ検出部204は、ETH−LTRからFDBを取得し、ネットワークに接続されたレイヤ2ネットワーク装置のポートトポロジを導出する。
The port
図3は、本発明におけるシーケンス図である。 FIG. 3 is a sequence diagram in the present invention.
図3によれば、対象となるネットワークが、レイヤ2ネットワーク装置A、B及びCを有すると想定する。管理装置2は、レイヤ2ネットワーク装置Aと直接的に接続され、そのレイヤ2ネットワーク装置Aを介して、レイヤ2ネットワーク装置B及びCと通信をすることができる。レイヤ2ネットワーク装置は各々、入力ポートと送信元MACアドレスとを対応付けたFDBを有する。
According to FIG. 3, it is assumed that the target network has
最初に、管理装置2は、装置トポロジ、即ちネットワークにおける装置の接続形態を検出する。
First, the
(S301)管理装置2は、最初に、トレース要求(ETH−LTM)を、隣接のレイヤ2ネットワーク装置Aへ送信する。ETH−LTMは、宛先アドレスをunknown(不明)とし、例えばTTL=255(最大値)とする。これにより、ETH−LTMは、ネットワーク内でブロードキャストされ、末端のレイヤ2ネットワーク装置にまで到達する。
(S302)レイヤ2ネットワーク装置Aは、ETH−LTMにおけるTTLを確認する。TTLを1減分すると254となり、0ではない。そこで、レイヤ2ネットワーク装置Aは、更に、隣接のレイヤ2ネットワーク装置B及びCへブロードキャストする。
(S301) The
(S302) The
(S303)レイヤ2ネットワーク装置Aは、ETH−LTMに対して、トレース応答(ETH−LTR)を管理装置2へ返信する。ETH−LTRの送信元MACアドレスは、レイヤ2ネットワーク装置Aの装置MACアドレスである。これにより、管理装置2は、レイヤ2ネットワーク装置Aの存在を知ることができる。
(S303) The
(S304)レイヤ2ネットワーク装置Bは、ETH−LTMに対して、ETH−LTRを管理装置2へ返信する。ETH−LTRの送信元MACアドレスは、レイヤ2ネットワーク装置Bの装置MACアドレスである。これにより、管理装置2は、レイヤ2ネットワーク装置Bの存在を知ることができる。
(S305)レイヤ2ネットワーク装置Cも、S304と同様に、ETH−LTRを管理装置2へ返信する。
(S304) The
(S305) The
(S306)管理装置2は、ネットワークに接続された全てのレイヤ2ネットワーク装置からETH−LTRを受信することができる。これにより、管理装置2は、ネットワーク内の装置トポロジ、即ち装置MACアドレスの接続形態を知ることができる。
(S306) The
次に、管理装置2は、装置トポロジにおける、ポートトポロジ、即ちポートMACアドレスの接続形態を検出する。
Next, the
(S311)最初に、管理装置2は、装置トポロジに基づいて、TTL=1となるレイヤ2ネットワーク装置へ、トレース要求(ETH−LTM)を送信する。具体的には、管理装置2は、TTL=1とするETH−LTMを、宛先アドレスをレイヤ2ネットワーク装置Aとして、送信する。
(S311) First, the
(S312)レイヤ2ネットワーク装置Aは、TTL=1のETH−LTMを受信する。このとき、TTLを1減分すると0となる。そこで、レイヤ2ネットワーク装置Aは、トレース応答(ETH−LTR)を生成する。このとき、ETH−LTRのTLVには、レイヤ2ネットワーク装置AのFDBが付加される。更に、そのETH−LTRは、TTL=1が設定され、宛先アドレスを管理装置2に設定する。そして、レイヤ2ネットワーク装置Aは、そのETH−LTRを管理装置2へ返信する。これにより、管理装置2は、レイヤ2ネットワーク装置Aについて接続ポート状態を知ることができる。
(S312) The
(S313)次に、管理装置2は、装置トポロジに基づいて、TTL=2となるレイヤ2ネットワーク装置Bへ、ETH−LTMを送信する。具体的には、管理装置2は、TTL=2とするETH−LTMを、宛先アドレスをレイヤ2ネットワーク装置Bとして、送信する。レイヤ2ネットワーク装置Aは、TTL=2のETH−LTMを受信すると、TTLを1減分して、更にレイヤ2ネットワーク装置Bへ転送する。
(S313) Next, the
(S314)レイヤ2ネットワーク装置Bは、TTL=1のETH−LTMを受信する。このとき、TTLを1減分すると0となる。そこで、レイヤ2ネットワーク装置Bは、ETH−LTRを生成する。このとき、ETH−LTRには、レイヤ2ネットワーク装置BのFDBが付加される。更に、そのETH−LTRは、TTL=1が設定され、宛先アドレスを管理装置2に設定する。そして、レイヤ2ネットワーク装置Bは、そのETH−LTRをレイヤ2ネットワーク装置Aへ返信する。レイヤ2ネットワーク装置Aは、そのETH−LTRを管理装置2へ転送する。これにより、管理装置2は、レイヤ2ネットワーク装置Bについてポート毎の送信元MACアドレスを知ることができる。
(S314) The
(S315)管理装置2は、S313と同様に、TTL=2とし且つ宛先アドレスをレイヤ2ネットワーク装置CとするETH−LTMを、レイヤ2ネットワーク装置Aを介して、レイヤ2ネットワーク装置Cへ送信する。
(S315) The
(S316)レイヤ2ネットワーク装置Cは、S314と同様に、TTL=2とし且つ宛先アドレスを管理装置2とするETH−LTRを、レイヤ2ネットワーク装置Aを介して、管理装置2へ送信する。そのETH−LTRには、レイヤ2ネットワーク装置CのFDBが含まれる。
(S316) The
このように、その後、管理装置2は、装置トポロジに沿って、TTLを1増分する毎に、ETH−LTMを送信し、そのレイヤ2ネットワーク装置からETH−LTRを受信することにより、そのレイヤ2ネットワーク装置のポート情報を取得する。
Thus, after that, the
(S317)管理装置2は、ネットワークに接続された全てのレイヤ2ネットワーク装置からETH−LTRを受信する。これにより、管理装置2は、ネットワーク内の装置トポロジにおけるポートトポロジ、即ちポートMACアドレスの接続形態を知ることができる。
(S317) The
以上、詳細に説明したように、本発明のトポロジ検出方法、通信装置、管理装置及びプログラムによれば、装置MACアドレスのみによって管理されているレイヤ2ネットワーク装置について、装置トポロジだけでなく、ポートトポロジも検出することができる。
As described above in detail, according to the topology detection method, communication device, management device and program of the present invention, not only the device topology but also the port topology for the
前述した本発明における種々の実施形態によれば、当業者は、本発明の技術思想及び見地の範囲における種々の変更、修正及び省略を容易に行うことができる。前述の説明はあくまで例であって、何ら制約しようとするものではない。本発明は、特許請求の範囲及びその均等物として限定するものにのみ制約される。 According to the various embodiments of the present invention described above, those skilled in the art can easily make various changes, modifications and omissions within the scope of the technical idea and the viewpoint of the present invention. The above description is merely an example, and is not intended to be restrictive. The invention is limited only as defined in the following claims and the equivalents thereto.
1 レイヤ2ネットワーク装置
101 ポート
102 スイッチ制御部
103 トレース要求判定部
104 トレース応答生成部
105 転送情報記録部
2 管理装置
201 装置トレース送受信部
202 装置トポロジ検出部
203 ポートトレース送受信部
204 ポートトポロジ検出部
DESCRIPTION OF
Claims (10)
前記通信装置は、ポート番号と送信元MAC(Media Access Control)アドレスとを対応付けた転送情報を記録しており、
前記管理装置が、TTL(Time To Live)を1から順に1増分する毎に、該TTLを含むトレース要求を前記通信装置へ送信する第1のステップと、
前記通信装置が、TTL=1のトレース要求に対して、前記転送情報を含むトレース応答を前記管理装置へ返信する第2のステップと、
前記管理装置が、受信した前記トレース応答から前記転送情報を取得し、前記ネットワークの装置トポロジにおけるポートトポロジを導出する第3のステップと
を有することを特徴とするトポロジ検出方法。 A topology detection method in a system having a plurality of communication devices that relay layer 2 frames between a plurality of ports and a management device that detects a logical topology of a network to which the communication devices are connected,
The communication device records transfer information in which a port number and a source MAC (Media Access Control) address are associated with each other,
A first step of transmitting a trace request including the TTL to the communication device each time the management device increments TTL (Time To Live) by 1 in order,
A second step in which the communication device returns a trace response including the transfer information to the management device in response to a trace request of TTL = 1;
A topology detection method comprising: a third step in which the management device acquires the transfer information from the received trace response and derives a port topology in the device topology of the network.
前記トレース要求は、ETH−LTM(ETHernet Link Trace Massage)であり、
前記トレース応答は、ETH−LTR(ETHernet Link Trace Reply)である
ことを特徴とする請求項1に記載のトポロジ検出方法。 The trace request and the trace response are Ethernet OAM (Operation Administration and Maintenance) frames that are operation and maintenance management frames.
The trace request is ETH-LTM (ETHernet Link Trace Massage),
The topology detection method according to claim 1, wherein the trace response is ETH-LTR (ETHernet Link Trace Reply).
前記レイヤ2フレームが入出力されるポートのポート番号と送信元MACアドレスとを対応付けた転送情報を記録した転送情報記録手段と、
前記ポートから受信されたトレース要求について、TTL=1であるか否かを判定するトレース要求判定手段と、
TTL=1のトレース要求に対して、前記トレース要求の送信元MACアドレスを宛先MACアドレスとするトレース応答を生成し、該トレース応答に、前記転送情報記録手段に記録された前記転送情報を含めるトレース応答生成手段と
を有し、
前記スイッチ制御手段は、前記トレース応答を、前記トレース要求を受信したポートから返信することを特徴とする通信装置。 In a communication apparatus having a switch control means for relaying a layer 2 frame between a plurality of ports,
Transfer information recording means for recording transfer information in which a port number of a port through which the layer 2 frame is input and output and a source MAC address are associated;
Trace request determination means for determining whether or not TTL = 1 for the trace request received from the port;
In response to a trace request with TTL = 1, a trace response is generated with the source MAC address of the trace request as a destination MAC address, and the transfer information recorded in the transfer information recording means is included in the trace response. Response generating means,
The switch control means returns the trace response from the port that has received the trace request.
前記TTLを1から順に1増分する毎に、該TTLを含む前記トレース要求を前記通信装置へ送信し、前記トレース応答を受信するポートトレース送受信手段と、
受信した前記トレース応答から前記転送情報を取得し、前記ネットワークの装置トポロジにおけるポートトポロジを導出するポートトポロジ検出手段と
を有することを特徴とする管理装置。 A management device for detecting a logical topology in a network to which a plurality of communication devices according to claim 3 or 4 are connected,
Port trace transmission / reception means for transmitting the trace request including the TTL to the communication device and receiving the trace response each time the TTL is incremented by 1 from 1
And a port topology detection unit that obtains the transfer information from the received trace response and derives a port topology in the device topology of the network.
前記トレース応答から、前記ネットワークの装置トポロジを導出する装置トポロジ検出手段と
を更に有することを特徴とする請求項5に記載の管理装置。 Device trace transmission / reception means for transmitting the trace request including the TTL that is the maximum value in the network to the communication device and receiving a trace response from all of the communication devices;
6. The management apparatus according to claim 5, further comprising apparatus topology detection means for deriving an apparatus topology of the network from the trace response.
ポート番号と送信元MACアドレスとを対応付けた転送情報を記録した転送情報記録手段と、
前記ポートから受信されたトレース要求について、TTL=1であるか否かを判定するトレース要求判定手段と、
TTL=1のトレース要求に対して、前記トレース要求の送信元MACアドレスを宛先MACアドレスとするトレース応答を生成し、該トレース応答に、前記転送情報記録手段に記録された前記転送情報を含めるトレース応答生成手段と
してコンピュータを機能させ、
前記スイッチ制御手段は、前記トレース応答を、前記トレース要求を受信したポートから返信するようにコンピュータを機能させることを特徴とする通信装置用プログラム。 A program for causing a computer mounted on a communication device having a plurality of ports to function, wherein the computer functions as a switch control unit that relays a layer 2 frame between ports.
Transfer information recording means for recording transfer information in which a port number and a source MAC address are associated with each other;
Trace request determination means for determining whether or not TTL = 1 for the trace request received from the port;
In response to a trace request with TTL = 1, a trace response is generated with the source MAC address of the trace request as a destination MAC address, and the transfer information recorded in the transfer information recording means is included in the trace response. Let the computer function as a response generator,
The program for a communication apparatus, wherein the switch control unit causes a computer to function so as to send back the trace response from a port that has received the trace request.
前記TTLを1から順に1増分する毎に、該TTLを含む前記トレース要求を前記通信装置へ送信し、前記トレース応答を受信するポートトレース送受信手段と、
受信した前記トレース応答から前記転送情報を取得し、前記ネットワークの装置トポロジにおけるポートトポロジを導出するポートトポロジ検出手段と
してコンピュータを機能させることを特徴とする管理装置用プログラム。 A program for causing a computer mounted on a management device for detecting a logical topology in a network to which a plurality of communication devices according to claim 3 or 4 are connected to function.
Port trace transmission / reception means for transmitting the trace request including the TTL to the communication device and receiving the trace response each time the TTL is incremented by 1 from 1
A program for a management apparatus that acquires the transfer information from the received trace response and causes a computer to function as port topology detection means for deriving a port topology in the apparatus topology of the network.
前記トレース応答から、前記ネットワークの装置トポロジを導出する装置トポロジ検出手段と
してコンピュータを更に機能させることを特徴とする請求項9に記載の管理装置用プログラム。 Device trace transmission / reception means for transmitting the trace request including the TTL that is the maximum value in the network to the communication device and receiving a trace response from all of the communication devices;
10. The management device program according to claim 9, further causing a computer to function as device topology detection means for deriving a device topology of the network from the trace response.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007002782A JP4873556B2 (en) | 2007-01-10 | 2007-01-10 | Topology detection method, communication device, management device, and program for detecting logical topology of network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007002782A JP4873556B2 (en) | 2007-01-10 | 2007-01-10 | Topology detection method, communication device, management device, and program for detecting logical topology of network |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008172449A JP2008172449A (en) | 2008-07-24 |
JP4873556B2 true JP4873556B2 (en) | 2012-02-08 |
Family
ID=39700135
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007002782A Expired - Fee Related JP4873556B2 (en) | 2007-01-10 | 2007-01-10 | Topology detection method, communication device, management device, and program for detecting logical topology of network |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4873556B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5388189B2 (en) * | 2009-05-12 | 2014-01-15 | Kddi株式会社 | Network equipment |
JP5640853B2 (en) * | 2011-03-24 | 2014-12-17 | ヤマハ株式会社 | Communication system, router, switching hub, and program |
EP2811702A4 (en) | 2012-01-30 | 2015-08-26 | Nec Corp | Network system and topology management method |
JP6515597B2 (en) * | 2015-03-09 | 2019-05-22 | 富士通株式会社 | Management program, management method, management device |
-
2007
- 2007-01-10 JP JP2007002782A patent/JP4873556B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2008172449A (en) | 2008-07-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8406143B2 (en) | Method and system for transmitting connectivity fault management messages in ethernet, and a node device | |
JP4884184B2 (en) | Communication device and program for link aggregation | |
JP4777363B2 (en) | Network system and data transfer device | |
EP2523403B1 (en) | Network system and network redundancy method | |
JP5061748B2 (en) | Packet ring network system and packet transfer method | |
US7986619B2 (en) | Packet network system | |
EP2099180B1 (en) | Switching device and method for Layer-2 forwarding of OAM frames with multicast Layer-3 addresses | |
JP4744429B2 (en) | Extended maintenance domain level management method, communication apparatus, program, and data structure | |
CN112688827B (en) | Multicast stream detection method, device and system | |
EP3128697B1 (en) | Method and device for instructing multicast forwarding entry | |
JP2010045657A (en) | Frame switching device, communication system, computer program, and address learning method | |
JP4953360B2 (en) | Communication apparatus and program for processing operation maintenance management frame | |
CN102281165A (en) | Fault detection method based on QoS, system and apparatus thereof | |
JP4873556B2 (en) | Topology detection method, communication device, management device, and program for detecting logical topology of network | |
US20120224488A1 (en) | Method of connectivity monitoring by subscriber line terminating apparatus | |
JP5041600B2 (en) | Method of transmitting trace request for operation and maintenance management, management endpoint device and program | |
JP4931059B2 (en) | Loop topology detection avoidance method, communication device, management device, and program | |
JP2018125834A (en) | Network system, and network management device, method, and program | |
JP5733473B2 (en) | Interworking apparatus, method, and program | |
JP5071982B2 (en) | Method of relaying trace request for operation and maintenance management, management relay point device and program | |
JP2006279402A (en) | Switching apparatus of communication route, method of switching communication route, and communication system | |
KR101418990B1 (en) | Device and method for controlling network | |
EP4346173A1 (en) | Communication resilience in a ring network topology | |
JP7243202B2 (en) | Network management device, method and program | |
JP4272612B2 (en) | Transfer method and edge switch |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090710 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20111110 |
|
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: 20111117 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111117 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141202 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4873556 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |