JP2003348148A - Ip multicast control method and ip multicast control system employing the same - Google Patents

Ip multicast control method and ip multicast control system employing the same

Info

Publication number
JP2003348148A
JP2003348148A JP2002154017A JP2002154017A JP2003348148A JP 2003348148 A JP2003348148 A JP 2003348148A JP 2002154017 A JP2002154017 A JP 2002154017A JP 2002154017 A JP2002154017 A JP 2002154017A JP 2003348148 A JP2003348148 A JP 2003348148A
Authority
JP
Japan
Prior art keywords
multicast
label
layer
port
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.)
Pending
Application number
JP2002154017A
Other languages
Japanese (ja)
Inventor
Hiroaki Sato
裕昭 佐藤
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2002154017A priority Critical patent/JP2003348148A/en
Publication of JP2003348148A publication Critical patent/JP2003348148A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide an IP multicast control method for simplifying the processing so as to allow a switch section of a layer 2 switch to have only to refer to a label multicast table and capable of attaining high speed multicasting and to provide an IP multicast control system employing the method. <P>SOLUTION: The IP multicast control method is characterized in such that upon the receipt of a multicast with a multicast label attached thereto, the layer 2 switch 2 refers to a label multicast table 11 in a layer 3 device 1, decides a transmission port from the multicast label, deletes the multicast label and transmits the resulting multicast frame when the label multicast table 11 stores deletion of the multicast label. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、IPパケット通信
網において、IPパケットをIPパケット網にて複製
し、複数の宛先に同一IPパケットを配信するために用
いられる、IPマルチキャスト制御方法およびこれを用
いるIPマルチキャスト制御システムに関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an IP multicast communication method used for duplicating an IP packet in an IP packet communication network and distributing the same IP packet to a plurality of destinations. The present invention relates to an IP multicast control system to be used.

【0002】[0002]

【従来の技術】従来のレイヤ2スイッチにおけるIPマ
ルチキャスト方式には、IGMP(Internet Group
Management Protocol )スヌーピング方式と、CGM
P(Cisco Group Management Protocol )方式とが
ある。まず、第一に、IGMPスヌーピング方式につい
て、図17の構成と図18の動作を用いて説明する。図
17に示すように、レイヤ2スイッチ101,レイヤ3
スイッチあるいはルータ(以下、レイヤ3デバイスで代
表させる)レイヤ3デバイス102,端末103から構
成される。また、レイヤ2スイッチ101は、制御部1
11,MAC宛先アドレスと送信ポートの関係を記憶し
ておくテーブル112,スイッチ部113から構成され
る。
2. Description of the Related Art An IP multicast system in a conventional layer 2 switch includes an IGMP (Internet Group).
Management Protocol) Snooping method and CGM
P (Cisco Group Management Protocol). First, the IGMP snooping method will be described using the configuration in FIG. 17 and the operation in FIG. As shown in FIG. 17, the layer 2 switch 101, the layer 3
A switch or router (hereinafter, represented by a layer 3 device) comprises a layer 3 device 102 and a terminal 103. The layer 2 switch 101 is connected to the control unit 1
11, a table 112 for storing the relationship between the MAC destination address and the transmission port, and a switch unit 113.

【0003】次に、動作について図18を用いて説明す
る。レイヤ2スイッチ101が、端末103が発信した
レイヤ2フレームを受信すると、スイッチ部113は、
該当のIGMP Membership Reportメッセージを受信
したポートのスイッチ部が、宛先MACアドレスがマル
チキャストアドレスである全フレームを制御部111に
もコピー転送し、制御部111が解析し、IGMP Me
mbership Reportメッセージである場合には、テーブル
112に、該当のIGMP Membership Reportメッセ
ージを受信したポートを、該当のマルチキャストアドレ
スを持ったレイヤ2フレームの送信が必要なポートとし
て記憶する。テーブル112は、同一のマルチキャスト
アドレスに対して送信が必要なポートとして、複数ポー
トを記憶できる。
Next, the operation will be described with reference to FIG. When the layer 2 switch 101 receives the layer 2 frame transmitted by the terminal 103, the switch unit 113
The switch unit of the port that has received the corresponding IGMP Membership Report message transfers all the frames whose destination MAC address is the multicast address to the control unit 111 by copying, and the control unit 111 analyzes and transfers the IGMP Membership Report message.
If the message is a mbership report message, the port that has received the corresponding IGMP Membership Report message is stored in the table 112 as a port that requires transmission of a layer 2 frame having the corresponding multicast address. The table 112 can store a plurality of ports as ports that need to be transmitted to the same multicast address.

【0004】レイヤ2スイッチ101がレイヤ2フレー
ムを受信すると、スイッチ部113はテーブル112を
参照し、MAC宛先アドレスに該当するマルチキャスト
アドレスがあれば、記憶されている全てのポートに送信
する。このようにして、レイヤ2スイッチ101にて、
端末103から送信要求のあった全ポートにマルチキャ
ストフレームを送信することができる。
When the layer 2 switch 101 receives the layer 2 frame, the switch unit 113 refers to the table 112 and, if there is a multicast address corresponding to the MAC destination address, transmits the multicast address to all the stored ports. Thus, in the layer 2 switch 101,
A multicast frame can be transmitted to all ports for which transmission has been requested from the terminal 103.

【0005】次に、CGMP方式を図19の動作を用い
て説明する。説明に用いる構成は、図17と同様であ
る。レイヤ3デバイス102が、端末103が送信した
IGMP Membership Reportメッセージを受信する
と、グループアドレスから生成したグループMACアド
レスと、端末103のMACアドレスである送信元MA
Cアドレスを、CGMP joinメッセージで指定された
グループMACアドレスと送信元MACアドレスの関係
から、グループMACアドレスと送信ポートの関係を導
き出して、テーブル112に記憶しておく。テーブル1
12は、同一のマルチキャストアドレスに対して、送信
が必要なポートとして複数ポートを記憶できる。
Next, the CGMP method will be described with reference to the operation shown in FIG. The configuration used for the description is the same as that in FIG. When the layer 3 device 102 receives the IGMP Membership Report message transmitted by the terminal 103, the group MAC address generated from the group address and the source MA which is the MAC address of the terminal 103
As for the C address, the relationship between the group MAC address and the transmission port is derived from the relationship between the group MAC address and the transmission source MAC address specified in the CGMP join message, and stored in the table 112. Table 1
Numeral 12 can store a plurality of ports as ports requiring transmission for the same multicast address.

【0006】レイヤ2スイッチ101がレイヤ2フレー
ムを受信すると、スイッチ部113はテーブル112を
参照し、MAC宛先アドレスに該当するマルチキャスト
アドレスがあれば、記憶されている全てのポートに送信
する。このようにして、レイヤ2スイッチ101にて、
端末から送信要求のあった全ポートにマルチキャストフ
レームを送信することができる。
When the layer 2 switch 101 receives the layer 2 frame, the switch unit 113 refers to the table 112 and, if there is a multicast address corresponding to the MAC destination address, transmits the multicast address to all the stored ports. Thus, in the layer 2 switch 101,
A multicast frame can be transmitted to all ports for which transmission has been requested from the terminal.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、IGM
Pスヌーピング方式を用いた場合、IGMPはレイヤ3
プロトコルであるために、レイヤ2スイッチでありなが
らレイヤ3処理をしなければならず、高性能のCPUを
必要とするという問題がある。また、CPUがIGMP
メッセージを取得するためには、同一MAC宛先アドレ
スであるがIGMPメッセージではないデータフレーム
もCPUに取り込まなければならず、特に、高速の映像
ストリームが転送されている場合には、大量のデータフ
レームを取り込み、IGMPメッセージでないものは廃
棄するという無駄な処理が発生するため、CPUはさら
に処理能力を必要とするという問題がある。
However, the IGM
When the P snooping method is used, IGMP is Layer 3
Since the protocol is used, layer 3 processing must be performed while being a layer 2 switch, and there is a problem that a high-performance CPU is required. Also, if the CPU is IGMP
In order to obtain a message, a data frame having the same MAC destination address but not an IGMP message must be captured by the CPU. Particularly, when a high-speed video stream is transferred, a large number of data frames are transferred. Since there is a wasteful process of capturing and discarding a message that is not an IGMP message, there is a problem that the CPU needs more processing capability.

【0008】一方、CGMP方式を用いた場合、レイヤ
2スイッチとレイヤ3デバイスでCGMPのプロトコル
処理があり、IGMPスヌーピングほどではないが、高
性能のCPUを必要とするという問題がある。また、レ
イヤ3デバイスがIGMP処理を完了しても、その後C
GMP joinによるレイヤ2スイッチのテーブル内容更
新が完了するまで、マルチキャストフレームが送信され
ず、接続遅延が大きいという問題がある。
On the other hand, when the CGMP method is used, there is a problem that a CGMP protocol process is performed in a layer 2 switch and a layer 3 device, and a high-performance CPU is required, although not as much as IGMP snooping. Even if the layer 3 device completes the IGMP process,
Until the updating of the table contents of the layer 2 switch by the GMP join is completed, there is a problem that the multicast frame is not transmitted and the connection delay is large.

【0009】さらに、CGMP方式では、Source Specifi
c Multicast(SSM)に対応することができないとい
う問題がある。SSMでは、マルチキャストのグループ
アドレスだけでなく、送信元IPアドレスでもマルチキ
ャストのフローを区別する。すなわち、CGMP方式で
はレイヤ2のMACアドレスしか識別しないので、同一
グループアドレスにおいて、レイヤ3のアドレスである
送信元IPアドレスの違いを区別できず、SSMに対応
できないという問題がある。
Further, in the CGMP system, Source Specifi
c There is a problem that Multicast (SSM) cannot be supported. In SSM, a multicast flow is distinguished not only by a multicast group address but also by a source IP address. That is, since only the MAC address of Layer 2 is identified in the CGMP method, there is a problem that the difference of the source IP address which is the address of Layer 3 cannot be distinguished in the same group address, so that it cannot support SSM.

