JP3812668B2 - Link-up method and link-up system for each port of switching hub - Google Patents

Link-up method and link-up system for each port of switching hub Download PDF

Info

Publication number
JP3812668B2
JP3812668B2 JP2003094236A JP2003094236A JP3812668B2 JP 3812668 B2 JP3812668 B2 JP 3812668B2 JP 2003094236 A JP2003094236 A JP 2003094236A JP 2003094236 A JP2003094236 A JP 2003094236A JP 3812668 B2 JP3812668 B2 JP 3812668B2
Authority
JP
Japan
Prior art keywords
port
link
switching hub
mode
command
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
JP2003094236A
Other languages
Japanese (ja)
Other versions
JP2004304470A (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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2003094236A priority Critical patent/JP3812668B2/en
Publication of JP2004304470A publication Critical patent/JP2004304470A/en
Application granted granted Critical
Publication of JP3812668B2 publication Critical patent/JP3812668B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、スイッチングハブの各ポートに対するリンクアップ方法及びリンクアップシステムに関する。
【0002】
【従来の技術】
イーサネットにおける回線の冗長手段としては、スイッチングハブ間の経路を二重化するスパニングツリープロトコル(IEEE802.1D)や、IPルータを二重化するVRRP(Virtual Router Redundancy Protocol;RFC2338)などがある。
【0003】
これらのプロトコルでは、スイッチングハブ間で定期的にパケットを送信しあい、そのパケットが相手から届くことを確認することにより通信経路の正常性を確認している。パケットが相手スイッチングハブから届かなくなった場合には、スイッチングハブは通信経路に障害が発生したと判断し冗長回線に切り替わる機能を有している。
【0004】
現在のイーサネットでは、10BASE−5や10BASE−2といったバス型接続のネットワークはほとんど使われなくなっており、10BASE−T,100BASE−TX、1000BASE−SXなど、スイッチングハブ間やスイッチングハブと端末間を1対1で接続する形式が一般的となっている。
【0005】
スイッチングハブは常に接続先のスイッチングハブから送られてくるリンクを検出しているが、回線障害が発生した場合、スパニングツリーやVRRPのパケットが届かなくなるだけではなく、リンクもダウンしてしまうのが大半である。
【0006】
このような回線障害の場合は、スイッチングハブ間でパケットが届かなくなり、上で述べた、スパニングツリーや、VRRPにより通信経路の切り替わりが発生し、数秒ないし数十秒で端末間の通信は復旧していた。
【0007】
また、障害となった回線が復旧すると、スイッチングハブ間でパケットが届くようになるため、スパニングツリーや、VRRPにより、元の回線を使用するようになっている。
【0008】
通信経路の障害により回線が完全に切断された場合はこの方法で問題なかった。
【0009】
また、従来の技術として、所定のポートのリンク状態の変化を検出するリンク変更検出手段を有し、エージングされる時間が経過する以前に迅速にリンク状態の変更に対応してアドレステーブルの登録アドレスの更新処理が行えるようにする、ポートのアドレスを管理するスイッチングハブ及び登録アドレスの更新処理方法がある(例えば、特許文献1参照。)。
【0010】
また、従来の技術として、少なくとも伝送装置に対して制御を行う制御端末用のポートを有する複数の伝送装置により構成されるネットワークにおいて、一の伝送装置のポートで、ケーブル抜けを検出した場合、ポートを経由して自伝送装置又は、他伝送装置に対してログインを行っている状態の解除を行う、高度なセキュリティシステムを有する伝送装置がある(例えば、特許文献2参照。)。
【0011】
【特許文献1】
特開2001−101630号公報
【特許文献2】
特開平11−259423号公報
【0012】
【発明が解決しようとする課題】
しかし、上述の従来技術には、次のような問題点があった。
【0013】
回線の品質が不安定となるような障害が発生した場合、スイッチングハブ間のリンクがアップ、ダウンを繰り返し、通信ができたりできなかったりする場合がある。
【0014】
スイッチングハブ間の通信ができなくなると、スパニングツリーや、VRRPにより、通信経路の切り替わりが発生するが、スイッチングハブ間の通信ができるようになると元の経路を使用するようになる。
【0015】
しかし、このように回線が不安定となるような障害の場合、スイッチングハブ間の通信ができるようになったからといって、障害が復旧したわけではないため、すぐにまた通信ができなくなる場合がある。再度通信ができなくなると、そのたびに経路の切り替わりが発生する。経路の切り替わり中は端末間の通信はできないため、このような回線障害になるといつまでたっても端末間の通信が復旧しないという問題があった。
【0016】
これは特に1000BASE−SXなどの光ファイバを用いた通信において、光ファイバに問題がある場合に多く見られる現象である。
【0017】
上述の従来の技術の問題点に鑑み、本発明の目的は、回線障害により1度でもポートのリンクがダウンした場合は、オペレータの介入があるまでポートを使用しないようにする事で、経路の切り替わりが頻発するのを防ぐ事を可能とする、スイッチングハブの各ポートに対するリンクアップ方法及びリンクアップシステムを提供することにある。
【0018】
【課題を解決するための手段】
本発明のスイッチングハブの各ポートに対するリンクアップ方法は、
リンクアップモードとして自動モードと手動モードのいずれかをコマンドにより設定可能である、スイッチングハブの各ポートに対するリンクアップ方法であって、自動モードは、スイッチングハブのポートにケーブルが接続され相手装置とリンクが確立したらポートがリンクアップし、ケーブルが抜けた場合はリンクダウンするが、再度ケーブルが接続されれば、またリンクアップし、手動モードは、スイッチングハブのポートにケーブルが接続されても、リンクアップ許可コマンドが入力されるまでは、ポートはリンクアップしない。
【0019】
また、ポート毎のリンクアップモードを設定するテーブルを用意し、設定は、RS−232Cポートを介して、管理用端末から設定変更が可能であってもよい。
【0020】
また、プログラムによりスイッチングハブの動作を制御するCPUと、コマンド入力のためのRS−232Cポートと、スイッチ部と、複数のポートとから構成され、CPUは、プログラムにより、ポートの使用可、不可をポート毎に制御し、RS−232Cポートは、スイッチングハブを管理するための管理用端末を接続することにより、コマンドを入力しスイッチングハブの動作を制御可能とする、スイッチングハブの各ポートに対する上述のリンクアップ方法であって、CPUで動作するプログラムにより、ポートのリンクアップモードを確認する段階と、リンクアップモードが手動モードの場合は、CPUはポートを使用不可に設定する段階と、ポートが使用不可である状態は、管理用端末からポートの使用を許可するリンクアップ許可コマンドが入力されるまで続く段階と、管理用端末からポートの使用を許可するリンクアップ許可コマンドが入力されたら、CPUはポートを使用可に設定する段階と、リンクアップが検出されるのを待つ段階と、リンクアップが検出されたら、通信を開始する段階と、通信中はリンクダウンを監視する段階と、通信中にリンクダウンが発生した場合は、通信を終了し、最初に戻る段階とを有してもよい。
【0021】
本発明のスイッチングハブの各ポートに対するリンクアップシステムは、
リンクアップモードとして自動モードと手動モードのいずれかをコマンドにより設定可能である、スイッチングハブの各ポートに対するリンクアップシステムであって、自動モードは、スイッチングハブのポートにケーブルが接続され相手装置とリンクが確立したらポートがリンクアップし、ケーブルが抜けた場合はリンクダウンするが、再度ケーブルが接続されれば、またリンクアップし、手動モードは、スイッチングハブのポートにケーブルが接続されても、リンクアップ許可コマンドが入力されるまでは、ポートはリンクアップしない。
【0022】
また、ポート毎のリンクアップモードを設定するテーブルを用意し、設定は、RS−232Cポートを介して、管理用端末から設定変更が可能であってもよい。
【0023】
また、プログラムによりスイッチングハブの動作を制御するCPUと、コマンド入力のためのRS−232Cポートと、スイッチ部と、複数のポートとから構成され、CPUは、プログラムにより、ポートの使用可、不可をポート毎に制御し、RS−232Cポートは、スイッチングハブを管理するための管理用端末を接続することにより、コマンドを入力しスイッチングハブの動作を制御可能とする、スイッチングハブの各ポートに対する上述のリンクアップシステムであって、CPUで動作するプログラムにより、ポートのリンクアップモードを確認する段階と、リンクアップモードが手動モードの場合は、CPUはポートを使用不可に設定する段階と、ポートが使用不可である状態は、管理用端末からポートの使用を許可するリンクアップ許可コマンドが入力されるまで続く段階と、管理用端末からポートの使用を許可するリンクアップ許可コマンドが入力されたら、CPUはポートを使用可に設定する段階と、リンクアップが検出されるのを待つ段階と、リンクアップが検出されたら、通信を開始する段階と、通信中はリンクダウンを監視する段階と、通信中にリンクダウンが発生した場合は、通信を終了し、最初に戻る段階とを有してもよい。
【0024】
本発明は、スイッチングハブの使用中のポートにおいて、オペレータの意図しないリンクダウンが発生した場合、その後、オペレータの介入無しには再度リンクアップしない機能を設けたことを特徴としている。即ち、ポートが1度でもリンクダウンしたら、オペレータの介入無しにはそのポートが使えないようにすることを可能とし、品質が悪い回線を使用しないようにできる。
【0025】
本発明によるスイッチングハブは、スイッチングハブの各ポートに対しリンクアップ方法として、自動モードと手動モードのいずれかをコマンドにより設定可能としている。
【0026】
自動モードは、スイッチングハブのポートにケーブルが接続され相手装置とリンクが確立したらポートがリンクアップする。ケーブルが抜けた場合はリンクダウンするが、再度ケーブルが接続されれば、またリンクアップする。これは、従来のスイッチングハブと同様の動作である。
【0027】
一方、手動モードでは、スイッチングハブのポートにケーブルが接続されても、オペレータがリンクアップ許可コマンドを入力するまでは、そのポートはリンクアップしないようにした。
【0028】
本発明は、回線障害により1度でもポートのリンクがダウンした場合は、オペレータの介入があるまでポートを使用しないようにする事で、経路の切り替わりが頻発するのを防ぐ事を可能としている。
【0029】
但し、スイッチングハブの全てのポートにこの機能を追加してしまうと、端末など、電源をOFFにする事がある装置が接続できなくなってしまうため、この機能をポート毎に設定可能とし、冗長回線をもつポートにのみ、本機能を有効にする事を可能としている。
【0030】
本発明は、スイッチングハブのポートに接続された端末を、第三者により別の端末に繋ぎかえられてしまう事を防ぐ事を可能としている。
【0031】
【発明の実施の形態】
図1を参照すると、本発明の実施の形態によるリンク検出方法を備えたスイッチングハブ100は、プログラムによりスイッチングハブの動作を制御するCPU110と、コマンド入力のためのRS−232Cポート120と、スイッチ部130と、インタフェースポート141〜14nから構成されている。
【0032】
CPU110は、プログラムにより、スイッチングハブの動作を制御することの他に、ポート141〜14nの使用可、不可をポート毎に制御する事を可能としている。
【0033】
RS−232Cポート120は、スイッチングハブを管理するための管理用端末200を接続することにより、コマンドを入力しスイッチングハブ100の動作を制御可能としている。
【0034】
次に、図1、図2、図3を参照して本発明の実施の形態の全体の動作について詳細に説明する。
【0035】
まず、ポート毎のリンクアップモードを設定するテーブルを用意する。これは図2に示すように、1ポートあたり1ビットのテーブルを用意すればよい。このテーブルの値が0なら自動、1なら手動と決めておく。これらの値は最初、0、すなわち自動に設定されており、この設定は、RS−232Cポート120を介して、管理用端末200から設定変更が可能である。
【0036】
次に、ポート2を手動モードに設定した場合について図3のフローチャートを用いて説明する。
【0037】
CPU110で動作するプログラムにより、ポート142のモードを確認する(S1)。モードが手動モードの場合は、CPU110はポート142を使用不可に設定する(S2)。
【0038】
一般的にイーサネットのポートにはMIIという共通したレジスタがあり、そのレジスタの特定のビットに値を書き込む事により、使用不可に設定する事が可能である。
【0039】
ポート142が使用不可である状態は、管理用端末200からポート142の使用を許可するリンクアップ許可コマンドが入力されるまで続く(S3)。
【0040】
管理用端末200からポート142の使用を許可するリンクアップ許可コマンドが入力されたら(S4)、CPU110はポート142を使用可に設定する(S5)。
【0041】
その後は、リンクアップを検出するのを待ち(S6)、リンクアップが検出されたら(S7)、通信を開始する(S8)。通信中はリンクダウンを監視し(S9)、通信中にリンクダウンが発生した場合は(S10)、通信を終了し(S11)、最初に戻る。
【0042】
以上により、ポートを手動モードに設定した場合には、オペレータの介入無しには再度リンクアップしないことを可能にする。
【0043】
【発明の効果】
以上説明したように、本発明には以下の効果がある。
【0044】
第1の効果は、回線障害でスイッチングハブのポートがリンクダウンし冗長回線(迂回路)に切り替わった後、障害が発生した回線が一時的に復旧してもその回線を使用しないため、経路の切り替わりが頻発するのを防ぐ事が可能となる。
【0045】
その理由は、一度リンクダウンしたポートはオペレータの介入なしには、リンクアップしないようにしたためである。回線に障害が発生したのち、障害が復旧しても、オペレータが障害の原因を取り除き、元の回線を使用するようコマンドを入力するまでは、障害があった回線を使用しない。
【0046】
第2の効果は、回線の瞬断などによりごく短時間の回線障害が発生した場合でも、その回線を使用しなくなるため、障害が再発する可能性のある回線を使用しないようにする事ができるという点である。
【0047】
その理由は、一度でもリンクダウンしたポートは、リンクダウンした時間に関わらず、オペレータの介入なしには、リンクアップしないようにしたためである。
【0048】
第3の効果は、スイッチングハブに接続されたポートを第三者により無断で使用される事を防ぐ事ができるという点である。
【0049】
従来のスイッチングハブにおいても、ポートを使用不可に設定する事は可能であったが、使用中のポートのケーブルを外して、第三者により新たな端末を接続され、ポートを無断で使用される事は防げなかった。本発明により、使用中のポートに別の端末を接続しても、そのポートを使用できないようにする事を可能としている。
【0050】
第4の効果は、スイッチングハブ間に、第三者により新たなハブを接続されて回線上を流れるパケットを傍受される事を防ぐ事ができるという点である。
【0051】
スイッチングハブ間に新たなハブを接続するためには、スイッチングハブ間を接続するケーブルを一旦外す必要があるが、一度外したポートは、オペレータの介入無しには使用できないようにしたためである。
【図面の簡単な説明】
【図1】本発明の実施の形態によるリンク検出方法を備えたスイッチングハブの構成を示す図である。
【図2】ポート毎のリンクアップモードを設定するテーブルを示す図である。
【図3】ポートを手動モードに設定した場合のフローチャートを示す図である。
【符号の説明】
100 スイッチングハブ
110 CPU
120 RS−232Cポート
130 スイッチ部
141〜14n インタフェースポート
200 管理用端末
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a link-up method and a link-up system for each port of a switching hub.
[0002]
[Prior art]
As a redundant means of a line in Ethernet, there are a spanning tree protocol (IEEE802.1D) that duplicates a path between switching hubs, a VRRP (Virtual Router Redundancy Protocol) that duplicates an IP router, and the like.
[0003]
In these protocols, packets are periodically transmitted between switching hubs, and the normality of the communication path is confirmed by confirming that the packets arrive from the other party. When the packet does not reach the partner switching hub, the switching hub has a function of determining that a failure has occurred in the communication path and switching to a redundant line.
[0004]
In the current Ethernet, bus-type connection networks such as 10BASE-5 and 10BASE-2 are almost not used, and there is no connection between switching hubs or between switching hubs and terminals such as 10BASE-T, 100BASE-TX, 1000BASE-SX. One-to-one connection is common.
[0005]
The switching hub always detects the link sent from the connected switching hub, but if a line failure occurs, not only will the spanning tree and VRRP packets not reach, but the link will also go down. The majority.
[0006]
In the case of such a line failure, packets will not reach between switching hubs, switching of communication paths will occur due to the spanning tree or VRRP described above, and communication between terminals will be restored within a few seconds to several tens of seconds. It was.
[0007]
In addition, when the faulty line is restored, the packets reach between the switching hubs, so the original line is used by spanning tree or VRRP.
[0008]
There was no problem with this method when the line was completely disconnected due to a communication path failure.
[0009]
In addition, as a conventional technique, there is a link change detecting means for detecting a change in the link state of a predetermined port, and a registered address in the address table corresponding to the link state change quickly before the aging time elapses. There are a switching hub for managing port addresses and a registered address update processing method (see, for example, Patent Document 1).
[0010]
Further, as a conventional technique, when a cable disconnection is detected at a port of one transmission device in a network composed of a plurality of transmission devices having at least a port for a control terminal that controls the transmission device, the port is There is a transmission apparatus having an advanced security system that cancels the state of logging in to the own transmission apparatus or another transmission apparatus via the network (for example, see Patent Document 2).
[0011]
[Patent Document 1]
JP 2001-101630 A [Patent Document 2]
JP-A-11-259423 [0012]
[Problems to be solved by the invention]
However, the above-described prior art has the following problems.
[0013]
When a failure that causes the line quality to become unstable occurs, the link between the switching hubs may repeatedly go up and down, and communication may or may not be possible.
[0014]
When communication between switching hubs becomes impossible, switching of communication paths occurs due to spanning tree or VRRP, but when communication between switching hubs becomes possible, the original path is used.
[0015]
However, in the case of a failure that makes the line unstable like this, just because communication between switching hubs has become possible, the failure has not been recovered, and communication may soon be lost. is there. When communication becomes impossible again, a path change occurs each time. Since communication between terminals is not possible while the route is switched, there has been a problem that communication between terminals will not be restored indefinitely when such a line failure occurs.
[0016]
This is a phenomenon often seen when there is a problem with an optical fiber, especially in communication using an optical fiber such as 1000BASE-SX.
[0017]
In view of the above-mentioned problems of the prior art, the object of the present invention is to prevent a route from being used until there is an operator's intervention if the link of the port goes down even once due to a line failure. To provide a link-up method and a link-up system for each port of a switching hub, which can prevent frequent switching.
[0018]
[Means for Solving the Problems]
The link-up method for each port of the switching hub of the present invention is as follows:
Link-up mode is a link-up method for each port of the switching hub that can be set by a command as either automatic mode or manual mode. In the automatic mode, a cable is connected to the port of the switching hub and a link is established with the partner device. After the connection is established, the port will be linked up, and if the cable is disconnected, the link will be down.However, if the cable is connected again, the link will be up again. The port will not link up until the up permission command is entered.
[0019]
In addition, a table for setting the link-up mode for each port may be prepared, and the setting may be changed from the management terminal via the RS-232C port.
[0020]
In addition, it consists of a CPU that controls the operation of the switching hub by a program, an RS-232C port for command input, a switch unit, and a plurality of ports. The CPU determines whether the port can be used or not by the program. For each port of the switching hub, the RS-232C port controls the operation of the switching hub by inputting a command by connecting a management terminal for managing the switching hub. A link-up method in which the port link-up mode is confirmed by a program running on the CPU, and when the link-up mode is the manual mode, the CPU sets the port to be unusable, and the port is used. The link-up that allows the port to be used from the management terminal The stage that continues until the enable command is input, and when the link-up permission command that permits the use of the port is input from the management terminal, the CPU sets the port to be enabled and the link-up is detected. A step of waiting, a step of starting communication when link up is detected, a step of monitoring link down during communication, a step of ending communication and returning to the beginning when link down occurs during communication, and You may have.
[0021]
The link-up system for each port of the switching hub of the present invention is:
A link-up system for each port of the switching hub, which can be set as a link-up mode by either an automatic mode or a manual mode by a command, and the automatic mode is a link to a partner device when a cable is connected to the port of the switching hub. After the connection is established, the port will be linked up, and if the cable is disconnected, the link will be down.However, if the cable is connected again, the link will be up again. The port will not link up until the up permission command is entered.
[0022]
In addition, a table for setting the link-up mode for each port may be prepared, and the setting may be changed from the management terminal via the RS-232C port.
[0023]
In addition, it consists of a CPU that controls the operation of the switching hub by a program, an RS-232C port for command input, a switch unit, and a plurality of ports. The CPU determines whether the port can be used or not by the program. For each port of the switching hub, the RS-232C port controls the operation of the switching hub by inputting a command by connecting a management terminal for managing the switching hub. A link-up system in which the port link-up mode is checked by a program running on the CPU, and when the link-up mode is the manual mode, the CPU sets the port to be unusable and the port is used. The state where it is not possible is a link address that permits the use of the port from the management terminal. The CPU continues to set the port, and if the link-up permission command for permitting the use of the port is input from the management terminal, the CPU sets the port to be usable, and the link-up is detected. Waiting for a link, when a link up is detected, starting a communication, monitoring a link down during communication, and terminating a communication and returning to the beginning if a link down occurs during the communication. You may have.
[0024]
The present invention is characterized in that when a link down unintended by an operator occurs at a port in use of the switching hub, a function is provided to prevent the link up again without intervention by the operator. That is, if a port is linked down even once, the port can be made unavailable without operator intervention, and a line with poor quality can be avoided.
[0025]
In the switching hub according to the present invention, either the automatic mode or the manual mode can be set by a command as a link-up method for each port of the switching hub.
[0026]
In the automatic mode, when a cable is connected to the port of the switching hub and a link is established with the partner device, the port is linked up. If the cable is disconnected, the link goes down, but if the cable is connected again, the link goes up again. This is the same operation as a conventional switching hub.
[0027]
On the other hand, in manual mode, even if a cable is connected to a port of the switching hub, the port is not linked up until the operator inputs a link up permission command.
[0028]
According to the present invention, when a link of a port is down even once due to a line failure, it is possible to prevent frequent switching of a route by not using the port until there is operator intervention.
[0029]
However, if this function is added to all the ports of the switching hub, devices such as terminals that can be turned off cannot be connected, so this function can be set for each port, and the redundant line This function can be enabled only for ports with.
[0030]
The present invention makes it possible to prevent a terminal connected to a port of a switching hub from being connected to another terminal by a third party.
[0031]
DETAILED DESCRIPTION OF THE INVENTION
Referring to FIG. 1, a switching hub 100 having a link detection method according to an embodiment of the present invention includes a CPU 110 that controls the operation of the switching hub by a program, an RS-232C port 120 for command input, and a switch unit. 130 and interface ports 141 to 14n.
[0032]
In addition to controlling the operation of the switching hub by the program, the CPU 110 can control whether the ports 141 to 14n can be used or not for each port.
[0033]
The RS-232C port 120 can control the operation of the switching hub 100 by inputting a command by connecting a management terminal 200 for managing the switching hub.
[0034]
Next, the overall operation of the embodiment of the present invention will be described in detail with reference to FIG. 1, FIG. 2, and FIG.
[0035]
First, a table for setting the link-up mode for each port is prepared. As shown in FIG. 2, a table of 1 bit per port may be prepared. If the value of this table is 0, it is determined to be automatic, and if it is 1, manual. These values are initially set to 0, that is, automatic, and this setting can be changed from the management terminal 200 via the RS-232C port 120.
[0036]
Next, the case where the port 2 is set to the manual mode will be described with reference to the flowchart of FIG.
[0037]
The mode of the port 142 is confirmed by a program operating on the CPU 110 (S1). If the mode is the manual mode, the CPU 110 disables the port 142 (S2).
[0038]
In general, an Ethernet port has a common register called MII, and can be disabled by writing a value in a specific bit of the register.
[0039]
The state in which the port 142 cannot be used continues until a link-up permission command permitting the use of the port 142 is input from the management terminal 200 (S3).
[0040]
When a link-up permission command permitting use of the port 142 is input from the management terminal 200 (S4), the CPU 110 sets the port 142 to be usable (S5).
[0041]
Thereafter, it waits for detection of link up (S6), and when link up is detected (S7), communication is started (S8). Link down is monitored during communication (S9). If link down occurs during communication (S10), communication is terminated (S11) and the process returns to the beginning.
[0042]
As described above, when the port is set to the manual mode, it is possible not to link up again without operator intervention.
[0043]
【The invention's effect】
As described above, the present invention has the following effects.
[0044]
The first effect is that after the switching hub port goes down due to a line failure and switches to a redundant line (detour), the line is not used even if the failed line is temporarily recovered. It is possible to prevent frequent switching.
[0045]
The reason is that a port that has been linked down is not linked up without operator intervention. After a failure occurs on a line, even if the failure is recovered, the failed line is not used until the operator removes the cause of the failure and enters a command to use the original line.
[0046]
The second effect is that even if a line failure occurs for a very short time due to an instantaneous disconnection of the line, the line is not used, so it is possible to avoid using a line that may cause a failure again. That is the point.
[0047]
This is because a port that has been linked down once is not linked up without operator intervention regardless of the time of link down.
[0048]
A third effect is that a port connected to the switching hub can be prevented from being used without permission by a third party.
[0049]
Even with the conventional switching hub, it was possible to disable the port, but the cable of the port in use was disconnected, a new terminal was connected by a third party, and the port was used without permission. I couldn't prevent it. According to the present invention, even if another terminal is connected to the port in use, the port can be made unusable.
[0050]
The fourth effect is that a new hub is connected by a third party between the switching hubs to prevent a packet flowing on the line from being intercepted.
[0051]
In order to connect a new hub between the switching hubs, it is necessary to once disconnect the cable connecting the switching hubs. However, the port once disconnected is made unusable without operator intervention.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration of a switching hub provided with a link detection method according to an embodiment of the present invention.
FIG. 2 is a diagram showing a table for setting a link-up mode for each port.
FIG. 3 is a diagram illustrating a flowchart when a port is set to a manual mode.
[Explanation of symbols]
100 switching hub 110 CPU
120 RS-232C port 130 Switch part 141-14n Interface port 200 Management terminal

Claims (6)

リンクアップモードとして自動モードと手動モードのいずれかをコマンドにより設定可能である、スイッチングハブの各ポートに対するリンクアップ方法であって、
前記自動モードは、前記スイッチングハブのポートにケーブルが接続され相手装置とリンクが確立したらポートがリンクアップし、ケーブルが抜けた場合はリンクダウンするが、再度ケーブルが接続されれば、またリンクアップし、
前記手動モードは、前記スイッチングハブのポートにケーブルが接続されても、リンクアップ許可コマンドが入力されるまでは、前記ポートはリンクアップしない、スイッチングハブの各ポートに対するリンクアップ方法。
A link-up method for each port of the switching hub, wherein either the automatic mode or the manual mode can be set by a command as the link-up mode,
In the automatic mode, when a cable is connected to the port of the switching hub and a link is established with the partner device, the port is linked up. When the cable is disconnected, the link is down, but when the cable is connected again, the link is up again. And
The manual mode is a link-up method for each port of the switching hub, in which, even if a cable is connected to the port of the switching hub, the port is not linked up until a link-up permission command is input.
ポート毎のリンクアップモードを設定するテーブルを用意し、該設定は、前記RS−232Cポートを介して、前記管理用端末から設定変更が可能である、スイッチングハブの各ポートに対する請求項1に記載のリンクアップ方法。The table for setting the link-up mode for each port is prepared, and the setting can be changed from the management terminal via the RS-232C port. Link up method. プログラムによりスイッチングハブの動作を制御するCPUと、コマンド入力のためのRS−232Cポートと、スイッチ部と、複数のポートとから構成され、
前記CPUは、プログラムにより、前記ポートの使用可、不可を前記ポート毎に制御し、
前記RS−232Cポートは、スイッチングハブを管理するための管理用端末を接続することにより、コマンドを入力しスイッチングハブの動作を制御可能とする、スイッチングハブの各ポートに対する請求項1または請求項2に記載のリンクアップ方法であって、
CPUで動作するプログラムにより、ポートのリンクアップモードを確認する段階と、
リンクアップモードが手動モードの場合は、前記CPUは前記ポートを使用不可に設定する段階と、
前記ポートが使用不可である状態は、管理用端末から前記ポートの使用を許可するリンクアップ許可コマンドが入力されるまで続く段階と、
前記管理用端末から前記ポートの使用を許可するリンクアップ許可コマンドが入力されたら、前記CPUは前記ポートを使用可に設定する段階と、
リンクアップが検出されるのを待つ段階と、
前記リンクアップが検出されたら、通信を開始する段階と、
通信中はリンクダウンを監視する段階と、
通信中に前記リンクダウンが発生した場合は、通信を終了し、最初に戻る段階とを有する、スイッチングハブの各ポートに対するリンクアップ方法。
Consists of a CPU that controls the operation of the switching hub by a program, an RS-232C port for command input, a switch unit, and a plurality of ports.
The CPU controls whether the port can be used or not for each port by a program,
3. The RS-232C port is connected to a management terminal for managing the switching hub, thereby inputting a command to control the operation of the switching hub. The link-up method described in
Checking the port link-up mode by a program running on the CPU;
When the link-up mode is the manual mode, the CPU sets the port to be unusable;
The state in which the port is unusable continues until a link-up permission command for permitting use of the port is input from a management terminal;
When a link-up permission command for permitting use of the port is input from the management terminal, the CPU sets the port to be usable;
Waiting for link up to be detected,
If the link up is detected, starting communication;
Monitoring the link down during communication,
A link-up method for each port of the switching hub, including a step of terminating communication and returning to the beginning when the link-down occurs during communication.
リンクアップモードとして自動モードと手動モードのいずれかをコマンドにより設定可能である、スイッチングハブの各ポートに対するリンクアップシステムであって、
前記自動モードは、前記スイッチングハブのポートにケーブルが接続され相手装置とリンクが確立したらポートがリンクアップし、ケーブルが抜けた場合はリンクダウンするが、再度ケーブルが接続されれば、またリンクアップし、
前記手動モードは、前記スイッチングハブのポートにケーブルが接続されても、リンクアップ許可コマンドが入力されるまでは、前記ポートはリンクアップしない、スイッチングハブの各ポートに対するリンクアップシステム。
A link-up system for each port of the switching hub, wherein either the automatic mode or the manual mode can be set by a command as the link-up mode,
In the automatic mode, when a cable is connected to the port of the switching hub and a link is established with the partner device, the port is linked up. When the cable is disconnected, the link is down, but when the cable is connected again, the link is up again. And
The manual mode is a link-up system for each port of the switching hub in which the port does not link up until a link-up permission command is input even if a cable is connected to the port of the switching hub.
ポート毎のリンクアップモードを設定するテーブルを用意し、該設定は、前記RS−232Cポートを介して、前記管理用端末から設定変更が可能である、スイッチングハブの各ポートに対する請求項4に記載のリンクアップシステム。5. A table for setting a link-up mode for each port is prepared, and the setting can be changed from the management terminal via the RS-232C port. Link-up system. プログラムによりスイッチングハブの動作を制御するCPUと、コマンド入力のためのRS−232Cポートと、スイッチ部と、複数のポートとから構成され、
前記CPUは、プログラムにより、前記ポートの使用可、不可を前記ポート毎に制御し、
前記RS−232Cポートは、スイッチングハブを管理するための管理用端末を接続することにより、コマンドを入力しスイッチングハブの動作を制御可能とする、スイッチングハブの各ポートに対する請求項4または請求項5に記載のリンクアップシステムであって、
CPUで動作するプログラムにより、ポートのリンクアップモードを確認する段階と、
リンクアップモードが手動モードの場合は、前記CPUは前記ポートを使用不可に設定する段階と、
前記ポートが使用不可である状態は、管理用端末から前記ポートの使用を許可するリンクアップ許可コマンドが入力されるまで続く段階と、
前記管理用端末から前記ポートの使用を許可するリンクアップ許可コマンドが入力されたら、前記CPUは前記ポートを使用可に設定する段階と、
リンクアップが検出されるのを待つ段階と、
前記リンクアップが検出されたら、通信を開始する段階と、
通信中はリンクダウンを監視する段階と、
通信中に前記リンクダウンが発生した場合は、通信を終了し、最初に戻る段階とを有する、スイッチングハブの各ポートに対するリンクアップシステム。
Consists of a CPU that controls the operation of the switching hub by a program, an RS-232C port for command input, a switch unit, and a plurality of ports.
The CPU controls whether the port can be used or not for each port by a program,
6. The RS-232C port is connected to a management terminal for managing the switching hub, so that a command can be input to control the operation of the switching hub. The link-up system described in
Checking the port link-up mode by a program running on the CPU;
When the link-up mode is the manual mode, the CPU sets the port to be unusable;
The state in which the port is unusable continues until a link-up permission command for permitting use of the port is input from a management terminal;
When a link-up permission command for permitting use of the port is input from the management terminal, the CPU sets the port to be usable;
Waiting for link up to be detected,
If the link up is detected, starting communication;
Monitoring the link down during communication,
A link-up system for each port of the switching hub, which includes a step of terminating communication and returning to the beginning when the link down occurs during communication.
JP2003094236A 2003-03-31 2003-03-31 Link-up method and link-up system for each port of switching hub Expired - Fee Related JP3812668B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003094236A JP3812668B2 (en) 2003-03-31 2003-03-31 Link-up method and link-up system for each port of switching hub

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003094236A JP3812668B2 (en) 2003-03-31 2003-03-31 Link-up method and link-up system for each port of switching hub

Publications (2)

Publication Number Publication Date
JP2004304470A JP2004304470A (en) 2004-10-28
JP3812668B2 true JP3812668B2 (en) 2006-08-23

Family

ID=33406839

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003094236A Expired - Fee Related JP3812668B2 (en) 2003-03-31 2003-03-31 Link-up method and link-up system for each port of switching hub

Country Status (1)

Country Link
JP (1) JP3812668B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5114300B2 (en) * 2008-06-06 2013-01-09 株式会社リコー Network system, network terminal device, and LAN switch
JP6407598B2 (en) * 2014-07-18 2018-10-17 セイコーソリューションズ株式会社 Relay device, relay method, and relay program

Also Published As

Publication number Publication date
JP2004304470A (en) 2004-10-28

Similar Documents

Publication Publication Date Title
US8027246B2 (en) Network system and node apparatus
JP5350461B2 (en) Enhanced traffic indication in connection failure management
US9794194B2 (en) Relay system and switching device
US8411690B2 (en) Preventing data traffic connectivity between endpoints of a network segment
US7924702B2 (en) Method for reconfiguring a communication network
CN103684716B (en) For carrying out the method and communication equipment of message transmission in industrial communication network
US6570881B1 (en) High-speed trunk cluster reliable load sharing system using temporary port down
US20130304805A1 (en) Network system and network relay apparatus
CN101060485B (en) Topology changed messages processing method and processing device
WO2006030623A1 (en) Method for switching network connecting device using redundant protocol and pseudo-redundant configuring means, and network system
WO2014026512A1 (en) Processing method for applying rapid spanning tree protocol to single ring network topology
US9590815B2 (en) Relay system and switching device
US20200244518A1 (en) Control device and method for controlling a redundant connection in a flat network
US8711681B2 (en) Switch redundancy in systems with dual-star backplanes
KR20080082830A (en) Flushing processing unit and method of switching device in network for using spanning tree protocol
JP2002009806A (en) Lan communication path control system and control method
CN112995002A (en) Switch ring network design method, switch and storage medium
JP3812668B2 (en) Link-up method and link-up system for each port of switching hub
Cisco Troubleshooting Transparent Bridging Environments
JP4839334B2 (en) Redundant protocol coexistence system and transfer device
JP3990196B2 (en) How to avoid communication interruption due to spanning tree reconfiguration
JP4866823B2 (en) Layer 2 switch device and layer 2 link state information transfer method
WO2015180277A1 (en) Pw dual-homing protection switching method and system
JP2002026956A (en) Automatic path selection system and its method
JP7346172B2 (en) communication equipment

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20050111

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20050111

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060131

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060501

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: 20060510

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060523

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100609

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100609

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110609

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110609

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120609

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120609

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130609

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees