JP3715506B2 - Multilayer switch and link state determination method - Google Patents
Multilayer switch and link state determination method Download PDFInfo
- Publication number
- JP3715506B2 JP3715506B2 JP2000094640A JP2000094640A JP3715506B2 JP 3715506 B2 JP3715506 B2 JP 3715506B2 JP 2000094640 A JP2000094640 A JP 2000094640A JP 2000094640 A JP2000094640 A JP 2000094640A JP 3715506 B2 JP3715506 B2 JP 3715506B2
- Authority
- JP
- Japan
- Prior art keywords
- switching module
- data
- virtual interface
- physical port
- link state
- 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 - Lifetime
Links
Images
Description
【0001】
【発明の属する技術分野】
本発明は、VLANに対応しているスイッチングHUBの機能とルータの機能を備え、VLANの分割とVLAN間の自由な通信の両方を同時に実現するマルチレイヤスイッチ及びリンク状態決定方法に関する。
【0002】
【従来の技術】
従来のルータを用いたネットワークは、図3に示すように構築するのが一般的であった。図3の例では、ルータ11のポートにスイッチングHUB12(12A)とスイッチングHUB12(12B)がケーブル接続され、更にスイッチングHUB12AとスイッチングHUB12Bの各ポートにはパソコン等のノード13がケーブル接続されている。
【0003】
スイッチングHUB12A,12Bは、ネットワーク間の接続を行うネットワークデバイスであり、受信したパケットの送信先ポートを決定するため、パケットをバッファに格納する機能を有し、このバッファに格納された受信パケットの宛先MACアドレスを解析し、該当する端末が接続されているポートのみにパケットを送信するものである。また、ルータ11は、ネットワークアドレスと呼ばれるOSI参照モデル第3層「ネットワークレイヤ」の情報を元にネットワーク間のデータ(パケット)の配送を行うものである。
【0004】
ところで、図3に示すネットワークでは、ルータ11にとって自身が持つインタフェースは、物理的にケーブル接続されているインタフェースと完全に同じである。従って、ルータ11にとってインタフェースのリンク状態は、スイッチングHUB12A及びスイッチングHUB12Bと接続されている各物理インタフェースと1対1に対応している。
【0005】
例えば図3において、ルータ11とスイッチングHUB12Aとの間のケーブル接続が外れると、ルータ11は、このケーブル接続が外れた事を認識し、スイッチングHUB12Bに接続されているノード(パソコンや他のルータ等)に対してスイッチングHUB12Aとの接続が外れたことを通知し、スイッチングHUB12Aに対する通信を行わないように機能する。
【0006】
しかしながら、図3に示すネットワークを構築する場合、1台のルータ11と2台のスイッチングHUB12A,12Bが必要不可欠であり、ネットワークの規模が大きくなるに従ってその台数も増すという問題があった。
【0007】
そこで、上記問題を解決する装置としてマルチレイヤスイッチが知られている。マルチレイヤスイッチ21は、図4に示すように、上述した図3のルータ11とスイッチングHUB12を1つの装置にまとめたものと等価である。そして、このマルチレイヤスイッチ21では、スイッチモジュール(スイッチングHUB)22がVLAN(Virtual LAN、仮想LAN)と呼ばれる論理的に分割された物理インタフェースのグループとなり、このスイッチモジュール22がルータモジュール23と仮想インタフェースで接続される。
【0008】
VLANとは、物理的な位置(ネットワークの構成)に無関係の論理的なLANで、物理的な形態(例えば、EthernetやATM−LAN)や通信プロトコル(例えば、TCP/IPやNetWare )などを混合してセグメント分けできるものである。
【0009】
そして、それぞれのVLANは、VLAN−IDと呼ばれるID番号によって識別され、VLAN間の通信をルータモジュール23が行う。ルータモジュール23のインタフェースには、VLAN−IDを設定することによって指定したVLANに割り当てる。
【0010】
【発明が解決しようとする課題】
しかしながら、上述したマルチレイヤスイッチ21におけるルータモジュール23のインタフェースは、それぞれ複数の物理インタフェースに割り当てることが可能なので、リンク状態はそれら物理インタフェースのリンク状態を検出して決定しなければならないという課題があった。
【0011】
そこで、本発明は、上記問題点に鑑みてなされたものであり、物理ポートの状態(リンク状態の変化及びVLAN−IDの変化)を監視し、この監視結果に基づいてネットワーク上における経路情報の変更を瞬時に行うことができるマルチレイヤスイッチ及びリンク状態決定方法を提供することを目的としている。
【0012】
【課題を解決するための手段】
上記目的を達成するため、請求項1の発明は、パソコン端末等のノード7が接続される複数の物理ポート2と、
前記物理ポートに接続される第1のスイッチングモジュール3と、
前記第1のスイッチングモジュールと仮想インタフェース6を介して接続される第2のスイッチングモジュール5と、
前記物理ポート毎及び前記仮想インタフェース毎のリンク状態とVLAN−IDのデータが格納された記憶手段4とを備え、
前記第1のスイッチングモジュールは、前記物理ポートのリンク状態及びVLAN−IDの状態変化を監視する物理ポート監視手段3aと、
前記物理ポート監視手段の監視結果に基づいて前記物理ポート毎のデータの更新を行うデータ更新手段3bと、
前記データ更新手段によりデータを更新したときに前記第2のスイッチングモジュールにその変更通知を行うデータ通知手段3cとを備えており、
前記第2のスイッチングモジュールは、前記第1のスイッチングモジュールからの前記物理ポートのリンク状態の変更通知を受信する変更通知受信手段5aと、
前記変更通知受信手段が前記物理ポートのリンク状態の変更通知を受信したときに、前記記憶手段のデータに基づいて前記仮想インタフェース各々のVLAN−IDと同じ値を持つ物理ポートが1つ以上リンク接続しているか否かを判別する判別手段5cと、
前記判別手段が前記第2のスイッチングモジュールの仮想インタフェースと同じVLAN−IDを持つ物理ポートが1つ以上リンク接続していると判断したときに、その仮想インタフェースのリンク状態もリンク接続となるように前記記憶手段に格納されたデータを書き替え、また前記判別手段が前記第2のスイッチングモジュールの仮想インタフェースと同じVLAN−IDを持つ物理ポートがすべてリンク切断していると判断したときに、その仮想インタフェースのリンク状態もリンク切断となるように前記記憶手段に格納されたデータを書き替えるデータ書替手段5dとを備えたことを特徴とする。
【0013】
請求項2の発明は、パソコン端末等のノード7が接続される複数の物理ポート2と、前記物理ポートに接続される第1のスイッチングモジュール3と、前記第1のスイッチングモジュールと仮想インタフェース6を介して接続される第2のスイッチングモジュール5と、前記物理ポート毎及び前記仮想インタフェース毎のリンク状態とVLAN−IDのデータが格納された記憶手段4とを備えたマルチレイヤスイッチのリンク状態決定方法であって、
前記物理ポートのリンク状態及びVLAN−IDの状態変化を監視するステップと、
前記監視結果に基づいて前記物理ポート毎のデータの更新を行うステップと、
前記データを更新したときに前記第2のスイッチングモジュールにその変更通知を行うステップと、
前記第1のスイッチングモジュールからの前記物理ポートのリンク状態の変更通知を受信するステップと、
前記物理ポートのリンク状態の変更通知を受信したときに、前記記憶手段のデータに基づいて前記仮想インタフェースのVLAN−IDと同じ値を持つ物理ポートが1つ以上リンク接続しているか否かを判別するステップと、
前記第2のスイッチングモジュールの仮想インタフェースと同じVLAN−IDを持つ物理ポートが1つ以上リンク接続していると判断したとき、その仮想インタフェースのリンク状態もリンク接続となるように前記記憶手段に格納されたデータを書き替え、また前記第2のスイッチングモジュールの仮想インタフェースと同じVLAN−IDを持つ物理ポートがすべてリンク切断していると判断したとき、その仮想インタフェースのリンク状態もリンク切断となるように前記記憶手段に格納されたデータを書き替えるステップとを含むことを特徴とする。
【0014】
【発明の実施の形態】
図1は本発明によるマルチレイヤスイッチのブロック図、図2は同マルチレイヤスイッチが実行する処理手順を示すフローチャートである。
【0015】
図1に示すように、本例のマルチレイヤスイッチ1は、パソコン端末等のノード7が接続される物理インタフェースとして複数の物理ポート2(2−1、2−2、2−3、…、2−n)を備えている。この複数の物理ポート2は、第1のスイッチングモジュール3に接続されている。
【0016】
第1のスイッチングモジュール3は、複数の物理ポート2と接続され、物理ポート2から受信するデータリンク層(OSI参照モデル第2層)の宛先MACアドレスを解析し、該当するノード(パソコン等の端末)7が接続されている物理ポート2のみにパケットを送信するものである。
【0017】
更に、第1のスイッチングモジュール3の機能として本発明の要部に係わる構成について説明する。図1に示すように、この第1のスイッチングモジュール3は、例えばCPU、DSP等のマイクロプロセッサから構成される物理ポート監視手段3a、データ更新手段3b、データ通知手段3cを備えている。
【0018】
物理ポート監視手段3aは、各物理ポート2(2−1、2−2、2−3、…、2−n)の状態変化を監視している。具体的に、物理ポート監視手段3aは、各物理ポート2のリンク状態が変化したか否かの判別と、ユーザのコマンド入力によって設定される各物理ポート2のVLAN−IDが変更されたか否かの判別を行っている。なお、上記リンク状態が変化したか否かの判別は、各物理ポート2は、第1のスイッチングモジュール3とケーブル接続されているときは導通しており、その間の接続が外れたときに発生する割込信号によりリンクDOWNを検出している。また、リンクDOWNの検出はポーリングでも可能である。さらに、リンクUPも同様に割込信号またはポーリングで検出している。
【0019】
データ更新手段3bは、物理ポート監視手段3aの監視結果に基づいて各物理ポート2毎のデータの更新を行っている。具体的に、データ更新手段3bは、物理ポート監視手段3aが物理ポート2のリンク状態が変化したと判別したときに、後述する記憶手段4に格納されたリンク状態テーブル4aのデータのうち、リンク状態が変化したと判別された物理ポート2のリンク状態のデータを更新している。また、データ更新手段3bは、物理ポート監視手段3aが物理ポート2のVLAN−IDが変更されたと判別したときに、後述する記憶手段4に格納されたリンク状態テーブル4aのデータのうち、VLAN−IDが変更されたと判別された物理ポート2のVLAN−IDのデータを更新している。
【0020】
データ通知手段3cは、データ更新手段3bによって後述する記憶手段4に格納されたリンク状態テーブル4aのデータが更新されたときに、物理ポート2のリンク状態の変更された旨の通知データを後述する第2のスイッチングモジュール5に行っている。
【0021】
例えばRAM、EEPROM等からなる記憶手段4には、リンク状態テーブル4aと仮想インタフェース設定値テーブル4bが格納されている。リンク状態テーブル4aは、例えば下記表1に示すように、物理ポート2毎の物理ポート番号、VLAN−ID、リンク状態(UP…接続、DOWN…切断)等のデータがテーブル形式に格納されている。
【0022】
【表1】
【0023】
仮想インタフェース設定値テーブル4bは、例えば下記表2に示すように、第1のスイッチングモジュール3と後述する第2のスイッチングモジュール5との間を仮想的に接続する仮想インタフェース6(6−1、6−2、6−3、…、6−n:nはVLANの数に相当)毎のインタフェース番号、VLAN−ID、ステータス(UP…接続、DOWN…切断)等のデータがテーブル形式に格納されている。
【0024】
【表2】
【0025】
第2のスイッチングモジュール5は、ネットワークアドレスと呼ばれるOSI参照モデル第3層「ネットワークレイヤ」の情報を元にネットワーク間のデータ(パケット)の配送を行うもので、第1のスイッチングモジュール3と仮想インタフェース6により常時接続されている。
【0026】
更に、第2のスイッチングモジュール5の機能として本発明の要部に係わる構成について説明する。図1に示すように、この第2のスイッチングモジュール5は、例えばCPU、DSP等のマイクロプロセッサから構成される変更通知受信手段5a、データ読込手段5b、判別手段5c、データ書替手段5dを備えている。
【0027】
変更通知受信手段5aは、第1のスイッチングモジュール3からの物理ポート2のリンク状態の変更通知を受信している。
【0028】
データ読込手段5bは、変更通知受信手段5aが物理ポート2のリンク状態の変更通知を受信したときに、リンク状態テーブル4aのデータを読み込んで判別手段5cに送出している。また、データ読込手段5bは、変更通知受信手段5aが物理ポート2のリンク状態の変更通知を受信したときに、仮想インタフェース設定値テーブル4bのデータを読み込んで判別手段5cに送出している。
【0029】
判別手段5cは、仮想インタフェース設定値テーブル4bのデータに基づいて各仮想インタフェース6の設定がUP/DOWNのいずれであるかを判別している。また、判別手段5cは、仮想インタフェース6の設定がUPしていると判別したときに、仮想インタフェース6のVLAN−IDと同じ値を持つ物理ポートが1つ以上リンクUPしているか否かを判別している。
【0030】
データ書替手段5dは、第2のスイッチングモジュール5の仮想インタフェース6と同じVLAN−IDを持つ物理ポート2が1つ以上リンクUP(接続)していると判断したとき、その仮想インタフェース6のリンク状態もリンクUP(接続)となるように、仮想インタフェース設定値テーブル4bのデータのうち該当する仮想インタフェース6のステータスのデータをUPに書き替えている。また、データ書替手段5dは、第2のスイッチングモジュール5の仮想インタフェース6と同じVLAN−IDを持つ物理ポート2がすべてリンクDOWN(切断)していると判断したとき、その仮想インタフェース6のリンク状態もリンクDOWN(切断)となるように、仮想インタフェース設定値テーブル4bのデータのうち該当する仮想インタフェース6のステータスのデータをDOWNに書き替えている。
【0031】
次に、上記のように構成されたマルチレイヤスイッチ1が実行する処理内容を図2に示すフローチャートに基づいて説明する。
【0032】
まず、第1のスイッチングモジュール3の物理ポート監視手段3aは、各物理ポート2(2−1、2−2、2−3、…、2−n)の状態を例えば1番目の物理ポート2−1から順番に監視し(ST1)、リンク状態が変化したか否かを判別する(ST2)。リンク状態が変化したと判別すると(ST2−Y)、データ更新手段3bがリンク状態テーブル4aを更新する(ST4)。すなわち、リンク状態テーブル4aのうちのその物理ポート2のリンク状態のデータを更新する。
【0033】
リンク状態が変化していないと判別すると(ST2−N)、VLAN−IDが変更されたか否かを判別する(ST3)。ユーザのコマンド入力設定によりVLAN−IDが変更されていると判別すると(ST3−Y)、データ更新手段3bがリンク状態テーブル4aを更新する(ST4)。すなわち、リンク状態テーブル4aのうちのその物理ポート2のVLAN−IDのデータを更新する。VLAN−IDが変更されていないと判別すると(ST3−N)、物理ポート2の状態監視の動作に戻る(ST1)。
【0034】
リンク状態テーブル4aが更新されると、データ通知手段3cが第2のスイッチモジュール5に物理ポート2のリンク状態の変更を通知する(ST5)。その後、第2のスイッチングモジュール5の変更通知受信手段5aが第1のスイッチングモジュール3から送られる物理ポート2のリンク状態の変更通知を受信し(ST6)、データ読込手段5bが物理ポート2のリンク状態テーブル4aを読み込む(ST7)。更に、第2のスイッチングモジュールのユーザ設定情報、すなわち仮想インタフェース設定値テーブル4bのデータを読み込む(ST8)
【0035】
そして、仮想インタフェース6のカウント値iを0にし(ST9)、1つ目の仮想インタフェース6から順番に以下に説明する処理を実行する。
【0036】
まず、第2のスイッチングモジュール5の判別手段5cは、仮想インタフェース6(i)の設定がUP(接続)しているか否か判別する(ST10)。仮想インタフェース6(i)の設定がUPしていると判別すると(ST10−Y)、その仮想インタフェース6のVLAN−IDと同じ値を持つ物理ポート2が1つ以上リンクUPしているか否かを判別する(ST11)。
【0037】
仮想インタフェース6のVLAN−IDと同じ値を持つ物理ポートが1つ以上リンクUPしていると判別すると(ST11−Y)、仮想インタフェース6の現在の状態がDOWNしているか否かを判別する(ST12)。そして、その仮想インタフェース6の現在の状態がDOWNしていると判別すると(ST12−Y)、その仮想インタフェース6をUP(接続)し(ST13)、仮想インタフェース設定値テーブル4bのその仮想インタフェース6のステータスのデータをUPに書き替える。
【0038】
そして、最後の仮想インタフェース6か否か判別する(ST14)。最後の仮想インタフェース6でないと判別すると(ST14−N)、仮想インタフェース6のカウント値iをi+1とし(St15)、仮想インタフェース6(i)の設定がUPしているか否かの判別の動作に戻る(ST10)。これに対し、最後の仮想インタフェース6と判別すると(ST14−Y)、物理ポート2のリンク状態の変更通知を受信する動作に戻る(ST6)。
【0039】
ST11において、仮想インタフェース6のVLAN−IDと同じ値を持つ物理ポート2が1つ以上リンクUPしていないと判別すると(ST11−N)、その仮想インタフェース6の現在の状態がUPしているか否か判別する(ST16)。
【0040】
仮想インタフェース6の現在の状態がUPしていると判別すると(ST16−Y)、その仮想インタフェース6をDOWN(切断)し、最後の仮想インタフェース6か否かを判別する動作に移行する(ST14)。これに対し、仮想インタフェース6の現在の状態がUPしていないと判別すると(ST16−N)、最後の仮想インタフェース6か否かを判別する動作に移行する(ST14)。
【0041】
そして、第2のスイッチングモジュール5は、上述した動作により書き替えられた仮想インタフェース設定値テーブルのデータに基づいて仮想インタフェース6のリンク状態が決定される。
【0042】
このように、本例のマルチレイヤスイッチ1によれば、物理ポート2の状態変化(リンク状態のUP(接続)/DOWN(切断)の変化、VLAN−IDの変更)を検出し、ネットワーク上の経路情報の変更を瞬時に行うことができる。
【0043】
しかも、様々な要因で発生する物理インタフェース(物理ポート2)のリンク状態のUP/DOWNを第2のスイッチングモジュール5のインタフェースのリンク状態に反映させ、敏速な経路の変更とネットワーク中の他のネットワークデバイス(マルチレイヤスイッチ、ルータなど)への通知を行うことができる。
【0044】
ところで、上記実施の形態では、記憶手段4に格納されたリンク状態テーブル4aのデータが更新されたときに、物理ポート2のリンク状態の変更された旨の通知データが第2のスイッチングモジュール5に送ることにより変更通知を行う場合を例にとって説明したが、第1のスイッチングモジュール3が読み書きする記憶手段と、第2のスイッチングモジュール5が読み書きする記憶手段を別々に設け、第1のスイッチングモジュール3で更新されて記憶手段に格納されたリンク状態テーブルのデータそのものを変更通知とし、そのデータを第2のスイッチングモジュール5に送信して記憶手段に格納する構成としてもよい。
【0045】
【発明の効果】
以上の説明で明らかなように、本発明によれば、物理ポートの状態変化を検出し、ネットワーク上の経路情報の変更を瞬時に行うことができる。しかも、様々な要因で発生する物理ポートのリンク状態の接続/切断を第2のスイッチングモジュールの仮想インタフェースのリンク状態に反映させ、敏速な経路の変更とネットワーク中の他のネットワークデバイス(マルチレイヤスイッチ、ルータなど)への通知を行うことができる。
【図面の簡単な説明】
【図1】本発明によるマルチレイヤスイッチの実施の形態を示すブロック図
【図2】本発明によるマルチレイヤスイッチの処理手順を示すフローチャート
【図3】従来の一般的なネットワーク構成の一例を示す図
【図4】図3のネットワーク構成と等価なマルチレイヤスイッチのネットワーク構成を示す図
【符号の説明】
1…マルチレイヤスイッチ、2(2−1、2−2、2−3、…、2−n)…物理ポート(物理インタフェース)、3…第1のスイッチングモジュール、3a…物理ポート監視手段、3b…データ更新手段、3c…データ通知手段、4…記憶手段、4…リンク状態テーブル、4b…仮想インタフェース設定値テーブル、5…第2のスイッチングモジュール、5a…変更通知受信手段、5b…データ読込手段、5c…判別手段、5d…データ書替手段、6…仮想インタフェース、7…ノード。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a multilayer switch and a link state determination method that have a switching HUB function and a router function corresponding to a VLAN and simultaneously realize both VLAN division and free communication between VLANs.
[0002]
[Prior art]
A network using a conventional router is generally constructed as shown in FIG. In the example of FIG. 3, a switching HUB 12 (12A) and a switching HUB 12 (12B) are cable-connected to a port of the
[0003]
The switching HUBs 12A and 12B are network devices that connect between networks, and have a function of storing packets in a buffer in order to determine a transmission destination port of received packets, and destinations of received packets stored in the buffers The MAC address is analyzed, and the packet is transmitted only to the port to which the corresponding terminal is connected. The
[0004]
By the way, in the network shown in FIG. 3, the interface which the
[0005]
For example, in FIG. 3, when the cable connection between the
[0006]
However, when the network shown in FIG. 3 is constructed, there is a problem that one
[0007]
Therefore, a multilayer switch is known as an apparatus for solving the above problem. As shown in FIG. 4, the
[0008]
A VLAN is a logical LAN that is unrelated to the physical location (network configuration), and is mixed with physical forms (for example, Ethernet and ATM-LAN) and communication protocols (for example, TCP / IP and NetWare). And can be segmented.
[0009]
Each VLAN is identified by an ID number called VLAN-ID, and the
[0010]
[Problems to be solved by the invention]
However, since the interface of the
[0011]
Therefore, the present invention has been made in view of the above problems, and monitors the state of a physical port (change in link state and change in VLAN-ID), and based on the result of monitoring, the route information on the network is monitored. An object of the present invention is to provide a multi-layer switch and a link state determination method capable of instantaneously changing.
[0012]
[Means for Solving the Problems]
In order to achieve the above object, the invention of
A
A
A storage unit 4 storing link state and VLAN-ID data for each physical port and each virtual interface;
The first switching module includes a physical
Data updating means 3b for updating data for each physical port based on the monitoring result of the physical port monitoring means;
A data notification means 3c for notifying the second switching module when the data is updated by the data update means;
The second switching module includes a change
When the change notification receiving unit receives a link state change notification of the physical port, one or more physical ports having the same value as the VLAN-ID of each of the virtual interfaces are linked based on the data in the storage unit Determining means 5c for determining whether or not
When the determination unit determines that one or more physical ports having the same VLAN-ID as the virtual interface of the second switching module are linked, the link state of the virtual interface is also linked. When the data stored in the storage means is rewritten, and when the determination means determines that all physical ports having the same VLAN-ID as the virtual interface of the second switching module are disconnected, the virtual Data rewriting means 5d is provided for rewriting data stored in the storage means so that the link state of the interface is also disconnected.
[0013]
The invention of
Monitoring the link state and VLAN-ID state change of the physical port;
Updating the data for each physical port based on the monitoring result;
Notifying the second switching module of the change when the data is updated;
Receiving a link state change notification of the physical port from the first switching module;
When the link change notification of the physical port is received, it is determined whether one or more physical ports having the same value as the VLAN-ID of the virtual interface are linked based on the data in the storage unit And steps to
When it is determined that one or more physical ports having the same VLAN-ID as the virtual interface of the second switching module are linked to each other, the link state of the virtual interface is also stored in the storage unit so as to be linked. When it is determined that all physical ports having the same VLAN-ID as the virtual interface of the second switching module are disconnected, the link state of the virtual interface is also disconnected. And rewriting the data stored in the storage means.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a block diagram of a multilayer switch according to the present invention, and FIG. 2 is a flowchart showing a processing procedure executed by the multilayer switch.
[0015]
As shown in FIG. 1, the
[0016]
The
[0017]
Furthermore, the structure concerning the principal part of this invention is demonstrated as a function of the
[0018]
The physical
[0019]
The data updating unit 3b updates the data for each
[0020]
The data notification unit 3c will be described later with notification data indicating that the link state of the
[0021]
For example, a link state table 4a and a virtual interface setting value table 4b are stored in the storage unit 4 including a RAM, an EEPROM, or the like. In the link state table 4a, for example, as shown in Table 1 below, data such as physical port numbers, VLAN-IDs, link states (UP... Connection, DOWN... Disconnection) for each
[0022]
[Table 1]
[0023]
For example, as shown in Table 2 below, the virtual interface setting value table 4b is a virtual interface 6 (6-1, 6) that virtually connects the
[0024]
[Table 2]
[0025]
The
[0026]
Furthermore, the structure concerning the principal part of this invention is demonstrated as a function of the
[0027]
The change
[0028]
When the change
[0029]
The
[0030]
When the data rewriting means 5d determines that one or more
[0031]
Next, processing contents executed by the
[0032]
First, the physical
[0033]
If it is determined that the link state has not changed (ST2-N), it is determined whether the VLAN-ID has been changed (ST3). If it is determined that the VLAN-ID has been changed by the user command input setting (ST3-Y), the data update unit 3b updates the link state table 4a (ST4). That is, the VLAN-ID data of the
[0034]
When the link state table 4a is updated, the data notification unit 3c notifies the
[0035]
Then, the count value i of the
[0036]
First, the
[0037]
When it is determined that one or more physical ports having the same value as the VLAN-ID of the
[0038]
Then, it is determined whether or not it is the last virtual interface 6 (ST14). If it is determined that it is not the last virtual interface 6 (ST14-N), the count value i of the
[0039]
If it is determined in ST11 that one or more
[0040]
If it is determined that the current state of the
[0041]
Then, the
[0042]
As described above, according to the
[0043]
In addition, UP / DOWN of the link state of the physical interface (physical port 2) generated by various factors is reflected in the link state of the interface of the
[0044]
By the way, in the above embodiment, when the data of the link state table 4a stored in the storage unit 4 is updated, the notification data indicating that the link state of the
[0045]
【The invention's effect】
As is clear from the above description, according to the present invention, it is possible to detect a change in the state of a physical port and instantly change the route information on the network. In addition, the connection / disconnection of the link state of the physical port caused by various factors is reflected in the link state of the virtual interface of the second switching module, so that a prompt route change and other network devices in the network (multilayer switch) , Routers, etc.).
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of a multilayer switch according to the present invention. FIG. 2 is a flowchart showing a processing procedure of the multilayer switch according to the present invention. FIG. 3 is a diagram showing an example of a conventional general network configuration. FIG. 4 is a diagram showing a network configuration of a multilayer switch equivalent to the network configuration of FIG.
DESCRIPTION OF
Claims (2)
前記物理ポートに接続される第1のスイッチングモジュール(3)と、
前記第1のスイッチングモジュールと仮想インタフェース(6)を介して接続される第2のスイッチングモジュール(5)と、
前記物理ポート毎及び前記仮想インタフェース毎のリンク状態とVLAN−IDのデータが格納された記憶手段(4)とを備え、
前記第1のスイッチングモジュールは、前記物理ポートのリンク状態及びVLAN−IDの状態変化を監視する物理ポート監視手段(3a)と、
前記物理ポート監視手段の監視結果に基づいて前記物理ポート毎のデータの更新を行うデータ更新手段(3b)と、
前記データ更新手段によりデータを更新したときに前記第2のスイッチングモジュールにその変更通知を行うデータ通知手段(3c)とを備えており、
前記第2のスイッチングモジュールは、前記第1のスイッチングモジュールからの前記物理ポートのリンク状態の変更通知を受信する変更通知受信手段(5a)と、
前記変更通知受信手段が前記物理ポートのリンク状態の変更通知を受信したときに、前記記憶手段のデータに基づいて前記仮想インタフェース各々のVLAN−IDと同じ値を持つ物理ポートが1つ以上リンク接続しているか否かを判別する判別手段(5c)と、
前記判別手段が前記第2のスイッチングモジュールの仮想インタフェースと同じVLAN−IDを持つ物理ポートが1つ以上リンク接続していると判断したときに、その仮想インタフェースのリンク状態もリンク接続となるように前記記憶手段に格納されたデータを書き替え、また前記判別手段が前記第2のスイッチングモジュールの仮想インタフェースと同じVLAN−IDを持つ物理ポートがすべてリンク切断していると判断したときに、その仮想インタフェースのリンク状態もリンク切断となるように前記記憶手段に格納されたデータを書き替えるデータ書替手段(5d)とを備えたことを特徴とするマルチレイヤスイッチ。A plurality of physical ports (2) to which nodes (7) such as personal computer terminals are connected;
A first switching module (3) connected to the physical port;
A second switching module (5) connected to the first switching module via a virtual interface (6);
Storage means (4) storing link status and VLAN-ID data for each physical port and for each virtual interface;
The first switching module includes physical port monitoring means (3a) for monitoring a link state of the physical port and a state change of the VLAN-ID;
Data updating means (3b) for updating data for each physical port based on the monitoring result of the physical port monitoring means;
A data notification means (3c) for notifying the second switching module of the change when the data is updated by the data update means;
The second switching module includes a change notification receiving unit (5a) for receiving a link state change notification of the physical port from the first switching module;
When the change notification receiving unit receives a link state change notification of the physical port, one or more physical ports having the same value as the VLAN-ID of each of the virtual interfaces are linked based on the data in the storage unit Determining means (5c) for determining whether or not
When the determination unit determines that one or more physical ports having the same VLAN-ID as the virtual interface of the second switching module are linked, the link state of the virtual interface is also linked. When the data stored in the storage means is rewritten, and when the determination means determines that all physical ports having the same VLAN-ID as the virtual interface of the second switching module are disconnected, the virtual A multi-layer switch comprising data rewriting means (5d) for rewriting data stored in the storage means so that the link state of the interface is also disconnected.
前記物理ポートのリンク状態及びVLAN−IDの状態変化を監視するステップと、
前記監視結果に基づいて前記物理ポート毎のデータの更新を行うステップと、
前記データを更新したときに前記第2のスイッチングモジュールにその変更通知を行うステップと、
前記第1のスイッチングモジュールからの前記物理ポートのリンク状態の変更通知を受信するステップと、
前記物理ポートのリンク状態の変更通知を受信したときに、前記記憶手段のデータに基づいて前記仮想インタフェースのVLAN−IDと同じ値を持つ物理ポートが1つ以上リンク接続しているか否かを判別するステップと、
前記第2のスイッチングモジュールの仮想インタフェースと同じVLAN−IDを持つ物理ポートが1つ以上リンク接続していると判断したとき、その仮想インタフェースのリンク状態もリンク接続となるように前記記憶手段に格納されたデータを書き替え、また前記第2のスイッチングモジュールの仮想インタフェースと同じVLAN−IDを持つ物理ポートがすべてリンク切断していると判断したとき、その仮想インタフェースのリンク状態もリンク切断となるように前記記憶手段に格納されたデータを書き替えるステップとを含むことを特徴とするリンク状態決定方法。A plurality of physical ports (2) to which a node (7) such as a personal computer terminal is connected, a first switching module (3) connected to the physical port, the first switching module and a virtual interface (6) Multi-layer switch comprising: a second switching module (5) connected via a network; and storage means (4) storing link state and VLAN-ID data for each physical port and each virtual interface The link state determination method of
Monitoring the link state and VLAN-ID state change of the physical port;
Updating the data for each physical port based on the monitoring result;
Notifying the second switching module of the change when the data is updated;
Receiving a link state change notification of the physical port from the first switching module;
When the link change notification of the physical port is received, it is determined whether one or more physical ports having the same value as the VLAN-ID of the virtual interface are linked based on the data in the storage unit And steps to
When it is determined that one or more physical ports having the same VLAN-ID as the virtual interface of the second switching module are linked to each other, the link state of the virtual interface is also stored in the storage unit so as to be linked. When it is determined that all physical ports having the same VLAN-ID as the virtual interface of the second switching module are disconnected, the link state of the virtual interface is also disconnected. Rewriting the data stored in the storage means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000094640A JP3715506B2 (en) | 2000-03-30 | 2000-03-30 | Multilayer switch and link state determination method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000094640A JP3715506B2 (en) | 2000-03-30 | 2000-03-30 | Multilayer switch and link state determination method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2001285326A JP2001285326A (en) | 2001-10-12 |
JP3715506B2 true JP3715506B2 (en) | 2005-11-09 |
Family
ID=18609665
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000094640A Expired - Lifetime JP3715506B2 (en) | 2000-03-30 | 2000-03-30 | Multilayer switch and link state determination method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3715506B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109802870A (en) * | 2019-01-31 | 2019-05-24 | 杭州迪普科技股份有限公司 | A kind of method, apparatus, equipment and the storage medium of equipment test |
-
2000
- 2000-03-30 JP JP2000094640A patent/JP3715506B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2001285326A (en) | 2001-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7428219B2 (en) | System and method to exchange information between a control element and forwarding elements in a network element architecture | |
US9923812B2 (en) | Triple-tier anycast addressing | |
US7903548B2 (en) | BFD rate-limiting and automatic session activation | |
JP4020753B2 (en) | Ring switching method | |
US9385941B2 (en) | Data communication system and method for preventing packet proliferation in a multi-device link aggregation network | |
US7733783B2 (en) | Ethernet network availability | |
US7171504B2 (en) | Transmission unit | |
US7672227B2 (en) | Loop prevention system and method in a stackable ethernet switch system | |
US7974192B2 (en) | Multicast switching in a distributed communication system | |
US7248589B2 (en) | Apparatus for enabling multi-tuple TCP sockets within a computer network | |
WO2005020022A2 (en) | Self-healing tree network | |
US7447222B2 (en) | Automated path tracing through switching mesh | |
CN112868214B (en) | Coordinated load transfer OAM records within packets | |
JP3715506B2 (en) | Multilayer switch and link state determination method | |
EP1633087B1 (en) | Repeater apparatus for supporting a plurality of protocols, and a method for controlling proctocol conversion in the repeater apparatus | |
US7881193B2 (en) | Network system | |
JPH07264233A (en) | Route high speed changeover method and router | |
Cisco | Bridging and IBM Networking Command Reference Cisco IOS Release 11.3 | |
Cisco | Overview of Token Ring Switching | |
JP3447674B2 (en) | Automatic route selection method and method | |
JPH11112503A (en) | Network system and network equipment | |
JP4839334B2 (en) | Redundant protocol coexistence system and transfer device | |
JPH11187057A (en) | Repeating hub and network management device | |
JP4633723B2 (en) | Network system, transmission-side switch device, reception-side switch device, and dual-use switch device | |
JP6761510B1 (en) | Communication device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050627 |
|
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: 20050816 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050825 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 3715506 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313532 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080902 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090902 Year of fee payment: 4 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090902 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100902 Year of fee payment: 5 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110902 Year of fee payment: 6 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120902 Year of fee payment: 7 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130902 Year of fee payment: 8 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
EXPY | Cancellation because of completion of term |