【0010】本発明の目的は、従来の技術における上述
のような問題を解消し、レイヤ2スイッチにおいて、ス
イッチ部がラベルマルチキャストテーブルを参照するだ
けで済むように処理を簡略化し、かつ、高速のマルチキ
ャストを可能とするIPマルチキャスト制御方法および
これを用いるIPマルチキャスト制御システムを提供す
ることにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems in the prior art, to simplify the processing in a layer 2 switch so that the switch section only needs to refer to the label multicast table, and to achieve high-speed processing. An object of the present invention is to provide an IP multicast control method enabling multicast and an IP multicast control system using the same.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するた
め、本発明に係るIPマルチキャスト制御方法は、マル
チキャストラベルとIPマルチキャストのグループアド
レスと該当のIPパケットを送信するポートとの関係、
あるいは、前記マルチキャストラベルと前記IPマルチ
キャストのグループアドレスおよび送信元IPアドレス
と該当のIPパケットを送信するポートとの関係を記憶
しておくIPマルチキャストテーブルと、前記マルチキ
ャストラベルと該当のマルチキャストラベルが付与され
たフレームを送信するポートとの関係、および該当のフ
レームを送信する際に前記マルチキャストラベルを削除
するか否かを記憶しておくラベルマルチキャストテーブ
ルとを備えるレイヤ3デバイスと、前記マルチキャスト
ラベルと該当のマルチキャストラベルが付与されたフレ
ームを送信するポートとの関係、および該当のフレーム
を送信する際に前記マルチキャストラベルを削除するか
否かを記憶しておくラベルマルチキャストテーブルとを
備えるレイヤ2スイッチとから構成されるIPネットワ
ークにおいて用いられるIPマルチキャスト制御方法で
あって、前記マルチキャストラベルには、前記レイヤ2
スイッチにおいて、1以上のどのポートに送信するかを
予め定義されており、前記レイヤ3デバイスは、マルチ
キャストラベルの存在しないIPマルチキャストパケッ
トを受信した場合には、前記IPマルチキャストテーブ
ルを参照して、受信したIPマルチキャストパケットの
宛先アドレスに記されたグループアドレス、あるいは、
該当のグループアドレスおよび送信元IPアドレスから
送信ポートを決定し、前記マルチキャストラベルを付与
してマルチキャストフレームとして送信し、また、マル
チキャストラベルの存在するIPマルチキャストパケッ
トを受信した場合には、前記ラベルマルチキャストテー
ブルを参照して、マルチキャストラベルから送信ポート
を決定し、また、前記ラベルマルチキャストテーブルに
前記マルチキャストラベルを削除すると記憶されていれ
ば、マルチキャストラベルを削除してマルチキャストフ
レームを送信し、前記レイヤ2スイッチは、マルチキャ
ストラベルの付与されたマルチキャストフレームを受信
した場合には、前記ラベルマルチキャストテーブルを参
照して、マルチキャストラベルから送信ポートを決定
し、また、前記ラベルマルチキャストテーブルにマルチ
キャストラベルを削除すると記憶されている場合には、
マルチキャストをラベルを削除してマルチキャストフレ
ームを送信することを特徴とする。
In order to achieve the above object, an IP multicast control method according to the present invention provides a method for controlling the relationship between a multicast label, an IP multicast group address, and a port for transmitting a corresponding IP packet.
Alternatively, an IP multicast table for storing a relationship between the multicast label, the group address and the source IP address of the IP multicast, and a port for transmitting the corresponding IP packet, and the multicast label and the corresponding multicast label are assigned. A layer 3 device comprising: a label multicast table for storing a relationship between the multicast label and a port for transmitting the frame, and whether or not to delete the multicast label when transmitting the frame. A label multicast table that stores a relationship with a port that transmits a frame to which a multicast label has been added, and whether or not to delete the multicast label when transmitting the frame. An IP multicast control method used in the IP network constituted by a pitch, the multicast label, the Layer 2
In the switch, it is defined in advance which one or more ports to transmit to. When the layer 3 device receives an IP multicast packet having no multicast label, the switch refers to the IP multicast table and receives the packet. Group address described in the destination address of the IP multicast packet
A transmission port is determined from the corresponding group address and source IP address, the multicast label is added and transmitted as a multicast frame. If an IP multicast packet having a multicast label is received, the label multicast table With reference to, to determine the transmission port from the multicast label, and if it is stored in the label multicast table to delete the multicast label, delete the multicast label and transmit a multicast frame, the Layer 2 switch, When receiving a multicast frame to which a multicast label has been added, referring to the label multicast table to determine a transmission port from the multicast label, If the multicast table remembers to delete the multicast label,
The multicast is characterized in that the label is deleted and the multicast frame is transmitted.

【0012】また、本発明に係るIPマルチキャスト制
御方法においては、前記レイヤ3デバイスおよび前記レ
イヤ2スイッチにおけるラベルマルチキャストテーブル
は、マルチキャストラベルと該当のマルチキャストラベ
ルが付与されたフレームを送信するポートとの関係、お
よび該当のフレームを送信する際にマルチキャストラベ
ルを削除するか否かに加えて、該当のフレームを送信す
る際にマルチキャストラベルを削除しなければ、送信ポ
ート毎に新たに付与するマルチキャストラベルを記憶し
ておき、前記レイヤ3デバイスあるいは前記レイヤ2ス
イッチは、マルチキャストラベルの付与されたマルチキ
ャストフレームを受信すると、前記ラベルマルチキャス
トテーブルを参照して、マルチキャストラベルから送信
ポートを決定し、また、前記ラベルマルチキャストテー
ブルにマルチキャストラベルを削除しないと記憶されて
いれば、送信ポート毎に新たなマルチキャストラベルを
付与して、マルチキャストフレームを送信することを特
徴とする。
Further, in the IP multicast control method according to the present invention, the label multicast table in the layer 3 device and the layer 2 switch includes a relationship between the multicast label and a port for transmitting a frame to which the corresponding multicast label is added. In addition to whether or not to delete the multicast label when transmitting the corresponding frame, if the multicast label is not deleted when transmitting the corresponding frame, a multicast label to be newly added for each transmission port is stored. In addition, when the layer 3 device or the layer 2 switch receives a multicast frame to which a multicast label is assigned, the layer 3 device or the layer 2 switch refers to the label multicast table and determines a transmission port from the multicast label, And, wherein if it is stored as a label multicast table does not delete the multicast label, by applying a new multicast label each transmission port, and transmits the multicast frame.

【0013】また、本発明に係るIPマルチキャスト制
御方法においては、前記マルチキャストラベルを、IE
EE802.1Q標準のVLAN識別子領域、もしくは、I
RTF RFC3032に規定されたラベルスタックのラベ
ル領域に設けることを特徴とする。
[0013] In the IP multicast control method according to the present invention, the multicast label may be designated by an IE.
EE 802.1Q standard VLAN identifier area or I
It is provided in a label area of a label stack specified in RTF RFC3032.

【0014】またさらに、本発明に係るIPマルチキャ
スト制御方法においては、前記マルチキャストラベル
は、各ビットをレイヤ2スイッチの各ポートに1対1対
応させ、送信するポートに対応するビットを1、送信し
ないポートおよび存在しないポートに対応するビットを
0、あるいは、送信するポートに対応するビットを0、
送信しないポートおよび存在しないポートに対応するビ
ットを1とし、前記レイヤ3デバイスの前記IPマルチ
キャストテーブル、あるいは、前記ラベルマルチキャス
トテーブルのマルチキャストラベルのビット幅は、接続
されているレイヤ2スイッチのポート数分有効とし、前
記レイヤ2スイッチは、前記ラベルマルチキャストテー
ブルの削除フラグのみを使用するか、あるいは、ラベル
マルチキャストテーブルを備えず、マルチキャストラベ
ルが送信すると指定したポートから送信し、マルチキャ
ストラベルは全て削除するか、あるいは、新たに付与す
るマルチキャストラベルを含むラベルマルチキャストテ
ーブルを備えることを特徴とする。
Still further, in the IP multicast control method according to the present invention, each bit of the multicast label has a one-to-one correspondence with each port of the layer 2 switch, and one bit corresponding to a port to be transmitted is not transmitted. The bit corresponding to the port and the non-existing port is 0, or the bit corresponding to the port to be transmitted is 0,
The bit corresponding to the port that does not transmit and the port that does not exist is set to 1, and the bit width of the IP multicast table of the layer 3 device or the multicast label of the label multicast table is equal to the number of ports of the connected layer 2 switch. Enabled, the layer 2 switch uses only the delete flag of the label multicast table, or does not have the label multicast table, transmits from the port designated as transmitting the multicast label, and deletes all the multicast labels. Alternatively, a label multicast table including a newly assigned multicast label is provided.

【0015】またさらに、本発明に係るIPマルチキャ
スト制御方法は、端末が前記レイヤ2スイッチに接続さ
れ、このレイヤ2スイッチが前記レイヤ3デバイスに接
続される構成のIPネットワークにおいて用いられるI
Pマルチキャスト制御方法であって、前記レイヤ3デバ
イスは、前記IPマルチキャストテーブルと、前記ラベ
ルマルチキャストテーブルと、IGMP処理部と、前記
端末のMACアドレスあるいはIPアドレスと、前記端
末と前記レイヤ3デバイス間に設置された前記レイヤ2
スイッチのどのポートに接続されているかを記憶してお
く経路管理テーブルを備え、前記レイヤ3デバイスは、
前記端末からIGMP Membership Reportメッセージ
あるいは、Leave‐Groupメッセージを受信した場合
に、前記IGMP処理部が該当の端末をマルチキャスト
メンバーとして追加するか削除するかを判断した場合
に、該当端末の送信元MACアドレスあるいは送信元I
Pアドレスから、前記経路管理テーブルを参照して前記
レイヤ2スイッチにおける該当端末の接続ポートを取得
し、前記IGMP処理部が該当端末をメンバーとして追
加すると判断したら、前記IPマルチキャストテーブル
および前記ラベルマルチキャストテーブルの該当グルー
プのマルチキャストラベルを、該当の端末の接続ポート
を追加したことを意味するマルチキャストラベルに更新
し、また、IGMP処理部が該当端末をメンバーから削
除すると判断した場合には、前記IPマルチキャストテ
ーブルおよび前記ラベルマルチキャストテーブルの該当
グループのマルチキャストラベルを、該当の端末の接続
ポートを削除したことを意味するマルチキャストラベル
に更新することを特徴とする。
Still further, in the IP multicast control method according to the present invention, the terminal is connected to the layer 2 switch, and the layer 2 switch is connected to the layer 3 device.
A P multicast control method, wherein the layer 3 device includes: the IP multicast table, the label multicast table, an IGMP processing unit, a MAC address or an IP address of the terminal, and a communication between the terminal and the layer 3 device. Layer 2 installed
A path management table for storing which port of the switch is connected, wherein the layer 3 device
When receiving an IGMP Membership Report message or a Leave-Group message from the terminal, when the IGMP processing unit determines whether to add or delete the corresponding terminal as a multicast member, the source MAC address of the corresponding terminal Or source I
From the P address, the connection port of the corresponding terminal in the layer 2 switch is obtained by referring to the path management table, and when the IGMP processing unit determines that the corresponding terminal is added as a member, the IP multicast table and the label multicast table Is updated to a multicast label indicating that the connection port of the corresponding terminal has been added, and if the IGMP processing unit determines that the corresponding terminal is to be deleted from the member, the IP multicast table And updating the multicast label of the corresponding group in the label multicast table to a multicast label indicating that the connection port of the corresponding terminal has been deleted.

【0016】一方、本発明に係るIPマルチキャスト制
御システムは、上述の各IPマルチキャスト制御方法の
いずれか一つを用いるIPマルチキャスト制御システム
であって、前記IPマルチキャストテーブルと、前記ラ
ベルマルチキャストテーブルとを備える前記レイヤ3デ
バイスと、前記ラベルマルチキャストテーブルを備える
前記レイヤ2スイッチとを有し、前記レイヤ3デバイス
から前記レイヤ2スイッチの出力ポートを指示可能に構
成したことを特徴とする。
On the other hand, an IP multicast control system according to the present invention is an IP multicast control system using any one of the above-described IP multicast control methods, and includes the IP multicast table and the label multicast table. It is characterized by comprising the layer 3 device and the layer 2 switch provided with the label multicast table, wherein the layer 3 device can designate an output port of the layer 2 switch.

【0017】本発明においては、レイヤ3デバイスがI
GMPプロトコル処理を全て行い、データフレームにレ
イヤ2スイッチにおける送信ポートを明示するラベルを
挿入し、レイヤ2スイッチは、IGMPプロトコル処理
を全く行わず、ラベルのみを参照してマルチキャスト送
信することにより、レイヤ2スイッチは高性能CPUを
必要とせず、レイヤ2スイッチ部のみでスイッチングが
可能となる。
In the present invention, the layer 3 device is I
Performs all GMP protocol processing, inserts a label indicating the transmission port in the layer 2 switch in the data frame, and performs layer transmission by referencing only the label without performing any IGMP protocol processing. The two-switch does not require a high-performance CPU, and can be switched only by the layer 2 switch unit.

【0018】このとき、VLAN機能があるレイヤ3デ
バイスでは、レイヤ2フレームにVLAN識別子を挿入
する手段を備えており、レイヤ2フレームにラベルを挿
入するのは容易であり、また、VLAN機能があるレイ
ヤ2スイッチでは、レイヤ2フレームの拡張ヘッダ部に
あるVLAN識別子を認識,処理可能であり、ラベル認
識,削除は容易である。また、レイヤ3デバイスの同一
装置内でIGMPプロトコル処理部と連動してラベルを
変更することにより、レイヤ3デバイスがIGMPプロ
トコル処理を完了した時点で、変更がラベルに反映さ
れ、高速な接続変更が可能となる。
At this time, a layer 3 device having a VLAN function has a means for inserting a VLAN identifier into a layer 2 frame, so that it is easy to insert a label into the layer 2 frame and has a VLAN function. The layer 2 switch can recognize and process the VLAN identifier in the extension header section of the layer 2 frame, and can easily recognize and delete the label. In addition, by changing the label in cooperation with the IGMP protocol processing unit in the same device of the layer 3 device, when the layer 3 device completes the IGMP protocol processing, the change is reflected on the label, and a high-speed connection change is performed. It becomes possible.

【0019】また、SSMにおいては、レイヤ3アドレ
スを識別できるレイヤ3デバイスが、グループアドレス
と送信元IPアドレスを理解し、同一グループであって
も送信元IPアドレスが異なれば異なるラベルを付与す
ることによって、該当のレイヤ3デバイスの後段に位置
するレイヤ2スイッチがラベルさえ識別できれば、レイ
ヤ3アドレスである送信元IPアドレスを識別できなく
ても、送信ポートを選択できるので、SSMに対応可能
となる。
In the SSM, a layer 3 device capable of identifying a layer 3 address understands a group address and a source IP address, and assigns a different label to the same group if the source IP address is different. Accordingly, as long as the layer 2 switch located downstream of the corresponding layer 3 device can identify the label, the transmission port can be selected even if the source IP address which is the layer 3 address cannot be identified, so that the SSM can be supported. .

【0020】[0020]

【発明の実施の形態】以下、本発明の実施の形態を、図
面に示す好適実施例に基づいて、詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to preferred embodiments shown in the drawings.

【0021】〔実施例1〕本発明の第1の実施例を、図
1のマルチキャストフレーム構成と、図2のIPマルチ
キャストテーブル構成と、図3のラベルマルチキャスト
テーブル構成と、図4の実施例1の動作を説明する接続
構成例と、図5のシーケンス例1と、図6のシーケンス
例2とを用いて説明する。なお、本実施例は、請求項1
に係るものである。
[Embodiment 1] A first embodiment of the present invention will be described with reference to the multicast frame configuration of FIG. 1, the IP multicast table configuration of FIG. 2, the label multicast table configuration of FIG. 3, and the first embodiment of FIG. The operation will be described with reference to a connection configuration example for explaining the operation, a sequence example 1 in FIG. 5, and a sequence example 2 in FIG. This embodiment is similar to the first embodiment.
It is related to.

【0022】まず、図1(a),(b)を用いて、本実
施例におけるマルチキャストフレームの構成を説明す
る。本実施例のマルチキャストフレーム構成は、従来の
フレーム構成(各、上段に示されている)に、マルチキ
ャストラベルが追加されて構成される。マルチキャスト
ラベルは、マルチキャストラベルが存在することを示す
識別子と、ラベルとから構成される。本構成により、レ
イヤ3デバイスおよびレイヤ2スイッチは、マルチキャ
ストラベルが付与されているか否かを判断する。マルチ
キャストフレーム構成例1としては、マルチキャストラ
ベルはレイヤ2ヘッダ内に付与される(図1(a)参
照)。マルチキャストフレーム構成例2としては、レイ
ヤ2ヘッダのタイプ領域に識別子を付与し、データ部に
ラベルを付与する(図1(b)参照)。
First, the configuration of a multicast frame in this embodiment will be described with reference to FIGS. 1 (a) and 1 (b). The multicast frame configuration of the present embodiment is configured by adding a multicast label to the conventional frame configuration (each shown in the upper part). The multicast label is composed of an identifier indicating that a multicast label exists and a label. With this configuration, the layer 3 device and the layer 2 switch determine whether or not a multicast label has been assigned. In the first example of the multicast frame configuration, the multicast label is added in the layer 2 header (see FIG. 1A). In the multicast frame configuration example 2, an identifier is assigned to the type area of the layer 2 header, and a label is assigned to the data part (see FIG. 1B).

【0023】次に、図2(a),(b)を用いて本実施
例のIPマルチキャストテーブルの構成を説明する。構
成例1のIPマルチキャストテーブルは、グループアド
レスと、該当のアドレスを持ったIPパケットの送信ポ
ートと、送信時に付与するマルチキャストラベルを記憶
する(図2(a)参照)。ここで、グループアドレスと
は、受信したIPパケットの宛先アドレスに記されたグ
ループアドレスのことである。構成例2のIPマルチキ
ャストテーブルは、SSMに対応するテーブルで、構成
例1に対して、送信元アドレスの項が追加されている
(図2(b)参照)。ここで、送信元アドレスとは、受
信したIPマルチキャストパケットの送信元アドレスに
記されたアドレスのことである。
Next, the configuration of the IP multicast table of this embodiment will be described with reference to FIGS. 2 (a) and 2 (b). The IP multicast table of the configuration example 1 stores a group address, a transmission port of an IP packet having the corresponding address, and a multicast label given at the time of transmission (see FIG. 2A). Here, the group address is a group address described in the destination address of the received IP packet. The IP multicast table of the configuration example 2 is a table corresponding to the SSM, and a source address term is added to the configuration example 1 (see FIG. 2B). Here, the source address is an address written in the source address of the received IP multicast packet.

【0024】なお、本構成例では、グループアドレス,
送信元アドレスともIPバージョン4の表記で、特定の
アドレス値が記述されているが、これらは本発明を制限
するものではなく、他のアドレス値であっても、あるい
はIPバージョン6であっても同様である。また、本構
成例では、マルチキャストラベルは、16進法の4桁と
なっているが、これも本発明を制限するものではなく、
他の表記および桁数であっても同様である。
In this configuration example, the group address,
Although a specific address value is described in the notation of IP version 4 for both the source address and the IP address, these do not limit the present invention, and other address values or IP version 6 may be used. The same is true. Further, in the present configuration example, the multicast label has four hexadecimal digits, but this does not limit the present invention.
The same applies to other notations and numbers of digits.

【0025】次に、図3を用いて、本実施例のラベルマ
ルチキャストテーブル構成を説明する。ラベルマルチキ
ャストテーブルは、マルチキャストラベルと、該当のラ
ベルを持ったフレームの送信ポートと、削除フラグから
構成される。ここで、削除フラグとは、送信時にラベル
を削除するかしないかを意味するものであり、この削除
フラグが立っている場合は、マルチキャストラベルは削
除する。また、後段にさらにマルチキャストポイントが
存在しない場合には、マルチキャストラベルは不要なの
で削除する。なお、本構成例では、マルチキャストラベ
ルは16進法の4桁となっているが、これは本発明を制
限するものではなく、他の表記および桁数であっても同
様である。
Next, the configuration of the label multicast table of this embodiment will be described with reference to FIG. The label multicast table includes a multicast label, a transmission port of a frame having the label, and a deletion flag. Here, the deletion flag means whether or not the label is deleted at the time of transmission. When the deletion flag is set, the multicast label is deleted. When there is no further multicast point at the subsequent stage, the multicast label is unnecessary and is deleted. In this configuration example, the multicast label has four hexadecimal digits, but this does not limit the present invention, and the same applies to other notations and other numbers of digits.

【0026】以下、図2のIPマルチキャストテーブル
構成例と、図3のラベルマルチキャストテーブル構成例
と、図4の接続構成例と、図5のシーケンス例1と、図
6のシーケンス例2を用いて、本実施例の動作例を説明
する。
Hereinafter, the configuration example of the IP multicast table of FIG. 2, the configuration example of the label multicast table of FIG. 3, the connection configuration example of FIG. 4, the sequence example 1 of FIG. 5, and the sequence example 2 of FIG. Next, an operation example of the present embodiment will be described.

【0027】図4に示すように、レイヤ3デバイス1
は、IPマルチキャストテーブル11,ラベルマルチキ
ャストテーブル12,スイッチ部13から構成され、I
Pマルチキャストテーブル11とラベルマルチキャスト
テーブル12とは、スイッチ部13に接続されている。
また、レイヤ2スイッチ2は、ラベルマルチキャストテ
ーブル21と、スイッチ部22とから構成され、ラベル
マルチキャストテーブル21は、スイッチ部22に接続
されている。レイヤ2スイッチ3も同様に、ラベルマル
チキャストテーブル31と、スイッチ部32とから構成
され、ラベルマルチキャストテーブル31は、スイッチ
部32に接続されている。
As shown in FIG. 4, the layer 3 device 1
Is composed of an IP multicast table 11, a label multicast table 12, and a switch unit 13.
The P multicast table 11 and the label multicast table 12 are connected to the switch unit 13.
The layer 2 switch 2 includes a label multicast table 21 and a switch unit 22. The label multicast table 21 is connected to the switch unit 22. Similarly, the layer 2 switch 3 includes a label multicast table 31 and a switch unit 32, and the label multicast table 31 is connected to the switch unit 32.

【0028】例えば、図3の例では、スイッチ部22に
マルチキャストラベル0011のマルチキャストフレームを
受信すると、0011をラベルマルチキャストテーブル21
に問い合わせ、ポート1とポート2に、マルチキャスト
ラベルを削除して送信する。スイッチ部22は、通知さ
れた全てのポートからマルチキャストフレームを送信し
たら、一連のマルチキャスト動作を終了する。
For example, in the example shown in FIG. 3, when the switch unit 22 receives the multicast frame of the multicast label 0011,
, And the multicast label is deleted and transmitted to port 1 and port 2. When transmitting the multicast frame from all the notified ports, the switch unit 22 ends a series of multicast operations.

【0029】レイヤ2スイッチ3における動作も、レイ
ヤ2スイッチ2と同様にして、例えば、図3の例では、
スイッチ部22にマルチキャストラベル0001のマルチキ
ャストフレームを受信すると、0001をラベルマルチキャ
ストテーブル31に問い合わせ、ポート1とポート3に
マルチキャストラベルを削除して送信する。このように
して、1のレイヤ3デバイスに到着した宛先アドレス22
4.1.1.1のマルチキャストパケットは、レイヤ2スイッ
チ2のポート1とポート3、およびレイヤ2スイッチ3
のポート1とポート2へマルチキャストされる。
The operation of the layer 2 switch 3 is the same as that of the layer 2 switch 2, for example, in the example of FIG.
When the switch unit 22 receives the multicast frame of the multicast label 0001, it inquires of the label multicast table 31 about 0001, deletes the multicast label to the port 1 and the port 3, and transmits the port. Thus, the destination address 22 arriving at one layer 3 device
The multicast packet of 4.1.1.1 is transmitted to ports 1 and 3 of layer 2 switch 2 and layer 2 switch 3
Multicast to port 1 and port 2

【0030】次に、図6のシーケンス例2を用いて、レ
イヤ3デバイスがマルチキャストラベルありのIPマル
チキャストパケットを受信した場合の動作例を説明す
る。レイヤ3スイッチ1のスイッチ部13は、到着した
IPマルチキャストパケットにマルチキャストラベルが
存在したら、ラベルマルチキャストテーブル12にマル
チキャストラベルを通知し、送信ポートを問い合わせ
る。ラベルマルチキャストテーブル12は、マルチキャ
ストラベルを受けて、必要な全ての送信ポートと、各ポ
ートでラベルを削除するか否かを、スイッチ部13に返
答する。
Next, an operation example when the layer 3 device receives an IP multicast packet with a multicast label will be described with reference to sequence example 2 in FIG. When a multicast label is present in the arrived IP multicast packet, the switch unit 13 of the layer 3 switch 1 notifies the label multicast table 12 of the multicast label and inquires about a transmission port. Upon receiving the multicast label, the label multicast table 12 returns to the switch section 13 all necessary transmission ports and whether or not to delete the label at each port.

【0031】例えば、図3の例では、スイッチ部13
は、fffeというマルチキャストラベルを付与されたパケ
ットを受信すると、ラベルマルチキャストテーブル12
にfffeを問い合わせ、マルチキャストラベルを引続き使
用し、ポート1,3,4,7の4つから送信するという
返答を得る。スイッチ部13は、指定されたポートから
マルチキャストフレームを送信する。なお、このとき、
各ポートでラベルを削除せずという返答があれば、その
ままマルチキャストラベルを付与して送信する。また、
削除するという返答があれば、該当ポートから送信する
マルチキャストフレームからマルチキャストラベルを削
除する。スイッチ部13は、通知された全てのポートか
ら、マルチキャストフレームを送信したら、一連のマル
チキャスト動作を終了する。
For example, in the example of FIG.
Receives a packet with a multicast label of fffe,
To the fffe, and obtains the reply that the multicast label is continuously used and transmitted from four ports 1, 3, 4, and 7. The switch unit 13 transmits a multicast frame from the designated port. At this time,
If there is a reply that the label is not deleted at each port, the multicast label is directly added and transmitted. Also,
If there is a reply to delete, the multicast label is deleted from the multicast frame transmitted from the corresponding port. After transmitting the multicast frame from all the notified ports, the switch unit 13 ends a series of multicast operations.

