JP2021048508A - Switching hub - Google Patents
Switching hub Download PDFInfo
- Publication number
- JP2021048508A JP2021048508A JP2019170270A JP2019170270A JP2021048508A JP 2021048508 A JP2021048508 A JP 2021048508A JP 2019170270 A JP2019170270 A JP 2019170270A JP 2019170270 A JP2019170270 A JP 2019170270A JP 2021048508 A JP2021048508 A JP 2021048508A
- Authority
- JP
- Japan
- Prior art keywords
- switching hub
- unit
- setting parameter
- holding unit
- switching
- 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
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
Abstract
Description
本願は、スイッチングハブに関するものである。 The present application relates to a switching hub.
従来、IP(Internet Protocol)を利用したネットワークシステムにおいては、ある1つのサブネットはスイッチングハブと呼ばれる複数のネットワーク装置が接続されて構築される。一般に、このスイッチングハブに対する設定作業はコマンドラインインタフェースを介して行われ、設定内容はスイッチングハブ内にテキスト形式のファイル(以降、設定ファイルと表記)として保管される。ここで、この設定内容とは、例えばスイッチングハブに付与する管理用IPアドレスなどの保守用パラメータ、および、VLAN(Virtual Local Area Network)などのプロトコルの動作パラメータである。 Conventionally, in a network system using IP (Internet Protocol), one subnet is constructed by connecting a plurality of network devices called switching hubs. Generally, the setting work for this switching hub is performed via the command line interface, and the setting contents are stored in the switching hub as a text format file (hereinafter referred to as a setting file). Here, the setting contents are, for example, maintenance parameters such as a management IP address assigned to a switching hub, and operating parameters of a protocol such as a VLAN (Virtual Local Area Network).
このようなネットワークシステムにおいてスイッチングハブが故障した場合を考える。この時、ユーザは故障したスイッチングハブをネットワークシステムから取り除き、代わりに新しいスイッチングハブをネットワークシステムに参加させる交換作業を行う。ここで、ユーザはネットワークシステムを正しく動作させるため、故障したスイッチングハブと同等の設定を新しいスイッチングハブに対して実施する必要がある。この設定作業は前述の通りコマンドラインインタフェースを介して行う必要があり、ネットワークシステムに設置した後に、ユーザが複雑なコマンドを理解したうえで、実施する必要があることからユーザにとって負担となっており、結果、ネットワークシステムの運用コストが増大する問題があった。 Consider the case where a switching hub fails in such a network system. At this time, the user removes the failed switching hub from the network system and replaces the new switching hub with the network system. Here, in order for the network system to operate correctly, the user needs to make the same settings as the failed switching hub for the new switching hub. This setting work must be performed via the command line interface as described above, and it is a burden for the user because it is necessary for the user to understand the complicated command and then execute it after installing it in the network system. As a result, there is a problem that the operating cost of the network system increases.
従来、この問題の解決のため、予めネットワークシステム上の他のスイッチングハブに新しいスイッチングハブの設定パラメータを保管しておき、新しいスイッチングハブがネットワークシステムに参入すると、新しいスイッチングハブが他のスイッチングハブから設定パラメータを自動で取得し自身へ反映させることで設定を自動化する方法がある(例えば、特許文献1参照)。 Conventionally, in order to solve this problem, the setting parameters of the new switching hub are stored in advance in another switching hub on the network system, and when the new switching hub enters the network system, the new switching hub is transferred from the other switching hub. There is a method of automating the setting by automatically acquiring the setting parameter and reflecting it in itself (see, for example, Patent Document 1).
従来の特許文献1の方法では、新しいスイッチングハブが他のスイッチングハブから設定パラメータを取得する手順、および他のスイッチングハブが新しいスイッチングハブへ設定パラメータを応答する手順にRFC(Request For Comment)またはIEEE(Institute of Electrical and Electronics Engineers)などの標準規格で定められたプロトコルを用いていないため、新しいスイッチングハブを含むネットワークシステム上のすべてのスイッチングハブがこれらの手順を実装している必要があった。このため、ネットワークシステム上に複数のベンダ(種類の異なる)のスイッチングハブが混在する場合において、従来の特許文献1の方法の手順を実装していないスイッチングハブは設定パラメータを自動で取得し自身へ反映できないという問題点があった。
In the conventional method of
本願は、上記のような課題を解決するための技術を開示するものであり、ネットワークシステム上に種類の異なるスイッチングハブが混在する場合において、設定自動化を実現できるスイッチングハブを提供することを目的とする。 The present application discloses a technique for solving the above-mentioned problems, and an object of the present application is to provide a switching hub capable of realizing setting automation when different types of switching hubs coexist on a network system. To do.
本願に開示されるスイッチングハブは、
ネットワークシステム上の他の第一スイッチングハブを交換し他の第二スイッチングハブを設置した当該第二スイッチングハブに対して設定を行うスイッチングハブにおいて、
前記第二スイッチングハブを制御する制御情報を保持する第一保持部と、
前記第一スイッチングハブの第一設定パラメータを保持する第二保持部と、
前記第二スイッチングハブからLLDPパケットを受信する受信部と、
前記LLDPパケットから前記第二スイッチングハブのIPアドレスを取得し、前記第一保持部の前記制御情報に基づいてTELNETでログインして前記第二スイッチングハブの第二設定パラメータを取得するTELNETクライアント部と、
前記第二設定パラメータと前記第二保持部に保持されている前記第一設定パラメータとを比較して差異があるか否かを判定する制御部と、
前記制御部で差異があると判定された場合に前記第二スイッチングハブに前記第一設定パラメータをTFTPに基づきファイル転送を行うTFTPサーバ部とを備えたものである。
また、本願に開示されるスイッチングハブは、
ネットワークシステム上の他の第一スイッチングハブを交換し他の第二スイッチングハブを設置した前記第二スイッチングハブに対して設定を行うスイッチングハブにおいて、
前記第二スイッチングハブを制御する制御情報を保持する第一保持部と、
前記第一スイッチングハブの第一設定パラメータを保持する第二保持部と、
前記第二スイッチングハブからLLDPパケットを受信する受信部と、
前記LLDPパケットから前記第二スイッチングハブのIPアドレスを取得し、前記第一保持部の前記制御情報に基づいてTELNETでログインして前記第二スイッチングハブの第二設定パラメータを取得するTELNETクライアント部と、
前記第二設定パラメータと前記第二保持部に保持されている前記第一設定パラメータとを比較して差異があるか否かを判定する制御部と、
前記制御部で差異があると判定された場合に前記第一設定パラメータと前記第二設定パラメータとの差異分を抽出する抽出部と、
前記TELNETクライアント部は、前記抽出部にて抽出された差異分をTELNETを用いて前記第二スイッチングハブに送信するものである。
The switching hub disclosed in the present application is
In a switching hub that replaces another first switching hub on the network system and sets for the second switching hub in which another second switching hub is installed.
A first holding unit that holds control information that controls the second switching hub,
A second holding unit that holds the first setting parameter of the first switching hub,
A receiver that receives LLDP packets from the second switching hub,
With the TELNET client unit that acquires the IP address of the second switching hub from the LLDP packet, logs in with TELNET based on the control information of the first holding unit, and acquires the second setting parameter of the second switching hub. ,
A control unit that compares the second setting parameter with the first setting parameter held in the second holding unit and determines whether or not there is a difference.
The second switching hub is provided with a TFTP server unit that transfers a file of the first setting parameter based on the TFTP when the control unit determines that there is a difference.
Further, the switching hub disclosed in the present application is:
In a switching hub in which another first switching hub on the network system is replaced and another second switching hub is installed, the setting is made for the second switching hub.
A first holding unit that holds control information that controls the second switching hub,
A second holding unit that holds the first setting parameter of the first switching hub,
A receiver that receives LLDP packets from the second switching hub,
With the TELNET client unit that acquires the IP address of the second switching hub from the LLDP packet, logs in with TELNET based on the control information of the first holding unit, and acquires the second setting parameter of the second switching hub. ,
A control unit that compares the second setting parameter with the first setting parameter held in the second holding unit and determines whether or not there is a difference.
An extraction unit that extracts the difference between the first setting parameter and the second setting parameter when the control unit determines that there is a difference.
The TELNET client unit transmits the difference extracted by the extraction unit to the second switching hub using TELNET.
本願に開示されるスイッチングハブによれば、ネットワークシステム上に種類の異なるスイッチングハブが混在する場合であっても、設定自動化を実現できる。 According to the switching hub disclosed in the present application, setting automation can be realized even when different types of switching hubs coexist on the network system.
実施の形態1.
図1は実施の形態1のスイッチングハブを適用したネットワークシステムの接続図であり、故障装置としての他の第一スイッチングハブが交換前であって接続された状態を示す図である。図2は図1に示したネットワークシステムの故障装置としての第一スイッチングハブを交換装置としての他の第二スイッチングハブに交換し接続した状態を示す接続図である。
図3は図1および図2に示したネットワークシステムにおけるスイッチングハブの構成を示すブロック図である。
FIG. 1 is a connection diagram of a network system to which the switching hub of the first embodiment is applied, and is a diagram showing a state in which another first switching hub as a failed device is connected before replacement. FIG. 2 is a connection diagram showing a state in which the first switching hub as a failure device of the network system shown in FIG. 1 is replaced and connected to another second switching hub as a switching device.
FIG. 3 is a block diagram showing a configuration of a switching hub in the network system shown in FIGS. 1 and 2.
図4は実施の形態1におけるLLDP(Link Layer Discovery Protocol、IEEE標準802.1AB)パケットの内容を示す図である。図5は図3に示したスイッチングハブの動作を示すフローチャートであり、第二スイッチングハブがネットワークシステムに参画したことと、当該第二スイッチングハブの管理用のIPアドレスを取得するためのフローチャートである。 FIG. 4 is a diagram showing the contents of an LLDP (Link Layer Discovery Protocol, IEEE standard 802.1AB) packet according to the first embodiment. FIG. 5 is a flowchart showing the operation of the switching hub shown in FIG. 3, and is a flowchart for the participation of the second switching hub in the network system and the acquisition of the IP address for management of the second switching hub. ..
図1において、ネットワークシステム100は、第一スイッチングハブ101、スイッチングハブ102、スイッチングハブ103、スイッチングハブ104、第一端末装置111、第二端末装置112を有する。第一スイッチングハブ101にはポート131、ポート141、ポート151がある。第一スイッチングハブ101のポート131にはスイッチングハブ102が接続される。第一スイッチングハブ101のポート151にはスイッチングハブ103が接続される。第一スイッチングハブ101のポート141には第一端末装置111が接続される。
In FIG. 1, the
スイッチングハブ102にはポート132、ポート142がある。スイッチングハブ102のポート132には第一スイッチングハブ101が接続される。スイッチングハブ102のポート142にはスイッチングハブ104が接続される。スイッチングハブ103にはポート134、ポート144、ポート154がある。スイッチングハブ103のポート134にはスイッチングハブ104が接続される。スイッチングハブ103のポート144には第一スイッチングハブ101が接続される。スイッチングハブ103のポート154には第二端末装置112が接続される。
The
スイッチングハブ104にはポート133、ポート143がある。スイッチングハブ104のポート133にはスイッチングハブ102が接続される。スイッチングハブ104のポート143にはスイッチングハブ103が接続される。
The
図2は図1における第一スイッチングハブ101が故障して故障装置となった際、交換装置である第二スイッチングハブ201を設置した場合のネットワークシステム100の接続図である。図2において、第二スイッチングハブ201にはポート231、ポート241、ポート251がある。第二スイッチングハブ201のポート231にはスイッチングハブ102が接続される。第二スイッチングハブ201のポート241には第一端末装置111が接続される。第二スイッチングハブ201のポート251にはスイッチングハブ103が接続される。
FIG. 2 is a connection diagram of a
本実施の形態1においては、便宜上、スイッチングハブ102が、交換装置としての第二スイッチングハブ201に対して、故障装置としての第一スイッチングハブ101と同一の設定を行う場合を想定する。スイッチングハブ102の構成を図3に示す。さらに、図1および図2において、スイッチングハブ102、103、104は同一のベンダ(同一の種類)であり、第一スイッチングハブ101および第二スイッチングハブ201とは同一のベンダ(同一の種類)である。しかし、スイッチングハブ102、103、104と、第一スイッチングハブ101および第二スイッチングハブ201とは異なるベンダ(異なる種類)であるものとする。
In the first embodiment, for convenience, it is assumed that the
図3において、スイッチングハブ102は、ポート132、ポート142、ユーザI/F(interface)部307、第一保持部303、第二保持部305、受信部301、TELNETクライアント部302、制御部304、およびTFTPサーバ部306を有す。受信部301はポート132とポート142とTELNETクライアント部302とに接続される。TELNETクライアント部302はポート132とポート142と受信部301と制御部304と第一保持部303とに接続される。制御部304はTELNETクライアント部302と第二保持部305とに接続される。
In FIG. 3, the switching
TFTPサーバ部306はポート132とポート142と第二保持部305とに接続される。第一保持部303はユーザI/F部307とTELNETクライアント部302とに接続される。第二保持部305はユーザI/F部307と制御部304とTFTPサーバ部306とに接続される。
The
ユーザI/F部307は第一保持部303および第二保持部305に情報を外部からユーザが入力する。ユーザI/F部307は、ユーザがスイッチングハブ102と対話的にコマンドを入力するコマンドラインインフェースでも良いし、ユーザが画面を操作するグラフィカルユーザインタフェースでも良い。
The user I /
第一保持部303は、TELNET(Teletype network、RFC854にて規定)に必要な認証情報(以下、TELNET認証情報と称す)、ここでは第二スイッチングハブ201の制御情報としてのTELNET認証情報311を保持する。さらに、第一保持部303は第二スイッチングハブ201を制御するための制御情報としての制御コマンド情報312を保持する。当該制御情報としての、TELNET認証情報311および制御コマンド情報312は、ユーザがユーザI/F部307を介して予め入力して第一保持部303に登録する。
The
第二保持部305は、第一スイッチングハブ101の第一設定パラメータ121を保持する。当該第一設定パラメータ121は、ユーザがユーザI/F部307を介して予め第二保持部305に登録する。このように、ユーザがユーザI/F部307を用いて行う作業は、情報を入力するのみであるため、複雑なコマンドを理解する必要なく行うことができる。
The
受信部301は、第二スイッチングハブ201のポート231から送信されるLLDPパケットをポート132で受信する。ここで、ポート132で受信するLLDPパケットのパケットフォーマットは図4に示す例が考えられる。LLDPパケットは、宛先MAC(Media Access Contro)アドレス401、送信元MACアドレス402、・・・TLV(Type Length Value)ヘッダ403、管理アドレス文字列長404、管理アドレスサブタイプ405、管理アドレス406、・・・等にて構成される。
The receiving
宛先MACアドレス401には、例えば、“IEEE標準802.1AB”で規定される予約済みアドレスである“01−80−C2−00−00−0E”が格納される。送信元MACアドレス402には、第二スイッチングハブ201のポート231のMACアドレスが格納される。TLVヘッダ403にはTLVタイプにLLDPパケットであることを示す“8”の値が格納される。管理アドレス文字列長404には管理アドレスサブタイプ405のフィールド長と管理アドレス406のフィールド長を合算したオクテット数の値が格納される。管理アドレスサブタイプ405には管理アドレス406が管理用のIPアドレスであることを示す値として“1”の値が格納される。管理アドレス406には第二スイッチングハブ201の管理用のIPアドレスが格納される。その他のフィールドの値は任意である。
In the
受信部301は、受信したLLDPパケットから第二スイッチングハブ201の管理用のIPアドレスを取得する。TELNETクライアント部302は、受信部301が取得した第二スイッチングハブ201の管理用のIPアドレスに基づいて第一保持部303からTELNET認証情報311および制御コマンド情報312を所得する。TELNETクライアント部302は、TELNET認証情報311および制御コマンド情報312に基づいて、第二スイッチングハブ201から第二設定パラメータを取得する。
The receiving
制御部304は、TELNETクライアント部302が取得した第二スイッチングハブ201の第二設定パラメータと、第二保持部305の登録されている第一設定パラメータ121とを比較して差異があるか否かを判断する。そして、差異がある場合には、TELNETクライアント部302にその旨を送信する。TFTPサーバ部306は、制御部304で差異があると判定された場合に第二スイッチングハブ201に第一設定パラメータ121をTFTP(TrivialFileTransferProtocol、RFC1350にて規定)に基づきファイル転送する。
The
次に上記のように構成された実施の形態1のスイッチングハブ102を用いたネットワークシステム100について説明する。まず、ネットワークシステム100において、例えば、第一端末装置111と第二端末装置112とがIP(Internet Protocol、RFC791)を用いて通信を行っている場合を考える。この時、第一スイッチングハブ101が故障すると、第一端末装置111が送信するIPパケットを第一スイッチングハブ101がスイッチングハブ103へ転送できないため第一端末装置111と第二端末装置112との間の通信ができない。
Next, the
このため、故障装置である第一スイッチングハブ101をネットワークシステム100から外して、図2に示すように交換装置としての第二スイッチングハブ201に交換する必要が生ずる。そして、図2において、第一端末装置111と第二端末装置112との間でIPパケットによる通信を行うためには、交換装置としての第二スイッチングハブ201を図1の第一スイッチングハブ101と同一の設定を行う必要がある。
Therefore, it is necessary to remove the
そこで、スイッチングハブ102が第二スイッチングハブ201の設定を第一スイッチングハブの設定と同一となるように行う動作を説明する。スイッチングハブ102の受信部301はポート132を監視しており、ポート132がリンクアップし、かつ、ポート132で第二スイッチングハブ201が送信するLLDPパケットを受信することで第二スイッチングハブ201がネットワークシステム100に参画したと判断する。すると、受信部301はLLDPパケットから第二スイッチングハブ201の管理用のIPアドレスを取得する。そして、受信部301は当該管理用のIPアドレスをTELNETクライアント部302に送信する。
Therefore, an operation in which the
具体的に、図5に示すフローチャートに従って受信部301が、第二スイッチングハブ201がネットワークシステム100に参画したことを認識する動作について説明する。まず、受信部301はポート132のリンク状態を監視しており、ポート132の状態がリンクダウンからリンクアップに変化したか否かを判断する(図5のステップST1)。そして、リンクアップに変化したと判断する(Yes)と、LLDPパケットを受信したか否かを判断する(図5のステップST2)。
Specifically, the operation of the receiving
次に、LDDPパケットを受信する(Yes)と、TLVヘッダ403を確認しTLVタイプが“8”であるか否かを判断する(図5のステップST3)。そして、TLVタイプが“8”であると判断する(Yes)と、管理アドレスサブタイプ405に“1”が格納されているか否かを判断する(図5のステップST4)。次に、管理アドレスサブタイプ405が“1”であると判断する(Yes)と、第二スイッチングハブ201がネットワークシステム100に参画しかつその管理用のIPアドレスが管理アドレス406に格納された値であると認識する(図5のステップST5)。次に、これを認識すると、TELNETクライアント部302へ第二スイッチングハブ201の管理用のIPアドレスを通知する(図5のステップST6)。尚、ステップST1からステップST4において判断がNoとなった場合には、すべてステップST1に戻る。
Next, when the LDDP packet is received (Yes), the
次に、TELNETクライアント部302は管理用のIPアドレスの通知を受けると、当該管理用のIPアドレスに対応するTELNET認証情報311、例えば、ユーザ名およびパスワードを第一保持部303から取得する。次に、TELNETクライアント部302はTELNET認証情報311を用いてTELNETにて第二スイッチングハブ201のTELNETサーバへログインする。
Next, when the
次に、TELNETクライアント部302は第一保持部303に格納されている制御コマンド情報312に基づいて設定パラメータを出力するコマンドの文字列を取得して、TELNETを用いて第二スイッチングハブ201の第二設定パラメータを出力させるコマンドを実行する。次に、TELNETクライアント部302は取得した第二設定パラメータを制御部304に通知する。
Next, the
次に、制御部304は、TELNETクライアント部302から通知された第二スイッチングハブ201の第二設定パラメータと第二保持部305に保持されている第一スイッチングハブ101の第一設定パラメータ121とを比較する。そして、制御部304はこの比較により第一設定パラメータ121と第二設定パラメータとに差異が認められた場合には、TELNETクライアント部302にその旨を通知する。
Next, the
次に、制御部304から通知を受けたTELNETクライアント部302は、第一保持部303に格納されている制御コマンド情報312に基づいてTFTPクライアントを起動するコマンドの文字列を取得して、TELNETを使用して第二スイッチングハブ201のTFTPクライアントを起動する。そして、第二スイッチングハブ201はTFTPにてスイッチングハブ102のTFTPサーバ部306にログインする。ログインした後、TFTPサーバ部306は第二保持部305から第一スイッチングハブ101の第一設定パラメータ121を取得し、TFTPに基づきファイル転送を行い第二スイッチングハブ201にダウンロードする。
Next, the
ダウンロード後、TELNETクライアント部302は第一保持部303に保持されている制御コマンド情報312に基づいて設定パラメータを反映するコマンドの文字列を取得して、TELNETを用いて第一設定パラメータ121を第二スイッチングハブ201に反映するコマンドを実行する。さらに、TELNETクライアント部302は第一保持部303に保持されている制御コマンド情報312に基づいて再起動するコマンドの文字列は取得し、TELNETを用いて第二スイッチングハブ201を再起動するコマンドを実行する。
After downloading, the
これにより、第二スイッチングハブ201は再起動後に自身にダウンロードされている第一スイッチングハブ101の第一設定パラメータ121を読み込み、第一スイッチングハブ101の第一設定パラメータ121を自身に反映する。以上により、交換装置である第二スイッチングハブ201が第一スイッチングハブ101と同等の設定が行われるので、第一端末装置111と第二端末装置112とはIPによる通信が可能となる。
As a result, the
上記実施の形態1の説明においては、スイッチングハブ102は第一スイッチングハブ101の第一設定パラメータおよび第二スイッチングハブ201の制御情報を保持して行う例を示したが、これに限られることはなく、スイッチングハブ102が、他のスイッチングハブの設定パラメータ、また、他のスイッチングハブに対して交換される交換後のスイッチングハブの制御情報を保持するように設定すれば、上記に示した場合と同様に対応することは可能である。また、当然のことながら、他のスイッチングハブ103、104がスイッチングハブ102と同様の構成を有しているため、当該スイッチングハブ102と同様に対応することができる。尚、このことは以下の実施の形態においても同様であるため、その説明は適宜省略する。
In the description of the first embodiment, the switching
上記のように構成された実施の形態1のスイッチングハブによれば、
ネットワークシステム上の第一スイッチングハブを交換し第二スイッチングハブを設置した当該第二スイッチングハブに対して設定を行うスイッチングハブにおいて、
前記第二スイッチングハブを制御する制御情報を保持する第一保持部と、
前記第一スイッチングハブの第一設定パラメータを保持する第二保持部と、
前記第二スイッチングハブからLLDPパケットを受信する受信部と、
前記LLDPパケットから前記第二スイッチングハブのIPアドレスを取得し、前記第一保持部の前記制御情報に基づいてTELNETでログインして前記第二スイッチングハブの第二設定パラメータを取得するTELNETクライアント部と、
前記第二設定パラメータと前記第二保持部に保持されている前記第一設定パラメータとを比較して差異があるか否かを判定する制御部と、
前記制御部で差異があると判定された場合に前記第二スイッチングハブに前記第一設定パラメータをTFTPに基づきファイル転送を行うTFTPサーバ部とを備えたので、
ネットワークシステム上に種類の異なるスイッチングハブが混在する場合であっても、標準規格で定められたプロトコルを用い、第二スイッチングハブの設定を自動化できる。
According to the switching hub of the first embodiment configured as described above,
In a switching hub that replaces the first switching hub on the network system and sets the second switching hub on which the second switching hub is installed.
A first holding unit that holds control information that controls the second switching hub,
A second holding unit that holds the first setting parameter of the first switching hub,
A receiver that receives LLDP packets from the second switching hub,
With the TELNET client unit that acquires the IP address of the second switching hub from the LLDP packet, logs in with TELNET based on the control information of the first holding unit, and acquires the second setting parameter of the second switching hub. ,
A control unit that compares the second setting parameter with the first setting parameter held in the second holding unit and determines whether or not there is a difference.
Since the second switching hub is provided with a TFTP server unit that transfers a file of the first setting parameter based on the TFTP when the control unit determines that there is a difference.
Even when different types of switching hubs are mixed on the network system, the setting of the second switching hub can be automated by using the protocol defined by the standard.
実施の形態2.
実施の形態1では、第一保持部303および第二保持部305へのTELNET認証情報311、制御コマンド情報312および第一設定パラメータ121、の各情報の入力はユーザがユーザI/F部307を使用して入力する例を示した。本実施の形態2では、この第一保持部303および第二保持部305への各情報を外部からTFTPを用いて入力する場合について説明する。他の構成および動作は上記実施の形態1と同様であるためその説明は適宜省略する。
Embodiment 2.
In the first embodiment, the user inputs the
図6は実施の形態2のスイッチングハブの構成を示したブロック図である。図6において、上記実施の形態1と同様の部分は同一符号を付して説明を省略する。TFTPサーバ部306は、第二スイッチングハブ201の制御情報および第一スイッチングハブ101の第一設定パラメータ121の情報をTFTPを用いて外部からファイル受信し、第一保持部303に制御情報および第二保持部305に第一設定パラメータ121としてそれぞれ格納する。このため、TFTPサーバ部306から第一保持部303への向きの接続を追加している。また、TFTPサーバ部306から第二保持部305への向きの接続を追加している。
FIG. 6 is a block diagram showing the configuration of the switching hub of the second embodiment. In FIG. 6, the same parts as those in the first embodiment are designated by the same reference numerals, and the description thereof will be omitted. The
上記のように構成された実施の形態2のスイッチングハブ102の動作について説明する。例えば、図1において、第二端末装置112は自身のTFTPクライアントを用いて第一スイッチングハブ101が故障する前に、第一設定パラメータをTFTPに基づいてダウンロードし、スイッチングハブ102にアップロードする。スイッチングハブ102は第二端末装置112が送信したTFTPパケット(第一設定パラメータ)をポート132で受信し、TFTPサーバ部306は第二保持部305へ第一スイッチングハブ101の第一設定パラメータ121として保管する。
The operation of the
さらに、例えば図1において、第二端末装置112は自身のTFTPクライアントを用いて第一スイッチングハブ101が故障する前に第一スイッチングハブ101のTELNETサーバのTELNET認証情報および第一スイッチングハブ101の制御コマンド情報を自身のTFTPクライアントを用いて、スイッチングハブ102にアップロードする。スイッチングハブ102は第二端末装置112が送信したTFTPパケット(制御情報)をポート132で受信し、TFTPサーバ部306は第一保持部303へ交換装置としての第二スイッチングハブ201のTELNET認証情報311および制御コマンド情報312として保管する。
Further, for example, in FIG. 1, the second
上記のように構成された実施の形態2のスイッチングハブによれば、上記実施の形態1と同様の効果を奏するとともに、
前記TFTPサーバ部は、前記第二スイッチングハブの前記制御情報および前記第一スイッチングハブの前記第一設定パラメータの情報をTFTPを用いて外部からファイル受信し、前記第一保持部に前記制御情報および前記第二保持部に前記第一設定パラメータをそれぞれ格納するので、
第一スイッチングハブの第一設定パラメータおよび第二スイッチングハブのTELNET認証情報および制御コマンド情報を外部から入力できるため、ユーザの手間が減少し低コストとなる。
According to the switching hub of the second embodiment configured as described above, the same effect as that of the first embodiment is obtained, and the same effect is obtained.
The TFTP server unit receives the control information of the second switching hub and the information of the first setting parameter of the first switching hub from the outside by using the TFTP, and the first holding unit receives the control information and the control information. Since each of the first setting parameters is stored in the second holding unit,
Since the first setting parameter of the first switching hub and the TELNET authentication information and control command information of the second switching hub can be input from the outside, the user's labor is reduced and the cost is reduced.
実施の形態3.
上記各実施の形態では、第一スイッチングハブ101の第一設定パラメータ121をスイッチングハブ102のTFTPサーバ部306から第二スイッチングハブ201にダウンロードして行う例を示したが、本実施の形態3では、TFTPの代わりにTELNETを使用して第二スイッチングハブ201が第一スイッチングハブ101の第一設定パラメータ121を取得する方法を示す。
Embodiment 3.
In each of the above embodiments, the
図7は実施の形態3のスイッチングハブの構成を示したブロック図である。図7において、上記各実施の形態と同様の部分は同一符号を付して説明を省略する。抽出部601は制御部304と、TELNETクライアント部302と、第二保持部305とが接続されている。抽出部601は、第一設定パラメータ121と第二設定パラメータとの差異分を抽出して文字列に変化して、TELNETクライアント部302に通知する。本実施の形態3は上記各実施の形態にて示したTFTPサーバ部306が存在しない。
FIG. 7 is a block diagram showing the configuration of the switching hub of the third embodiment. In FIG. 7, the same parts as those in each of the above embodiments are designated by the same reference numerals, and the description thereof will be omitted. The
次に上記のように構成された実施の形態3のスイッチングハブ102を用いたネットワークシステム100について説明する。まず、上記各実施の形態と同様の工程を経て、制御部304は、TELNETクライアント部302が取得した第二スイッチングハブ201の第二設定パラメータと、第二保持部305の登録されている第一スイッチングハブ101とを比較して差異があるか否かを判断する。制御部304は差異があると判断すると、抽出部601に第二スイッチングハブ201の第二設定パラメータを通知する。
Next, the
そして、抽出部601は、第二保持部305に保持されている第一スイッチングハブ101の第一設定パラメータ121と、第二設定パラメータとの差異分を抽出して文字列に変換し、TELNETクライアント部302へ通知する。次に、TELNETクライアント部302は、抽出部601から抽出した差異分を文字列として第二スイッチングハブ201へ送信して、第二スイッチングハブ201の第二設定パラメータを第一設定パラメータと同一となるように設定する。
Then, the
上記のように構成された実施の形態3のスイッチングハブは、
ネットワークシステム上の第一スイッチングハブを交換し第二スイッチングハブを設置した前記第二スイッチングハブに対して設定を行うスイッチングハブにおいて、
前記第二スイッチングハブを制御する制御情報を保持する第一保持部と、
前記第一スイッチングハブの第一設定パラメータを保持する第二保持部と、
前記第二スイッチングハブからLLDPパケットを受信する受信部と、
前記LLDPパケットから前記第二スイッチングハブのIPアドレスを取得し、前記第一保持部の前記制御情報に基づいてTELNETでログインして前記第二スイッチングハブの第二設定パラメータを取得するTELNETクライアント部と、
前記第二設定パラメータと前記第二保持部に保持されている前記第一設定パラメータとを比較して差異があるか否かを判定する制御部と、
前記制御部で差異があると判定された場合に前記第一設定パラメータと前記第二設定パラメータとの差異分を抽出する抽出部と、
前記TELNETクライアント部は、前記抽出部にて抽出された差異分をTELNETを用いて前記第二スイッチングハブに送信するので、
ネットワークシステム上に種類の異なるスイッチングハブが混在する場合であっても、標準規格で定められたプロトコルを用い、第二スイッチングハブの設定を自動化できる。
The switching hub of the third embodiment configured as described above
In a switching hub that replaces the first switching hub on the network system and sets the second switching hub on which the second switching hub is installed.
A first holding unit that holds control information that controls the second switching hub,
A second holding unit that holds the first setting parameter of the first switching hub,
A receiver that receives LLDP packets from the second switching hub,
With the TELNET client unit that acquires the IP address of the second switching hub from the LLDP packet, logs in with TELNET based on the control information of the first holding unit, and acquires the second setting parameter of the second switching hub. ,
A control unit that compares the second setting parameter with the first setting parameter held in the second holding unit and determines whether or not there is a difference.
An extraction unit that extracts the difference between the first setting parameter and the second setting parameter when the control unit determines that there is a difference.
Since the TELNET client unit transmits the difference extracted by the extraction unit to the second switching hub using TELNET,
Even when different types of switching hubs are mixed on the network system, the setting of the second switching hub can be automated by using the protocol defined by the standard.
本開示は、様々な例示的な実施の形態及び実施例が記載されているが、1つ、または複数の実施の形態に記載された様々な特徴、態様、及び機能は特定の実施の形態の適用に限られるのではなく、単独で、または様々な組み合わせで実施の形態に適用可能である。
従って、例示されていない無数の変形例が、本願明細書に開示される技術の範囲内において想定される。例えば、少なくとも1つの構成要素を変形する場合、追加する場合または省略する場合、さらには、少なくとも1つの構成要素を抽出し、他の実施の形態の構成要素と組み合わせる場合が含まれるものとする。
Although the present disclosure describes various exemplary embodiments and examples, the various features, embodiments, and functions described in one or more embodiments are those of a particular embodiment. It is not limited to application, but can be applied to embodiments alone or in various combinations.
Therefore, innumerable variations not illustrated are envisioned within the scope of the techniques disclosed herein. For example, it is assumed that at least one component is modified, added or omitted, and further, at least one component is extracted and combined with the components of other embodiments.
100 ネットワークシステム、101 第一スイッチングハブ、
102 スイッチングハブ、103 スイッチングハブ、104 スイッチングハブ、
111 第一端末装置、112 第二端末装置、121 第一設定パラメータ、
131 ポート、132 ポート、133 ポート、134 ポート、141 ポート、142 ポート、143 ポート、144 ポート、151 ポート、154 ポート、201 第二スイッチングハブ、231 ポート、241 ポート、251 ポート、
301 受信部、302 TELNETクライアント部、303 第一保持部、
304 制御部、305 第二保持部、306 TFTPサーバ部、
307 ユーザI/F部、311 TELNET認証情報、312 制御コマンド情報、401 宛先MACアドレス、402 送信元MACアドレス、403 TLVヘッダ、404 管理アドレス文字列長、405 管理アドレスサブタイプ、
406 管理アドレス、601 抽出部。
100 network system, 101 first switching hub,
102 switching hub, 103 switching hub, 104 switching hub,
111 1st terminal device, 112 2nd terminal device, 121 1st setting parameter,
131 ports, 132 ports, 133 ports, 134 ports, 141 ports, 142 ports, 143 ports, 144 ports, 151 ports, 154 ports, 201 second switching hub, 231 ports, 241 ports, 251 ports,
301 receiver, 302 TELNET client, 303 first holder,
304 control unit, 305 second holding unit, 306 TFTP server unit,
307 User I / F section, 311 TELNET authentication information, 312 Control command information, 401 Destination MAC address, 402 Source MAC address, 403 TLV header, 404 Management address string length, 405 Management address subtype,
406 management address, 601 extractor.
Claims (3)
前記第二スイッチングハブを制御する制御情報を保持する第一保持部と、
前記第一スイッチングハブの第一設定パラメータを保持する第二保持部と、
前記第二スイッチングハブからLLDPパケットを受信する受信部と、
前記LLDPパケットから前記第二スイッチングハブのIPアドレスを取得し、前記第一保持部の前記制御情報に基づいてTELNETでログインして前記第二スイッチングハブの第二設定パラメータを取得するTELNETクライアント部と、
前記第二設定パラメータと前記第二保持部に保持されている前記第一設定パラメータとを比較して差異があるか否かを判定する制御部と、
前記制御部で差異があると判定された場合に前記第二スイッチングハブに前記第一設定パラメータをTFTPに基づきファイル転送を行うTFTPサーバ部とを備えたスイッチングハブ。 In a switching hub that replaces another first switching hub on the network system and sets for the second switching hub in which another second switching hub is installed.
A first holding unit that holds control information that controls the second switching hub,
A second holding unit that holds the first setting parameter of the first switching hub,
A receiver that receives LLDP packets from the second switching hub,
With the TELNET client unit that acquires the IP address of the second switching hub from the LLDP packet, logs in with TELNET based on the control information of the first holding unit, and acquires the second setting parameter of the second switching hub. ,
A control unit that compares the second setting parameter with the first setting parameter held in the second holding unit and determines whether or not there is a difference.
A switching hub provided with a TFTP server unit that transfers a file of the first setting parameter to the second switching hub based on the TFTP when the control unit determines that there is a difference.
前記第二スイッチングハブを制御する制御情報を保持する第一保持部と、
前記第一スイッチングハブの第一設定パラメータを保持する第二保持部と、
前記第二スイッチングハブからLLDPパケットを受信する受信部と、
前記LLDPパケットから前記第二スイッチングハブのIPアドレスを取得し、前記第一保持部の前記制御情報に基づいてTELNETでログインして前記第二スイッチングハブの第二設定パラメータを取得するTELNETクライアント部と、
前記第二設定パラメータと前記第二保持部に保持されている前記第一設定パラメータとを比較して差異があるか否かを判定する制御部と、
前記制御部で差異があると判定された場合に前記第一設定パラメータと前記第二設定パラメータとの差異分を抽出する抽出部と、
前記TELNETクライアント部は、前記抽出部にて抽出された差異分をTELNETを用いて前記第二スイッチングハブに送信するスイッチングハブ。 In a switching hub in which another first switching hub on the network system is replaced and another second switching hub is installed, the setting is made for the second switching hub.
A first holding unit that holds control information that controls the second switching hub,
A second holding unit that holds the first setting parameter of the first switching hub,
A receiver that receives LLDP packets from the second switching hub,
With the TELNET client unit that acquires the IP address of the second switching hub from the LLDP packet, logs in with TELNET based on the control information of the first holding unit, and acquires the second setting parameter of the second switching hub. ,
A control unit that compares the second setting parameter with the first setting parameter held in the second holding unit and determines whether or not there is a difference.
An extraction unit that extracts the difference between the first setting parameter and the second setting parameter when the control unit determines that there is a difference.
The TELNET client unit is a switching hub that transmits the difference extracted by the extraction unit to the second switching hub using TELNET.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019170270A JP2021048508A (en) | 2019-09-19 | 2019-09-19 | Switching hub |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019170270A JP2021048508A (en) | 2019-09-19 | 2019-09-19 | Switching hub |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2021048508A true JP2021048508A (en) | 2021-03-25 |
Family
ID=74878814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019170270A Pending JP2021048508A (en) | 2019-09-19 | 2019-09-19 | Switching hub |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2021048508A (en) |
-
2019
- 2019-09-19 JP JP2019170270A patent/JP2021048508A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7380025B1 (en) | Method and apparatus providing role-based configuration of a port of a network element | |
KR100942480B1 (en) | A communication device and a system for managing the local devies remotely and the method thereof | |
EP3834396B1 (en) | User datagram protocol tunneling in distributed application instances | |
WO2015096737A1 (en) | Method, apparatus and system for controlling auto-provisioning of network device | |
US7460488B2 (en) | Method and apparatus for router port configuration | |
US20050180326A1 (en) | Method and system for remotely booting a computer device using a peer device | |
US20160036638A1 (en) | Provisioning | |
CN106713039B (en) | Ethernet port identification method and device and router | |
JP5679343B2 (en) | Cloud system, gateway device, communication control method, and communication control program | |
CN105450779A (en) | Method for achieving connection between one household electric appliance and multiple servers | |
WO2018161794A1 (en) | Apparatus upgrade method and access apparatus | |
JP3996922B2 (en) | Centralized management system and method for network connection means in a network where different communication protocols coexist | |
KR20140101405A (en) | Methods and systems for enabling nat traversal | |
CN111918306B (en) | Method and system for realizing network element communication under IP unreachable scene | |
EP2810406A1 (en) | Safe state for networked devices | |
US11128558B2 (en) | Automatic routing configuration between hosts and network layer devices | |
US9197557B2 (en) | Relay server and relay communication system | |
JP2021048508A (en) | Switching hub | |
CN107005473B (en) | Communication path switching apparatus, method of controlling communication path switching apparatus | |
Cisco | Configuring SLIP and PPP | |
Cisco | Configuring SLIP and PPP | |
Cisco | Configuring SLIP and PPP | |
Cisco | Configuring IBM Channel Attach | |
Cisco | Configuring IBM Channel Attach | |
Cisco | Configuring IBM Channel Attach |