JP2006310976A - Communication apparatus and computer program - Google Patents
Communication apparatus and computer program Download PDFInfo
- Publication number
- JP2006310976A JP2006310976A JP2005128337A JP2005128337A JP2006310976A JP 2006310976 A JP2006310976 A JP 2006310976A JP 2005128337 A JP2005128337 A JP 2005128337A JP 2005128337 A JP2005128337 A JP 2005128337A JP 2006310976 A JP2006310976 A JP 2006310976A
- Authority
- JP
- Japan
- Prior art keywords
- state
- database
- router
- notification
- address
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、VRRPプロトコルを用いる通信装置に関するものである。 The present invention relates to a communication device using the VRRP protocol.
図4は、2台のルータによりVRRPプロトコルを用いて構成された仮想ルータを示す図である。ここではルータ1Aとルータ1Bが仮想ルータを構成する。ルータ1Aとルータ1Bは、それぞれ物理的な通信回線を介して、イーサネット(登録商標)100に接続されるが、イーサネット(登録商標)100に接続された端末101からは、1つのルータ(仮想ルータ)として認識され、端末101から仮想ルータに送信された例えばインターネット上の端末宛のパケットと当該端末などから端末101宛に送信されたパケットをルーティングする。
FIG. 4 is a diagram illustrating a virtual router configured using two routers using the VRRP protocol. Here, the
図5は、図4に示した仮想ルータの動作シーケンス図である。1つの仮想ルータを構成するルータ1Aとルータ1Bには、同一のVR-IDが付与される。また、ルータ1Aには、例えば、プライオリティ(優先度:1〜255)が付与され(例えば、200)、ルータ1Bには、それより低いプライオリティ(例えば、100)が付与される。
FIG. 5 is an operation sequence diagram of the virtual router shown in FIG. The same VR-ID is assigned to the
ルータ1Aとルータ1Bが起動され、それぞれがイニシャライズの状態になると、互いにプライオリティを通知し、プライオリティの高いルータ1Aがマスターの状態に遷移し(S1)、プライオリティの低いルータ1Bがバックアップの状態に遷移する(S3)。なお、ルータ1Aとルータ1Bは、故障したり、保守者などのユーザによりサスペンドされ、イニシャライズの状態になることがある(S5,S7)が、障害やサスペンドが解除されると、再び基の状態に遷移する。
When the
さて、マスターの状態にあるルータ1Aは、バックアップの状態にあるルータ1Bに対し、一定の時間間隔でVRRPパケットを送信する(S11)。そうした中にあって、ルータ1Aが故障する(S13)と、ルータ1BへのVRRPパケットが途絶える。ルータ1Bは、最後のVRRPパケットが送信されてから一定時間VRRPパケットが送信されないと、マスターの状態に遷移し(S15)、このとき、保守者などのユーザに用いられる監視コンピュータ2に自身がマスターの状態に遷移した旨と自身のIPアドレスとを通知する(S17)。これにより、ルータ1Bがマスターの状態にあることがユーザの知るところとなる。
The
その後、ルータ1Aがイニシャライズ状態になり、そして回復し、マスターの状態となる(S19)と、ルータ1Aはルータ1Bに再びVRRPパケットを送信する(S21)。ルータ1Bは、このように、自身より高いプライオリティのルータからVRRPパケットが送信された場合はバックアップの状態に遷移する(S23)。
Thereafter, when the
また、ルータ1Aは、自身がマスターの状態に遷移した旨と自身のIPアドレスとを通知する(S25)。これにより、ルータ1Aがマスターの状態にあることがユーザの知るところとなる。
上記のように、従来にあっては、現在の状態がマスターの状態であるルータを知ることができるが、現在の状態がバックアップの状態であるルータやイニシャライズの状態であるルータを知ることができない。 As described above, in the past, it is possible to know the router whose current state is the master state, but it cannot know the router whose current state is the backup state or the router that is the initializing state. .
また、上記のように、ルータ1Bが自身より高いプライオリティのルータからVRRPパケットが送信された場合にバックアップの状態に遷移する動作は、プリエンプションが有効な状態にあるとき限られるため、プリエンプションの状態を知ることが、マスターの状態へ遷移した理由を知るための一助となるが、従来にあっては、プリエンプションの状態を知ることができない。また、プリエンプションの状態のみならず、サスペンドの可否といった他の情報を知ることが、ルータの保守性向上に貢献する。
In addition, as described above, when the
本発明は、上記従来の課題解決のためになされたものであり、その目的とするところは、バックアップの状態やイニシャライズの状態を知らせることができる通信装置を提供することにあり、ルータの保守性向上に貢献する通信装置を提供することがさらなる目的である。 The present invention has been made to solve the above-described conventional problems, and an object of the present invention is to provide a communication device that can notify a backup state and an initialization state, and maintainability of a router. It is a further object to provide a communication device that contributes to improvement.
上記の課題を解決するために、請求項1の本発明は、VRRPプロトコルを用い、イニシャライズの状態とマスターの状態とバックアップの状態の間で状態を遷移させる通信装置に設けられ、現在の状態と、現在の状態に遷移する前の状態と、VR−IDと、VRF名と、インタフェース番号と、プリエンプションの状態と、プライオリティと、仮想IPアドレスと、サスペンドの可否と、マスターの状態の通信機器のIPアドレスとが記憶されるデータベースと、状態が遷移したときに、前記データベースに記憶された現在の状態をその内容に関わらず少なくとも通知する通知手段とを備えることを特徴とする通信装置をもって解決手段とする。 In order to solve the above problems, the present invention of claim 1 is provided in a communication device that uses the VRRP protocol to change the state between an initialization state, a master state, and a backup state, The state before the transition to the current state, the VR-ID, the VRF name, the interface number, the preemption state, the priority, the virtual IP address, the suspendability, and the master state communication device A communication unit comprising: a database in which an IP address is stored; and a notification unit that notifies at least the current state stored in the database regardless of the contents when the state transitions. And
請求項2の本発明は、前記通知手段は、状態が遷移したときに、前記データベースに記憶された、現在の状態に遷移する前の状態と、VR−IDと、VRF名と、インタフェース番号と、プリエンプションの状態と、プライオリティと、仮想IPアドレスと、サスペンドの可否と、マスターの状態の通信機器のIPアドレスを通知することを特徴とする請求項1記載の通信装置をもって解決手段とする。
The present invention of
請求項3の本発明は、VRRPプロトコルを用い、イニシャライズの状態とマスターの状態とバックアップの状態の間で状態を遷移させる通信装置に設けられ、現在の状態と、現在の状態に遷移する前の状態と、VR−IDと、VRF名と、インタフェース番号と、プリエンプションの状態と、プライオリティと、仮想IPアドレスと、サスペンドの可否と、マスターの状態の通信機器のIPアドレスとが記憶されるデータベースと、当該各内容のいずれか1つ以上に対し通知の要否が予め設定される条件データベースと、状態が遷移したときに、前記データベースと前記条件データベースを参照し、前記条件データベースで通知が必要と設定された内容が前記データベースに記憶されているときに、前記データベースに記憶された現在の状態をその内容に関わらず少なくとも通知する通知手段とを備えることを特徴とする通信装置をもって解決手段とする。 The present invention of claim 3 is provided in a communication device that uses the VRRP protocol to change the state between an initialization state, a master state, and a backup state. A database that stores the status, VR-ID, VRF name, interface number, preemption status, priority, virtual IP address, suspendability, and IP address of the communication device in the master state , A condition database in which the necessity of notification is set in advance for any one or more of the contents, and when the state transitions, the database and the condition database are referred to, and the condition database needs notification When the set contents are stored in the database, the current state stored in the database The and solutions with a communication apparatus characterized by comprising a notification unit configured to at least notify regardless of their content.
請求項4の本発明は、前記通知の要否が設定される内容の中にインタフェース番号が含まれることを特徴とする請求項3記載の通信装置をもって解決手段とする。 According to a fourth aspect of the present invention, there is provided the communication apparatus according to the third aspect, wherein the interface number is included in the contents in which the necessity of notification is set.
請求項5の本発明は、ユーザからコンピュータに入力された指示の内容に応じた通知の要否を前記条件データベースに設定する通知要否設定手段を備えることを特徴とする請求項3または4記載の通信装置をもって解決手段とする。
The present invention of
請求項6の本発明は、請求項1乃至5のいずれかに記載の通信装置としてコンピュータを機能させるコンピュータプログラムをもって解決手段とする。 The sixth aspect of the present invention provides a computer program for causing a computer to function as the communication device according to any one of the first to fifth aspects.
請求項7の本発明は、請求項6記載のコンピュータプログラムが記録されたコンピュータ読み取り可能な記録媒体をもって解決手段とする。 The seventh aspect of the present invention uses a computer-readable recording medium on which the computer program according to the sixth aspect is recorded as a solving means.
本発明によれば、データベースに記憶された現在の状態をその内容に関わらず少なくとも通知する通知手段とを備えたことで、ユーザは現在の状態がバックアップの状態である通信装置やイニシャライズの状態である通信装置を知ることができる。また、現在の状態に遷移する前の状態と、VR−IDと、VRF名と、インタフェース番号と、プリエンプションの状態と、プライオリティと、仮想IPアドレスと、サスペンドの可否と、マスターの状態の通信機器のIPアドレスを通知することで、ユーザがこれら内容を取捨選択することができ、保守性が向上する。 According to the present invention, it is possible to provide at least a notification means for notifying the current state stored in the database regardless of the contents thereof, so that the user can use the communication device or the initialization state in which the current state is a backup state. A certain communication device can be known. In addition, a communication device in a state before transition to the current state, VR-ID, VRF name, interface number, preemption state, priority, virtual IP address, suspendability, and master state By notifying the IP address of the user, the user can select these contents and maintainability is improved.
以下、本発明に係る通信装置の実施の形態を図面を参照して説明する。 Embodiments of a communication apparatus according to the present invention will be described below with reference to the drawings.
図1は、本実施の形態に係る通信装置であるルータの構成と利用形態を示す図である。 ルータ1は、VRRPプロトコルを用い、イニシャライズの状態とマスターの状態とバックアップの状態の間で状態を遷移させるルータであり、マスターの状態となったときにバックアップの状態となる図示しないルータとともに仮想ルータを構成するものである。ルータ1は、保守者などのユーザに用いられる監視コンピュータ2に対し自身の現在の状態を始めとする各内容を通知するものである。
FIG. 1 is a diagram showing a configuration and usage form of a router that is a communication apparatus according to the present embodiment. The router 1 is a router that uses the VRRP protocol to change a state between an initialization state, a master state, and a backup state, and a virtual router together with a router (not shown) that becomes a backup state when the master state is reached. It constitutes. The router 1 notifies each content including its current state to the monitoring
ルータ1は、現在の状態を始めとする各内容が記憶されるデータベース11と、当該各内容の1つであるインタフェース番号等に対し通知の要否が予め設定される条件データベース12と、状態が遷移したときに、データベース11と条件データベース12を参照し、条件データベース12で通知が必要と設定された内容がデータベース11に記憶されているときに、データベース11に記憶された現在の状態を始めとする各内容を監視コンピュータ2に通知する通知手段たる通知部13と、ユーザから監視コンピュータ2に入力された指示の内容に応じた通知の要否を条件データベース12に設定する通知要否設定手段たる通知要否設定部14とを備える。
The router 1 includes a
図2は、データベース11に記憶される各内容をその概略説明とともに示した図である。
FIG. 2 is a diagram showing the contents stored in the
データベース11には、VRRPプロトコルで定められたように、現在の状態と、現在の状態に遷移する前の状態と、VR−IDと、VRF名と、インタフェース番号と、プリエンプションの状態と、プライオリティと、仮想IPアドレスと、サスペンドの可否と、マスターの状態のルータのIPアドレスが記憶される。
As defined by the VRRP protocol, the
現在の状態と、現在の状態に遷移する前の状態としては、イニシャライズの状態またはバックアップの状態またはマスターの状態が記憶される。 As the current state and the state before transitioning to the current state, an initialization state, a backup state, or a master state is stored.
VR−IDは、例えば、ルータ1により構成される仮想ルータを用いる企業などのグループごとに付与され、VRF名は、例えば、企業の部署ごとに付与されたものである。 For example, the VR-ID is assigned to each group such as a company using a virtual router configured by the router 1, and the VRF name is assigned to each department of the company, for example.
インタフェース番号は、インタフェース基板の種別(16ポートのfastethernet、8ポートのfastethernet、1ポートのgigabitethernet、2ポートのgigabitethernet等の種別)と、そのインタフェース基板が挿入されるスロットの番号と、そのインタフェース基板で使用されるポート番号という、3つの意味を含んでいる。 The interface number is the type of interface board (type of 16-port fastethernet, 8-port fastethernet, 1-port gigabitethernet, 2-port gigabitethernet, etc.), the slot number into which the interface board is inserted, and the interface board. It has three meanings: used port number.
プリエンプションの状態としては、有効か無効かが記憶される。 The preemption state is stored as valid or invalid.
プライオリティとしては、0〜255の値が記憶される。 A value from 0 to 255 is stored as the priority.
仮想IPアドレスとしては、0.0.0.0.〜255.255.255.255のアドレスが、ルータ1により構成される仮想ルータに付与されたIPアドレスとして記憶される。 As the virtual IP address, addresses from 0.0.0.0. To 255.255.255.255 are stored as IP addresses assigned to the virtual router configured by the router 1.
サスペンドの可否としては、サスペンドが可能(有効)か不可能(無効)かが記憶される。 Whether suspension is possible or not is stored as to whether suspension is possible (valid) or impossible (invalid).
マスターの状態の通信機器のIPアドレスとしては、0.0.0.0.〜255.255.255.255のアドレスが、ルータ1がマスターの状態にあるときのルータ1のIPアドレスまたはルータ1とともに仮想ルータを構成する他のルータがマスターの状態にあるときの当該ルータのIPアドレスが記憶される。 As the IP address of the communication device in the master state, the address of 0.0.0.0. To 255.255.255.255 is the IP address of the router 1 when the router 1 is in the master state, or other addresses constituting the virtual router together with the router 1 The IP address of the router when the router is in the master state is stored.
図3は、条件データベース12に記憶される内容を示す図である。
FIG. 3 is a diagram showing the contents stored in the
条件データベース12では、[VR-ID],[VRF-name],[interface number]で示されるVR−IDと、VRF名と、インタフェース番号の組に対し、通知が必要であることを示すフラグ(例えば、on)が対応づけられる。
In the
[VR-ID],[VRF-name],[interface number]は、それぞれ省略することができ、例えば、[VR-ID]と[VRF-name]を省略した場合は、[interface number]に通知が必要であることを示すフラグ(on)が対応づけられる。 [VR-ID], [VRF-name], and [interface number] can be omitted. For example, when [VR-ID] and [VRF-name] are omitted, [VR number] is notified to [interface number]. Is associated with a flag (on) indicating that is necessary.
また、通知が必要であることを示すフラグ(on)に代えて、通知が不要であることを示すフラグ(例えば、off)が対応づけられる。 Further, instead of the flag (on) indicating that notification is necessary, a flag (for example, off) indicating that notification is not required is associated.
次に、本実施の形態の動作を説明する。 Next, the operation of the present embodiment will be described.
例えば、ユーザが監視コンピュータ2に
set alarm vrrp[VR-ID][VRF-name][interface number]
という型のコマンドを入力する。このときのset alarm vrrpは、[VR-ID][VRF-name][interface number]で示されるVR−IDと、VRF名と、インタフェース番号の組に対し、通知が必要であることを条件データベース12に記憶させるべきことを示している。
For example, the user
set alarm vrrp [VR-ID] [VRF-name] [interface number]
Enter a command of the type The set alarm vrrp at this time indicates that notification is required for the set of VR-ID, VRF name, and interface number indicated by [VR-ID] [VRF-name] [interface number]. 12 indicates that it should be stored.
なお、[VR-ID],[VRF-name],[interface number]は、それぞれ省略することができる。例えば、[VRF-name]と[interface number]または[interface number]を省略し、[VR-ID]で示される企業や[VRF-name]と[interface number]で示される部署についてのみ、通知を行うようにできる。また、[VRF-name]と[interface number]を省略し、[interface number]で示されるインタフェースについてのみ通知を行うようにできる。 [VR-ID], [VRF-name], and [interface number] can be omitted. For example, omit [VRF-name] and [interface number] or [interface number] and send notifications only for the company indicated by [VR-ID] and the department indicated by [VRF-name] and [interface number]. Can be done. [VRF-name] and [interface number] can be omitted, and notification can be performed only for the interface indicated by [interface number].
ユーザがこのコマンドを監視コンピュータ2に入力すると、監視コンピュータ2はこのコマンドをルータ1に送信し、ルータ1では、コマンドに[VR-ID],[VRF-name],[interface number]のいずれかが含まれていれば、通知要否設定部14が条件データベース12においてこのコマンドのset alarm vrrp以外の部分に対し、通知が必要であることを示すフラグ(例えば、on)を対応づける。一方、コマンドにおいて[VR-ID],[VRF-name],[interface number]の全てが省略されていれば、通知要否設定部14が条件データベース12に、全ての状態遷移に対して通知が必要であることを記憶させる。
When the user inputs this command to the
また、ユーザが監視コンピュータ2に
del alarm vrrp[VR-ID][VRF-name][interface number]
という型のコマンドを入力する。このときのdel alarm vrrpは、[VR-ID],[VRF-name],[interface number]で示されるVR−IDと、VRF名と、インタフェース番号の組に対し、通知が不要であることを条件データベース12に記憶させるべきことを示している。
In addition, the user can set the
del alarm vrrp [VR-ID] [VRF-name] [interface number]
Enter a command of the type The del alarm vrrp at this time indicates that notification is not required for the set of VR-ID, VRF name, and interface number indicated by [VR-ID], [VRF-name], and [interface number]. This indicates that the
なお、set alarm vrrp の場合と同様に、[VR-ID],[VRF-name],[interface number]は、それぞれ省略することができる。 As in the case of set alarm vrrp, [VR-ID], [VRF-name], and [interface number] can be omitted.
ユーザがこのコマンドを監視コンピュータ2に入力すると、監視コンピュータ2はこのコマンドをルータ1に送信し、ルータ1では、コマンドに[VR-ID],[VRF-name],[interface number]のいずれかが含まれていれば、通知要否設定部14が条件データベース12においてこのコマンドのdel alarm vrrp以外の部分に対し、通知が不要であることを示すフラグ(例えば、off)を対応づける。一方、コマンドにおいて[VR-ID],[VRF-name],[interface number]の全てが省略されていれば、通知要否設定部14が条件データベース12に、全ての状態遷移に対して通知が不要であることを記憶させる。
When the user inputs this command to the
また、ユーザが監視コンピュータ2に
dsp alarm vrrp
というコマンドを入力すると、監視コンピュータ2はこのコマンドをルータ1に送信し、ルータ1は、条件データベース12に記憶された内容を監視コンピュータ2に送信し、これを基に監視コンピュータ2が、
VR-ID VRF-name interface number alarm
[VR-ID*1] [VRF-name*1] [interface number*1] on
[VR-ID*2] [VRF-name*2] off
という形式で表示を行う。
In addition, the user can set the
dsp alarm vrrp
The
VR-ID VRF-name interface number alarm
[VR-ID * 1] [VRF-name * 1] [interface number * 1] on
[VR-ID * 2] [VRF-name * 2] off
Display in the format.
[VR-ID*1] [VRF-name*1] [interface number*1] onは、[VR-ID*1] [VRF-name*1] [interface number*1] で示されるVR−IDと、VRF名と、インタフェース番号の組に対し、通知が必要であることを示している。 [VR-ID * 1] [VRF-name * 1] [interface number * 1] on is the VR-ID indicated by [VR-ID * 1] [VRF-name * 1] [interface number * 1] , Indicating that notification is required for a set of VRF name and interface number.
逆に、[VR-ID*2] [VRF-name*2] onは、[VR-ID*2] [VRF-name*2] で示されるVR−IDと、VRF名と、任意のインタフェース番号の組に対し、通知が不要であることを示している。 Conversely, [VR-ID * 2] [VRF-name * 2] on is the VR-ID indicated by [VR-ID * 2] [VRF-name * 2], the VRF name, and any interface number. It is shown that no notification is required for the group.
さて、ルータ1では、例えば、状態がイニシャライズの状態からマスターの状態に遷移したとき、データベース11には、現在の状態であるマスターの状態と、現在の状態に遷移する前の状態であるイニシャライズの状態と、VR−IDと、VRF名と、インタフェース番号と、プリエンプションの状態と、プライオリティと、仮想IPアドレスと、サスペンドの可否と、マスターの状態の通信機器のIPアドレスが記憶される。
In the router 1, for example, when the state transitions from the initialized state to the master state, the
なお、他の状態遷移のときにおいても、現在の状態と、現在の状態に遷移する前の状態と、VR−ID等が記憶される。 Note that the current state, the state before transitioning to the current state, the VR-ID, and the like are also stored in other state transitions.
いずれにしても、かかる内容がデータベース11に記憶されると、通知部13は、データベース11の当該部分と条件データベース12を参照し、条件データベース12で通知が必要と設定された内容がデータベース11の当該部分に記憶されているときに、データベース11に記憶された現在の状態を始めとする各内容を
[yyyy/mm/dd hh:mm:ss]
VRRP state changed from [A] to [B]
VR-ID [VR-ID*1]
VR-name [VR-name*1]
interface number [interface number*1]
Preemption [Preemption*1]
Priority [Priority*1]
Virtual IP [Virtual IP*1]
Suspend [Suspend*1]
Master IP [Master IP*1]
という形式で監視コンピュータ2に通知し、これを監視コンピュータ2が表示する。
In any case, when such contents are stored in the
[yyyy / mm / dd hh: mm: ss]
VRRP state changed from [A] to [B]
VR-ID [VR-ID * 1]
VR-name [VR-name * 1]
interface number [interface number * 1]
Preemption [Preemption * 1]
Priority [Priority * 1]
Virtual IP [Virtual IP * 1]
Suspend [Suspend * 1]
Master IP [Master IP * 1]
Is notified to the
この形式において、[yyyy/mm/dd hh:mm:ss]には、状態遷移の年月日と時分秒が格納され表示される。また、[A]には、現在の状態に遷移する前の状態が格納され表示される。 In this format, [yyyy / mm / dd hh: mm: ss] stores and displays the date, hour, minute and second of the state transition. [A] stores and displays the state before the transition to the current state.
また、[B]には、現在の状態が格納され表示される。例えば、VRRP state changed from B to Mは、バックアップ(B)の状態からマスター(M)の状態に遷移したことを示す。また、イニシャライズの状態は、(I)で示される。以下、[VR-ID*1] ,[VR-name*1], [interface number*1], [Preemption*1], [Priority*1], [Virtual IP*1], [Suspend*1], [Master IP*1]には、VR−IDと、VRF名と、インタフェース番号と、プリエンプションの状態と、プライオリティと、仮想IPアドレスと、サスペンドの可否と、マスターの状態のルータのIPアドレスが格納され表示される。 [B] stores and displays the current state. For example, VRRP state changed from B to M indicates a transition from the backup (B) state to the master (M) state. The initialization state is indicated by (I). [VR-ID * 1], [VR-name * 1], [interface number * 1], [Preemption * 1], [Priority * 1], [Virtual IP * 1], [Suspend * 1], [Master IP * 1] stores VR-ID, VRF name, interface number, preemption status, priority, virtual IP address, suspendability, and IP address of the router in the master status. And displayed.
なお、実際には、プリエンプションが有効な場合にのみ、[Preemption*1]として例えば、on と表示され、プリエンプションが無効な場合には、[Preemption*1]は表示されず、また、サスペンドが可能(有効)な場合にのみ、[Suspend*1]として例えば、on と表示され、サスペンドが不可能(無効)な場合には、[Suspend*1]は表示されないようになっているが、無効な場合には、off と明示しても勿論よい。 Actually, only when preemption is enabled, [Preemption * 1] is displayed as, for example, on, and when preemption is disabled, [Preemption * 1] is not displayed and can be suspended. [Suspend * 1] is displayed only as (Suspend * 1) only when it is (valid), and [Suspend * 1] is not displayed when suspending is impossible (invalid). Of course, it may be clearly indicated as off.
また、上記説明では、条件データベース12で、VR−IDと、VRF名と、インタフェース番号の組に対し、通知の要否が対応づけ、各内容は省略可能としたが、他の内容、例えば、プリエンプションの状態に対して、通知の要否を対応づけ、これにより、例えば、プリエンプションが有効な場合にだけ、通知がなされるようにしてもよい。
In the above description, in the
また、上記説明では、ルータを通信装置の例としたが、本発明を他の通信装置に適用しても勿論よい。 In the above description, the router is an example of a communication device. However, the present invention may be applied to other communication devices.
また、上記説明では、通知先を監視コンピュータ2としたが、通知先は、ルータ1に設けられた表示部や仮想端末(telnet)でもよい。また、管理通信プロトコルSNMPのトラップメッセージ(IETF RFC1215)などの、標準の管理通信プロトコルを用いてオペレーションシステムを通知先としてもよい。
In the above description, the notification destination is the
また、上記説明では、状態遷移したルータ1自らが通知を行ったが、監視コンピュータ2に求めに応じて、通知を行ってもよい。
Further, in the above description, the router 1 that has made a state transition notifies itself, but the notification may be made to the
以上説明したように、本実施の形態によれば、データベースに記憶された現在の状態をその内容に関わらず少なくとも通知する通知手段を備えたことで、ユーザは現在の状態がバックアップの状態である通信装置やイニシャライズの状態である通信装置を知ることができる。 As described above, according to the present embodiment, by providing at least notification means for notifying the current state stored in the database regardless of the contents, the user is in a backup state. It is possible to know the communication device and the communication device in the initialized state.
また、通知手段は、状態が遷移したときに、データベースに記憶された、現在の状態に遷移する前の状態と、VR−IDと、VRF名と、インタフェース番号と、プリエンプションの状態と、プライオリティと、仮想IPアドレスと、サスペンドの可否と、マスターの状態の通信機器のIPアドレスを通知することで、ユーザがこれら内容を取捨選択することができ、保守性が向上する。 Further, the notification means stores the state before transition to the current state, VR-ID, VRF name, interface number, preemption state, priority stored in the database when the state transitions. By notifying the virtual IP address, the suspendability, and the IP address of the communication device in the master state, the user can select these contents and the maintainability is improved.
また、VRRPプロトコルを用い、イニシャライズの状態とマスターの状態とバックアップの状態の間で状態を遷移させる通信装置に設けられ、現在の状態と、現在の状態に遷移する前の状態と、VR−IDと、VRF名と、インタフェース番号と、プリエンプションの状態と、プライオリティと、仮想IPアドレスと、サスペンドの可否と、マスターの状態の通信機器のIPアドレスとが記憶されるデータベースと、当該各内容のいずれか1つ以上に対し通知の要否が予め設定される条件データベースと、状態が遷移したときに、データベースと条件データベースを参照し、条件データベースで通知が必要と設定された内容がデータベースに記憶されているときに、データベースに記憶された現在の状態をその内容に関わらず少なくとも通知する通知手段とを備えたことで、ユーザは現在の状態がバックアップの状態である通信装置やイニシャライズの状態である通信装置を知ることができる。 In addition, the VRRP protocol is provided in a communication device that changes the state between the initialization state, the master state, and the backup state, and the VR-ID is the current state, the state before the transition to the current state, and the VR-ID. A database storing VRF name, interface number, preemption status, priority, virtual IP address, suspendability, and IP address of the communication device in the master state, and any of the contents A condition database in which the necessity of notification is set in advance for one or more, and when the state transitions, the database and the condition database are referred to, and the contents set to be notified in the condition database are stored in the database. At least the current state stored in the database, regardless of its contents. Notifying means and by having a to the user can be the current state know communication device is a state of the communication device and initializing a state of the backup.
また、通知の要否が設定される内容の中にインタフェース番号が含まれることで、ユーザはインタフェース毎に状態を知ることができる。 Further, since the interface number is included in the contents in which the necessity of notification is set, the user can know the state for each interface.
また、ユーザからコンピュータに入力された指示の内容に応じた通知の要否を条件データベースに設定する通知要否設定手段を備えたことで、ユーザが所望する通知のみが受けられるため、保守性がさらに向上する。 In addition, by providing notification necessity setting means for setting the necessity of notification according to the contents of the instruction input from the user to the computer in the condition database, only notification desired by the user can be received. Further improve.
なお、上記説明した処理をルータや監視コンピュータに実行させるコンピュータプログラムは、半導体メモリ、磁気ディスク、光ディスク、光磁気ディスク、磁気テープなどのコンピュータ読み取り可能な記録媒体に格納したり、インターネットなどの通信網を介して伝送させて、広く流通させることができる。 A computer program that causes the router or monitoring computer to execute the above-described processing is stored in a computer-readable recording medium such as a semiconductor memory, magnetic disk, optical disk, magneto-optical disk, or magnetic tape, or a communication network such as the Internet. And can be widely distributed.
1 ルータ
2 監視コンピュータ
11 データベース
12 条件データベース
13 通知部
14 通知要否設定部
1
Claims (7)
状態が遷移したときに、前記データベースに記憶された現在の状態をその内容に関わらず少なくとも通知する通知手段と
を備えることを特徴とする通信装置。 The VRRP protocol is used in a communication device that changes the state between the initialization state, the master state, and the backup state. The current state, the state before the transition to the current state, the VR-ID, A database storing a VRF name, an interface number, a preemption state, a priority, a virtual IP address, suspendability, and an IP address of a communication device in a master state;
A communication device comprising: notification means for notifying at least the current state stored in the database regardless of the contents when the state transitions.
ことを特徴とする請求項1記載の通信装置。 The notification means stores a state before transition to the current state, a VR-ID, a VRF name, an interface number, a preemption state, and a priority stored in the database when the state transitions. The communication apparatus according to claim 1, wherein the virtual IP address, the suspendability, and the IP address of the communication device in the master state are notified.
当該各内容のいずれか1つ以上に対し通知の要否が予め設定される条件データベースと、
状態が遷移したときに、前記データベースと前記条件データベースを参照し、前記条件データベースで通知が必要と設定された内容が前記データベースに記憶されているときに、前記データベースに記憶された現在の状態をその内容に関わらず少なくとも通知する通知手段と
を備えることを特徴とする通信装置。 The VRRP protocol is used in a communication device that changes the state between the initialization state, the master state, and the backup state. The current state, the state before the transition to the current state, the VR-ID, A database storing a VRF name, an interface number, a preemption state, a priority, a virtual IP address, suspendability, and an IP address of a communication device in a master state;
A condition database in which the necessity of notification is preset for any one or more of the contents;
When the state transitions, the database and the condition database are referred to, and when the contents set to be notified in the condition database are stored in the database, the current state stored in the database is displayed. A communication device comprising: at least a notification means for notifying regardless of the contents.
ことを特徴とする請求項3記載の通信装置。 The communication apparatus according to claim 3, wherein an interface number is included in contents in which the necessity of notification is set.
を備えることを特徴とする請求項3または4記載の通信装置。 5. The communication apparatus according to claim 3, further comprising notification necessity setting means for setting, in the condition database, necessity of notification according to contents of an instruction input from a user to a computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005128337A JP2006310976A (en) | 2005-04-26 | 2005-04-26 | Communication apparatus and computer program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005128337A JP2006310976A (en) | 2005-04-26 | 2005-04-26 | Communication apparatus and computer program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006310976A true JP2006310976A (en) | 2006-11-09 |
Family
ID=37477380
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005128337A Pending JP2006310976A (en) | 2005-04-26 | 2005-04-26 | Communication apparatus and computer program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006310976A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8811154B2 (en) | 2009-01-20 | 2014-08-19 | Nec Corporation | Packet forwarding system, packet forwarding device, proxy device, computer readable medium storing program, and control method of packet forwarding device |
CN105591901A (en) * | 2015-07-30 | 2016-05-18 | 杭州华三通信技术有限公司 | Method and device for running VRRP under multiple subinterface |
CN106354254A (en) * | 2016-08-24 | 2017-01-25 | 北京小米移动软件有限公司 | Immersive interaction method of intelligent router and device thereof |
-
2005
- 2005-04-26 JP JP2005128337A patent/JP2006310976A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8811154B2 (en) | 2009-01-20 | 2014-08-19 | Nec Corporation | Packet forwarding system, packet forwarding device, proxy device, computer readable medium storing program, and control method of packet forwarding device |
CN105591901A (en) * | 2015-07-30 | 2016-05-18 | 杭州华三通信技术有限公司 | Method and device for running VRRP under multiple subinterface |
CN105591901B (en) * | 2015-07-30 | 2019-02-19 | 新华三技术有限公司 | The method and device of VRRP is run under a kind of more sub-interfaces |
CN106354254A (en) * | 2016-08-24 | 2017-01-25 | 北京小米移动软件有限公司 | Immersive interaction method of intelligent router and device thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11057243B2 (en) | Aliasing behavior for traffic to multihomed sites in ethernet virtual private network (EVPN) networks | |
US11743097B2 (en) | Method and system for sharing state between network elements | |
US10594592B1 (en) | Controlling advertisements, such as Border Gateway Protocol (“BGP”) updates, of multiple paths for a given address prefix | |
US9264348B2 (en) | Avoiding data traffic loss in an ethernet ring multihomed, in an active-standby manner, to a virtual private LAN service transport network | |
JP4231773B2 (en) | VRRP technology that maintains the confidentiality of VR | |
JP2022509644A (en) | Logical router with decomposed network elements | |
JP2009538083A (en) | MAC address learning in distributed bridge | |
JP5460746B2 (en) | Intrusion detection for virtual layer 2 services | |
US10447652B2 (en) | High availability bridging between layer 2 networks | |
JP5429697B2 (en) | Communication network management system, method, and management computer | |
US20110213893A1 (en) | Methods, systems, and computer program products for detecting an idle tcp connection | |
JP2006310976A (en) | Communication apparatus and computer program | |
US10454823B1 (en) | Packet processing in a routing instance that is distributed across at least two different routing stacks | |
US10419336B2 (en) | Using disaggregated route information bases (“RIBS”) to increase the resiliency of protocols such as the border gateway protocol (“BGP”) | |
US10887282B1 (en) | Determining synchronization of filter rules (e.g., on iptable filter tables on Linux kernal) across firewall filter application restarts | |
JP5157685B2 (en) | COMMUNICATION SYSTEM, NETWORK DEVICE, COMMUNICATION RECOVERY METHOD USED FOR THEM, AND PROGRAM THEREOF | |
US11522749B2 (en) | Detecting communication pathways affected by session flaps | |
JP2009075710A (en) | Redundant system | |
US11070468B1 (en) | Serverless segment routing (SR)-label distribution protocol (LDP) stitching | |
US10855519B2 (en) | MAC-sync based mechanism for bridge port failover | |
JP2017055324A (en) | Repeating apparatus | |
JP4946824B2 (en) | Monitoring device | |
JP2009165028A (en) | Network monitoring apparatus, network monitoring system, network monitoring method, and network monitoring program | |
JP2017022579A (en) | Communication system, communication node and substitution processing method for communication system | |
JP2005354424A (en) | Vpls apparatus, managing apparatus, and vpls system |