【0032】このようにして、レイヤ3デバイス1は、
fffeというマルチキャストラベルを付与されたパケット
を受信すると、ポート1,3,4,7の4つから引続き
fffeというマルチキャストラベルを持ったマルチキャス
トフレームを送信する。
In this way, the layer 3 device 1
When a packet with the multicast label fffe is received, it continues from four ports 1, 3, 4, and 7.
Send a multicast frame with a multicast label of fffe.

【0033】図6のレイヤ2スイッチにおける動作は、
後述する図5における説明と同様である。例えば、図3
と図4の例において、レイヤ2スイッチ2およびレイヤ
2スイッチ3は、レイヤ3デバイス1からfffeのマルチ
キャストラベルを持ったマルチキャストフレームを受信
すると、ポート1,3,4,7から送信する。このよう
にして、レイヤ3デバイス1に到着したfffeのマルチキ
ャストラベルを持ったパケットは、レイヤ2スイッチ2
のポート1,3,4,7と、レイヤ2スイッチ3のポー
ト1,3,4,7にマルチキャストされる。
The operation of the layer 2 switch shown in FIG.
This is the same as the description in FIG. 5 described later. For example, FIG.
4, when the layer 2 switch 2 and the layer 2 switch 3 receive the multicast frame having the multicast label of fffe from the layer 3 device 1, the layer 2 switch 2 and the layer 2 switch 3 transmit the multicast frame from the ports 1, 3, 4, and 7. Thus, the packet having the multicast label of fffe arriving at the layer 3 device 1 is transmitted to the layer 2 switch 2
And the ports 1, 3, 4, and 7 of the layer 2 switch 3 and the ports 1, 3, 4, and 7.

【0034】上記実施例1によれば、次のような効果が
得られる。すなわち、従来のマルチキャスト出力は、不
要なポートを含めて全ポートに出力されるが、本実施例
1においては、レイヤ3デバイスからレイヤ2スイッチ
の出力ポートを指示して、マルチキャストが必要なポー
トのみに出力するようにしたことで、セキュリティの向
上,トラヒック輻輳の回避が図れるという効果が得られ
る。
According to the first embodiment, the following effects can be obtained. That is, the conventional multicast output is output to all ports including unnecessary ports, but in the first embodiment, the output port of the layer 2 switch is instructed from the layer 3 device, and only the ports that need multicast are output. The effect of improving security and avoiding traffic congestion can be obtained.

【0035】〔実施例2〕本発明の実施例2を、図7の
ラベルマルチキャストテーブル構成例を用いて説明す
る。なお、本実施例は、請求項2に係るものである。レ
イヤ3デバイス1のスイッチ部13のポート1は、レイ
ヤ2スイッチ2のスイッチ部22に、ポート3はレイヤ
2スイッチ3のスイッチ部32に接続されている。ここ
で、レイヤ3デバイスとレイヤ2デバイスの接続関係、
およびそれぞれのポート数は一例であって、本発明を制
限するものではない。
[Second Embodiment] A second embodiment of the present invention will be described with reference to a configuration example of a label multicast table shown in FIG. This embodiment relates to claim 2. The port 1 of the switch unit 13 of the layer 3 device 1 is connected to the switch unit 22 of the layer 2 switch 2, and the port 3 is connected to the switch unit 32 of the layer 2 switch 3. Here, the connection relationship between the layer 3 device and the layer 2 device,
And the number of each port is an example, and does not limit the present invention.

【0036】まず、図5のシーケンス例1を用いて、レ
イヤ3デバイス1がマルチキャストラベルのないIPマ
ルチキャストパケットを受信した場合の動作例を説明す
る。IPマルチキャストテーブル11には、予め、グル
ープアドレスまたはグループアドレスと、送信元アドレ
スと該当のアドレスを持ったIPパケットの送信ポート
と、送信時に付与するマルチキャストラベルを設定して
おく。例えば、図2のIPマルチキャストテーブル構成
例1に示すように、宛先グループアドレスが、224.1.1.
1のIPパケットはポート1とポート2から送信し、そ
れぞれマルチキャストラベルは0011,0001を付与するな
どと登録しておく。
First, an operation example when the layer 3 device 1 receives an IP multicast packet without a multicast label will be described using sequence example 1 in FIG. In the IP multicast table 11, a group address or a group address, a source address, a transmission port of an IP packet having the corresponding address, and a multicast label to be given at the time of transmission are set in advance. For example, as shown in IP multicast table configuration example 1 of FIG. 2, the destination group address is 224.1.1.
One IP packet is transmitted from port 1 and port 2 and registered with multicast labels 0011 and 0001, respectively.

【0037】また、ラベルマルチキャストテーブル21
に、マルチキャストラベルと、該当のラベルを持ったフ
レームの送信ポートと、送信時にラベルを削除するかし
ないかを設定しておく。例えば、図3のラベルマルチキ
ャストテーブル構成例のように、0001のマルチキャスト
ラベルのフレームは、マルチキャストラベルを削除して
ポート1とポート3から送信し、0011のマルチキャスト
ラベルのフレームはマルチキャストラベルを削除してポ
ート1とポート2から送信する、などと登録しておく。
The label multicast table 21
, A multicast label, a transmission port of a frame having the label, and whether or not to delete the label at the time of transmission are set. For example, as shown in the example of the label multicast table configuration in FIG. 3, a frame with a multicast label of 0001 is transmitted from ports 1 and 3 with the multicast label deleted, and a frame with a multicast label of 0011 is deleted with the multicast label deleted. It is registered that data is transmitted from port 1 and port 2.

【0038】レイヤ3デバイス1のスイッチ部13に、
宛先アドレスが224.1.1.1のIPマルチキャストパケッ
トが到着すると、マルチキャストラベルが存在するか否
かを判断し、なければ、IPマルチキャストテーブル1
1に、グループアドレスまたはグループアドレスと送信
元アドレスを通知し、送信ポートとマルチキャストラベ
ルを問い合わせる。例えば、224.1.1.1の送信ポートを
問い合わせる。このとき、通知する値が、グループアド
レスのみか、それともSSMに対応し、グループアドレ
スと送信元アドレスの両方かは、予め設定しておくもの
とする。
In the switch unit 13 of the layer 3 device 1,
When an IP multicast packet having a destination address of 224.1.1.1 arrives, it is determined whether or not a multicast label exists.
1 is notified of the group address or the group address and the source address, and inquires about the transmission port and the multicast label. For example, the transmission port of 224.1.1.1 is queried. At this time, it is assumed that the value to be notified is only the group address or the value corresponding to the SSM, and both the group address and the source address are set in advance.

【0039】IPマルチキャストテーブル11は、グル
ープアドレスまたはグループアドレスと送信元アドレス
とを受けて、必要な全ての送信ポートと各送信ポートに
対応するマルチキャストラベルを全て、スイッチ部13
に返答する。例えば、図2の例では、アドレスが224.1.
1.1なら送信ポートは1と3であり、それぞれマルチキ
ャストラベルは0011と0001となる。
The IP multicast table 11 receives the group address or the group address and the source address, and stores all necessary transmission ports and all the multicast labels corresponding to each transmission port in the switch unit 13.
Reply to For example, in the example of FIG.
If it is 1.1, the transmission ports are 1 and 3, and the multicast labels are 0011 and 0001, respectively.

【0040】スイッチ部13は、受信したIPパケット
に通知されたマルチキャストラベルを付与し、指定され
たポートからマルチキャストフレームとして送信する。
例えば、マルチキャストラベル0011を付与してポート1
から送信し、マルチキャストラベル0001を付与してポー
ト3から送信する。スイッチ部13は通知された全ての
ポートからマルチキャストフレームを送信したら、一連
のマルチキャスト動作を終了する。
The switch unit 13 adds the notified multicast label to the received IP packet, and transmits the packet from the designated port as a multicast frame.
For example, by assigning a multicast label 0011 to port 1
From the port 3, with the multicast label 0001 added, and transmitted from the port 3. When transmitting the multicast frame from all the notified ports, the switch unit 13 ends a series of multicast operations.

【0041】次に、レイヤ2スイッチ2のスイッチ部2
2でマルチキャストフレームを受信した場合、マルチキ
ャストラベルが存在したら、ラベルマルチキャストテー
ブル21にマルチキャストラベルを通知し、送信ポート
を問い合わせる。ラベルマルチキャストテーブル21
は、マルチキャストラベルを受けて、必要な全ての送信
ポートと、各ポートでマルチキャストラベルを削除する
か否かを、スイッチ部22に返答する。
Next, the switch unit 2 of the layer 2 switch 2
If the multicast frame is received in step 2, if the multicast label exists, the multicast label is notified to the label multicast table 21 and the transmission port is queried. Label multicast table 21
Receives the multicast label and returns to the switch unit 22 all necessary transmission ports and whether or not to delete the multicast label at each port.

【0042】スイッチ部22は、指定されたポートから
マルチキャストフレームを送信する。このとき、削除と
いう返答があれば、該当ポートから送信するマルチキャ
ストフレームからマルチキャストラベルを削除する。ま
た、削除せずという返答があれば、そのままマルチキャ
ストラベルを付与して送信する。
The switch section 22 transmits a multicast frame from a designated port. At this time, if there is a reply of deletion, the multicast label is deleted from the multicast frame transmitted from the corresponding port. If there is a reply indicating that the message is not to be deleted, the multicast label is directly added and transmitted.

【0043】本実施例のラベルマルチキャストテーブル
21は、受信マルチキャストラベルと、送信ポートと、
削除フラグと、送信マルチキャストラベルとから構成さ
れる。削除フラグと送信マルチキャストラベルの項は、
送信ポート毎に設ける。削除フラグが立っていない場
合、送信マルチキャストラベルの項は有効であり、削除
フラグが立っている場合、マルチキャストラベルが削除
され、送信マルチキャストラベルの項は無効である。な
お、図7の構成例では、マルチキャストラベルは16進
法の4桁となっているが、これは本発明を制限するもの
ではなく、他の表記および桁数であっても同様である。
The label multicast table 21 of the present embodiment includes a reception multicast label, a transmission port,
It consists of a deletion flag and a transmission multicast label. The terms for the delete flag and the outgoing multicast label are
Provided for each transmission port. When the deletion flag is not set, the term of the transmission multicast label is valid, and when the deletion flag is set, the multicast label is deleted and the term of the transmission multicast label is invalid. In the configuration example of FIG. 7, the multicast label has four hexadecimal digits, but this does not limit the present invention, and the same applies to other notations and numbers of digits.

【0044】以下、本実施例の動作を説明する。説明の
明確化のために、接続構成は実施例1の説明で用いた図
4と同じで、シーケンスは図6と同じとする。図4のレ
イヤ3スイッチ1のスイッチ部13は、到着したIPマ
ルチキャストパケットにマルチキャストラベルが存在す
る場合は、ラベルマルチキャストテーブル12にマルチ
キャストラベルを通知し、送信ポートを問い合わせる。
ラベルマルチキャストテーブル12は、マルチキャスト
ラベルを受けて、必要な全ての送信ポートと、各ポート
でラベルを削除するか否か、および削除しない場合の送
信マルチキャストラベルを、スイッチ部13に返答す
る。このとき、ラベル削除せずで送信マルチキャストラ
ベルがあれば、送信マルチキャストラベルに付け替えて
送信する。
The operation of this embodiment will be described below. For the sake of clarity, the connection configuration is the same as that of FIG. 4 used in the description of the first embodiment, and the sequence is the same as that of FIG. When a multicast label is present in the arrived IP multicast packet, the switch unit 13 of the layer 3 switch 1 in FIG. 4 notifies the label multicast table 12 of the multicast label and inquires about the transmission port.
Upon receiving the multicast label, the label multicast table 12 returns to the switch unit 13 all necessary transmission ports, whether or not to delete the label at each port, and the transmission multicast label when the label is not deleted. At this time, if there is a transmission multicast label without removing the label, the transmission multicast label is replaced and transmitted.

