JP3777574B2 - LAN switch and test method - Google Patents

LAN switch and test method Download PDF

Info

Publication number
JP3777574B2
JP3777574B2 JP2002221045A JP2002221045A JP3777574B2 JP 3777574 B2 JP3777574 B2 JP 3777574B2 JP 2002221045 A JP2002221045 A JP 2002221045A JP 2002221045 A JP2002221045 A JP 2002221045A JP 3777574 B2 JP3777574 B2 JP 3777574B2
Authority
JP
Japan
Prior art keywords
test frame
test
frame
port
lan switch
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
Application number
JP2002221045A
Other languages
Japanese (ja)
Other versions
JP2004064489A (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.)
Fujitsu Ltd
Nippon Telegraph and Telephone Corp
Original Assignee
Fujitsu Ltd
Nippon Telegraph and Telephone 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 Fujitsu Ltd, Nippon Telegraph and Telephone Corp filed Critical Fujitsu Ltd
Priority to JP2002221045A priority Critical patent/JP3777574B2/en
Publication of JP2004064489A publication Critical patent/JP2004064489A/en
Application granted granted Critical
Publication of JP3777574B2 publication Critical patent/JP3777574B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、端末装置やLAN(Local Area Network;ローカル・エリア・ネットワーク)等と接続する複数のポートを有するLANスイッチ及び試験方法に関する。
【0002】
【従来の技術】
画像,音声等を含む各種のデータを伝送するインターネット等を含む各種のネットワークが実用化されている。図7はネットワークの一例の要部を示すもので、71はユーザ網、72はアクセス網、73はコア網を示す。又ユーザ網71は、LAN74や端末装置等を含み、又アクセス網72は、回線終端装置(DSU;Digital Service Unit)や光アクセス装置(ONU;Optical Network Terminal)75等を含むものである。又コア網73は、複数のコアスイッチ77間を接続した構成を有し、コア網73とアクセス網72との間を加入者終端装置76により接続した構成を示す。
【0003】
広帯域且つ高信頼性を要求されるコア網73は、従来、SDH(Synchronous Digital Hierachy)やATM(Asynchronous Transfer Mode)等の伝送技術を適用する場合が一般的であった。しかし、最近のLANの急速な普及によって、多数のエンドユーザは、通常、イーサネット(登録商標)と称されるIEEE802.3による標準化されたLAN74によってユーザ網71を構築する場合が多く、それに伴って、アクセス網72及びコア網73についても、このIEEE802.3を適用して構築するようになった。
【0004】
このようなLANに適用するフレームは、例えば、図8に示すフォーマットが知られている。同図の(a)はEthernet II(DIX)、(b)はIEEE802.3(RAW)、(c)はIEEE802.3(LLC;Logical Link Control)、(d)はIEEE802.3(LLC+SNAP;Logical Link Control,Sub−NetworkAccess Protocol)で規定されたフォーマットを示し、又IEEE802.1Qで規定されているVLAN(Virtual Local Network;仮想LAN)に適用する場合のLANタグを付加することが可能である。
【0005】
又図8に於いて、PAはプリアンブル、DAは宛先アドレス、SAは送信元アドレス、Typeはフレームのタイプ、Dateはデータ部、FCSはフレームチェックシーケンス、TPIDはタグプロトコル識別子、TCIはタグ制御情報、SFDはフレーム開始デリミタ、Lengthはデータ部の長さ情報、DSAPは宛先上位層プロトコル識別子、SSAPは送信元上位層プロトコル識別子、Ctrlは制御部、OUIは管理組織識別子、PIDはプロトコル識別子を示し、それぞれの括弧内はバイト数を示す。
【0006】
又図8の(c)及び(d)のLLC(Logical Link Control;論理リンク制御)ヘッダは、宛先上位層プロトコル識別子DSAPと送信元上位層プロトコル識別子SSAPと制御部Ctrlとからなる3バイト構成のヘッダを示し、図8の(d)のSNAP(Subnetwork AccessProtocol)ヘッダは、管理組織識別子OUIとプロトコル識別子PIDとからなる5バイト構成のヘッダを示す。又前述の図8の(a)〜(d)に示すフレームを総称して、MAC(Media Access Control)フレームとする場合が一般的である。
【0007】
このようなMACフレームを転送する為のLANスイッチは、複数のポートと学習テーブルとを備え、この学習テーブルに、送信元アドレスと、この送信元アドレスを付加したMACフレームの到着ポートとを関連付けて登録する。従って、受信MACフレームの宛先アドレスが、登録された送信元アドレスと一致すれば、登録されたポートを転送先ポートとして、MACフレームを転送することができる。なお、学習テーブルに送信元アドレスとポートとの対応付けが登録されていないMACフレームを受信した場合、未学習フレームとして処理する。即ち、学習テーブルに、送信元アドレスと到着ポートとを関連付けて新規登録し、受信MACフレームをコピーして全ポートに送信するフラッディング(Flooding)を行う。このような学習を繰り返すことにより、学習テーブルに、送信元アドレスとポートとの関係付けが登録されるから、宛先アドレスが登録された送信元アドレスと一致したポートに転送することになる。
【0008】
【発明が解決しようとする課題】
通信ネットワークに於けるLANスイッチは、SDHノードやATMノードに比較して低価格である利点がある。しかし、ネットワークの信頼性を確保する為に、運用中にLANスイッチの正常性等を試験することが望ましいが、その為の試験手段は何ら提案されていない。若し、運用中のネットワークのLANスイッチを含むネットワークの正常性等の試験を行う場合は、LANスイッチを伝送路から切り離して、測定器等を接続することにより試験を行うことになる。従って、サービスを全く中断する必要がある問題がある。又このサービスを中断しないようにする為には、LANスイッチを二重化構成とし、一方を運用系、他方を予備系として、この予備系に対して試験を行うことが考えられるが、LANスイッチを二重化構成とすることによるコストアップが問題となる。
【0009】
本発明は、ネットワークの運用中に於いても、LANスイッチの正常性,LANスイッチ間の導通試験,帯域測定試験,遅延時間測定試験等を実現することを目的とする。
【0010】
【課題を解決するための手段】
本発明のLANスイッチは、図1を参照して説明すると、複数のポート5−1〜5−nと、学習テーブル2と、この学習テーブル2を参照してフレームを振り分けるフレーム振り分け部3とを含む構成のLANスイッチ1であって、ポート5−1〜5−nに、試験フレームを形成して送出する機能の試験フレーム挿入部b,dと、試験フレームを抽出して計測する機能の試験フレーム抽出部a,cとを設け、試験時に、学習テーブル2に試験フレームを示す送信元アドレスとポート番号とを関係付けて登録し、且つ指定したポートの試験フレーム挿入部b,dと試験フレーム抽出部a,cとの何れか一方又は両方を制御して試験を行う試験フレーム管理部4を設けた構成とする。
【0011】
又試験フレーム抽出部a,cは、試験フレームを抽出して試験フレーム数、試験フレームレート、試験フレーム廃棄数の少なくとも何れか一つを計測する機能を有し、試験フレーム挿入部b,dは、学習テーブル2に試験時に登録した送信元アドレスを宛先アドレスとし、且つシーケンス番号を含む試験フレームを形成して送出する機能を有するものである。
【0012】
又本発明の試験方法は、学習テーブル2と、フレーム振り分け部3と、試験フレーム管理部4と、試験フレーム抽出部a,cと試験フレーム挿入部b,dとを含む複数のポート5−1〜5−nとを有するLANスイッチ1又はLANスイッチ間を試験する試験方法であって、学習テーブル2に試験フレームを示す送信元アドレスとポート番号とを関係付けて登録し、且つ試験フレームについての学習禁止を設定し、指定したポートの試験フレーム挿入部から学習テーブル2に登録した送信元アドレスを宛先アドレスとした試験フレームを形成して送出し、フレーム振り分け部3は、学習テーブル2に登録されたポート番号のポートに試験フレームを振り分け、指定したポートの試験フレーム抽出部から試験フレームを抽出して、指定したポート間の試験を行う過程を含むものである。
【0013】
又LANスイッチ間を伝送路で接続した一方のLANスイッチの学習テーブルに、試験フレームを示す送信元アドレスとポート番号とを関係付けて登録し、且つ試験フレームについての学習禁止を設定し、登録されたポート番号のポートと接続された他方のLANスイッチのポートの出側試験フレーム挿入部から、学習テーブルに登録された送信元アドレスを宛先アドレスとした試験フレームを送出し、一方のLANスイッチの振り分け部に於いて学習テーブルを参照して、他方のLANスイッチに折り返して送出し、他方のLANスイッチのポートの入側試験フレーム抽出部に於いて試験フレームを抽出して、折り返し試験を行う過程を含むものである。
【0014】
又第1のLANスイッチと第2のLANスイッチとの間に単一又は複数の中継経路LANスイッチを含み、この中継経路LANスイッチの学習テーブルに、試験フレームを示す送信元アドレスと、試験フレームを中継送出するポートのポート番号とを関係付けて登録し、且つ試験フレームについての学習禁止を設定し、第1のLANスイッチのポートの出側試験フレーム挿入部から、中継経路LANスイッチの学習テーブルに登録された送信元アドレスを宛先アドレスとした試験フレームを送出し、中継経路LANスイッチの振り分け部は、学習テーブルを参照して試験フレームを中継送出し、第2のLANスイッチの試験フレームの到着ポートの入側試験フレーム抽出部に於いて試験フレームを抽出し、中継経路LANスイッチを介した第1,第2のLANスイッチ間の試験を行う過程を含むものである。
【0015】
【発明の実施の形態】
図1は本発明の実施の形態の説明図であり、1はLANスイッチ、2は学習テーブル、3はフレーム振り分け部、4は試験フレーム管理部、5−1〜5−nはポートを示す。又ポート5−1〜5−nのaは入側試験フレーム抽出部、bは入側試験フレーム挿入部、cは出側試験フレーム抽出部、dは出側試験フレーム挿入部を示す。各ポート5−1〜5−nは伝送路を介して図示を省略した他のLANスイッチと接続されている。
【0016】
LANスイッチ1は、複数のポート5−1〜5−nと学習テーブル2とフレーム振り分け部3とを備えた構成が一般的である。各ポート5−1〜5−nは、入出力インタフェースの機能を有し、それぞれポート番号が付与されている。又フレーム振り分け部3は、学習テーブル2を参照して、到着ポートから転送先ポートへMACフレームを振り分けるものである。本発明に於いては、各ポート5−1〜5−nに、入側試験フレーム抽出部aと、入側試験フレーム挿入部bと、出側試験フレーム抽出部cと、出側試験フレーム挿入部cとを設け、且つ試験フレーム管理部4を設ける。なお、入側と出側とを区別する必要がない場合は、試験フレーム抽出部と試験フレーム挿入部として説明する。試験フレーム抽出部は、試験フレームを宛先アドレスやフレームタイプ等により識別して抽出する機能を有し、試験フレーム挿入部は、試験フレームを示す宛先アドレスやシーケンス番号等を含む試験フレームを形成して送出する機能を有するものである。
【0017】
試験フレーム管理部4は、図示を省略した装置管理システム(オペレーション・システム)との間で、図示を省略した他のネットワークを介して各種情報の転送を行うか、又はLANスイッチ1を含むネットワークを介して制御フレーム等によって転送する構成とすることができる。又試験フレーム管理部4は、装置管理システムからの試験実行の指示に従って、学習テーブル2に試験フレームの送信元アドレスとポートとの関係付けを登録し、指定されたポートに於ける試験フレームの抽出部や挿入部に対して試験フレームの挿入設定又は抽出設定を行い、又試験開始指示や試験手停止指示を行う機能を備えている。
【0018】
ポート5−1〜5−nの入側試験フレーム抽出部aと出側試験フレーム抽出部cとは、試験フレーム管理部4からの抽出設定に従って、MACフレームとしてのユーザフレームの間に挿入されて転送された試験フレームを、例えば、宛先アドレスによって抽出し、試験フレーム数の計数、試験フレームによる伝送レート、伝送遅延時間等の計測機能を備えている。又入側試験フレーム挿入部bと出側試験フレーム挿入部dとは、試験フレーム管理部4からの挿入設定に従って、ユーザフレームの間に、試験フレームであることを識別できる宛先アドレスを付加した試験フレームを送出する機能を備えている。なお、試験フレームは、フレームタイプにより識別できるようにことも可能である。
【0019】
図2は試験フレームの説明図であり、同図の(a),(b)は、図8の(b)に示すフォーマットに従った場合を示し、同一符号は同一内容を示す。この図2の(a)の試験フレームは、データ部Dataの位置に、4バイト構成のシーケンス番号と、オール“0”としたパディング(Paddig)とを挿入する。なお、VLANに対しては、VLANタグを付加する。又図2の(b)は、データ部の位置に、4バイト構成のシーケンス番号と、4バイト構成のタイムスタンプとオール“0”のパディング(Padding)とを挿入した試験フレームを示す。なお、図8の(a),(c),(d)に示すフォーマットに従った試験フレームを用いることも可能である。
【0020】
従って、図1に於ける入側試験フレーム挿入部aと出側試験フレーム挿入部dとは、図2の(a)又は(b)に示すフレームフォーマットを形成し、宛先アドレスを例えば#TESTとし、送信元アドレスを例えば自ポート番号とし、シーケンス番号を試験フレームの送出毎にインクリメントする機能を設けるもので、このような機能は、メモリや制御論理回路等により容易に実現することができる。なお、この試験フレームの送信元アドレスについては、試験時に、学習テーブル2に、試験フレームの送信元アドレスを登録し、試験フレームについての学習禁止を設定するから、試験フレームは指定されたポートに対して最初から振り分けることになる。
【0021】
図3はLANスイッチ1内のポート間の導通試験,品質試験を行う場合を示すもので、学習テーブル2と、フレーム振り分け部3と、試験フレーム管理部4と、ポート番号#PA〜#PNのポートと、各ポートの入側試験フレーム抽出部aと、入側試験フレーム挿入部bと、出側試験フレーム抽出部cと、出側試験フレーム挿入部cとを示す。
【0022】
学習テーブル2に、送信元アドレス#Aとポート番号#PNとが関連付けて格納され、又送信元アドレス#Bとポート番号#PKとが関連付けて格納されている場合に、ポート番号#PAのポートと、ポート番号#PJのポートとの間を試験する為に、装置監視システムから試験フレーム管理部4を介して、学習テーブル2に、送信元アドレスとして例えば#TESTとポート番号#PJとを関連付けて登録し、試験フレームについての学習禁止を設定する。
【0023】
又ポート番号#PAのポートの入側試験フレーム挿入部bに、宛先アドレスを#TESTとした試験フレームの挿入設定を行い、ポート番号#PJの出側試験フレーム抽出部cに、試験フレームの抽出設定を行う。他のポートの試験フレーム抽出部a,cと試験フレーム挿入部b,dとは不動作状態に設定する。この場合、ポート番号#PAのポートが試験フレーム挿入ポート、ポート番号#PJのポートが試験フレーム終端ポートとなる。
【0024】
試験フレーム管理部4からの試験開始の指示により、ポート番号#PAの入側試験フレーム挿入部bから、図2の(a)又は(b)に示す試験フレームを形成してフレーム振り分け部3に送出する。この場合の試験フレームの宛先アドレスDA=#TESTとし、試験フレームを繰り返し送出する時のシーケンス番号を付加し、ユーザフレームの間に挿入して送出する。
【0025】
フレーム振り分け部3は、学習テーブル2を検索し、送信元アドレス#TESTが登録され、且つ試験フレームについての学習禁止が設定されるから、フラッディングを行うことなく、試験フレームを、登録された送信元アドレス#TESTに対応するポート番号#PJのポートに振り分け送出する。従って、試験フレームの経路は太線矢印で示すものとなり、この場合の試験フレームについては、コピーして到着ポート以外の他のポートに送出する制御を行わないので、ユーザフレームのトラヒックを圧迫することはない。
【0026】
ポート番号#PJのポートの出側試験フレーム抽出部cは、試験フレームの抽出設定に従って、宛先アドレス#TESTの試験フレームのみを抽出し、その試験フレーム数又は1秒間等の単位時間当たりの試験フレーム数による転送レートを計測する。又シーケンス番号を基に廃棄フレーム数を計測する。例えば、シーケンス番号100の試験フレームの次に抽出した試験フレームのシーケンス番号が103であるとすると、廃棄数2とし1秒間等の単位時間当たりの廃棄レートを計測する。
【0027】
試験フレーム管理部4は、これらの情報を収集して、ポート番号#PA,#PJ間の導通試験結果及び品質試験結果を求め、例えば、上位装置としての装置管理システムに転送することができる。このような試験が終了すると、装置管理システムからの指示に従って、試験フレーム管理部4は、学習テーブル2に登録した試験フレームの送信元アドレス#TESTと、その送信元対応のポート番号#PJとを削除し、ポート番号#PAの入側試験フレーム挿入部bに於ける試験フレームの挿入処理を停止させ、又ポート番号#PJの出側試験フレーム抽出部cに於ける抽出処理を停止させる。この試験終了後に、出側試験フレーム抽出部cに於いて計測した結果を、試験フレーム管理部4から装置管理システムに転送することもできる。
【0028】
なお、前述のポート番号#PAとポート番号#PJとのポート間の試験が終了した場合、学習テーブル2の試験フレームの送信元アドレス#TESTに対応するポート番号を例えば#PKに変更し、ポート番号#PKの出側試験フレーム抽出部cに試験フレームの抽出設定を行うことにより、ポート番号#PAとポート番号#PKとのポート間の試験を行うことができる。即ち、試験フレーム挿入ポートに対して試験フレーム終端ポートを順次変更することにより、試験フレーム挿入ポートと他のボートとの間の試験を行うことができるもので、その試験フレーム挿入ポートも順次変更することにより、各ポート間の導通試験,廃棄レート等による品質試験を行うことができる。前述の試験過程に於いて、通常のユーザフレームの振り分け処理を継続し、且つ最初の試験フレームについてもフラッディングを行うことがないので、ユーザフレームのトラヒックを圧迫することはない。
【0029】
図4は対向したLANスイッチ間に於いて、試験フレームの折り返しによる試験方法の説明図であり、1−1,1−2はLANスイッチ、2は学習テーブル、3はフレーム振り分け部を示し、#PA〜#PNはポート番号を示す。LANスイッチ1−1のポート番号#PAのポートと、LANスイッチ1−2のポート番号#PKのポートとが伝送路を介して接続され、LANスイッチ1−1,1−2間で折り返し試験を行う場合、LANスイッチ1−1に於いては、図示を省略した試験フレーム管理部から、ポート番号#PAの出側試験フレーム挿入部dに試験フレームの挿入設定を行い、入側試験フレーム抽出部aに試験フレームの抽出設定を行う。又LANスイッチ1−2に於いては、図示を省略した試験フレーム管理部から、学習テーブル2に、送信元アドレス#TESTとポート番号#PKとを登録し、試験フレームの送信元アドレスと宛先アドレスとについての学習禁止を設定する。なお、LANスイッチ1−1のポート番号#PAのポートの入側試験フレーム抽出部aと出側試験フレーム挿入部d以外は、他のポートに於ける試験フレーム抽出部a,cと試験フレーム挿入部b,dとは、不動作状態に設定する。
【0030】
試験開始の指示により、LANスイッチ1−1のポート番号#PAの出側試験フレーム挿入部dから、例えば、図2の(a)に示すように、宛先アドレスDA=#TESTとし、送信元アドレスSA=#PAとし、シーケンス番号を設定した試験フレームを伝送路に送出する。LANスイッチ1−2のポート番号#PKのポートは、到着した試験フレームをユーザフレームと同様にフレーム振り分け部3に転送する。フレーム振り分け部3は、学習テーブル2を参照し、試験フレームの宛先アドレスDA=#TESTは、送信元アドレス#TESTとして登録され、そのポート番号は#PKであるから、試験フレームをポート番号#PKのポートに転送する。このポートは、試験フレームの挿入部や抽出部に対する設定が行われていないので、試験フレームをそのまま伝送路に送出する。即ち、試験フレームを折り返して伝送路に送出することになる。
【0031】
LANスイッチ1−1のポート番号#PAの入側試験フレーム抽出部aは、伝送路を介して到着した試験フレームを、前述のように、宛先アドレス#TEST等によって抽出する。従って、試験フレームの転送経路は、太線矢印で示すものとなる。そして、入側試験フレーム抽出部aに於いては、図3に於ける試験内容と同様な計測を行い、フレームレートや廃棄レート等を求めることができる。同様に、LANスイッチ1−1の他のボートに伝送路を介して接続されたLANスイッチに対しても折り返し試験を行うことができる。又所定の試験処理が終了すると、試験フレーム管理部4から各部に試験停止指示を送出する。従って、運用中のネットワークを構成する各LANスイッチ間で、ユーザフレームに影響を及ぼすことなく、導通試験や品質試験を行うことができる。
【0032】
図5は、中継経路を介したLANスイッチ間の導通試験や遅延測定試験を行う場合の説明図であり、1−1〜1−3はLANスイッチを示し、他の図1と同一符号は同一部分を示す。なお、試験フレーム管理部4は図示を省略し、又LANスイッチ1−1,1−3に於いては学習テーブル2も省略している。この場合、LANスイッチ1−1を第1のLANスイッチ、LANスイッチ1−2を第2のLANスイッチ、LANスイッチ1−3を中継経路LANスイッチとし、この中継経路LANスイッチは、単一の場合を示すが、第1のLANスイッチと第2のLANスイッチとの間に複数の中継経路LANスイッチを伝送路を介して接続したネットワークに対しても適用可能である。
【0033】
この図5に於いては、LANスイッチ1−1のポート番号#PAのポートと、LANスイッチ1−2のポート番号#PJのポートとが伝送路を介して接続され、LANスイッチ1−2のポート番号#PNのポートと、LANスイッチ1−3のポート番号#PAのポートとが伝送路を介して接続されたネットワークを示し、LANスイッチ1−1からLANスイッチ1−2を中継してLANスイッチ1−3に試験フレームを転送して試験を行う場合に、装置管理システムからの指示に従って、図示を省略した試験フレーム管理部から、LANスイッチ1−1のポート番号#PAのポートの出側試験フレーム挿入部dに試験フレームの挿入設定を行い、LANスイッチ1−3のポート番号#PAのポートの入側試験フレーム抽出部aに試験フレームの抽出設定を行い、中継経路LANスイッチ1−2の学習テーブル2に、試験フレームの送信元アドレス#TESTと、試験フレームを中継送出するポートのポート番号#PNとを登録し、試験フレームについての学習禁止を設定する。
【0034】
そして、装置管理システムから試験経路のLANスイッチの試験フレーム管理部に対して試験開始指示又は試験停止指示を送出するものであり、試験開始指示に従って、LANスイッチ1−1のポート番号#PAのポートの出側試験フレーム挿入部dから宛先アドレスDA=#TESTとした試験フレームを、ユーザフレームの間に挿入して伝送路に送出する。その場合の試験フレームは、例えば、図2の(b)に示すように、シーケンス番号とタイムスタンプとを含むフレームとする。
【0035】
LANスイッチ1−1のポート番号#PJのポートに到着した試験フレームは、フレーム振り分け部3に於いて学習テーブル2を参照し、試験フレームの宛先アドレスDA=#TESTは、学習テーブル2に登録された送信元アドレス#TESTと一致するから、それに対応するポート番号#PNに対して試験フレームを振り分ける。このポート番号#PNのポートから伝送路を介してLANスイッチ1−3に試験フレームを転送する。従って、この場合の試験フレームの転送経路は、太線矢印で示すものとなる。
【0036】
LANスイッチ1−3に於いては、ポート番号#PAのポートに到着した試験フレームを入側試験フレーム抽出部aに於いて抽出し、試験フレーム数の計測、試験フレームレートの計測、シーケンス番号検出による廃棄レートの計測、タイムスタンプによる試験フレームの送出時刻を基に転送遅延時間の計測等を行う。これらの計測結果は、図示を省略した試験フレーム管理部へ、計測過程に於いて又は試験終了後に一括して転送し、試験フレーム管理部から装置管理システムへ転送することができる。
【0037】
この場合も、通常のユーザフレームの伝送制御過程に於いて、中継経路の試験を行うことができる。又中継経路として複数のLANスイッチを含む場合でも、中継経路に相当するそれぞれのLANスイッチの学習テーブルに、試験フレームの送信元アドレスと試験フレームを中継送出するポートのポート番号とを登録することにより、フレーム振り分け部に於いて試験フレームのフラッディングを行うことなく、中継送出するように振り分けることができる。
【0038】
図6は運用中のネットワークからLANスイッチ1を切り離した状態として、そのLANスイッチの試験を行う場合を示し、前述の各図と同一符号は同一部分を示す。この実施の形態に於いては、図示を省略した試験フレーム管理部から、学習テーブル2に、試験フレームの送信元アドレス#TESTとポート番号#PJとを登録し、試験フレームについての学習禁止を設定し、ポート番号#PA〜#PNのポートの入側試験フレーム抽出部aに、到着した総てのフレームを廃棄するように設定し、ポート番号#PNのポートの入側試験フレーム挿入部bに試験フレームの挿入設定を行い、ポート番号#PJのポートの出側試験フレーム抽出部cに試験フレームの抽出設定を行う。
【0039】
試験開始指示により、ポート番号#PNのポートの入側試験フレーム挿入部bから宛先アドレスDA=#TESTとした試験フレームを送出する。振り分け部3は、学習テーブル2を検索し、送信元アドレスが#TESTであるポート番号#PJのポートに試験フレームを振り分ける。このポート番号#PJのポートの出側試験フレーム抽出部cに於いて宛先アドレスDA=#TESTの試験フレームを抽出して、試験フレーム数、試験フレームレート、試験フレームの廃棄数等を計測する。この場合の入側試験フレーム抽出部aは、試験フレームのみでなく、ユーザフレームも含めて抽出して廃棄する。それによって、このLANスイッチ1をネットワークから切り離した状態として試験することができる。
【0040】
又ポート番号#PNのポートの入側試験フレーム挿入部bに試験フレームの挿入設定を行い、宛先アドレスDA=#TESTとすると、振り分け部3は、学習テーブル2を参照して、この試験フレームを、ポート番号#PJのポートに振り分けることになる。この場合、ポート番号#PJのポートを、試験フレーム終端ボートとして、他の各ポートとの間の各種試験を行うことができる。又試験フレーム終端ポートを、学習テーブル2の送信元アドレス#TESTに対するポート番号を変更することにより、他のポートに変更することができる。
【0041】
本発明は、前述の各実施の形態にのみ限定されるものではなく、種々付加変更することができるものであり、例えば、試験フレーム挿入部と試験フレーム抽出部とは、全ポートではなく、所定のポートにのみ設けることも可能である。又試験フレーム挿入部は、例えば、予めフォーマットを格納したメモリに、必要なデータを書込むことにより、試験フレームを形成して、メモリから読出した試験フレームを送出する構成等の各種の構成を適用することができる。又VLAN構成のネットワークに於けるLANスイッチ及びLANスイッチ間の試験についても、前述の実施の形態を適用することが可能である。
【0042】
【発明の効果】
以上説明したように、本発明は、ポート5−1〜5−2に試験フレーム挿入部b,dと試験フレーム抽出部a,cとを設けて、単一のLANスイッチ1内のポート間の試験、又は他のLANスイッチによる折り返し試験、第1,第2のLANスイッチ間で中継経路LANスイッチを介した試験等の各種の試験を、ネットワークの運用中にユーザフレームのトラヒックを圧迫することなく実行できるものであり、従って、LANスイッチを用いたネットワークの信頼性を向上することができる利点がある。
【0043】
又試験過程に於いて、学習テーブル2に試験フレームを示す送信元アドレスと振り分け送出するポートのポート番号とを登録し、且つ試験フレームについての学習禁止を設定することにより、試験フレームを他のポートにコピーして送出するフラッティングが行われないので、ユーザフレームのトラヒックに悪影響を及ぼさない利点がある。
【図面の簡単な説明】
【図1】本発明の実施の形態の説明図である。
【図2】試験フレームの説明図である。
【図3】本発明の実施の形態の試験方法の説明図である。
【図4】本発明の実施の形態の折り返しによる試験方法の説明図である。
【図5】本発明の実施の形態の中継経路を含む試験方法の説明図である。
【図6】本発明の実施の形態の外部切り離しによる試験方法の説明図である。
【図7】ネットワークの説明図である。
【図8】フレームフォーマット説明図である。
【符号の説明】
1 LANスイッチ
2 学習テーブル
3 フレーム振り分け部
4 試験フレーム管理部
5−1〜5−n ポート
a 入側試験フレーム抽出部
b 入側試験フレーム挿入部
c 出側試験フレーム抽出部
d 出側試験フレーム挿入部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a LAN switch having a plurality of ports connected to a terminal device, a LAN (Local Area Network), and the like, and a test method.
[0002]
[Prior art]
Various networks including the Internet and the like for transmitting various data including images and sounds have been put into practical use. FIG. 7 shows a main part of an example of a network. 71 is a user network, 72 is an access network, and 73 is a core network. The user network 71 includes a LAN 74, a terminal device, and the like, and the access network 72 includes a line termination unit (DSU; Digital Service Unit), an optical access unit (ONU), and the like. The core network 73 has a configuration in which a plurality of core switches 77 are connected, and a configuration in which the core network 73 and the access network 72 are connected by a subscriber termination device 76 is shown.
[0003]
Conventionally, the core network 73 required to have a wide bandwidth and high reliability generally employs a transmission technology such as SDH (Synchronous Digital Hierarchy) or ATM (Asynchronous Transfer Mode). However, with the recent rapid spread of LANs, many end users often construct a user network 71 with a standardized LAN 74 according to IEEE 802.3, which is usually called Ethernet (registered trademark). The access network 72 and the core network 73 are also constructed by applying this IEEE 802.3.
[0004]
As a frame applied to such a LAN, for example, a format shown in FIG. 8 is known. (A) is Ethernet II (DIX), (b) is IEEE 802.3 (RAW), (c) is IEEE 802.3 (LLC; Logical Link Control), (d) is IEEE 802.3 (LLC + SNAP; Logical). A format specified by Link Control, Sub-Network Access Protocol) is shown, and a LAN tag when applied to a VLAN (Virtual Local Network) defined by IEEE 802.1Q can be added.
[0005]
In FIG. 8, PA is a preamble, DA is a destination address, SA is a source address, Type is a frame type, Date is a data part, FCS is a frame check sequence, TPID is a tag protocol identifier, and TCI is tag control information. , SFD is a frame start delimiter, Length is data portion length information, DSAP is a destination upper layer protocol identifier, SSAP is a source upper layer protocol identifier, Ctrl is a control unit, OUI is a management organization identifier, and PID is a protocol identifier. Each parenthesis indicates the number of bytes.
[0006]
Also, the LLC (Logical Link Control) headers of FIGS. 8C and 8D have a 3-byte structure consisting of a destination upper layer protocol identifier DSAP, a source upper layer protocol identifier SSAP, and a control unit Ctrl. 8 shows a header, and a SNAP (Subnetwork Access Protocol) header in (d) of FIG. 8 shows a 5-byte header composed of a management organization identifier OUI and a protocol identifier PID. In general, the frames shown in FIGS. 8A to 8D are generally referred to as a MAC (Media Access Control) frame.
[0007]
A LAN switch for transferring such a MAC frame includes a plurality of ports and a learning table, and associates a transmission source address with an arrival port of the MAC frame to which the transmission source address is added. sign up. Therefore, if the destination address of the received MAC frame matches the registered source address, the MAC frame can be transferred with the registered port as the transfer destination port. When a MAC frame in which the correspondence between the transmission source address and the port is not registered in the learning table is received, it is processed as an unlearned frame. That is, flooding is performed in which a transmission source address and an arrival port are newly registered in the learning table in association with each other, and a received MAC frame is copied and transmitted to all ports. By repeating such learning, the relationship between the transmission source address and the port is registered in the learning table, so that the destination address is transferred to the port that matches the registered transmission source address.
[0008]
[Problems to be solved by the invention]
A LAN switch in a communication network has an advantage that it is less expensive than an SDH node or an ATM node. However, in order to ensure the reliability of the network, it is desirable to test the normality of the LAN switch during operation, but no test means for that purpose has been proposed. When testing the normality of the network including the LAN switch of the network in operation, the test is performed by disconnecting the LAN switch from the transmission path and connecting a measuring instrument or the like. Therefore, there is a problem that the service needs to be completely interrupted. In order to prevent this service from being interrupted, it is conceivable that the LAN switch has a duplex configuration, one of which is the active system and the other is the standby system. Cost increase due to the configuration becomes a problem.
[0009]
An object of the present invention is to realize normality of a LAN switch, a continuity test between LAN switches, a bandwidth measurement test, a delay time measurement test, and the like even during network operation.
[0010]
[Means for Solving the Problems]
Referring to FIG. 1, the LAN switch of the present invention includes a plurality of ports 5-1 to 5-n, a learning table 2, and a frame distribution unit 3 that distributes frames with reference to the learning table 2. LAN switch 1 having a configuration including test frame insertion portions b and d having a function of forming and sending a test frame to ports 5-1 to 5-n, and a function test for extracting and measuring the test frame Frame extraction units a and c are provided, and at the time of a test, a source address indicating a test frame and a port number are registered in the learning table 2 in association with each other, and test frame insertion units b and d of a designated port and a test frame It is assumed that a test frame management unit 4 that performs a test by controlling one or both of the extraction units a and c is provided.
[0011]
The test frame extraction units a and c have a function of extracting a test frame and measuring at least one of the number of test frames, the test frame rate, and the number of test frame discards. The test frame insertion units b and d The learning table 2 has a function of forming and sending a test frame including a sequence number with a transmission source address registered at the time of testing as a destination address.
[0012]
The test method of the present invention also includes a plurality of ports 5-1 including a learning table 2, a frame distribution unit 3, a test frame management unit 4, test frame extraction units a and c, and test frame insertion units b and d. A test method for testing between LAN switches 1 or between LAN switches having ˜5-n, registering the learning table 2 in association with a source address indicating a test frame and a port number, and for the test frame The learning prohibition is set, and a test frame having the transmission source address registered in the learning table 2 as the destination address is formed and transmitted from the test frame insertion unit of the designated port, and the frame distribution unit 3 is registered in the learning table 2 The test frame is allocated to the port with the specified port number, the test frame is extracted from the test frame extraction unit of the specified port, and the specified port It is intended to include a process for testing between.
[0013]
Also registered in the learning table of one LAN switch connected between LAN switches via a transmission path in association with the source address indicating the test frame and the port number, and the learning prohibition for the test frame is set and registered. A test frame with the source address registered in the learning table as the destination address is sent from the outgoing side test frame insertion section of the port of the other LAN switch connected to the port with the specified port number, and one LAN switch is distributed In the process, the learning table is referred to and sent back to the other LAN switch, the test frame is extracted in the incoming test frame extraction part of the port of the other LAN switch, and the return test is performed. Is included.
[0014]
In addition, a single or a plurality of relay route LAN switches are included between the first LAN switch and the second LAN switch, and a transmission source address indicating a test frame and a test frame are stored in a learning table of the relay route LAN switch. The port number of the relay sending port is registered in association with the learning prohibition for the test frame, and from the outgoing test frame insertion unit of the port of the first LAN switch to the learning table of the relay route LAN switch The test frame having the registered source address as the destination address is transmitted, and the relay path LAN switch distribution unit relays and transmits the test frame with reference to the learning table, and the test frame arrival port of the second LAN switch The test frame is extracted by the ingress test frame extraction unit of the second and is connected via the relay route LAN switch. It is intended to include a process of performing a test between the second LAN switch.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is an explanatory diagram of an embodiment of the present invention, where 1 is a LAN switch, 2 is a learning table, 3 is a frame distribution unit, 4 is a test frame management unit, and 5-1 to 5-n are ports. Ports 5-1 to 5-n, a is an entry side test frame extraction part, b is an entry side test frame insertion part, c is an exit side test frame extraction part, and d is an exit side test frame insertion part. Each port 5-1 to 5-n is connected to another LAN switch (not shown) via a transmission line.
[0016]
The LAN switch 1 generally includes a plurality of ports 5-1 to 5-n, a learning table 2, and a frame distribution unit 3. Each of the ports 5-1 to 5-n has an input / output interface function and is assigned a port number. The frame distribution unit 3 refers to the learning table 2 and distributes the MAC frame from the arrival port to the transfer destination port. In the present invention, an input side test frame extraction unit a, an input side test frame insertion unit b, an output side test frame extraction unit c, and an output side test frame are inserted into each of the ports 5-1 to 5-n. And a test frame management unit 4 are provided. Note that when there is no need to distinguish between the entry side and the exit side, a description will be given as a test frame extraction unit and a test frame insertion unit. The test frame extraction unit has a function of identifying and extracting a test frame by destination address, frame type, etc., and the test frame insertion unit forms a test frame including a destination address indicating the test frame, a sequence number, etc. It has a function to send out.
[0017]
The test frame management unit 4 transfers various types of information to / from a device management system (operation system) (not shown) via another network (not shown) or a network including the LAN switch 1. Via the control frame or the like. The test frame management unit 4 registers the relationship between the transmission source address of the test frame and the port in the learning table 2 in accordance with the test execution instruction from the device management system, and extracts the test frame at the designated port. A function is provided for performing test frame insertion setting or extraction setting for the test section or insertion section, and for instructing test start or test hand stop.
[0018]
The incoming test frame extraction unit a and the outgoing test frame extraction unit c of the ports 5-1 to 5-n are inserted between user frames as MAC frames according to the extraction setting from the test frame management unit 4. The transferred test frame is extracted by, for example, a destination address, and has a measurement function such as counting the number of test frames, a transmission rate by the test frame, and a transmission delay time. In addition, the entrance side test frame insertion part b and the exit side test frame insertion part d are a test in which a destination address for identifying a test frame is added between user frames according to the insertion setting from the test frame management part 4. It has a function to send frames. The test frame can be identified by the frame type.
[0019]
FIG. 2 is an explanatory diagram of a test frame. FIGS. 2A and 2B show cases in which the format shown in FIG. 8B is followed, and the same reference numerals indicate the same contents. In the test frame of FIG. 2A, a 4-byte sequence number and padding (paddig) with all “0” s are inserted at the position of the data part Data. A VLAN tag is added to the VLAN. FIG. 2B shows a test frame in which a 4-byte sequence number, a 4-byte time stamp, and all “0” padding are inserted at the position of the data portion. Note that a test frame in accordance with the format shown in FIGS. 8A, 8C, and 8D can be used.
[0020]
Accordingly, the entrance side test frame insertion part a and the exit side test frame insertion part d in FIG. 1 form the frame format shown in FIG. 2 (a) or (b), and the destination address is, for example, #TEST. For example, the transmission source address is set as its own port number, and a function of incrementing the sequence number every time the test frame is transmitted is provided. Such a function can be easily realized by a memory, a control logic circuit, or the like. As for the transmission source address of this test frame, since the transmission source address of the test frame is registered in the learning table 2 and the learning prohibition for the test frame is set at the time of the test, the test frame is assigned to the designated port. Will be distributed from the beginning.
[0021]
FIG. 3 shows a case where a continuity test and a quality test between ports in the LAN switch 1 are performed. The learning table 2, the frame distribution unit 3, the test frame management unit 4, and the port numbers #PA to #PN are shown. A port, an entry side test frame extraction part a, an entry side test frame insertion part b, an exit side test frame extraction part c, and an exit side test frame insertion part c are shown.
[0022]
When the learning table 2 stores the source address #A and the port number #PN in association with each other, and the source address #B and the port number #PK are stored in association with each other, the port of the port number #PA is stored. And the port number #PJ, the device monitoring system associates, for example, #TEST with the port number #PJ as a transmission source address to the learning table 2 via the test frame management unit 4 And set a learning prohibition on the test frame.
[0023]
Also, the test frame insertion setting with the destination address #TEST is set in the ingress test frame insertion part b of the port of port number #PA, and the test frame is extracted in the egress test frame extraction part c of port number #PJ. Set up. The test frame extraction units a and c and the test frame insertion units b and d of other ports are set in an inoperative state. In this case, the port number #PA is the test frame insertion port, and the port number #PJ is the test frame end port.
[0024]
In response to the test start instruction from the test frame management unit 4, the test frame shown in FIG. 2A or 2B is formed from the entrance side test frame insertion unit b of the port number #PA, and the frame distribution unit 3 Send it out. In this case, the test frame destination address DA is set to #TEST, and a sequence number when the test frame is repeatedly transmitted is added, and the test frame is inserted and transmitted between the user frames.
[0025]
The frame distribution unit 3 searches the learning table 2, the transmission source address #TEST is registered, and learning prohibition for the test frame is set, so that the test frame is registered with the registered transmission source without performing flooding. It is distributed and sent to the port of port number #PJ corresponding to address #TEST. Therefore, the route of the test frame is indicated by a thick arrow. In this case, the test frame is not copied and sent to other ports other than the arrival port, so that the user frame traffic is not compressed. Absent.
[0026]
The outgoing test frame extraction unit c of the port of port number #PJ extracts only the test frame of the destination address #TEST according to the test frame extraction setting, and the number of test frames or test frames per unit time such as 1 second Measure transfer rate by number. Also, the number of discarded frames is measured based on the sequence number. For example, if the sequence number of the test frame extracted next to the test frame with the sequence number 100 is 103, the discard rate per unit time such as 1 second is measured with the number of discards set to 2.
[0027]
The test frame management unit 4 can collect these pieces of information to obtain a continuity test result and a quality test result between the port numbers #PA and #PJ and transfer them to, for example, a device management system as a host device. When such a test is completed, according to the instruction from the apparatus management system, the test frame management unit 4 obtains the transmission source address #TEST of the test frame registered in the learning table 2 and the port number #PJ corresponding to the transmission source. The test frame insertion process at the input side test frame insertion part b of port number #PA is stopped, and the extraction process at the output side test frame extraction part c of port number #PJ is stopped. After the test is completed, the result measured in the outgoing test frame extraction unit c can be transferred from the test frame management unit 4 to the apparatus management system.
[0028]
When the test between the port number #PA and the port number #PJ is completed, the port number corresponding to the transmission source address #TEST of the test frame in the learning table 2 is changed to #PK, for example. By performing test frame extraction setting in the outgoing test frame extraction unit c of number #PK, a test between ports of port number #PA and port number #PK can be performed. That is, by sequentially changing the test frame end port with respect to the test frame insertion port, a test between the test frame insertion port and another boat can be performed, and the test frame insertion port is also changed sequentially. As a result, it is possible to perform a quality test based on a continuity test between ports, a discard rate, and the like. In the above-described test process, normal user frame distribution processing is continued, and flooding is not performed for the first test frame, so that the user frame traffic is not compressed.
[0029]
FIG. 4 is an explanatory diagram of a test method by returning test frames between opposing LAN switches, 1-1 and 1-2 are LAN switches, 2 is a learning table, 3 is a frame distribution unit, PA to #PN indicate port numbers. The port of port number #PA of LAN switch 1-1 and the port of port number #PK of LAN switch 1-2 are connected via a transmission line, and a loopback test is performed between LAN switches 1-1 and 1-2. In the LAN switch 1-1, the test frame management unit (not shown) performs test frame insertion setting in the outgoing test frame insertion unit d of port number #PA, and the incoming test frame extraction unit. Set a to extract a test frame in a. In the LAN switch 1-2, the source address #TEST and the port number #PK are registered in the learning table 2 from the test frame management unit (not shown), and the source address and destination address of the test frame are registered. Set learning prohibition for and. It should be noted that the test frame extraction units a and c and the test frame insertion at the other ports other than the input side test frame extraction unit a and the output side test frame insertion unit d of the port number #PA of the LAN switch 1-1. The parts b and d are set in an inoperative state.
[0030]
In response to the test start instruction, for example, as shown in FIG. 2A, the destination address DA = # TEST is set from the outgoing test frame insertion unit d of the port number #PA of the LAN switch 1-1, and the source address is set. SA = # PA, and a test frame in which a sequence number is set is sent to the transmission line. The port of port number #PK of the LAN switch 1-2 transfers the arrived test frame to the frame distribution unit 3 in the same manner as the user frame. The frame distribution unit 3 refers to the learning table 2, and the test frame destination address DA = # TEST is registered as the source address #TEST, and its port number is #PK. Forward to the other port. Since this port is not set for the test frame insertion section and extraction section, the test frame is sent to the transmission path as it is. That is, the test frame is folded and sent to the transmission path.
[0031]
The incoming test frame extraction unit a of the port number #PA of the LAN switch 1-1 extracts the test frame that has arrived via the transmission path by using the destination address #TEST as described above. Therefore, the transfer path of the test frame is indicated by a thick arrow. Then, the entrance side test frame extraction unit a can perform the same measurement as the test content in FIG. 3 to obtain the frame rate, the discard rate, and the like. Similarly, a loopback test can be performed on a LAN switch connected to another boat of the LAN switch 1-1 via a transmission line. When the predetermined test process is completed, a test stop instruction is sent from the test frame management unit 4 to each unit. Therefore, a continuity test and a quality test can be performed between the LAN switches constituting the network in operation without affecting the user frame.
[0032]
FIG. 5 is an explanatory diagram for conducting a continuity test or a delay measurement test between LAN switches via a relay path. 1-1 to 1-3 denote LAN switches, and the same reference numerals as those in FIG. 1 are the same. Indicates the part. The test frame management unit 4 is not shown, and the learning table 2 is also omitted in the LAN switches 1-1 and 1-3. In this case, the LAN switch 1-1 is a first LAN switch, the LAN switch 1-2 is a second LAN switch, and the LAN switch 1-3 is a relay route LAN switch. However, the present invention can also be applied to a network in which a plurality of relay route LAN switches are connected via a transmission line between the first LAN switch and the second LAN switch.
[0033]
In FIG. 5, the port of port number #PA of the LAN switch 1-1 and the port of port number #PJ of the LAN switch 1-2 are connected via a transmission line. A network in which a port of port number #PN and a port of port number #PA of the LAN switch 1-3 are connected via a transmission line is shown, and the LAN is relayed from the LAN switch 1-1 to the LAN switch 1-2. When a test frame is transferred to the switch 1-3 and a test is performed, the outgoing side of the port of the port number #PA of the LAN switch 1-1 is sent from the test frame management unit (not shown) according to an instruction from the device management system. The test frame insertion section d is set to insert a test frame, and the test frame is input to the ingress test frame extraction section a of the port number #PA of the LAN switch 1-3. The test frame transmission source address #TEST and the port number #PN of the port through which the test frame is relayed and transmitted are registered in the learning table 2 of the relay route LAN switch 1-2. Set learning prohibition.
[0034]
Then, a test start instruction or a test stop instruction is sent from the apparatus management system to the test frame management unit of the LAN switch on the test path. According to the test start instruction, the port of port number #PA of the LAN switch 1-1 A test frame having a destination address DA = # TEST is inserted between user frames from the outgoing side test frame insertion section d and sent to the transmission path. The test frame in that case is, for example, a frame including a sequence number and a time stamp as shown in FIG.
[0035]
The test frame arriving at the port of port number #PJ of the LAN switch 1-1 refers to the learning table 2 in the frame distribution unit 3, and the destination address DA = # TEST of the test frame is registered in the learning table 2. Since it matches the source address #TEST, the test frame is assigned to the corresponding port number #PN. A test frame is transferred from the port of port number #PN to the LAN switch 1-3 via the transmission path. Therefore, the transfer path of the test frame in this case is indicated by a thick arrow.
[0036]
In the LAN switch 1-3, the test frame arriving at the port of port number #PA is extracted by the ingress test frame extraction unit a, and the number of test frames is measured, the test frame rate is measured, and the sequence number is detected. Measures the discard rate by, and measures the transfer delay time based on the test frame transmission time by time stamp. These measurement results can be transferred to the test frame management unit (not shown) in the measurement process or after the test, and transferred from the test frame management unit to the apparatus management system.
[0037]
In this case as well, the relay path can be tested in the normal user frame transmission control process. Even when a plurality of LAN switches are included as a relay route, by registering the source address of the test frame and the port number of the port that relays and transmits the test frame in the learning table of each LAN switch corresponding to the relay route In the frame distribution unit, the frame can be distributed so as to be relayed without being flooded with the test frame.
[0038]
FIG. 6 shows a case where a test of the LAN switch 1 is performed in a state in which the LAN switch 1 is disconnected from the network in operation, and the same reference numerals as those in the previous drawings indicate the same parts. In this embodiment, the test frame management unit (not shown) registers the test frame transmission source address #TEST and the port number #PJ in the learning table 2, and sets learning prohibition for the test frame. Then, it is set in the ingress test frame extraction unit a of the port number #PA to #PN port so as to discard all the arrived frames, and in the ingress test frame insertion unit b of the port of port number #PN Test frame insertion is set, and test frame extraction is set in the outgoing test frame extraction unit c of the port of port number #PJ.
[0039]
In response to the test start instruction, a test frame with a destination address DA = # TEST is transmitted from the input side test frame insertion part b of the port of port number #PN. The distribution unit 3 searches the learning table 2 and distributes the test frame to the port of the port number #PJ whose transmission source address is #TEST. The test frame extraction unit c of the port of port number #PJ extracts the test frame of the destination address DA = # TEST, and measures the number of test frames, the test frame rate, the number of discarded test frames, and the like. In this case, the entry side test frame extraction unit a extracts and discards not only the test frame but also the user frame. Accordingly, the LAN switch 1 can be tested as being disconnected from the network.
[0040]
Also, if the test frame is inserted into the ingress test frame insertion part b of the port of port number #PN and the destination address DA = # TEST is set, the distribution part 3 refers to the learning table 2 and selects this test frame. The port number #PJ is assigned. In this case, the port number #PJ can be used as a test frame termination boat to perform various tests with other ports. Further, the test frame end port can be changed to another port by changing the port number for the transmission source address #TEST in the learning table 2.
[0041]
The present invention is not limited to the above-described embodiments, and various additions and modifications can be made. For example, the test frame insertion unit and the test frame extraction unit are not all ports, It is also possible to provide only for the other ports. Also, the test frame insertion unit applies various configurations such as a configuration in which a test frame is formed by writing necessary data in a memory in which a format is stored in advance and a test frame read out from the memory is transmitted. can do. The above-described embodiment can also be applied to a test between a LAN switch and a LAN switch in a VLAN configuration network.
[0042]
【The invention's effect】
As described above, according to the present invention, the test frame insertion units b and d and the test frame extraction units a and c are provided in the ports 5-1 to 5-2, and the ports in the single LAN switch 1 are connected. Various tests, such as a test, a loopback test using another LAN switch, and a test via a relay route LAN switch between the first and second LAN switches, without compressing user frame traffic during network operation Therefore, there is an advantage that the reliability of the network using the LAN switch can be improved.
[0043]
Also, during the test process, the source address indicating the test frame and the port number of the port to be sent out are registered in the learning table 2, and the test frame is set to another port by setting the learning prohibition for the test frame. Therefore, there is an advantage that the user frame traffic is not adversely affected.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram of an embodiment of the present invention.
FIG. 2 is an explanatory diagram of a test frame.
FIG. 3 is an explanatory diagram of a test method according to an embodiment of the present invention.
FIG. 4 is an explanatory diagram of a test method using folding according to an embodiment of the present invention.
FIG. 5 is an explanatory diagram of a test method including a relay route according to the embodiment of this invention.
FIG. 6 is an explanatory diagram of a test method by external separation according to an embodiment of the present invention.
FIG. 7 is an explanatory diagram of a network.
FIG. 8 is an explanatory diagram of a frame format.
[Explanation of symbols]
1 LAN switch
2 Learning table
3 Frame sorting section
4 Test Frame Management Department
5-1 to 5-n ports
a Incoming test frame extraction section
b Entrance test frame insertion part
c Outgoing test frame extraction unit
d Outgoing test frame insertion part

Claims (5)

複数のポートと、学習テーブルと、該学習テーブルを参照してフレームを振り分けるフレーム振り分け部とを含む構成のLANスイッチに於いて、
前記ポートに、試験フレームを形成して送出する機能の試験フレーム挿入部と、試験フレームを抽出して計測する機能の試験フレーム抽出部とを設け、
試験時に前記学習テーブルに試験フレームを示す送信元アドレスとポート番号とを関係付けて登録し、且つ指定したポートの前記試験フレーム挿入部と前記試験フレーム抽出部との何れか一方又は両方を制御して試験を行う試験フレーム管理部を設けた
ことを特徴とするLANスイッチ。
In a LAN switch configured to include a plurality of ports, a learning table, and a frame distribution unit that distributes frames with reference to the learning table,
The port is provided with a test frame insertion unit having a function of forming and sending a test frame, and a test frame extraction unit having a function of extracting and measuring the test frame,
At the time of a test, a transmission source address indicating a test frame and a port number are registered in the learning table in association with each other, and one or both of the test frame insertion unit and the test frame extraction unit of a designated port are controlled. A LAN switch comprising a test frame management unit for performing a test.
前記試験フレーム抽出部は、試験フレームを抽出して試験フレーム数、試験フレームレート、試験フレーム廃棄数の少なくとも何れか一つを計測する機能を有し、前記試験フレーム挿入部は、前記学習テーブルに試験時に登録した送信元アドレスを宛先アドレスとし、且つシーケンス番号を含む試験フレームを形成して送出する機能を有することを特徴とする請求項1記載のLANスイッチ。The test frame extraction unit has a function of extracting a test frame and measuring at least one of the number of test frames, a test frame rate, and the number of test frame discards, and the test frame insertion unit stores the test frame in the learning table. 2. The LAN switch according to claim 1, wherein the LAN switch has a function of forming a test frame including a sequence number using a transmission source address registered during a test as a destination address and transmitting the test frame. 学習テーブルと、フレーム振り分け部と、試験フレーム管理部と、試験フレーム抽出部と試験フレーム挿入部とを含む複数のポートとを有するLANスイッチ又は該LANスイッチ間を試験する試験方法に於いて、
前記学習テーブルに試験フレームを示す送信元アドレスとポート番号とを関係付けて登録し、且つ試験フレームについての学習禁止を設定し、指定したポートの前記試験フレーム挿入部から前記学習テーブルに登録した送信元アドレスを宛先アドレスとした試験フレームを形成して送出し、前記フレーム振り分け部は、前記学習テーブルに登録されたポート番号のポートに前記試験フレームを振り分け、指定したポートの前記試験フレーム抽出部から前記試験フレームを抽出して、前記指定したポート間の試験を行う過程を含む
ことを特徴とする試験方法。
In a test method for testing a LAN switch having a learning table, a frame distribution unit, a test frame management unit, a plurality of ports including a test frame extraction unit and a test frame insertion unit, or between the LAN switches.
A transmission source address and a port number indicating a test frame are registered in the learning table in association with each other, a learning prohibition for the test frame is set, and the transmission registered in the learning table from the test frame insertion unit of the designated port A test frame having a source address as a destination address is formed and transmitted, and the frame distribution unit distributes the test frame to a port having a port number registered in the learning table, and from the test frame extraction unit of the designated port. A test method comprising: extracting the test frame and performing a test between the designated ports.
学習テーブルと、フレーム振り分け部と、試験フレーム管理部と、試験フレーム抽出部と試験フレーム挿入部とを含む複数のポートとを有するLANスイッチ又は該LANスイッチ間を試験する試験方法に於いて、
LANスイッチ間を伝送路で接続した一方のLANスイッチの学習テーブルに、試験フレームを示す送信元アドレスとポート番号とを関係付けて登録し、且つ試験フレームについての学習禁止を設定し、前記ポート番号のポートと接続された他方のLANスイッチのポートの出側試験フレーム挿入部から前記学習テーブルに登録された送信元アドレスを宛先アドレスとした試験フレームを送出し、前記一方のLANスイッチの振り分け部に於いて前記学習テーブルを参照して前記他方のLANスイッチに折り返して送出し、前記他方のLANスイッチの前記ポートの入側試験フレーム抽出部に於いて前記試験フレームを抽出して、折り返し試験を行う過程を含む
ことを特徴とする試験方法。
In a test method for testing a LAN switch having a learning table, a frame distribution unit, a test frame management unit, a plurality of ports including a test frame extraction unit and a test frame insertion unit, or between the LAN switches.
In the learning table of one LAN switch connected between LAN switches by a transmission path, a source address indicating a test frame and a port number are registered in association with each other, and learning prohibition for the test frame is set, and the port number is set. A test frame having a source address registered in the learning table as a destination address is sent from the outgoing side test frame insertion unit of the other LAN switch port connected to the port of the other LAN switch, to the distribution unit of the one LAN switch At this time, the learning table is referred to and sent back to the other LAN switch, and the test frame is extracted at the entrance side test frame extraction unit of the port of the other LAN switch to perform the return test. A test method characterized by comprising a process.
学習テーブルと、フレーム振り分け部と、試験フレーム管理部と、試験フレーム抽出部と試験フレーム挿入部とを含む複数のポートとを有するLANスイッチ又は該LANスイッチ間を試験する試験方法に於いて、
第1のLANスイッチと第2のLANスイッチとの間に単一又は複数の中継経路LANスイッチを含み、該中継経路LANスイッチの学習テーブルに、試験フレームを示す送信元アドレスと該試験フレームを中継送出するポートのポート番号とを関係付けて登録し、且つ試験フレームについての学習禁止を設定し、前記第1のLANスイッチのポートの出側試験フレーム挿入部から前記中継回路LANスイッチの学習テーブルに登録した送信元アドレスを宛先アドレスとした試験フレームを送出し、前記中継経路LANスイッチの振り分け部は、前記学習テーブルを参照して試験フレームを中継送出し、前記第2のLANスイッチの前記試験フレームの到着ポートの入側試験フレーム抽出部に於いて前記試験フレームを抽出し、中継経路LANスイッチを介した前記第1,第2のLANスイッチ間の試験を行う過程を含む
ことを特徴とする試験方法。
In a test method for testing a LAN switch having a learning table, a frame distribution unit, a test frame management unit, a plurality of ports including a test frame extraction unit and a test frame insertion unit, or between the LAN switches.
A single or a plurality of relay route LAN switches are included between the first LAN switch and the second LAN switch, and the transmission source address indicating the test frame and the test frame are relayed to the learning table of the relay route LAN switch. The port number of the port to be transmitted is registered in association with each other, and learning prohibition for the test frame is set, and from the outgoing test frame insertion unit of the port of the first LAN switch to the learning table of the relay circuit LAN switch A test frame having a registered transmission source address as a destination address is transmitted, and the relay path LAN switch distribution unit relays and transmits the test frame with reference to the learning table, and the test frame of the second LAN switch. The test frame is extracted at the incoming test frame extraction unit of the arrival port of the relay port LA Wherein through the switch first, test method which comprises a step of performing test between the second LAN switch.
JP2002221045A 2002-07-30 2002-07-30 LAN switch and test method Expired - Lifetime JP3777574B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002221045A JP3777574B2 (en) 2002-07-30 2002-07-30 LAN switch and test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002221045A JP3777574B2 (en) 2002-07-30 2002-07-30 LAN switch and test method