【0045】例えば、図7の例では、スイッチ部13
は、マルチキャストラベルがff00のパケットを受信した
ら、ラベルマルチキャストテーブル12にfffeを問い合
わせ、送信ポートと送信マルチキャストラベルの関係
は、ポート1は0001、ポート3は0011と返答があり、ス
イッチ部13は、ポート1から0001からマルチキャスト
ラベル0001に付け替えて送信し、ポート3からマルチキ
ャストラベル0011に付け替えて、マルチキャストフレー
ムを送信する。
For example, in the example of FIG.
When a packet having a multicast label of ff00 is received, fffe is inquired to the label multicast table 12, and the relationship between the transmission port and the transmission multicast label is as follows: 0001 for port 1 and 0011 for port 3; The multicast frame is transmitted from port 1 to the multicast label 0001 from port 0001, and the multicast frame is transmitted from port 3 to the multicast label 0011.

【0046】このとき、後段にさらにマルチキャストポ
イントとなるレイヤ3デバイス、あるいは、レイヤ2ス
イッチが存在すれば、適切なマルチキャストラベルに付
け替えて送信し、後段にさらにマルチキャストポイント
となるレイヤ3デバイス、あるいは、レイヤ2スイッチ
が存在しなければ、マルチキャストラベルは不要なの
で、削除する。スイッチ部13は、通知された全てのポ
ートから、マルチキャストフレームを送信したら一連の
マルチキャスト動作を終了する。
At this time, if there is a layer 3 device or a layer 2 switch that will be a multicast point further in the subsequent stage, it is replaced with an appropriate multicast label and transmitted, and a layer 3 device or a multicast point further in the subsequent stage. If the layer 2 switch does not exist, the multicast label is unnecessary and is deleted. When transmitting the multicast frame from all the notified ports, the switch unit 13 ends the series of multicast operations.

【0047】レイヤ2スイッチにおける動作もレイヤ3
デバイスにおける動作と同様である。ラベルを削除する
場合の動作は、実施例1と同様である。本実施例2によ
れば、先に述べた効果に加えて、レイヤ2スイッチが多
段になっている場合にも対応できるという効果が得られ
る。
The operation in the layer 2 switch is also the layer 3
This is the same as the operation in the device. The operation for deleting a label is the same as in the first embodiment. According to the second embodiment, in addition to the above-described effects, an effect is obtained that it is possible to cope with a case where the number of layer 2 switches is multiple.

【0048】〔実施例3〕本発明の実施例3を、図8の
マルチキャストフレーム構成を用いて説明する。なお、
本実施例は、請求項3に係るものである。本実施例のフ
レーム構成では、IEEE802.3Q標準に規定される2
バイトのVLANプロトコルID領域に識別子を記述
し、12ビットのVLAN識別子領域のラベルを記述す
る。
[Third Embodiment] A third embodiment of the present invention will be described with reference to a multicast frame configuration shown in FIG. In addition,
This embodiment relates to claim 3. In the frame configuration of the present embodiment, two frames defined in the IEEE802.3Q standard are used.
An identifier is described in a byte VLAN protocol ID area, and a label of a 12-bit VLAN identifier area is described.

【0049】IPマルチキャストテーブル構成およびラ
ベルマルチキャストテーブル構成は、マルチキャストラ
ベルが12ビットとなる。図2および図3のマルチキャ
ストラベル項目、および図7の受信マルチキャストラベ
ル項目および送信マルチキャストラベル項目が12ビッ
トとなる。動作については、実施例1および実施例2と
同様である。本実施例3によれば、先に述べた効果に加
えて、レイヤ2スイッチの軽微な変更で本発明を実現で
きるという効果が得られる。
In the IP multicast table configuration and the label multicast table configuration, the multicast label has 12 bits. The multicast label item in FIGS. 2 and 3 and the reception multicast label item and the transmission multicast label item in FIG. 7 have 12 bits. The operation is the same as in the first and second embodiments. According to the third embodiment, in addition to the effects described above, there is obtained an effect that the present invention can be realized by a slight change of the layer 2 switch.

【0050】〔実施例4〕本発明の実施例4を、図9の
マルチキャストフレーム構成を用いて説明する。なお、
本実施例は、請求項4に係るものである。本実施例のフ
レーム構成では、図9に示すように、識別子を16ビッ
トの長さ/タイプ領域に記述する。構成1では、マルチ
キャストラベルはIETF RFC3032に規定されるラ
ベルスタックの20ビットのラベル領域に記述し、TT
LはTime To Liveとして使用する。
[Embodiment 4] Embodiment 4 of the present invention will be described with reference to the multicast frame configuration shown in FIG. In addition,
This embodiment relates to claim 4. In the frame configuration of the present embodiment, as shown in FIG. 9, the identifier is described in a 16-bit length / type area. In the configuration 1, the multicast label is described in a 20-bit label area of a label stack specified in IETF RFC3032,
L is used as Time To Live.

【0051】また、構成2では、マルチキャストラベル
は、IETF RFC3032に規定されるラベルスタック
の、ラベルと試験利用とスタックボトムの24ビットの
領域に記述し、TTLはTime To Liveとして使用す
る。また、構成3では、マルチキャストラベルは、IE
TF RFC3032に規定されるラベルスタックのラベル
と試験利用とスタックボトムとTTLの32ビットの領
域に記述する。
In the configuration 2, the multicast label is described in a 24-bit area of the label, the test use, and the stack bottom of the label stack specified in IETF RFC3032, and the TTL is used as Time To Live. In the configuration 3, the multicast label is IE
It is described in the 32-bit area of the label, test use, stack bottom, and TTL of the label stack specified in TF RFC3032.

【0052】IPマルチキャストテーブル構成、および
ラベルマルチキャストテーブル構成は、構成1では、図
2および図3のマルチキャストラベル項目、および図7
の受信マルチキャストラベル項目および送信マルチキャ
ストラベル項目が20ビットとなり、構成2では、図2
および図3のマルチキャストラベル項目、および図7の
受信マルチキャストラベル項目、および送信マルチキャ
ストラベル項目が24ビットとなり、また、構成3で
は、図2および図3のマルチキャストラベル項目、およ
び図7の受信マルチキャストラベル項目、および送信マ
ルチキャストラベル項目が32ビットとなる。
The configuration of the IP multicast table and the configuration of the label multicast table are as follows. In the configuration 1, the multicast label items of FIGS.
The receiving multicast label item and the transmitting multicast label item of FIG.
The multicast label item in FIG. 3 and the received multicast label item in FIG. 7 and the transmitted multicast label item in FIG. 7 have 24 bits. In the configuration 3, the multicast label item in FIGS. 2 and 3 and the received multicast label in FIG. The item and the transmission multicast label item have 32 bits.

【0053】動作については、実施例1および実施例2
と同様である。本実施例4によれば、先に述べた効果に
加えて、レイヤ2スイッチが多段になっている場合に
も、軽微な変更で本発明を実現できるという効果が得ら
れる。
The operation is described in the first and second embodiments.
Is the same as According to the fourth embodiment, in addition to the effects described above, an effect is obtained that the present invention can be realized with a small change even when the number of the layer 2 switches is multi-stage.

【0054】〔実施例5〕本発明の実施例5を、図10
の接続構成例と、図11のIPマルチキャストテーブル
構成と、図12のラベルマルチキャストテーブル構成を
用いて説明する。なお、本実施例は、請求項5に係るも
のである。図10に示すように、レイヤ3デバイス1の
ポート1にレイヤスイッチ2が接続され、ポート3にレ
イヤ2スイッチ3が接続されている構成例について説明
する。なお、図10では、ポート数が5のレイヤ2スイ
ッチを用いた例を示すが、構成およびポート数は本発明
を制限するものではなく、他の場合であっても同様であ
る。
Fifth Embodiment A fifth embodiment of the present invention will be described with reference to FIG.
, An IP multicast table configuration in FIG. 11, and a label multicast table configuration in FIG. This embodiment relates to claim 5. As shown in FIG. 10, a configuration example in which the layer switch 2 is connected to the port 1 of the layer 3 device 1 and the layer 2 switch 3 is connected to the port 3 will be described. Although FIG. 10 shows an example in which a layer 2 switch having five ports is used, the configuration and the number of ports do not limit the present invention, and the same applies to other cases.

【0055】レイヤ2スイッチ2において、224.1.1.1
のメンバーがポート1,2,4に接続されており、レイ
ヤ2スイッチ3において、224.1.1.1のメンバーがポー
ト1,4,5,7に接続されているとする。このとき、
IPマルチキャストテーブル11のマルチキャストラベ
ルは、接続されているレイヤ2スイッチの各ポートに対
応しており、送信ポート1、すなわちレイヤ2スイッチ
2では、宛先グループが224.1.1.1のマルチキャストフ
レームは、ポート1,2,4から送信するので、マルチ
キャストラベルの1,2,4にビットが立っており、送
信しないポートである0,3、および存在しないポート
である5から8にはビットが立っていない。
In the layer 2 switch 2, 224.1.1.1
Is connected to ports 1, 2, and 4, and in layer 2 switch 3, the member at 224.1.1.1 is connected to ports 1, 4, 5, and 7. At this time,
The multicast label in the IP multicast table 11 corresponds to each port of the connected layer 2 switch. In the transmission port 1, that is, the layer 2 switch 2, the multicast frame whose destination group is 224.1.1.1 Since transmission is performed from ports 2 and 4, bits are set in multicast labels 1, 2, and 4, and bits are not set in ports 0 and 3 that are not transmitted and ports 5 through 8 that are not present.

【0056】従って、マルチキャストラベルとしては、
011010000となる。同様に、レイヤ3デバイスのポート
3に接続されているレイヤ2スイッチ2では、宛先グル
ープが224.1.1.1のマルチキャストフレームは、ポート
1,4,5,7から送信するので、マルチキャストラベ
ルとしては、010011010となる。
Therefore, as a multicast label,
011010000. Similarly, in the layer 2 switch 2 connected to the port 3 of the layer 3 device, the multicast frame having the destination group of 224.1.1.1 is transmitted from the ports 1, 4, 5, and 7. Therefore, the multicast label is 010011010. Becomes

【0057】レイヤ3デバイス1では、宛先が224.1.1.1
のパケットが到着すると、ポート1には011010000のマ
ルチキャストラベルを付与し、ポート3には010011010
のマルチキャストラベルを付与して送信する。レイヤ2
スイッチ2は、011010000のマルチキャストラベルと付
与された、マルチキャストフレームを受信すると、ビッ
トが立っているポート1,2,4に送信し、レイヤ3ス
イッチ3は、010011010のマルチキャストラベルを付与
されたマルチキャストフレームを受信すると、ビットが
立っているポート1,4,5,7に送信する。
In the layer 3 device 1, the destination is 224.1.1.1
When a packet arrives, a multicast label of 011010000 is assigned to port 1 and a port number of 010011010 is assigned to port 3.
And send it. Layer 2
When the switch 2 receives the multicast frame with the multicast label of 011010000, the switch 2 transmits the multicast frame to the ports 1, 2, and 4 where the bit is set. The layer 3 switch 3 sends the multicast frame with the multicast label of 010011010 to the multicast frame. Is transmitted to ports 1, 4, 5, and 7 where the bit is set.

【0058】このとき、レイヤ2スイッチは、後段にさ
らにマルチキャストポイントとなるレイヤ3デバイス、
あるいは、レイヤ2スイッチが存在しなければ(すなわ
ち、自らが全ての端末を接続するレイヤ2スイッチであ
れば)、ラベルマルチキャストテーブルを備えず、全て
のマルチキャストラベルを削除することもある。また、
レイヤ2スイッチは後段に、さらにマルチキャストポイ
ントとなるレイヤ3デバイスあるいはレイヤ2スイッチ
が存在することを考慮して、図12に示すように、ラベ
ルマルチキャストテーブルを備えることもある。この場
合のラベルマルチキャストテーブルは、送信ポートと、
削除フラグと、新たに付与するマルチキャストラベルの
項から構成する。
At this time, the layer 2 switch further comprises a layer 3 device, which is a multicast point,
Alternatively, if there is no layer 2 switch (that is, if it is a layer 2 switch that connects all terminals), there may be no label multicast table and all multicast labels are deleted. Also,
The layer 2 switch may be provided with a label multicast table at the subsequent stage as shown in FIG. 12 in consideration of the existence of a layer 3 device or a layer 2 switch serving as a multicast point. In this case, the label multicast table includes a transmission port,
It consists of a deletion flag and a multicast label item to be newly added.

【0059】本実施例5によれば、先に述べた効果に加
えて、レイヤ2スイッチではハードウェアで構成できる
ので、高速化が可能になるという効果が得られる。
According to the fifth embodiment, in addition to the above-described effects, since the layer 2 switch can be configured by hardware, it is possible to obtain an effect that the speed can be increased.

【0060】〔実施例6〕本発明の実施例6を、図13
のレイヤ3デバイス構成と、図14のシーケンス例を用
いて説明する。なお、本実施例は、請求項6に係るもの
である。本実施例のレイヤ3デバイスは、図13に示す
ように、IPマルチキャストテーブル11,ラベルマル
チキャストテーブル12,スイッチ部13,IGMP処
理部14と、経路管理テーブル15から構成される。
Sixth Embodiment A sixth embodiment of the present invention will be described with reference to FIG.
This will be described with reference to the layer 3 device configuration of FIG. This embodiment relates to claim 6. As shown in FIG. 13, the layer 3 device of this embodiment includes an IP multicast table 11, a label multicast table 12, a switch unit 13, an IGMP processing unit 14, and a route management table 15.

【0061】IPマルチキャストテーブル11と、ラベ
ルマルチキャストテーブル12の構成については、他の
実施例で既に説明しているので、説明を省略する。経路
管理テーブル15の構成を図14を用いて説明する。経
路管理テーブル15は、レイヤ3デバイスのポートと、
該当のポートに接続されるレイヤ2スイッチのポート
と、そのポートに接続されている受信端末の送信元アド
レスとから構成される。なお、図14ではIPアドレス
の場合を示しているが、受信端末の送信元アドレスは、
MACアドレスで統一する場合と、IPアドレスで統一
する場合の両方があり得る。
The configurations of the IP multicast table 11 and the label multicast table 12 have already been described in the other embodiments, so that the description will be omitted. The configuration of the route management table 15 will be described with reference to FIG. The route management table 15 includes a port of the layer 3 device,
It is composed of a port of the layer 2 switch connected to the port, and a source address of the receiving terminal connected to the port. Although FIG. 14 shows the case of an IP address, the source address of the receiving terminal is
There can be both a case of unifying with a MAC address and a case of unifying with an IP address.

【0062】IPマルチキャストテーブル11と、ラベ
ルマルチキャストテーブル12と、IGMP処理部14
は、スイッチ部13に接続され、経路管理テーブル15
はIGMP処理部14のに接続される。レイヤ2スイッ
チ2の構成は、実施例1と同様なので、説明は省略す
る。また、レイヤ2スイッチ2には、受信端末4が接続
されているものとする。
The IP multicast table 11, the label multicast table 12, and the IGMP processing unit 14
Is connected to the switch unit 13 and the route management table 15
Is connected to the IGMP processing unit 14. Since the configuration of the layer 2 switch 2 is the same as that of the first embodiment, the description is omitted. It is assumed that the receiving terminal 4 is connected to the layer 2 switch 2.

【0063】以下、図15のシーケンス例1と図16の
シーケンス例2とを用いて、本実施例6の動作を説明す
る。図15は、新たにマルチキャストフローの受信要求
を行う場合、図16は受信していたマルチキャストフロ
ーを停止する場合のシーケンスである。経路管理テーブ
ル15には、予め、レイヤ3デバイスのポートと、該当
のポートに接続されるレイヤ2スイッチのポートと、そ
のポートに接続されている受信端末の送信元アドレスを
登録しておく。
Hereinafter, the operation of the sixth embodiment will be described using Sequence Example 1 of FIG. 15 and Sequence Example 2 of FIG. FIG. 15 shows a sequence when a new multicast flow reception request is made, and FIG. 16 shows a sequence when the received multicast flow is stopped. In the route management table 15, the port of the layer 3 device, the port of the layer 2 switch connected to the port, and the source address of the receiving terminal connected to the port are registered in advance.

【0064】まず、第一に、新たにマルチキャストフロ
ーの受信要求を行う場合の動作例を、図15を用いて説
明する。受信端末4は、マルチキャストフレームの受信
を要求する場合には、レイヤ3デバイス1に対し、要求
するグループアドレスあるいは要求するグループアドレ
スと送信元IPアドレスを明示したIGMP Membersh
ip Reportを送信する。ここで、IGMPバージョン2
であれば要求するグループアドレスのみ、IGMPバー
ジョン3であれば、要求するグループアドレスに加え
て、送信元IPアドレスを明示することが可能である。
この場合、送信元IPアドレスとは、マルチキャストパ
ケットを送信する装置のIPアドレスであり、受信端末
のIPアドレスではない。
First, an operation example when a new multicast flow reception request is made will be described with reference to FIG. When requesting reception of a multicast frame, the receiving terminal 4 requests the layer 3 device 1 to specify the requested group address or the requested group address and the transmission source IP address.
Send ip Report. Here, IGMP version 2
In the case of IGMP version 3, it is possible to specify the source IP address in addition to the requested group address.
In this case, the source IP address is the IP address of the device that transmits the multicast packet, not the IP address of the receiving terminal.

【0065】スイッチ部13は、受信端末4からIGM
P Membership Reportを受信すると、IGMP処理部
14に転送する。IGMP処理部14は、マルチキャス
トフレームの転送を決定したら、経路管理テーブル15
にIGMP Membership Reportのフレームに付与され
ている、受信端末の送信元MACアドレス、あるいは受
信端末の送信元IPアドレスを転送し、レイヤ2スイッ
チ2において、該当の受信端末がどのポートに接続され
ているかの情報を取得する。
The switch unit 13 receives an IGM signal from the receiving terminal 4.
When the P Membership Report is received, it is transferred to the IGMP processing unit 14. When the IGMP processing unit 14 determines to transfer the multicast frame, the IGMP processing unit 14
The source MAC address of the receiving terminal or the source IP address of the receiving terminal attached to the IGMP Membership Report frame to which port the relevant receiving terminal is connected to in the layer 2 switch 2. Get the information of.

【0066】次に、IGMP処理部14は、取得したポ
ートを追加する新マルチキャストラベルを生成する。ま
たは、実施例5の方法を例にとって、図11の221.1.1.
1のレイヤ3デバイスの送信ポートが1の場合を用いて
説明すると、旧マルチキャストラベルが011010000であ
り、3の受信端末、すなわちポート8を送信ポートに追
加するものとすると、新マルチキャストラベルは011010
001となる。ただし、これは一例であり、本発明では予
め定義したマルチキャストラベルと、送信ポート群の関
係に基づき、新マルチキャストラベルを決定すればよ
い。
Next, the IGMP processing unit 14 generates a new multicast label for adding the obtained port. Alternatively, taking the method of Embodiment 5 as an example, 221.1.1.
To explain using the case where the transmission port of the layer 3 device of 1 is 1, the old multicast label is 011010000, and if the receiving terminal of 3, that is, port 8 is added to the transmission port, the new multicast label is 011010.
It becomes 001. However, this is merely an example, and in the present invention, a new multicast label may be determined based on the relationship between a predefined multicast label and a group of transmission ports.

【0067】次に、IGMP処理部14は、IPマルチ
キャストラベル11、あるいは、マルチキャストテーブ
ル12に、マルチキャストラベルの変更を反映させる。
それ以降にレイヤ3デバイスに到着したマルチキャスト
パケットから、新マルチキャストラベルが反映されて、
レイヤ2スイッチ2がポート8への送信を開始し、受信
端末4において、要求したマルチキャストグループのマ
ルチキャストフレームが受信されることになる。
Next, the IGMP processing unit 14 reflects the change of the multicast label on the IP multicast label 11 or the multicast table 12.
After that, the new multicast label is reflected from the multicast packet arriving at the layer 3 device,
The layer 2 switch 2 starts transmission to the port 8, and the receiving terminal 4 receives the multicast frame of the requested multicast group.

【0068】第二に、受信していたマルチキャストフロ
ーを停止する場合のシーケンスを、図16を用いて説明
する。受信端末4は、マルチキャストフレームの受信を
停止する場合には、レイヤ3デバイス1に対し、停止す
るグループアドレスを明示したIGMP Leave Group
、あるいは、停止するグループアドレスと送信元IP
アドレスを明示、あるいは、排他的に明示した、IGM
P Membership Report を送信する。なお、IGMPバ
ージョン2であれば前者であり、IGMPバージョン3
であれば後者となる。この場合、送信元IPアドレスと
は、マルチキャストパケットを送信する装置のIPアド
レスであり、受信端末のIPアドレスではない。
Second, a sequence for stopping the received multicast flow will be described with reference to FIG. When stopping the reception of the multicast frame, the receiving terminal 4 notifies the layer 3 device 1 of an IGMP Leave Group that specifies a group address to be stopped.
Or the group address to stop and the source IP
IGM with explicit or exclusive address
Send P Membership Report. Note that IGMP version 2 is the former and IGMP version 3
If so, the latter. In this case, the source IP address is the IP address of the device that transmits the multicast packet, not the IP address of the receiving terminal.

【0069】スイッチ部13は、受信端末からIGMP
バージョン2のLeave Group、あるいは、IGMPバ
ージョン3のMembership Reportを受信すると、IG
MP処理部14に転送する。IGMP処理部14は、マ
ルチキャストフレームの転送停止を決定したら、経路管
理テーブル15に、受信したIGMPメッセージのフレ
ームに付与されている、受信端末の送信元MACアドレ
ス、あるいは受信端末の送信元IPアドレスを転送し、
レイヤ2スイッチ2において、該当の受信端末がどのポ
ートに接続されているかの情報を取得する。
The switch unit 13 receives an IGMP signal from the receiving terminal.
Upon receiving a version 2 Leave Group or an IGMP version 3 Membership Report,
The data is transferred to the MP processing unit 14. When determining to stop the transfer of the multicast frame, the IGMP processing unit 14 stores the source MAC address of the receiving terminal or the source IP address of the receiving terminal added to the frame of the received IGMP message in the path management table 15. Transfer,
The layer 2 switch 2 acquires information on which port the corresponding receiving terminal is connected to.

【0070】次に、IGMP処理部14は、取得したポ
ートを削除する新マルチキャストラベルを生成する。あ
るいは、実施例5の方法を例にとって、図11の221.1.
1.1のレイヤ3デバイスの送信ポートが1の場合を用い
て説明すると、旧マルチキャストラベルが011010001で
あるとして、受信端末4すなわち、ポート8を送信ポー
トから削除するものとすると、新マルチキャストラベル
は011010000となる。ただし、これは、一例であり、本
発明では、予め定義したマルチキャストラベルと送信ポ
ート群の関係に基づき、新マルチキャストラベルを決定
すればよい。
Next, the IGMP processing unit 14 generates a new multicast label for deleting the acquired port. Alternatively, taking the method of the fifth embodiment as an example, 221.1 in FIG.
To explain using the case where the transmission port of the layer 3 device of 1.1 is 1, assuming that the old multicast label is 011010001 and the receiving terminal 4, that is, port 8 is deleted from the transmission port, the new multicast label is 011010000. Become. However, this is merely an example, and in the present invention, a new multicast label may be determined based on the relationship between the predefined multicast label and the transmission port group.