Publications (2)

Publication Number Publication Date
JP2004064489A JP2004064489A (en) 2004-02-26
JP3777574B2 true JP3777574B2 (en) 2006-05-24

Family

ID=31941487

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002221045A Expired - Lifetime JP3777574B2 (en) 2002-07-30 2002-07-30 LAN switch and test method

Country Status (1)

Country Link
JP (1) JP3777574B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7768928B2 (en) * 2006-07-11 2010-08-03 Corrigent Systems Ltd. Connectivity fault management (CFM) in networks with link aggregation group connections
JP4992573B2 (en) * 2007-06-27 2012-08-08 日本電気株式会社 Layer 2 switch, communication device, data section error detection method used therefor, and program thereof
JP4946851B2 (en) * 2007-12-19 2012-06-06 富士通株式会社 Frame transfer method and frame transfer apparatus
JP5001932B2 (en) * 2008-12-24 2012-08-15 日本電信電話株式会社 Multilink test apparatus, multilink test system, multilink test method and program thereof
JP5725567B2 (en) * 2012-10-30 2015-05-27 Necプラットフォームズ株式会社 Communication apparatus and port inspection method

Also Published As

Publication number Publication date
JP2004064489A (en) 2004-02-26

Similar Documents

Publication Publication Date Title
US7508832B2 (en) Method and system for providing broadcast channels over an emulated subnetwork
KR100733020B1 (en) Customer MAC Frame Forwarding Method, Edge Bridge, And Storage Medium Registering Program
US7715398B2 (en) Method for transmitting message in a resilient packet ring network
US7620051B2 (en) ATM permanent virtual circuit and layer 3 auto-configuration for digital subscriber line customer premises equipment
JP2891146B2 (en) Network server
EP1755278B1 (en) A method for raising access capacity of wide-band access equipment user
WO2007030186A2 (en) Facilitating differentiated service qualities in an ethernet passive optical network
US6970478B1 (en) Packet transfer method and apparatus, and packet communication system
WO2009021371A1 (en) A method and a device for implementing pseudo wire emulation edge to edge
JP4108524B2 (en) ATM bridge device and loop detection method in ATM bridge
JPH05507605A (en) Connectionless replacement method for ATM switches
JP5267065B2 (en) Communication apparatus and network test method
US7362710B2 (en) Organization and maintenance loopback cell processing in ATM networks
JP3777574B2 (en) LAN switch and test method
JP6601531B2 (en) Network management apparatus, network system, method, and program
KR100337143B1 (en) OAM system used by MPLS technique
ES2367629T3 (en) PROCEDURE FOR THE SECURITY INSULATION OF ETHERNET NETWORK SERVICES.
CN100396022C (en) Realization method for monitoring network service
US20020196792A1 (en) Shared VT connectivity over SONET
US7145916B2 (en) Full multicast connectivity over SONET
KR100460496B1 (en) A device and a method of recovery abnormal control cell in subscriber unit for atm exchange
JPH088917A (en) Connection establishing and interruption method for atm lan
JP3014619B2 (en) Asynchronous transfer mode communication system, cell disassembly apparatus therefor, and asynchronous transfer mode communication method
JP5275268B2 (en) Communication system and communication device having topology search function
Burgess Rfc 2544 testing of ethernet services in telecom networks

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040408

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060130

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060217

R150 Certificate of patent or registration of utility model

Ref document number: 3777574

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100310

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100310

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110310

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110310

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120310

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130310

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140310

Year of fee payment: 8

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term