【0071】次に、IGMP処理部14は、IPマルチ
キャストテーブル11、あるいはラベルマルチキャスト
テーブル12に、マルチキャストラベルの変更を反映さ
せる。それ以降にレイヤ3デバイスに到着したマルチキ
ャストパケットから、新マルチキャストラベルが反映さ
れて、レイヤ2スイッチ2においてポート8への送信が
停止し、受信端末4にて停止要求したマルチキャストグ
ループのマルチキャストフレームが受信されなくなる。
Next, the IGMP processing unit 14 reflects the change of the multicast label on the IP multicast table 11 or the label multicast table 12. After that, from the multicast packet arriving at the layer 3 device, the new multicast label is reflected, the transmission to the port 8 is stopped in the layer 2 switch 2, and the receiving terminal 4 receives the multicast frame of the multicast group requested to be stopped. Will not be.

【0072】本実施例6によれば、先に述べた効果に加
えて、受信端末を特定することにより、セキュリティの
向上が図れるというさらなる効果が得られる。
According to the sixth embodiment, in addition to the effects described above, by specifying the receiving terminal, a further effect that security can be improved can be obtained.

【0073】なお、上記各実施例はいずれも本発明の一
例を示すものであり、本発明はこれらに限定されるべき
ものではなく、本発明の要旨を逸脱しない範囲内で適宜
の変更・改良を行ってもよいことはいうまでもない。例
えば、請求項1〜6に記載のIPマルチキャスト制御方
法は、これをコンピュータによるプログラム制御によっ
て実現することが可能であり、また、このようなプログ
ラムを記録した記録媒体を商品として流通させることも
可能である。本発明の権利範囲はそのような実施形態に
も及ぶものである。
Each of the above embodiments is merely an example of the present invention, and the present invention should not be limited to these embodiments, and appropriate modifications and improvements may be made without departing from the scope of the present invention. It goes without saying that it may be performed. For example, the IP multicast control method according to claims 1 to 6 can be realized by program control by a computer, and a recording medium on which such a program is recorded can be distributed as a product. It is. The scope of the present invention extends to such embodiments.

【0074】[0074]

【発明の効果】以上、詳細に説明したように、本発明に
よれば、レイヤ2スイッチにおいて、スイッチ部がラベ
ルマルチキャストテーブルを参照するだけで済むように
処理を簡略化し、かつ、高速のマルチキャストを可能と
するIPマルチキャスト制御方法およびこれを用いるI
Pマルチキャスト制御システムを実現できるという顕著
な効果を奏するものである。
As described above in detail, according to the present invention, in the layer 2 switch, the processing is simplified so that the switch section only needs to refer to the label multicast table, and high-speed multicast is performed. IP multicast control method and I using the same
This has a remarkable effect that a P multicast control system can be realized.

【0075】より具体的には、レイヤ2スイッチにおい
て、スイッチ部がラベルマルチキャストテーブルを参照
するだけでよいので、高性能なCPU処理を必要とせ
ず、低コストで、高速にマルチキャストが可能となると
いう効果が得られるとともに、レイヤ3デバイスを用い
てIP処理をしなくても、低コストのレイヤ2スイッチ
にて、SSMに対応することができるという効果も得ら
れる。
More specifically, in the layer 2 switch, since the switch section only needs to refer to the label multicast table, high-speed multicast can be performed at low cost without requiring high-performance CPU processing. The effect is obtained, and the effect that the SSM can be supported by the low-cost layer 2 switch without performing the IP processing using the layer 3 device is also obtained.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施例1のマルチキャストフレーム構
成である。
FIG. 1 shows a multicast frame configuration according to a first embodiment of the present invention.

【図2】本発明の実施例1のIPマルチキャストテーブ
ル構成である。
FIG. 2 is an IP multicast table configuration according to the first embodiment of the present invention.

【図3】本発明の実施例1のラベルマルチキャストテー
ブル構成である。
FIG. 3 is a configuration of a label multicast table according to the first embodiment of the present invention.

【図4】本発明の実施例1の動作説明に用いる接続構成
例である。
FIG. 4 is a connection configuration example used for explaining the operation of the first embodiment of the present invention.

【図5】本発明の実施例1のシーケンス例1である。FIG. 5 is a sequence example 1 of the first embodiment of the present invention.

【図6】本発明の実施例1のシーケンス例2である。FIG. 6 is a sequence example 2 of the first embodiment of the present invention.

【図7】本発明の実施例2のラベルマルチキャストテー
ブル構成である。
FIG. 7 is a configuration of a label multicast table according to the second embodiment of the present invention.

【図8】本発明の実施例3のマルチキャストフレーム構
成である。
FIG. 8 shows a multicast frame configuration according to a third embodiment of the present invention.

【図9】本発明の実施例4のマルチキャストフレーム構
成である。
FIG. 9 shows a multicast frame configuration according to a fourth embodiment of the present invention.

【図10】本発明の実施例5の動作説明に用いる接続構
成例である。
FIG. 10 is a connection configuration example used for describing the operation of Embodiment 5 of the present invention.

【図11】本発明の実施例5のIPマルチキャストテー
ブル構成である。
FIG. 11 is an IP multicast table configuration according to a fifth embodiment of the present invention.

【図12】本発明の実施例5のラベルマルチキャストテ
ーブル構成である。
FIG. 12 is a configuration of a label multicast table according to a fifth embodiment of the present invention.

【図13】本発明の実施例6の動作説明に用いる接続構
成例である。
FIG. 13 is a connection configuration example used for explaining the operation of the sixth embodiment of the present invention.

【図14】本発明の実施例6の経路管理テーブル構成で
ある。
FIG. 14 is a configuration of a route management table according to a sixth embodiment of the present invention.

【図15】本発明の実施例6のシーケンス例1である。FIG. 15 is a sequence example 1 of the sixth embodiment of the present invention.

【図16】本発明の実施例6のシーケンス例2である。FIG. 16 is a sequence example 2 of the sixth embodiment of the present invention.

【図17】従来方式の動作説明に用いる接続構成であ
る。
FIG. 17 shows a connection configuration used for explaining the operation of the conventional system.

【図18】IGMPスヌーピング方式のシーケンス例で
ある。
FIG. 18 is a sequence example of the IGMP snooping method.

【図19】CGMP方式のシーケンス例である。FIG. 19 is a sequence example of the CGMP method.

【符号の説明】[Explanation of symbols]

1 レイヤ3デバイス 2,3 レイヤ2スイッチ 4 受信端末 5 端末 11 IPマルチキャストテーブル 12,21,31 ラベルマルチキャストテーブル 13,22,32 スイッチ部 14 IGMP処理部 15 経路管理テーブル 1 Layer 3 device 2,3 Layer 2 switch 4 receiving terminal 5 terminal 11 IP multicast table 12,21,31 Label multicast table 13,22,32 Switch section 14 IGMP processing unit 15 Route management table

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 マルチキャストラベルとIPマルチキャ
ストのグループアドレスと該当のIPパケットを送信す
るポートとの関係、あるいは、前記マルチキャストラベ
ルと前記IPマルチキャストのグループアドレスおよび
送信元IPアドレスと該当のIPパケットを送信するポ
ートとの関係を記憶しておくIPマルチキャストテーブ
ルと、前記マルチキャストラベルと該当のマルチキャス
トラベルが付与されたフレームを送信するポートとの関
係、および該当のフレームを送信する際に前記マルチキ
ャストラベルを削除するか否かを記憶しておくラベルマ
ルチキャストテーブルとを備えるレイヤ3デバイスと、 前記マルチキャストラベルと該当のマルチキャストラベ
ルが付与されたフレームを送信するポートとの関係、お
よび該当のフレームを送信する際に前記マルチキャスト
ラベルを削除するか否かを記憶しておくラベルマルチキ
ャストテーブルとを備えるレイヤ2スイッチとから構成
されるIPネットワークにおいて用いられるIPマルチ
キャスト制御方法であって、 前記マルチキャストラベルには、前記レイヤ2スイッチ
において、1以上のどのポートに送信するかを予め定義
されており、 前記レイヤ3デバイスは、マルチキャストラベルの存在
しないIPマルチキャストパケットを受信した場合に
は、前記IPマルチキャストテーブルを参照して、受信
したIPマルチキャストパケットの宛先アドレスに記さ
れたグループアドレス、あるいは、該当のグループアド
レスおよび送信元IPアドレスから送信ポートを決定
し、前記マルチキャストラベルを付与してマルチキャス
トフレームとして送信し、また、マルチキャストラベル
の存在するIPマルチキャストパケットを受信した場合
には、前記ラベルマルチキャストテーブルを参照して、
マルチキャストラベルから送信ポートを決定し、また、
前記ラベルマルチキャストテーブルに前記マルチキャス
トラベルを削除すると記憶されていれば、マルチキャス
トラベルを削除してマルチキャストフレームを送信し、 前記レイヤ2スイッチは、マルチキャストラベルの付与
されたマルチキャストフレームを受信した場合には、前
記ラベルマルチキャストテーブルを参照して、マルチキ
ャストラベルから送信ポートを決定し、また、前記ラベ
ルマルチキャストテーブルにマルチキャストラベルを削
除すると記憶されている場合には、マルチキャストをラ
ベルを削除してマルチキャストフレームを送信すること
を特徴とするIPマルチキャスト制御方法。
1. A relationship between a multicast label, an IP multicast group address, and a port for transmitting a corresponding IP packet, or transmitting the multicast label, the IP multicast group address, a source IP address, and a corresponding IP packet. Multicast table that stores the relationship with the port to be transmitted, the relationship between the multicast label and the port that transmits the frame to which the multicast label is assigned, and the multicast label is deleted when the frame is transmitted. A layer 3 device having a label multicast table for storing whether or not to perform the operation, a relationship between the multicast label and a port for transmitting a frame to which the corresponding multicast label is added, and a corresponding frame. And a label multicast table that stores whether or not to delete the multicast label when transmitting the multicast label. In the layer 2 switch, it is previously defined to which one or more ports to transmit. When the layer 3 device receives an IP multicast packet having no multicast label, the layer 3 device updates the IP multicast table. By referring to the group address described in the destination address of the received IP multicast packet, or the corresponding group address and the source IP address, a transmission port is determined, and the multicast label is added to the multicast port to determine the transmission port. Transmitted as preparative frame and, when receiving the IP multicast packets to the presence of multicast label refers to the label multicast table,
Determine the transmission port from the multicast label, and
If it is stored in the label multicast table to delete the multicast label, the multicast label is deleted and the multicast frame is transmitted.When the layer 2 switch receives the multicast frame with the multicast label, Referring to the label multicast table, a transmission port is determined from the multicast label, and if it is stored in the label multicast table that the multicast label is to be deleted, the multicast is deleted and the multicast frame is transmitted. An IP multicast control method, comprising:
【請求項2】 前記レイヤ3デバイスおよび前記レイヤ
2スイッチにおけるラベルマルチキャストテーブルは、 マルチキャストラベルと該当のマルチキャストラベルが
付与されたフレームを送信するポートとの関係、および
該当のフレームを送信する際にマルチキャストラベルを
削除するか否かに加えて、該当のフレームを送信する際
にマルチキャストラベルを削除しなければ、送信ポート
毎に新たに付与するマルチキャストラベルを記憶してお
き、 前記レイヤ3デバイスあるいは前記レイヤ2スイッチ
は、マルチキャストラベルの付与されたマルチキャスト
フレームを受信すると、前記ラベルマルチキャストテー
ブルを参照して、マルチキャストラベルから送信ポート
を決定し、また、前記ラベルマルチキャストテーブルに
マルチキャストラベルを削除しないと記憶されていれ
ば、送信ポート毎に新たなマルチキャストラベルを付与
して、マルチキャストフレームを送信することを特徴と
する請求項1のIPマルチキャスト制御方法。
2. The label multicast table in the layer 3 device and the layer 2 switch includes: a relationship between a multicast label and a port for transmitting a frame to which the corresponding multicast label is added; and a multicast when transmitting the corresponding frame. In addition to whether to delete the label, if the multicast label is not deleted when transmitting the corresponding frame, a multicast label to be newly added is stored for each transmission port, and the layer 3 device or the layer When the switch receives the multicast frame to which the multicast label is assigned, the switch refers to the label multicast table, determines a transmission port from the multicast label, and sets the multicast port in the label multicast table. If it is stored and does not delete the bell, by applying a new multicast label each transmission port, IP multicast control method according to claim 1, characterized by transmitting a multicast frame.
【請求項3】 前記マルチキャストラベルを、IEEE
802.1Q標準のVLAN識別子領域に設けることを特徴
とする請求項1または2に記載のIPマルチキャスト制
御方法。
3. The method according to claim 3, wherein the multicast label is an IEEE label.
3. The IP multicast control method according to claim 1, wherein the IP multicast control method is provided in a VLAN identifier area of the 802.1Q standard.
【請求項4】 前記マルチキャストラベルを、IRTF
RFC3032に規定されたラベルスタックのラベル領域
に設けることを特徴とする請求項1または2に記載のI
Pマルチキャスト制御方法。
4. The method according to claim 1, wherein the multicast label is an IRTF
3. The method according to claim 1, wherein the label is provided in a label area of a label stack specified in RFC3032.
P multicast control method.
【請求項5】 前記マルチキャストラベルは、各ビット
をレイヤ2スイッチの各ポートに1対1対応させ、送信
するポートに対応するビットを1、送信しないポートお
よび存在しないポートに対応するビットを0、あるい
は、送信するポートに対応するビットを0、送信しない
ポートおよび存在しないポートに対応するビットを1と
し、 前記レイヤ3デバイスの前記IPマルチキャストテーブ
ル、あるいは、前記ラベルマルチキャストテーブルのマ
ルチキャストラベルのビット幅は、接続されているレイ
ヤ2スイッチのポート数分有効とし、 前記レイヤ2スイッチは、前記ラベルマルチキャストテ
ーブルの削除フラグのみを使用するか、あるいは、ラベ
ルマルチキャストテーブルを備えず、マルチキャストラ
ベルが送信すると指定したポートから送信し、マルチキ
ャストラベルは全て削除するか、あるいは、新たに付与
するマルチキャストラベルを含むラベルマルチキャスト
テーブルを備えることを特徴とする請求項1〜4のいず
れか1項に記載のIPマルチキャスト制御方法。
5. The multicast label is such that each bit corresponds to each port of the layer 2 switch on a one-to-one basis, a bit corresponding to a transmitting port is 1, a bit corresponding to a non-transmitting port and a non-existing port is 0, Alternatively, the bit corresponding to the port to transmit is 0, the bit corresponding to the port not transmitting and the port not present is 1, and the bit width of the multicast label of the IP multicast table of the layer 3 device or the label multicast table is The number of ports of the connected layer 2 switch is set to be valid, and the layer 2 switch uses only the deletion flag of the label multicast table or does not have the label multicast table and specifies that the multicast label is transmitted. port And et transmission, multicast label to delete all, or, IP multicast control method according to claim 1, characterized in that it comprises a label multicast table including a multicast label to be newly applied.
【請求項6】 端末が前記レイヤ2スイッチに接続さ
れ、このレイヤ2スイッチが前記レイヤ3デバイスに接
続される構成のIPネットワークにおいて用いられるI
Pマルチキャスト制御方法であって、 前記レイヤ3デバイスは、前記IPマルチキャストテー
ブルと、前記ラベルマルチキャストテーブルと、IGM
P処理部と、前記端末のMACアドレスあるいはIPア
ドレスと、前記端末と前記レイヤ3デバイス間に設置さ
れた前記レイヤ2スイッチのどのポートに接続されてい
るかを記憶しておく経路管理テーブルを備え、 前記レイヤ3デバイスは、前記端末からIGMP Memb
ership Reportメッセージあるいは、Leave‐Groupメ
ッセージを受信した場合に、前記IGMP処理部が該当
の端末をマルチキャストメンバーとして追加するか削除
するかを判断した場合に、 該当端末の送信元MACアドレスあるいは送信元IPア
ドレスから、前記経路管理テーブルを参照して前記レイ
ヤ2スイッチにおける該当端末の接続ポートを取得し、 前記IGMP処理部が該当端末をメンバーとして追加す
ると判断したら、前記IPマルチキャストテーブルおよ
び前記ラベルマルチキャストテーブルの該当グループの
マルチキャストラベルを、該当の端末の接続ポートを追
加したことを意味するマルチキャストラベルに更新し、 また、IGMP処理部が該当端末をメンバーから削除す
ると判断した場合には、前記IPマルチキャストテーブ
ルおよび前記ラベルマルチキャストテーブルの該当グル
ープのマルチキャストラベルを、該当の端末の接続ポー
トを削除したことを意味するマルチキャストラベルに更
新することを特徴とする請求項1〜5のいずれか1項に
記載のIPマルチキャスト制御方法。
6. An IP network used in an IP network in which a terminal is connected to the layer 2 switch and the layer 2 switch is connected to the layer 3 device.
P multicast control method, wherein the layer 3 device comprises: the IP multicast table; the label multicast table;
A P processing unit, a route management table for storing a MAC address or an IP address of the terminal, and a port connected to the layer 2 switch installed between the terminal and the layer 3 device, The layer 3 device receives an IGMP Memb from the terminal.
When receiving the ership Report message or the Leave-Group message, when the IGMP processing unit determines whether to add or delete the corresponding terminal as a multicast member, the source MAC address or the source IP of the corresponding terminal is determined. From the address, the connection port of the corresponding terminal in the layer 2 switch is acquired by referring to the path management table, and when the IGMP processing unit determines that the corresponding terminal is added as a member, the IP multicast table and the label multicast table The multicast label of the corresponding group is updated to a multicast label indicating that the connection port of the corresponding terminal has been added. If the IGMP processing unit determines that the corresponding terminal is to be deleted from the member, the IP multicast multicast And updating the multicast label of the corresponding group in the label multicast table and the label multicast table to a multicast label indicating that the connection port of the corresponding terminal has been deleted. IP multicast control method.
【請求項7】 請求項1〜6のいずれか1項に記載のI
Pマルチキャスト制御方法を用いるIPマルチキャスト
制御システムであって、 前記IPマルチキャストテーブルと、前記ラベルマルチ
キャストテーブルとを備える前記レイヤ3デバイスと、 前記ラベルマルチキャストテーブルを備える前記レイヤ
2スイッチとを有し、 前記レイヤ3デバイスから前記レイヤ2スイッチの出力
ポートを指示可能に構成したことを特徴とするIPマル
チキャスト制御システム。
7. The I according to claim 1, wherein
An IP multicast control system using a P multicast control method, comprising: the layer 3 device including the IP multicast table and the label multicast table; and the layer 2 switch including the label multicast table. An IP multicast control system, wherein three devices can designate an output port of the layer 2 switch.
JP2002154017A 2002-05-28 2002-05-28 Ip multicast control method and ip multicast control system employing the same Pending JP2003348148A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002154017A JP2003348148A (en) 2002-05-28 2002-05-28 Ip multicast control method and ip multicast control system employing the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002154017A JP2003348148A (en) 2002-05-28 2002-05-28 Ip multicast control method and ip multicast control system employing the same

Publications (1)

Publication Number Publication Date
JP2003348148A true JP2003348148A (en) 2003-12-05

Family

ID=29770908

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002154017A Pending JP2003348148A (en) 2002-05-28 2002-05-28 Ip multicast control method and ip multicast control system employing the same

Country Status (1)

Country Link
JP (1) JP2003348148A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007274456A (en) * 2006-03-31 2007-10-18 Mitsubishi Electric Corp Communication system, station side communication apparatus, and subscriber termination device
EP1933524A1 (en) * 2005-10-09 2008-06-18 Huawei Technologies Co., Ltd. System for ethernet supporting the transmitting of the source-specific multicast and the method thereof
EP1942617A1 (en) * 2006-08-01 2008-07-09 Huawei Technologies Co., Ltd. Method and device and system of ethernet supporting source specific multicast forwarding
US7417990B2 (en) 2004-10-05 2008-08-26 Hitachi Communication Technologies, Ltd. Layer 2 switch
US20090097485A1 (en) * 2007-10-10 2009-04-16 Shigehiro Okada Data distribution apparatus, data distribution method, and distribution control program
JP2012004915A (en) * 2010-06-17 2012-01-05 Nippon Telegr & Teleph Corp <Ntt> Station-side apparatus and multicast control method
US9049150B2 (en) 2010-06-23 2015-06-02 Nec Corporation Communication system, control apparatus, node controlling method and node controlling program

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7417990B2 (en) 2004-10-05 2008-08-26 Hitachi Communication Technologies, Ltd. Layer 2 switch
EP1933524A1 (en) * 2005-10-09 2008-06-18 Huawei Technologies Co., Ltd. System for ethernet supporting the transmitting of the source-specific multicast and the method thereof
EP1933524A4 (en) * 2005-10-09 2009-02-18 Huawei Tech Co Ltd System for ethernet supporting the transmitting of the source-specific multicast and the method thereof
JP2007274456A (en) * 2006-03-31 2007-10-18 Mitsubishi Electric Corp Communication system, station side communication apparatus, and subscriber termination device
JP4696015B2 (en) * 2006-03-31 2011-06-08 三菱電機株式会社 Communication system, station side communication device, and subscriber termination device
EP1942617A1 (en) * 2006-08-01 2008-07-09 Huawei Technologies Co., Ltd. Method and device and system of ethernet supporting source specific multicast forwarding
EP1942617A4 (en) * 2006-08-01 2009-06-10 Huawei Tech Co Ltd Method and device and system of ethernet supporting source specific multicast forwarding
US20090097485A1 (en) * 2007-10-10 2009-04-16 Shigehiro Okada Data distribution apparatus, data distribution method, and distribution control program
KR101015130B1 (en) 2007-10-10 2011-02-16 엔이씨 액세스 테크니카 가부시키가이샤 Data distribution apparatus, data distribution method, and distribution control program
US8711872B2 (en) * 2007-10-10 2014-04-29 Nec Access Technica, Ltd. Data distribution apparatus, data distribution method, and distribution control program
JP2012004915A (en) * 2010-06-17 2012-01-05 Nippon Telegr & Teleph Corp <Ntt> Station-side apparatus and multicast control method
US9049150B2 (en) 2010-06-23 2015-06-02 Nec Corporation Communication system, control apparatus, node controlling method and node controlling program

Similar Documents

Publication Publication Date Title
JP5862769B2 (en) COMMUNICATION SYSTEM, CONTROL DEVICE, COMMUNICATION METHOD, AND PROGRAM
US6317434B1 (en) Data link layer switch with multicast capability
US7088689B2 (en) VLAN data switching method using ARP packet
US7058055B2 (en) Method of device-to-device communications in hybrid distributed device control networks
US7222188B1 (en) Method and apparatus for forwarding traffic between locally attached networks using level 3 addressing information
HU218402B (en) Method and apparatus for wireless communication with mobile units in a spurce routing communication network having a plurality of access points networks
JPH08331165A (en) Inter-lan connector
JPWO2006093299A1 (en) Tunneling device, tunnel frame sorting method used therefor, and program therefor
KR100636273B1 (en) Apparatus and method for transmitting of mpls multicast packet on ethernet
JP2011525313A (en) Method and apparatus for multicast group management
JP2001156835A (en) Method and device for compressing destination address of multicast message
JP6323444B2 (en) COMMUNICATION SYSTEM, CONTROL DEVICE, COMMUNICATION METHOD, AND PROGRAM
JPH1063598A (en) Method, system, and server for multicast communication
JP4925130B2 (en) Communication control method and system
JP2003348148A (en) Ip multicast control method and ip multicast control system employing the same
JP2003069640A (en) Method and apparatus for explicit multicast service on ethernet (r)
JP4599429B2 (en) Communication system and communication method
KR100636274B1 (en) Apparatus and method for forwarding packet in network processor
US20100135298A1 (en) Method and system for providing source specific multicast service on ethernet network
US20230353484A1 (en) PCE for BIER-TE Path
WO2023100371A1 (en) Communication equipment, communication method and program
WO2024001701A1 (en) Data processing method, apparatus and system
KR100550016B1 (en) Method for managing multi-cast forwarding information at switch router
JP4443266B2 (en) Packet update device
JP2937124B2 (en) Transmission method of maximum packet length