WO2013140860A1 - Communication system, transmitter apparatus, and communication method - Google Patents

Communication system, transmitter apparatus, and communication method Download PDF

Info

Publication number
WO2013140860A1
WO2013140860A1 PCT/JP2013/052013 JP2013052013W WO2013140860A1 WO 2013140860 A1 WO2013140860 A1 WO 2013140860A1 JP 2013052013 W JP2013052013 W JP 2013052013W WO 2013140860 A1 WO2013140860 A1 WO 2013140860A1
Authority
WO
WIPO (PCT)
Prior art keywords
mpls
mac address
frame
received
label
Prior art date
Application number
PCT/JP2013/052013
Other languages
French (fr)
Japanese (ja)
Inventor
剛志 柴田
誠由 高瀬
Original Assignee
株式会社日立製作所
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 株式会社日立製作所 filed Critical 株式会社日立製作所
Publication of WO2013140860A1 publication Critical patent/WO2013140860A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]

Definitions

  • the present invention relates to a communication system including a transfer device that constitutes a first communication network that uses IP / MPLS and a transmission device that constitutes a second communication network that uses MPLS-TP, and in particular, a destination MAC transmitted from the transfer device
  • the present invention relates to communication by an MPLS frame transmission apparatus including an address.
  • IP Internet Protocol
  • MPLS Multiprotocol Label Switching
  • IP is a technology for performing data communication between communication devices using an IP address.
  • IETF Internet Engineering Task To Force
  • RFC Request for Comments
  • 791 see Non-Patent Document 1
  • IETF RFC 2460 non-patent Ref. 2
  • MPLS is a technology for data communication between communication devices using an MPLS label, and details are defined in IETF RFC 3031 (see Non-Patent Document 3).
  • a data communication path between communication devices is called a path.
  • a path is constructed by IP.
  • the communication device that is the starting point and the end point of the path is determined by the IP address.
  • a route on the way from the communication device that is the start point of the path to the communication device that is the end point is determined based on IP routing from the IP address of the communication device that is the start point to the IP address of the communication device that is the end point.
  • a unicast MAC address is used as a MAC address used for MPLS frame communication.
  • the MPLS path construction uses an IP layer protocol such as LDP (Label Distribution Protocol) defined in IETF RFC 5036 (see Non-Patent Document 4).
  • LDP Label Distribution Protocol
  • a communication device executes data communication processing by IP when a path is established between a communication device that is a starting point and an end point of a path. In a procedure for realizing the IP communication, the communication device The MAC address of a certain communication device is grasped.
  • a communication device When a communication device receives an MPLS frame, if a destination MAC address included in the received MPLS frame is a MAC address to be terminated, the communication device communicates the received MPLS frame based on the MPLS label included in the MPLS frame. Execute the process. On the other hand, when the destination MAC address included in the received MPLS frame is not the MAC address to be terminated, the communication device executes communication processing of the received MPLS frame based on the MAC address included in the MPLS frame.
  • MPLS-TP MPLS-Transport Profile
  • a path is not established by IP, but is established by setting from a network control device.
  • the communication device that is the start point and the end point of the path is determined by designating an interface or the like.
  • a route on the way from the communication device that is the start point of the path to the communication device that is the end point is also determined by designating the interface of the communication device.
  • a broadcast MAC address is normally used as a MAC address used for communication of an MPLS frame so as to be determined regardless of a communication destination device.
  • the destination MAC address of the MPLS frame is a broadcast MAC. Since it is an address, the MPLS frame is transmitted to a plurality of destinations.
  • An object of the present invention is to provide a communication system capable of correctly executing MPLS frame communication processing even when a conventional communication network using MPLS and a communication network using MPLS-TP are connected.
  • a representative example of the present invention is a transfer device that constitutes a first communication network using IP / MPLS, and a transmission device that is connected to the transfer device and constitutes a second communication network using MPLS-TP.
  • the transfer device includes a first transfer device and a second transfer device, and the transmission device includes a first transmission device connected to the first transfer device, and the second transfer device. And a second transmission device that is an opposite device of the first transmission device, wherein the first transmission device determines whether the second transmission device holds the MAC address of the second transfer device. Is set based on a frame transmitted or received by itself, and is transmitted by the first transfer device and includes an MPLS label and a MAC address of the second transfer device serving as a destination.
  • the second transmission device When a frame is received, it is determined whether or not the second transmission device holds the MAC address of the second transfer device by referring to the opposite device holding information, and the second transmission device determines whether or not the second transfer.
  • the received MPLS frame is transmitted by an MPLS label switch based on the MPLS label, and the second transmission device holds the MAC address of the second transfer device.
  • the received MPLS frame is encapsulated with an MPLS header and a MAC header so as to include the MAC address of the second transfer device, the encapsulated MPLS frame is transmitted, and the second transmission device The MPLS frame transmitted by the first transmission device using the MPLS label switch is transmitted.
  • the destination MAC address of the received MPLS frame is converted to the MAC address of the second transfer device held by itself, and is transmitted to the second transfer device by an MPLS label switch, and the first transmission device
  • the encapsulation of the received encapsulated MPLS frame is released, and the MAC address of the second transfer device included in the decapsulated MPLS frame is set.
  • the destination MAC address is transmitted to the second transfer device.
  • 4 is a flowchart of processing when the packet transport device according to the first embodiment of the present invention receives an MPLS frame as a frame received from the outside of the MPLS-TP communication network.
  • 6 is a flowchart of processing when the packet transport device of the first exemplary embodiment of the present invention receives a frame received from the inside of the MPLS-TP communication network as an encapsulated frame.
  • 6 is a flowchart of processing when the packet transport apparatus according to the first embodiment of the present invention receives a frame received from the inside of the MPLS-TP communication network, which is not an encapsulated frame. It is a sequence diagram of the destination MAC address learning process of 2nd Embodiment of this invention.
  • FIG. 10 is a flowchart of processing when a packet transport apparatus according to a second embodiment of the present invention receives a frame received from the inside of an MPLS-TP communication network as an encapsulated frame and an intracapsule frame is an MPLS frame. It is a flowchart of a process when the frame which the packet transport apparatus of 2nd Embodiment of this invention received from the inside of an MPLS-TP communication network is not an encapsulated frame. It is a sequence diagram of the destination MAC address learning process of 3rd Embodiment of this invention. It is a flowchart of a process when the frame which the packet transport apparatus of 3rd Embodiment of this invention received from the outside of an MPLS-TP communication network is not an MPLS frame.
  • 10 is a flowchart of processing when a packet transport apparatus according to a third embodiment of the present invention receives a frame received from the inside of an MPLS-TP communication network as an encapsulated frame and an intracapsule frame is an MPLS frame.
  • 10 is a flowchart of processing when a packet transport apparatus according to a third embodiment of the present invention receives a frame received from the inside of an MPLS-TP communication network as an encapsulated frame and an intracapsule frame is not an MPLS frame. It is a flowchart of a process when the frame which the packet transport apparatus of 3rd Embodiment of this invention received from the inside of an MPLS-TP communication network is not an encapsulated frame.
  • FIG. 1 is an explanatory diagram of a configuration of a communication system according to the first embodiment of this invention.
  • the communication system of this embodiment is a router (transfer device) 101A that constitutes MPLS communication networks (first communication network) 100A and 100B (hereinafter collectively referred to as MPLS communication network 100) using MPLS (IP / MPLS). And 101B (hereinafter collectively referred to as router 101) and packet transport apparatuses (transmission apparatuses) 201A and 201B (hereinafter collectively referred to as "MPLS-TP communication network (second communication network) 200" using MPLS-TP). Packet transport device 201).
  • the MPLS-TP communication network 200 is located between the MPLS communication networks 100A and 100B.
  • the packet transport device 201A and the router 101A are located at the boundary between the MPLS-TP communication network 200 and the MPLS communication network 100A, and the packet transport device 201A and the router 101A are connected to each other.
  • the packet transport device 201B and the router 101B are located at the boundary between the MPLS-TP communication network 200 and the MPLS communication network 100B, and the packet transport device 201B and the router 101B are connected to each other.
  • FIG. 2 is an explanatory diagram of the configuration of the packet transport apparatus 201 according to the first embodiment of this invention.
  • the packet transport apparatus 201 includes an input interface 202, a MAC analysis unit 203, an IP analysis unit 204, a path correspondence MAC learning table 205, an MPLS analysis unit 206, an MPLS transfer table 207, an MPLS grant unit 208, an MPLS transfer unit 209, and a MAC grant.
  • the input interface 202 includes an interface (not shown) that connects the packet transport apparatus 201 to the MPLS communication network 100 and an interface (not shown) that connects to the MPLS-TP communication network 200.
  • the MAC analysis unit 203 analyzes the MAC header included in the frame received by the input interface 202, and determines whether the received frame is an IP frame or an MPLS frame.
  • the MAC analysis unit 203 determines that the received frame is an IP frame
  • the MAC analysis unit 203 passes the received IP frame to the IP analysis unit 204.
  • the IP analysis unit 204 analyzes the frame passed from the MAC analysis unit 203, updates the path correspondence MAC learning table 205 based on the analysis result, and determines an interface for transmitting the IP frame. Further, the IP analysis unit 204 passes the received IP frame to the MPLS adding unit 208.
  • the MPLS adding unit 208 encapsulates the IP frame passed from the IP analysis unit 204 in a format used in MPLS-TP, and passes the encapsulated MPLS frame to the MAC adding unit 210.
  • the MAC assignment unit 210 assigns a MAC header based on the analysis result of the IP analysis unit 203 and transmits the MAC header from the output interface 211 determined by the IP analysis unit 203.
  • the path correspondence MAC learning table 205 includes the MPLS label of the input MPLS frame, the MPLS label used when outputting the MPLS frame, the destination MAC address used when outputting the MPLS frame, and the opposite device. This is a table that holds a label switch enable / disable flag indicating whether or not an MPLS label switch can be implemented when transmitting an MPLS frame, and will be described in detail with reference to FIG.
  • the packet transport device 201B connected to the destination router 101B is opposed to the packet transport device 201A. It becomes a device.
  • the MAC analysis unit 203 determines that the received frame is an MPLS frame
  • the MAC analysis unit 203 passes the received MPLS frame to the MPLS analysis unit 206.
  • the MPLS analysis unit 206 analyzes the MPLS frame passed from the MAC analysis unit 203, refers to the MPLS forwarding table 207, and corresponds to the MPLS label (input label) included in the received MPLS frame (output label). And an interface for transmitting the MPLS frame.
  • the MPLS analysis unit 206 refers to the path correspondence MAC learning table 205, determines whether or not the MPLS label switch can be implemented when transmitting the received MPLS frame, and uses the MPLS frame when transmitting the MPLS frame. A destination MAC address is determined.
  • the MPLS transfer table 207 is a table that holds an input label, an output label, and an interface that transmits the MPLS frame in association with each other.
  • the MPLS analysis unit 206 determines that the MPLS label switch cannot be performed when transmitting the received MPLS frame, the MPLS analysis unit 206 passes the received MPLS frame to the MPLS adding unit 208.
  • the MPLS adding unit 208 encapsulates the MPLS frame passed from the MPLS analyzing unit 206 in a format used in MPLS-TP, and passes the encapsulated MPLS frame to the MAC adding unit 210.
  • the MAC assigning unit 210 assigns a MAC header including the destination MAC address determined by the MPLS analyzing unit 206, and transmits the MAC header from the output interface 211 determined by the MPLS analyzing unit 206.
  • the MPLS analysis unit 206 determines that the MPLS label switch can be performed when transmitting the received MPLS frame
  • the MPLS analysis unit 206 passes the received MPLS frame to the MPLS transfer unit 209.
  • the MPLS transfer unit 209 converts the MPLS label (input label) of the MPLS frame passed from the MPLS analysis unit 206 into an MPLS label (output label) determined by the MPLS analysis unit 206, and the label-converted MPLS frame is converted into the MAC address. It is passed to the grant unit 210.
  • the MAC assigning unit 210 assigns a MAC header including the destination MAC address determined by the MPLS analyzing unit 206, and transmits from the output interface 211 determined by the MPLS analyzing unit 206.
  • an MPLS label switch a data transmission method based on the MPLS label (input label) added to the received MPLS frame is referred to as an MPLS label switch.
  • FIG. 3 is an explanatory diagram of the path correspondence MAC learning table 205 according to the first embodiment of this invention.
  • the path correspondence MAC learning table 205 includes an MPLS input label 301, an MPLS output label 302, a destination MAC address 303, a MAC address valid time 304, a label switch enable / disable flag 305, and a flag valid time 306.
  • the path correspondence MAC learning table 205 is updated based on the frame received by the packet transport apparatus 201. Details of the update processing of the path correspondence MAC learning table 205 will be described with reference to FIG.
  • an MPLS label (input label) attached to the MPLS frame received by the packet transport apparatus 201 is registered.
  • the MPLS output label 302 an MPLS label (output label) to be assigned when the MPLS frame received by the packet transport apparatus 201 is transmitted is registered.
  • the destination MAC address 303 a destination MAC address used when the MPLS frame received by the packet transport apparatus 201 is transmitted is registered.
  • the MAC address valid time 304 a time until the MAC address registered in the destination MAC address 303 is deleted is registered.
  • the time registered in the MAC address valid time 304 is updated to a predetermined time when an MPLS frame with the MPLS label registered in the MPLS input label 301 is received.
  • the MAC address registered in the destination MAC address 303 is deleted if it does not receive an MPLS frame with the MPLS label registered in the MPLS input label 301 continuously for the time registered in the MAC address valid time 304. Is done.
  • the label switch enable / disable flag 305 a flag indicating whether or not the MPLS label switch can be executed when an MPLS frame is transmitted to the opposite apparatus is registered. Specifically, when “T” is registered in the label switch enable / disable flag 305, it indicates that the MPLS label switch is possible in the opposite device, and the flag indicating the state is valid. On the other hand, when “F” is registered in the label switch enable / disable flag 305, it indicates that the MPLS label switch is not possible in the opposite device, and the flag indicating the state is invalid.
  • the flag valid time 306 a time until the flag registered in the label switch availability flag 305 is set to invalid is registered.
  • the time registered in the flag valid time 306 is updated to a predetermined time when an MPLS frame with the MPLS label registered in the MPLS input label 301 is received.
  • the validity registered in the label switch enable / disable flag 305 becomes invalid if the MPLS frame to which the MPLS label registered in the MPLS input label 301 is continuously received for the time registered in the flag valid time 306 is not received. Is set.
  • FIG. 4 is a sequence diagram of destination MAC address learning processing according to the first embodiment of this invention.
  • FIG. 4 shows destination MAC address learning processing when the router 101A establishes a path to the router 101B and transmits data.
  • the packet transport device 201B connected to the data transmission destination router 101B is the opposite device of the packet transport device 201A connected to the data transmission source router 101A.
  • the path correspondence MAC learning table 205 stored in the packet transport apparatus 201B does not have to include all the columns 301 to 306 shown in FIG. 3, but the MPLS input label 301, the MPLS output label 302, the destination MAC address 303, and the MAC The address valid time 304 may be included.
  • the path correspondence MAC learning table 205 stored in the packet transport apparatus 201A may include the MPLS input label 301, the MPLS output label 302, the label switch availability flag 305, and the flag valid time 306.
  • the router 101A When starting to transmit data, the router 101A transmits a path establishment request to the router 101B using an IP frame (not shown). When the router 101B receives the path establishment request, the router 101B transmits an IP frame including an MPLS label assigned to the path between the routers 101A and 101B in the payload portion to the router 101A as signaling data for path establishment (401). ). This signaling data includes the unicast MAC address of the source router 101B and the unicast MAC address of the destination router 101A.
  • the packet transport device 201B When the packet transport device 201B receives the signaling data for establishing a path, the packet transport device 201B includes the destination MAC address 303 of the entry indicating the path corresponding to the received signaling data in the path corresponding MAC learning table 205, in the received signaling data.
  • the unicast MAC address of the router 101B to be registered is registered (402).
  • the packet transport apparatus 201B refers to the MPLS transfer table 207, and specifies an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data.
  • the packet transport apparatus 201B then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302.
  • the unicast MAC address of the router 101B included in the MAC header of the received signaling data is registered in the destination MAC address 303 of the entry that matches, and the initial value of the valid time is set in the MAC address valid time 304.
  • the packet transport apparatus 201B attaches an MPLS header and an MAC header including an MPLS output label for encapsulation and a broadcast destination MAC address to the received signaling data, and encapsulates the received signaling data. Then, the packet transport apparatus 201B transmits the encapsulated signaling data to the packet transport apparatus 201A (403).
  • the packet transport apparatus 201A When the packet transport apparatus 201A receives the signaling data for establishing the encapsulated path, the destination MAC address is registered in the packet transport apparatus 201B which is the opposite apparatus, and the MPLS label switch is possible. Judgment is made and validity is set in the label switch enable / disable flag 305 of the entry indicating the path corresponding to the received signaling data within the encapsulation in the path correspondence MAC learning table 205 (404). Specifically, the packet transport apparatus 201A refers to the MPLS transfer table 207 and determines an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data inside the encapsulation. Identify.
  • the packet transport apparatus 201A then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302. Is set to valid for the label switch enable / disable flag 305, and an initial value of the valid time is set to the flag valid time 306.
  • the packet transport apparatus 201A decapsulates the received encapsulated signaling data, and transmits the signaling data returned to the original IP frame by decapsulation to the router 101A (405).
  • a path for transmitting data from the router 101A to the router 101B is established. Further, the packet transport apparatus 201A sets “effective” in the label switch availability flag 305 of the corresponding entry of the path correspondence MAC learning table 205, and the packet transport apparatus 201B sets the destination MAC address of the corresponding entry of the path correspondence MAC learning table 205. The unicast MAC address of the router 101B is registered in 303.
  • the router 101A transmits an MPLS frame to the packet transport apparatus 201A (406).
  • the MPLS header and the MAC header of the MPLS frame transmitted by the router 101A include the MPLS label used for transmission of the data and the unicast MAC address of the destination router 101B.
  • the path transport MAC learning determines whether or not the received MPLS frame can be transmitted to the packet transport apparatus 201B which is the opposite apparatus by the MPLS label switch. The determination is made with reference to the table 205. Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame.
  • the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 It is confirmed whether or not the label switch enable / disable flag 305 of the entry that matches is set to valid.
  • the packet transport apparatus 201A determines that the received MPLS frame can be transmitted to the packet transport apparatus 201B that is the opposite apparatus by the MPLS label switch. , 407 and 408 are executed.
  • the packet transport apparatus 201A updates the time registered in the flag valid time 306 of the entry indicating the path corresponding to the received MPLS frame in the path corresponding MAC learning table 205 to the initial value (407). Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 The time registered in the flag valid time 306 of the entry that matches is updated to the initial value.
  • the packet transport device 201A converts the input label of the MPLS header of the received MPLS frame into an output label, converts the destination MAC address of the MAC header of the received MPLS frame into a broadcast MAC address, and converts the MPLS frame into a packet. Transmission to the transport device 201B, that is, MPLS label switching is performed (408).
  • the packet transport device 201B When the packet transport device 201B receives the MPLS frame transmitted by the packet transport device 201A, the packet transport device 201B updates the time registered in the MAC address valid time 304 of the path correspondence MAC learning table 205 to the initial value (409). Specifically, the packet transport apparatus 201B refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201B matches the input label received by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205 and the output label specified by the MPLS label registered in the MPLS output label 302. The time registered in the MAC address valid time 304 of the entry that matches is updated to the initial value.
  • the packet transport device 201B acquires the MAC address (unicast MAC address of the router 101B) registered in the destination MAC address 303 of the entry. Then, the packet transport apparatus 201B converts the broadcast destination MAC address of the MAC header of the received MPLS frame into the unicast MAC address of the acquired router 101B, and converts the MPLS label of the MPLS header of the received MPLS frame into an output label. Then, the MPLS frame is transmitted to the router 101B (410).
  • the MAC address unicast MAC address of the router 101B
  • the unicast MAC address of the router 101B is held in the packet transport device 201B connected to the router 101B serving as the data destination. Then, even if the broadcast destination MAC address is assigned to the MAC header of the MPLS frame communicated in the MPLS-TP communication network 200, the packet transport apparatus 201B assigns the unicast MAC address of the router 101B to the MPLS frame. Therefore, the MPLS frame can be correctly transferred.
  • the packet transport apparatus 201A If the packet transport apparatus 201A does not receive the MPLS frame transmitted by the router 101A beyond the time registered in the flag valid time 306 of the path correspondence MAC learning table 205, the packet transport apparatus 201A sets the label switch availability flag 305. The set flag is set to invalid (411). Similarly, when the packet transport apparatus 201B does not receive the MPLS frame transmitted by the router 101A beyond the time registered in the MAC address valid time 304 of the path correspondence MAC learning table 205, the packet transport apparatus 201B receives the destination MAC address 303. Delete the MAC address registered in (412).
  • the label switch enable / disable flag 305 of the path correspondence MAC learning table 205 of the packet transport device 201A is set to invalid in the processing of 411, and the destination MAC of the path correspondence MAC learning table 205 of the packet transport device 201B is processed in 412.
  • a sequence when the MPLS frame is transmitted by the router 101A after the address 303 is deleted (421) will be described.
  • the MPLS header and MAC header of the MPLS frame transmitted by the router 101A in the process 421 are the same as the MPLS header and MAC header of the MPLS frame transmitted by the router 101A in the process 406.
  • the label and the unicast MAC address of the destination router 101B are included.
  • the packet transport device 201A sets the label switch enable / disable flag 305 that is set valid based on the signaling data to invalid, and the packet transport device 201B sets the destination registered based on the signaling data. Since the MAC address 303 is deleted, the packet transport apparatus 201A sets the label switch enable / disable flag 305 to be valid based on the MPLS frame, and the packet transport apparatus 201B sets the destination MAC address 303 based on the MPLS frame. It is necessary to register the unicast MAC address of the destination router 101B.
  • the packet transport apparatus 201A when the packet transport apparatus 201A receives the MPLS frame transmitted by the router 101A, the packet transport apparatus 201A sets the label switch enable / disable flag 305 of the entry indicating the path corresponding to the received MPLS frame in the path corresponding MAC learning table 205 to be valid.
  • Set (422) the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame.
  • the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 Is set to valid for the label switch enable / disable flag 305, and an initial value of the valid time is set to the flag valid time 306.
  • the packet transport apparatus 201A displays the MPLS header and the MAC header including the MPLS output label for encapsulation and the broadcast destination MAC address. And encapsulates the received MPLS frame. Then, the packet transport apparatus 201A transmits the encapsulated MPLS frame to the packet transport apparatus 201B (423).
  • the packet transport apparatus 201B When the packet transport apparatus 201B receives the encapsulated MPLS frame transmitted by the packet transport apparatus 201A, the packet transport apparatus 201B stores an entry indicating a path corresponding to the received MPLS frame inside the encapsulated path in the path correspondence MAC learning table 205.
  • the unicast MAC address of the router 101B included in the received MPLS frame inside the encapsulation is registered in the destination MAC address 303 (424).
  • the packet transport apparatus 201B refers to the MPLS forwarding table 207, and determines the MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame within the MPLS frame. Identify.
  • the packet transport device 201B matches the input label received by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205 and the output label specified by the MPLS label registered in the MPLS output label 302.
  • the unicast MAC address of the router 101B included in the MAC header of the received MPLS frame inside the encapsulation is registered in the destination MAC address 303 of the entry that matches, and the initial value of the valid time is set in the MAC address valid time 304 .
  • the packet transport apparatus 201B decapsulates the received encapsulated MPLS frame, and converts the MPLS frame that has been returned to the original MPLS frame by decapsulation into an MPLS header (an MPLS header added by the router 101A) and a MAC.
  • the header (the MAC header assigned by the router 101A) is sent as it is to the router 101B (425).
  • the packet transport apparatus 201A When the packet transport apparatus 201B does not hold the MAC address of the router 101B that is the destination of the MPLS frame by the above processes 421 to 425, the packet transport apparatus 201A encapsulates the MPLS frame and transmits it. An MPLS frame can be correctly transferred. Further, the packet transport apparatus 201A sets “effective” in the label switch availability flag 305 of the corresponding entry of the path correspondence MAC learning table 205, and the packet transport apparatus 201B sets the destination MAC address of the corresponding entry of the path correspondence MAC learning table 205. The unicast MAC address of the router 101B is registered in 303.
  • processing from 426 to 430 shown in FIG. 4 is the same as the processing from 406 to 410, and thus description thereof is omitted.
  • the router 101A When the router 101A finishes data transmission, the router 101A transmits a path release request to the router 101B using an IP frame (not shown). When receiving the path release request, the router 101B transmits an IP frame including the MPLS label of the path to be released in the payload portion to the router 101A as signaling data for path release (431). This signaling data includes the unicast MAC address of the source router 101B and the unicast MAC address of the destination router 101A.
  • the packet transport apparatus 201B When the packet transport apparatus 201B receives signaling data for path release, the packet transport apparatus 201B deletes the MAC address registered in the destination MAC address 303 of the entry indicating the path corresponding to the received signaling data in the path correspondence MAC learning table 205 (432). Specifically, the packet transport apparatus 201B refers to the MPLS transfer table 207, and specifies an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data. The packet transport apparatus 201B then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302. The MAC address registered in the destination MAC address 303 of the entry that matches is deleted.
  • the packet transport apparatus 201B attaches an MPLS header and an MAC header including an MPLS output label for encapsulation and a broadcast destination MAC address to the received signaling data, and encapsulates the received signaling data. Then, the packet transport apparatus 201B transmits the encapsulated signaling data to the packet transport apparatus 201A (433).
  • the packet transport apparatus 201A When the packet transport apparatus 201A receives the encapsulated path release signaling data, the packet transport apparatus 201B, which is the opposite apparatus, deletes the destination MAC address and determines that the MPLS label switch is not possible. Then, invalidity is set in the label switch enable / disable flag 305 of the entry indicating the path corresponding to the received signaling data within the encapsulation in the path correspondence MAC learning table 205 (434). Specifically, the packet transport apparatus 201A refers to the MPLS transfer table 207 and determines an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data inside the encapsulation. Identify.
  • the packet transport apparatus 201A then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302. Is set to invalid in the label switch availability flag 305.
  • the packet transport apparatus 201A decapsulates the received encapsulated signaling data, and transmits the signaling data returned to the original IP frame by decapsulation to the router 101A (435).
  • FIG. 5A is a flowchart of processing when the packet transport apparatus 201 according to the first embodiment of the present invention receives a frame received from outside the MPLS-TP communication network 200 that is not an MPLS frame.
  • FIG. 5B is a flowchart of processing when the packet transport device 201 according to the first embodiment of this invention receives an MPLS frame from a frame received from the outside of the MPLS-TP communication network 200. These processes are executed by a processor (not shown) of the packet transport apparatus 201.
  • the packet transport apparatus 201 determines whether or not the received frame is an MPLS frame (501). Specifically, if the received frame includes an MPLS header, the packet transport apparatus 201 determines that the received frame is an MPLS frame (501: Yes), and the received frame includes an MPLS header. If not, it is determined that the received frame is not an MPLS frame (501: No).
  • step 501 If it is determined in step 501 that the received frame is not an MPLS frame (501: No), can the packet transport apparatus 201 identify the path in the MPLS-TP communication network 200 corresponding to the received frame? It is determined whether or not (502). If the received frame is signaling data for establishing or releasing a path, the MPLS label is included in the payload portion of the received frame, so the packet transport apparatus 201 refers to the MPLS forwarding table 207 and corresponds to the frame. The path in the MPLS-TP communication network 200 can be specified.
  • step 502 If it is determined in step 502 that the path in the MPLS-TP communication network 200 corresponding to the received frame can be specified (502: Yes), the received frame is signaling data for establishing or releasing the path. Therefore, the packet transport apparatus 201 proceeds to the processing from step 503 onward in order to update the path correspondence MAC management table 205.
  • the packet transport apparatus 201 determines whether or not an entry corresponding to the path corresponding to the received frame is held in the path-compatible MAC learning table 205 (503).
  • step 503 If it is determined in step 503 that the entry corresponding to the path corresponding to the received frame is not held (503: No), there is no entry to be updated in the path correspondence MAC learning table 205. Proceed to step 509.
  • step 503 when it is determined in step 503 that the entry corresponding to the path corresponding to the received frame is held (503: Yes), the packet transport apparatus 201 determines that the received frame is a path release. It is determined whether or not it is signaling data for use (504).
  • step 504 If it is determined in step 504 that the received frame is not signaling data for path release (504: No), that is, if the received frame is signaling data for path establishment, The port device 201 registers the source MAC address of the received frame in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205 (505), and proceeds to the processing of step 507. Note that the processing in step 505 corresponds to the processing 402 in FIG.
  • step 504 when it is determined in step 504 that the received frame is signaling data for releasing the path (504: Yes), the packet transport apparatus 201 sets the corresponding entry in the path correspondence MAC learning table 205. The MAC address registered in the destination MAC address 303 is deleted (506), and the process proceeds to step 507. Note that the processing of step 506 corresponds to the processing of 432 shown in FIG.
  • the packet transport apparatus 201 determines whether or not the path identified in the process of step 502 is set as a failure state (507).
  • step 507 If it is determined in step 507 that the path is set as a failure state (507: Yes), the packet transport apparatus 201 cancels the setting of the failure state (508), and the processing in step 509 is performed. move on.
  • the reason for canceling the setting of the failure state is that since the signaling data is a response to the path establishment request or the path cancellation request, it is considered that no failure has occurred in the path.
  • the packet transport apparatus 201 When it is determined in step 507 that the path is not set as a failure state (507: No), or when the process in step 508 is executed, the packet transport apparatus 201 outputs an MPLS output for encapsulation. An MPLS header and a MAC header including a label and a broadcast destination MAC address are added, the received frame is encapsulated, and the encapsulated received frame is transmitted (509).
  • step 502 If it is determined in step 502 that the path in the MPLS-TP communication network 200 corresponding to the received frame cannot be specified (502: No), the process proceeds to step 509 and the received frame is encapsulated. Then, the encapsulated received frame is transmitted.
  • step 501 When it is determined in the process of step 501 that the received frame is an MPLS frame (501: Yes), the packet transport device 201 is included in the MPLS header of the received MPLS frame in the path correspondence MAC learning table 205. It is determined whether or not the entry corresponding to the path corresponding to the MPLS label is held (510).
  • step 510 If it is determined in step 510 that the entry corresponding to the path corresponding to the received MPLS frame is not held (510: No), the packet transport apparatus 201 is the opposite apparatus, the packet transport apparatus 201. Since it is not possible to determine whether or not the MPLS label switch can be performed when the MPLS frame is transmitted to step S513, the process proceeds to step 513.
  • step 510 when it is determined in step 510 that the entry corresponding to the path corresponding to the received MPLS frame is held (510: Yes), the packet transport apparatus 201 stores the entry corresponding to the path corresponding MAC learning table 205. It is determined whether or not validity is set in the label switch enable / disable flag 305 of the corresponding entry (511).
  • step 511 If it is determined in step 511 that the validity of the label switch availability flag 305 of the corresponding entry is not set (511: No), the packet transport apparatus 201 sets the label switch availability flag 305 of the applicable entry. Enable is set (512), an MPLS header and MAC header including an MPLS output label for encapsulation and a broadcast destination MAC address are added, the received MPLS frame is encapsulated, and the encapsulated MPLS frame is transmitted (513). ).
  • the reason why the label switch enable / disable flag 305 is set to valid in the process of step 512 is that the packet transport device 201 which is the opposite device receives the encapsulated MPLS frame transmitted in step 513 and registers the destination MAC address. This is because an MPLS label switch becomes possible. Note that the processing of step 512 corresponds to the processing of 422 shown in FIG.
  • step 511 If it is determined in the processing of step 511 that validity is set in the label switch availability flag 305 of the corresponding entry (511: Yes), the packet transport apparatus 201 registers in the flag valid time 306 of the corresponding entry. The updated time is updated to an initial value (514). Note that the processing of step 514 corresponds to the processing of 407 and 427 shown in FIG.
  • the packet transport apparatus 201 determines whether or not the path specified in the process of step 510 is in a failure state (515).
  • step 515 If it is determined in step 515 that the path is in a failed state (515: Yes), the packet transport apparatus 201 proceeds to step 513, encapsulates the received MPLS frame, and encapsulates the MPLS. Send a frame.
  • the packet transport apparatus 201 converts the input MPLS label in the MPLS header of the received MPLS frame into an output label, and receives the received label.
  • the destination MAC address in the MAC header of the MPLS frame is converted into a broadcast MAC address, and the MPLS frame is transmitted to the packet transport device 201 which is the opposite device, that is, MPLS label switching is performed (516).
  • FIG. 6A is a flowchart of processing when the packet transport device 201 according to the first embodiment of this invention receives a frame received from the inside of the MPLS-TP communication network 200 as an encapsulated frame.
  • FIG. 6B is a flowchart of processing when the packet transport apparatus 201 according to the first embodiment of this invention receives a frame received from the inside of the MPLS-TP communication network 200 that is not an encapsulated frame. These processes are executed by a processor (not shown) of the packet transport apparatus 201.
  • the packet transport apparatus 201 determines whether or not the received frame is an encapsulated frame (601).
  • the packet transport apparatus 201 determines whether the frame inside the encapsulation is an MPLS frame. (602). Specifically, the packet transport apparatus 201 determines whether an MPLS header is included in a frame inside the encapsulation.
  • the packet transport apparatus 201 passes the path in the MPLS-TP communication network 200 corresponding to the encapsulated frame. It is determined whether or not can be specified (603). If the encapsulated frame is signaling data for establishing or releasing a path, the MPLS label is included in the payload portion of the encapsulated frame, so the packet transport apparatus 201 refers to the MPLS forwarding table 207. The path in the MPLS-TP communication network 200 corresponding to the frame can be specified.
  • step 603 If it is determined in step 603 that the path in the MPLS-TP communication network 200 corresponding to the frame inside the encapsulation can be specified (603: Yes), the frame inside the encapsulation is used for establishing or releasing the path. Therefore, the packet transport apparatus 201 proceeds to the processing from step 604 onward in order to update the path correspondence MAC management table 205.
  • the packet transport apparatus 201 determines whether or not the entry corresponding to the path corresponding to the frame inside the encapsulation is held in the path-compatible MAC learning table 205 (604).
  • step 604 If it is determined in step 604 that the entry corresponding to the path corresponding to the frame in the encapsulation is not held (604: No), there is no entry to be updated in the path correspondence MAC learning table 205. The process proceeds to step 608.
  • step 604 when it is determined in step 604 that the entry corresponding to the path corresponding to the frame inside the encapsulation is held (604: Yes), the packet transport apparatus 201 determines that the frame inside the encapsulation is It is determined whether or not it is signaling data for path release (605).
  • step 605 When it is determined in step 605 that the frame inside the encapsulation is not signaling data for path release (605: No), that is, the frame inside the encapsulation is signaling data for path establishment.
  • the packet transport apparatus 201 sets the label switch availability flag 305 of the corresponding entry in the path correspondence MAC learning table 205 to be valid (606), and proceeds to the process of step 608.
  • the processing of step 606 corresponds to the processing of 404 shown in FIG.
  • step 605 when it is determined in the processing of step 605 that the frame inside the encapsulation is signaling data for path release (605: Yes), the packet transport apparatus 201 determines that the corresponding in the path corresponding MAC learning table 205. Invalidity is set in the label switch enable / disable flag 305 of the entry to be entered (607), and the process proceeds to step 608. Note that the processing of step 607 corresponds to the processing of 434 shown in FIG.
  • the packet transport apparatus 201 decapsulates the received frame and transmits it (608).
  • step 603 If it is determined in step 603 that the path in the MPLS-TP communication network 200 corresponding to the encapsulated frame cannot be specified (603: No), the process proceeds to step 608, and the received frame is Decapsulate and send.
  • the packet transport device 201 stores the MPLS frame inside the encapsulation in the path-compatible MAC learning table 205. It is determined whether an entry corresponding to the path corresponding to the included MPLS label is held (609).
  • step 609 If it is determined in step 609 that the entry corresponding to the path corresponding to the MPLS frame within the encapsulation is not held (609: No), there is no entry to be updated in the path correspondence MAC learning table 205. Thus, the process proceeds to step 608, where the received frame is decapsulated and transmitted.
  • step 609 determines whether the entry corresponding to the path corresponding to the MPLS frame inside the encapsulation is held (609: Yes).
  • the packet transport apparatus 201 uses the path-compatible MAC learning table.
  • the destination MAC address of the MPLS frame in the encapsulation is registered in the destination MAC address 303 of the corresponding entry 205 (610), and the process proceeds to step 611. Note that the processing of step 610 corresponds to the processing of 424 shown in FIG.
  • the packet transport apparatus 201 determines whether the path specified in the process of step 609 is set as a failure state. It is determined whether or not (611).
  • step 611 If it is determined in step 611 that the path is set as a failure state (611: Yes), the packet transport apparatus 201 cancels the setting of the failure state (612), and the processing in step 608 is performed. Then, decapsulate the received frame and transmit it.
  • step 611 when it is determined in step 611 that the path is not set as a failure state (611: No), the packet transport apparatus 201 proceeds to the process in step 608 and decapsulates the received frame. Send.
  • step 601 If it is determined in step 601 that the received frame is not an encapsulated frame (601: No), that is, if the received frame is an MPLS frame that has been subjected to MPLS label switching, the packet transport device 201 Then, it is determined whether or not an entry corresponding to the path corresponding to the MPLS label included in the received MPLS frame is held in the path correspondence MAC learning table 205 (613).
  • step 613 If it is determined in step 613 that the entry corresponding to the path corresponding to the received MPLS frame is held (613: Yes), the packet transport apparatus 201 corresponds to the corresponding MAC learning table 205 in the path. It is determined whether a MAC address is registered in the destination MAC address 303 of the entry (614).
  • step 614 When it is determined in step 614 that the MAC address is registered in the destination MAC address 303 of the corresponding entry (614: Yes), the packet transport apparatus 201 sets the MAC address valid time 304 of the corresponding entry. The registered time is updated to the initial value (615). Note that the processing of step 615 corresponds to the processing of 409 shown in FIG.
  • the packet transport device 201 converts the input MPLS label of the MPLS header of the received MPLS frame into an output label, and converts the destination MAC address of the MAC header of the received MPLS frame to the corresponding entry in the path correspondence MAC learning table 205. It converts to a unicast MAC address held in the destination MAC address 303 and transmits the MPLS frame to the router 101 (616).
  • step 613 When it is determined in step 613 that the entry corresponding to the path corresponding to the received MPLS frame is not held (613: No), or in step 614, the destination MAC address 303 of the corresponding entry is determined. When it is determined that the MAC address is not registered in (614: No), the packet transport apparatus 201 determines whether or not the path specified in the process of step 613 is set as a failure state ( 617).
  • step 617 When it is determined in step 617 that the path is set as a failure state (617: Yes), the packet transport apparatus 201 sets the unicast to be set as the destination MAC address of the MAC header of the received MPLS frame. Since the MAC address is not held, the received MPLS frame is discarded (619).
  • step 617 determines whether the path is not set as a failure state (617: No). If it is determined in step 617 that the path is not set as a failure state (617: No), the packet transport apparatus 201 sets the path as a failure state (618), and step 619 is performed. Then, the received MPLS frame is discarded.
  • the packet transport apparatus 201 that has received the MPLS frame from the router 101 holds the unicast MAC address of the destination router 101 in the packet transport apparatus 201 that is the opposite apparatus.
  • the received MPLS frame is transmitted by MPLS label switching, and when the unicast MAC address of the destination router 101 is not held in the packet transport device 201 which is the opposite device, the received MPLS frame is encapsulated. Send.
  • the packet transport device 201 that is the opposite device does not hold the unicast MAC address of the router 101 that is the destination of the MPLS frame
  • the packet transport device 201 that is the opposite device By receiving the converted MPLS frame, the unicast MAC address of the destination router 101 included in the MPLS frame inside the encapsulation can be held. Further, even when a conventional communication network using MPLS and a communication network using MPLS-TP are connected, it is possible to provide a communication system capable of correctly performing communication processing of MPLS frames.
  • the packet transport apparatus 201 assigns a broadcast MAC address to the MAC header of an MPLS frame communicated within the MPLS-TP communication network 200 and transmits the result.
  • the packet transport apparatus 201 assigns the unicast MAC address of the destination router 101 to the MAC header of the MPLS frame communicated in the MPLS-TP communication network 200 and transmits the result. Thereby, the accuracy of communication can be improved.
  • FIGS. 7 to 9C A second embodiment of the present invention will be described with reference to FIGS. 7 to 9C.
  • FIG. 7 is a sequence diagram of destination MAC address learning processing according to the second embodiment of this invention.
  • the router 101A When starting to transmit data, the router 101A transmits a path establishment request to the router 101B using an IP frame (not shown). When the router 101B receives the path establishment request, the router 101B transmits an IP frame including an MPLS label to be assigned to the path between the routers 101A and 101B in the payload portion to the router 101A as signaling data for path establishment ( 701).
  • This signaling data includes the unicast MAC address of the source router 101B and the unicast MAC address of the destination router 101A.
  • the packet transport device 201B When the packet transport device 201B receives the signaling data for establishing a path, the packet transport device 201B includes the destination MAC address 303 of the entry indicating the path corresponding to the received signaling data in the path corresponding MAC learning table 205, in the received signaling data.
  • the unicast MAC address of the router 101B to be registered is registered (702).
  • the packet transport apparatus 201B refers to the MPLS transfer table 207, and specifies an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data.
  • the packet transport apparatus 201B then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302.
  • the unicast MAC address of the router 101B included in the MAC header of the received signaling data is registered in the destination MAC address 303 of the entry that matches, and the initial value of the valid time is set in the MAC address valid time 304.
  • the packet transport apparatus 201B attaches an MPLS header and an MAC header including an MPLS output label for encapsulation and a broadcast destination MAC address to the received signaling data, and encapsulates the received signaling data. Then, the packet transport apparatus 201B transmits the encapsulated signaling data to the packet transport apparatus 201A (703).
  • the packet transport apparatus 201A When the packet transport apparatus 201A receives the signaling data for establishing the encapsulated path, the destination MAC address of the entry indicating the path corresponding to the received encapsulation-internal signaling data in the path correspondence MAC learning table 205 The unicast MAC address of the router 101B included in the received signaling data inside the encapsulation is registered in 303, and the validity is set in the label switch availability flag 305 (704). Specifically, the packet transport apparatus 201A refers to the MPLS transfer table 207 and determines an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data inside the encapsulation. Identify.
  • the packet transport apparatus 201A then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302.
  • the unicast MAC address of the router 101B included in the MAC header of the received signaling data within the encapsulation is registered in the destination MAC address 303 of the entry that matches, and the initial value of the valid time is set in the MAC address valid time 304 .
  • the label switch enable / disable flag 305 is set to valid
  • the flag valid time 306 is set to an initial value of the valid time.
  • the packet transport apparatus 201A decapsulates the received encapsulated signaling data, and transmits the signaling data returned to the original IP frame by decapsulation to the router 101A (705).
  • a path for transmitting data from the router 101A to the router 101B is established. Further, the packet transport apparatus 201A registers the unicast MAC address of the router 101B in the destination MAC address 303 of the corresponding entry of the path correspondence MAC learning table 205, sets the label switch enable / disable flag 305 to be valid, and the packet transport apparatus 201B registers the unicast MAC address of the router 101B in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205.
  • the router 101A transmits an MPLS frame to the packet transport apparatus 201A (706).
  • the MPLS header and the MAC header of the MPLS frame transmitted by the router 101A include the MPLS label used for transmission of the data and the unicast MAC address of the destination router 101B.
  • the path transport MAC learning determines whether or not the received MPLS frame can be transmitted to the packet transport apparatus 201B which is the opposite apparatus by the MPLS label switch. The determination is made with reference to the table 205. Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame.
  • the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 It is confirmed whether or not the label switch enable / disable flag 305 of the entry that matches is set to valid.
  • the packet transport apparatus 201A determines that the received MPLS frame can be transmitted to the packet transport apparatus 201B that is the opposite apparatus by the MPLS label switch. , 707 and 708 are executed.
  • the packet transport apparatus 201A updates the time registered in the MAC address valid time 304 of the entry indicating the path corresponding to the received MPLS frame in the path correspondence MAC learning table 205 to the initial value and registers it in the flag valid time 306.
  • the set time is updated to the initial value (707).
  • the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame.
  • the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302
  • the time registered in the MAC address valid time 304 of the entry that coincides with is updated to the initial value, and the time registered in the flag valid time 306 is updated to the initial value.
  • the packet transport apparatus 201A acquires the MAC address (unicast MAC address of the router 101B) registered in the destination MAC address 303 of the entry. Then, the packet transport device 201A converts the input label of the MPLS header of the received MPLS frame into an output label, and converts the destination MAC address of the MAC header of the received MPLS frame into the unicast MAC address of the acquired router 101B. Then, the MPLS frame is transmitted to the packet transport apparatus 201B, that is, the MPLS label is switched (708).
  • the packet transport device 201B When the packet transport device 201B receives the MPLS frame transmitted by the packet transport device 201A, the packet transport device 201B updates the time registered in the MAC address valid time 304 of the path correspondence MAC learning table 205 to the initial value (709). Specifically, the packet transport apparatus 201B refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201B matches the input label received by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205 and the output label specified by the MPLS label registered in the MPLS output label 302. And the time registered in the MAC address valid time 304 of the entry that matches the destination MAC address of the MAC header of the received MPLS frame with the MAC address registered in the destination MAC address 303 is updated to the initial value.
  • the packet transport apparatus 201B converts the MPLS label of the MPLS header of the received MPLS frame into an output label, and transmits the MPLS frame to the router 101B (710).
  • the packet transport device 201B uses the MAC address of the router 101B.
  • the packet transport apparatus 201B is configured to convert the MAC address into the unicast MAC address. It is not necessary to perform the address conversion process.
  • the packet transport apparatus 201A If the packet transport apparatus 201A does not receive the MPLS frame transmitted by the router 101A beyond the time registered in the MAC address valid time 304 of the path correspondence MAC learning table 205, the packet transport apparatus 201A sets the destination MAC address 303 as the destination. If the registered MAC address is deleted, and the received time exceeds the time registered in the flag valid time 306, the flag set in the label switch enable / disable flag 305 is set to invalid (711). Similarly, when the packet transport apparatus 201B does not receive the MPLS frame transmitted by the router 101A beyond the time registered in the MAC address valid time 304 of the path correspondence MAC learning table 205, the packet transport apparatus 201B receives the destination MAC address 303. The MAC address registered in (1) is deleted (712).
  • step 711 the destination MAC address 303 of the path correspondence MAC learning table 205 of the path correspondence MAC learning table 205 of the packet transport apparatus 201A is deleted, the label switch availability flag 305 is set invalid, and in step 712 A sequence when the MPLS frame is transmitted by the router 101A (721) after the destination MAC address 303 in the path correspondence MAC learning table 205 of the packet transport apparatus 201B is deleted will be described.
  • the MPLS header and the MAC header of the MPLS frame transmitted by the router 101A in the process 721 are the MPLS used for transmission of the data, similar to the MPLS header and the MAC header of the MPLS frame transmitted by the router 101A in the process 706.
  • the label and the unicast MAC address of the destination router 101B are included.
  • the packet transport apparatus 201A when the packet transport apparatus 201A receives the MPLS frame transmitted by the router 101A, the packet transport apparatus 201A has received the destination MAC address 303 of the entry indicating the path corresponding to the received MPLS frame in the path correspondence MAC learning table 205.
  • the unicast MAC address of the router 101B included in the MPLS frame is registered, and the label switch availability flag 305 is set to valid (722).
  • the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame.
  • the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302
  • the unicast MAC address of the router 101B included in the MAC header of the received MPLS frame is registered in the destination MAC address 303 of the entry that matches, and the initial value of the valid time is set in the MAC address valid time 304.
  • the label switch enable / disable flag 305 is set to valid
  • the flag valid time 306 is set to an initial value of the valid time.
  • the packet transport apparatus 201A has an MPLS header including an MPLS output label for encapsulation and a MAC header including a broadcast destination MAC address because the label availability flag 305 of the entry is set to invalid when the MPLS frame is received. And the received MPLS frame is encapsulated. Then, the packet transport apparatus 201A transmits the encapsulated MPLS frame to the packet transport apparatus 201B (723).
  • the packet transport apparatus 201B When the packet transport apparatus 201B receives the encapsulated MPLS frame transmitted by the packet transport apparatus 201A, the packet transport apparatus 201B stores an entry indicating a path corresponding to the received MPLS frame inside the encapsulated path in the path correspondence MAC learning table 205.
  • the unicast MAC address of the router 101B included in the received MPLS frame inside the encapsulation is registered in the destination MAC address 303 (724).
  • the packet transport apparatus 201B refers to the MPLS forwarding table 207, and determines the MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame within the MPLS frame. Identify.
  • the packet transport device 201B matches the input label received by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205 and the output label specified by the MPLS label registered in the MPLS output label 302.
  • the unicast MAC address of the router 101B included in the MAC header of the received MPLS frame inside the encapsulation is registered in the destination MAC address 303 of the entry that matches, and the initial value of the valid time is set in the MAC address valid time 304 .
  • the packet transport apparatus 201B decapsulates the received encapsulated MPLS frame, and converts the MPLS frame that has been returned to the original MPLS frame by decapsulation into an MPLS header (an MPLS header added by the router 101A) and a MAC.
  • the header (MAC header given by the router 101A) is sent as it is to the router 101B (725).
  • the packet transport apparatus 201A encapsulates and transmits the MPLS frame, and therefore can correctly transfer the MPLS frame. Further, the packet transport apparatus 201A registers the unicast MAC address of the router 101B in the destination MAC address 303 of the corresponding entry of the path correspondence MAC learning table 205, sets the label switch enable / disable flag 305 to be valid, and the packet transport apparatus 201B registers the unicast MAC address of the router 101B in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205.
  • processing from 726 to 730 shown in FIG. 7 is the same as the processing from 706 to 710, and thus the description thereof is omitted.
  • the router 101A When the router 101A finishes data transmission, the router 101A transmits a path release request to the router 101B using an IP frame (not shown). When receiving the path release request, the router 101B transmits an IP frame including the MPLS label of the path to be released in the payload portion to the router 101A as signaling data for path release (731). This signaling data includes the unicast MAC address of the source router 101B and the unicast MAC address of the destination router 101A.
  • the packet transport apparatus 201B When the packet transport apparatus 201B receives signaling data for path release, the packet transport apparatus 201B deletes the MAC address registered in the destination MAC address 303 of the entry indicating the path corresponding to the received signaling data in the path correspondence MAC learning table 205 (732). Specifically, the packet transport apparatus 201B refers to the MPLS transfer table 207, and specifies an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data. The packet transport apparatus 201B then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302. The MAC address registered in the destination MAC address 303 of the entry that matches is deleted.
  • the packet transport apparatus 201B adds an MPLS header including an MPLS output label for encapsulation and a MAC header including a broadcast destination MAC address to the received signaling data, and encapsulates the received signaling data. Then, the packet transport apparatus 201B transmits the encapsulated signaling data to the packet transport apparatus 201A (733).
  • the packet transport apparatus 201A When the packet transport apparatus 201A receives the signaling data for releasing the encapsulated path, the destination MAC address 303 of the entry indicating the path corresponding to the received encapsulation data in the path corresponding MAC learning table 205 Is deleted, and the label switch enable / disable flag 305 is set to invalid (734). Specifically, the packet transport apparatus 201A refers to the MPLS transfer table 207 and determines an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data inside the encapsulation. Identify.
  • the packet transport apparatus 201A then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302. Is deleted, and the label switch enable / disable flag 305 is set to invalid.
  • the packet transport apparatus 201A decapsulates the received encapsulated signaling data, and transmits the signaling data returned to the original IP frame by decapsulation to the router 101A (735).
  • FIG. 8A is a flowchart of processing when the packet transport apparatus 201 according to the second embodiment of the present invention receives a frame received from outside the MPLS-TP communication network 200 that is not an MPLS frame.
  • FIG. 8B is a flowchart of a process when the packet transport device 201 according to the second embodiment of this invention receives an MPLS frame from the outside of the MPLS-TP communication network 200. These processes are executed by a processor (not shown) of the packet transport apparatus 201.
  • the packet transport apparatus 201 determines whether or not the received frame is an MPLS frame (801). Specifically, if the received frame includes an MPLS header, the packet transport apparatus 201 determines that the received frame is an MPLS frame (801: Yes), and the received frame includes an MPLS header. If not, it is determined that the received frame is not an MPLS frame (801: No).
  • step 801 If it is determined in step 801 that the received frame is not an MPLS frame (801: No), can the packet transport apparatus 201 identify the path in the MPLS-TP communication network 200 corresponding to the received frame? It is determined whether or not (802). If the received frame is signaling data for establishing or releasing a path, the MPLS label is included in the payload portion of the received frame, so the packet transport apparatus 201 refers to the MPLS forwarding table 207 and corresponds to the frame. The path in the MPLS-TP communication network 200 can be specified.
  • step 802 If it is determined in step 802 that the path in the MPLS-TP communication network 200 corresponding to the received frame can be specified (802: Yes), the received frame is signaling data for establishing or releasing the path. Therefore, the packet transport apparatus 201 proceeds to the processing after step 803 to update the path correspondence MAC management table 205.
  • the packet transport apparatus 201 determines whether or not an entry corresponding to the path corresponding to the received frame is held in the path-compatible MAC learning table 205 (803).
  • step 803 If it is determined in step 803 that the entry corresponding to the path corresponding to the received frame is not held (803: No), there is no entry to be updated in the path correspondence MAC learning table 205. Proceed to step 809.
  • step 803 when it is determined in step 803 that the entry corresponding to the path corresponding to the received frame is held (803: Yes), the packet transport apparatus 201 determines that the received frame is a path release. It is determined whether or not the data is signaling data (804).
  • step 804 If it is determined in step 804 that the received frame is not signaling data for path release (804: No), that is, if the received frame is signaling data for path establishment, The port device 201 registers the source MAC address of the received frame in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205 (805), and proceeds to the processing of step 807. Note that the processing of step 805 corresponds to the processing of 702 shown in FIG.
  • step 804 when it is determined in step 804 that the received frame is signaling data for releasing the path (804: Yes), the packet transport apparatus 201 determines that the corresponding entry in the path correspondence MAC learning table 205 The MAC address registered in the destination MAC address 303 is deleted (806), and the process proceeds to step 807. Note that the processing in step 806 corresponds to the processing in 732 shown in FIG.
  • the packet transport apparatus 201 determines whether or not the path identified in the process of step 802 is set as a failure state (807).
  • step 807 If it is determined in step 807 that the path is set as a failure state (807: Yes), the packet transport apparatus 201 cancels the setting of the failure state (808), and the process in step 809 is performed. move on.
  • the reason for canceling the setting of the failure state is that since the signaling data is a response to the path establishment request or the path cancellation request, it is considered that no failure has occurred in the path.
  • step 807 When it is determined in step 807 that the path is not set as a failure state (807: No), or when the processing in step 808 is executed, the packet transport apparatus 201 outputs an MPLS output for encapsulation. An MPLS header and a MAC header including a label and a broadcast destination MAC address are added, the received frame is encapsulated, and the encapsulated received frame is transmitted (809).
  • step 802 If it is determined in step 802 that the path in the MPLS-TP communication network 200 corresponding to the received frame cannot be specified (802: No), the process proceeds to step 809 and the received frame is encapsulated. Then, the encapsulated received frame is transmitted.
  • the packet transport apparatus 201 When it is determined in step 801 that the received frame is an MPLS frame (801: Yes), the packet transport apparatus 201 includes an MPLS label included in the received MPLS frame in the path-related MAC learning table 205. It is determined whether or not an entry corresponding to the path corresponding to is held (810).
  • step 810 If it is determined in step 810 that the entry corresponding to the path corresponding to the received MPLS frame is not held (810: No), the packet transport apparatus 201 is the opposite apparatus, the packet transport apparatus 201. Since it is not possible to determine whether or not the MPLS label switch can be performed when an MPLS frame is transmitted to an MPLS frame, an MPLS header including an MPLS output label for encapsulation and a MAC header including a broadcast destination MAC address are added to the received MPLS. The frame is encapsulated, and the encapsulated MPLS frame is transmitted (811).
  • step 810 when it is determined in step 810 that the entry corresponding to the path corresponding to the received MPLS frame is held (810: Yes), the packet transport apparatus 201 stores the entry in the path correspondence MAC learning table 205. It is determined whether or not a MAC address is registered in the destination MAC address 303 of the corresponding entry (812).
  • step 812 When it is determined in step 812 that the MAC address is registered in the destination MAC address 303 of the corresponding entry (812: Yes), the packet transport device 201 sets the MAC address valid time 304 of the corresponding entry. The registered time is updated to the initial value (813). Note that the processing in step 813 corresponds to the processing in 707 and 727 shown in FIG.
  • the packet transport device 201 determines whether or not the validity is set in the label switch availability flag 305 of the corresponding entry in the path correspondence MAC learning table 205 (821).
  • step 821 When it is determined in step 821 that the validity of the label switch availability flag 305 of the corresponding entry is not set (821: No), the packet transport apparatus 201 sets the label switch availability flag 305 of the corresponding entry. The validity is set (822), and the process proceeds to step 811. The received MPLS frame is encapsulated, and the encapsulated MPLS frame is transmitted. Note that the processing in step 822 corresponds to the processing in 722 shown in FIG.
  • step 821 If it is determined in step 821 that the label switch enable / disable flag 305 of the corresponding entry is set to valid (821: Yes), the packet transport apparatus 201 registers in the flag valid time 306 of the corresponding entry. The updated time is updated to the initial value (823). Note that the processing in step 823 corresponds to the processing in 707 and 727 shown in FIG.
  • the packet transport apparatus 201 determines whether or not the path specified in the process of Step 810 is in a failure state (824).
  • step 824 If it is determined in step 824 that the path is in a failure state (824: Yes), the packet transport apparatus 201 proceeds to step 811, encapsulates the received MPLS frame, and encapsulates the MPLS. Send a frame.
  • the packet transport apparatus 201 converts the input MPLS label of the MPLS header of the received MPLS frame into an output label, and receives the received label.
  • the destination MAC address of the MAC header of the MPLS frame is converted into a unicast MAC address held in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205, and the MPLS frame is converted into a packet transport that is the opposite device. Transmission to the apparatus 201, that is, MPLS label switching is performed (825).
  • step 812 When it is determined in step 812 that the MAC address is not registered in the destination MAC address 303 of the corresponding entry (812: No), the packet transport device 201 sets the destination MAC address 303 of the corresponding entry to The destination MAC address of the received MPLS frame is registered (814). Note that the processing in step 814 corresponds to the processing in 722 shown in FIG.
  • the packet transport apparatus 201 determines whether or not validity is set in the label switch availability flag 305 of the corresponding entry in the path correspondence MAC learning table 205 (831).
  • step 831 If it is determined in step 831 that the validity of the label switch availability flag 305 of the corresponding entry is not set (831: No), the packet transport apparatus 201 sets the label switch availability flag 305 of the applicable entry. The validity is set (832), and the process proceeds to step 811. The received MPLS frame is encapsulated, and the encapsulated MPLS frame is transmitted. Note that the processing in step 832 corresponds to the processing in 722 shown in FIG.
  • step 831 If it is determined in the process of step 831 that the label switch enable / disable flag 305 of the corresponding entry is set to valid (831: Yes), the packet transport apparatus 201 registers in the flag valid time 306 of the corresponding entry. The updated time is updated to the initial value (833). Note that the processing in step 833 corresponds to the processing in 707 and 727 shown in FIG.
  • the packet transport apparatus 201 determines whether or not the path specified in the process of Step 810 is in a failure state (834).
  • step 834 If it is determined in step 834 that the path is in a failure state (834: Yes), the packet transport apparatus 201 proceeds to step 811 to encapsulate the received MPLS frame and encapsulate MPLS. Send a frame.
  • the packet transport apparatus 201 converts the input MPLS label of the MPLS header of the received MPLS frame into an output label, and receives the received label.
  • the destination MAC address in the MAC header of the MPLS frame is converted into a broadcast MAC address, and the MPLS frame is transmitted to the packet transport apparatus 201 as the opposite apparatus, that is, MPLS label switching is performed (835).
  • FIGS. 9A and 9B are flowcharts of processing when the packet transport apparatus 201 according to the second embodiment of the present invention receives an encapsulated frame from the inside of the MPLS-TP communication network.
  • FIG. 9C is a flowchart of processing when the packet transport device 201 according to the second embodiment of this invention receives a frame received from the inside of the MPLS-TP communication network that is not an encapsulated frame. These processes are executed by a processor (not shown) of the packet transport apparatus 201.
  • the packet transport apparatus 201 determines whether or not the received frame is an encapsulated frame (901).
  • the packet transport apparatus 201 determines whether the encapsulated frame is an MPLS frame. (902). Specifically, the packet transport apparatus 201 determines whether an MPLS header is included in a frame inside the encapsulation.
  • the packet transport apparatus 201 passes the path in the MPLS-TP communication network 200 corresponding to the frame inside the encapsulation. It is determined whether or not can be specified (903). If the encapsulated frame is signaling data for establishing or releasing a path, the MPLS label is included in the payload portion of the encapsulated frame, so the packet transport apparatus 201 refers to the MPLS forwarding table 207. The path in the MPLS-TP communication network 200 corresponding to the frame can be specified.
  • step 903 If it is determined in step 903 that the path in the MPLS-TP communication network 200 corresponding to the frame inside the encapsulation can be specified (903: Yes), the frame inside the encapsulation is used for establishing or releasing the path. Therefore, the packet transport apparatus 201 proceeds to the processing from step 904 onward in order to update the path correspondence MAC management table 205.
  • the packet transport apparatus 201 determines whether or not the entry corresponding to the path corresponding to the frame in the encapsulation is held in the path-compatible MAC learning table 205 (904).
  • step 904 If it is determined in step 904 that the entry corresponding to the path corresponding to the frame in the encapsulation is not held (904: No), there is no entry to be updated in the path correspondence MAC learning table 205. The process proceeds to step 908.
  • step 904 when it is determined in step 904 that the entry corresponding to the path corresponding to the frame inside the encapsulation is held (904: Yes), the packet transport apparatus 201 determines that the frame inside the encapsulation is It is determined whether or not it is signaling data for path release (905).
  • step 905 When it is determined in step 905 that the frame inside the encapsulation is not signaling data for path release (905: No), that is, the frame inside the encapsulation is signaling data for path establishment.
  • the packet transport apparatus 201 registers the transmission source MAC address of the encapsulated signaling data in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205, and sets the label switch enable / disable flag 305 to valid. (906), the process proceeds to step 908. Note that the processing in step 906 corresponds to the processing in 704 shown in FIG.
  • step 905 if it is determined in step 905 that the frame within the encapsulation is signaling data for path release (905: Yes), the packet transport device 201 determines that the corresponding MAC learning table 205 The MAC address registered in the destination MAC address 303 of the entry to be deleted is deleted, invalidity is set in the label switch availability flag 305 (907), and the process proceeds to step 908. Note that the processing in step 907 corresponds to the processing in 734 shown in FIG.
  • the packet transport device 201 decapsulates the received frame and transmits it (908).
  • step 903 If it is determined in step 903 that the path in the MPLS-TP communication network 200 corresponding to the encapsulated frame cannot be specified (903: No), the process proceeds to step 908, and the received frame is Decapsulate and send.
  • the packet transport device 201 stores the MPLS frame inside the encapsulation in the path-compatible MAC learning table 205. It is determined whether or not an entry corresponding to the path corresponding to the included MPLS label is held (909).
  • step 909 If it is determined in step 909 that the entry corresponding to the path corresponding to the MPLS frame inside the encapsulation is not held (909: No), there is no entry to be updated in the path correspondence MAC learning table 205. Therefore, the process proceeds to step 908, and the received frame is decapsulated and transmitted.
  • step 909 when it is determined in step 909 that the entry corresponding to the path corresponding to the MPLS frame inside the encapsulation is held (909: Yes), the packet transport apparatus 201 uses the path-compatible MAC learning table.
  • the destination MAC address of the MPLS frame inside the encapsulation is registered in the destination MAC address 303 of the corresponding entry 205 (910), and the process proceeds to step 911.
  • the processing in step 910 corresponds to the processing in 724 shown in FIG.
  • the packet transport apparatus 201 determines whether the path specified in the process of step 909 is set as a failure state. Is determined (911).
  • step 911 When it is determined in step 911 that the path is set as a failure state (911: Yes), the packet transport apparatus 201 cancels the setting of the failure state (912), and the processing in step 908 is performed. Then, decapsulate the received frame and transmit it.
  • step 911 if it is determined in step 911 that the path is not set as a failure state (911: No), the packet transport apparatus 201 proceeds to step 908 and decapsulates the received frame. Send.
  • step 901 If it is determined in step 901 that the received frame is not an encapsulated frame (901: No), that is, if the received frame is an MPLS frame that has been subjected to MPLS label switching, the packet transport device 201 Then, it is determined whether or not an entry corresponding to the path corresponding to the MPLS label included in the received MPLS frame is stored in the path correspondence MAC learning table 205 (913).
  • step 913 When it is determined in step 913 that the entry corresponding to the path corresponding to the received MPLS frame is held (913: Yes), the packet transport apparatus 201 corresponds to the corresponding MAC learning table 205 in the path. It is determined whether a MAC address is registered in the destination MAC address 303 of the entry (914).
  • step 914 If it is determined in step 914 that the MAC address is registered in the destination MAC address 303 of the corresponding entry (914: Yes), the packet transport apparatus 201 registers in the destination MAC address 303 of the corresponding entry. It is determined whether the received MAC address matches the destination MAC address of the received MPLS frame (915).
  • step 915 If it is determined in step 915 that the MAC address registered in the destination MAC address 303 of the corresponding entry matches the destination MAC address of the received MPLS frame (915: Yes), the packet transport device 201 The time registered in the MAC address valid time 304 of the corresponding entry is updated to the initial value (916). Note that the processing of step 916 corresponds to the processing of 709 and 729 shown in FIG.
  • the packet transport device 201 converts the input MPLS label of the MPLS header of the received MPLS frame into an output label, and transmits the MPLS frame to the router 101 (917).
  • step 915 If it is determined in step 915 that the MAC address registered in the destination MAC address 303 of the corresponding entry does not match the destination MAC address of the received MPLS frame (915: No), the packet transport device 201 In step 917, the input MPLS label in the MPLS header of the received MPLS frame is converted into an output label, and the MPLS frame is transmitted to the router 101.
  • step 913 When it is determined in step 913 that the entry corresponding to the path corresponding to the received MPLS frame is not held (913: No), or in step 914, the destination MAC address 303 of the corresponding entry. When it is determined that the MAC address is not registered in (914: No), the packet transport apparatus 201 determines whether or not the path specified in the process of step 913 is set as a failure state (918). ).
  • step 918 If it is determined in step 918 that the path is set as a failure state (918: Yes), the packet transport apparatus 201 sets the unicast to be set as the destination MAC address of the MAC header of the received MPLS frame. Since the MAC address is not held, the received MPLS frame is discarded (920).
  • step 918 determines whether the path is not set as a failure state (918: No). If it is determined in step 918 that the path is not set as a failure state (918: No), the packet transport apparatus 201 sets the path as a failure state (919), and step 920 Then, the received MPLS frame is discarded.
  • the packet transport apparatus 201 that has received the MPLS frame from the router 101 includes the unicode of the destination router 101 in the MAC header of the MPLS frame communicated within the MPLS-TP communication network 200. A cast MAC address is assigned and transmitted. Accordingly, the packet transport apparatus 201 that receives the MPLS frame and transmits it to the router 101 does not need to perform the destination MAC address conversion process of the received MPLS frame, and can improve the accuracy of communication.
  • the packet transport apparatus 201 assigns a broadcast MAC address to the MAC header of an MPLS frame communicated within the MPLS-TP communication network 200 and transmits the result.
  • the packet transport device 201 transmits the MAC header of the MPLS frame communicated in the MPLS-TP communication network 200 with the unicast MAC address of the packet transport device 201 serving as the opposite device. To do. Thereby, the accuracy of communication can be improved.
  • FIGS. 10 to 12C A third embodiment of the present invention will be described with reference to FIGS. 10 to 12C.
  • FIG. 10 is a sequence diagram of destination MAC address learning processing according to the third embodiment of this invention.
  • the router 101A When starting to transmit data, the router 101A transmits a path establishment request to the router 101B using an IP frame (not shown). When the router 101B receives the path establishment request, the router 101B transmits an IP frame including an MPLS label assigned to the path between the router 101A and the router 101B in the payload portion to the router 101A as signaling data for establishing the path (1001). .
  • This signaling data includes the unicast MAC address of the source router 101B and the unicast MAC address of the destination router 101A.
  • the packet transport device 201B When the packet transport device 201B receives the signaling data for establishing a path, the packet transport device 201B includes the destination MAC address 303 of the entry indicating the path corresponding to the received signaling data in the path corresponding MAC learning table 205, in the received signaling data.
  • the unicast MAC address of the router 101B to be registered is registered (1002).
  • the packet transport apparatus 201B refers to the MPLS transfer table 207, and specifies an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data.
  • the packet transport apparatus 201B then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302.
  • the unicast MAC address of the router 101B included in the MAC header of the received signaling data is registered in the destination MAC address 303 of the entry that matches, and the initial value of the valid time is set in the MAC address valid time 304.
  • the packet transport apparatus 201B adds an MPLS header including an MPLS output label for encapsulation and a MAC header including a broadcast destination MAC address to the received signaling data, and encapsulates the received signaling data. Then, the packet transport apparatus 201B transmits the encapsulated signaling data to the packet transport apparatus 201A (1003).
  • the encapsulated signaling data includes the unicast MAC address of the source packet transport apparatus 201B.
  • the packet transport apparatus 201A When the packet transport apparatus 201A receives the signaling data for establishing the encapsulated path, the destination MAC address of the entry indicating the path corresponding to the received encapsulation-internal signaling data in the path correspondence MAC learning table 205 The unicast MAC address of the packet transport apparatus 201B included in the received encapsulated signaling data is registered in 303, and the label switch availability flag 305 is set to valid (1004). Specifically, the packet transport apparatus 201A refers to the MPLS transfer table 207 and determines an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data inside the encapsulation. Identify.
  • the packet transport apparatus 201A then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302.
  • the unicast MAC address of the packet transport device 201B included in the MAC header of the encapsulated signaling data received at the destination MAC address 303 of the entry that matches with the MAC address valid time 304 is registered.
  • the label switch enable / disable flag 305 is set to valid
  • the flag valid time 306 is set to an initial value of the valid time.
  • the packet transport apparatus 201A decapsulates the received encapsulated signaling data, and transmits the signaling data returned to the original IP frame by decapsulation to the router 101A (1005).
  • a path for transmitting data from the router 101A to the router 101B is established. Further, the packet transport apparatus 201A registers the unicast MAC address of the packet transport apparatus 201B in the destination MAC address 303 of the corresponding entry of the path correspondence MAC learning table 205, sets the label switch availability flag 305 to valid, The transport device 201 ⁇ / b> B registers the unicast MAC address of the router 101 ⁇ / b> B in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205.
  • the router 101A transmits an MPLS frame to the packet transport apparatus 201A (1006).
  • the MPLS header of the MPLS frame transmitted by the router 101A includes an MPLS label used for transmitting the data
  • the MAC header includes a unicast MAC address of the destination router 101B.
  • the path transport MAC learning determines whether or not the received MPLS frame can be transmitted to the packet transport apparatus 201B which is the opposite apparatus by the MPLS label switch. The determination is made with reference to the table 205. Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame.
  • the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 It is confirmed whether or not the label switch enable / disable flag 305 of the entry that matches is set to valid.
  • the packet transport apparatus 201A determines that the received MPLS frame can be transmitted to the packet transport apparatus 201B that is the opposite apparatus by the MPLS label switch. , 1007 and 1008 are executed.
  • the packet transport apparatus 201A updates the time registered in the MAC address valid time 304 of the entry indicating the path corresponding to the received MPLS frame in the path correspondence MAC learning table 205 to the initial value and registers it in the flag valid time 306.
  • the set time is updated to the initial value (1007).
  • the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame.
  • the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302
  • the time registered in the MAC address valid time 304 of the entry that coincides with is updated to the initial value, and the time registered in the flag valid time 306 is updated to the initial value.
  • the packet transport device 201A acquires the MAC address (unicast MAC address of the packet transport device 201B) registered in the destination MAC address 303 of the entry. Then, the packet transport device 201A converts the input label of the MPLS header of the received MPLS frame into an output label, and obtains the destination MAC address of the MAC header of the received MPLS frame, and the unicast MAC address of the packet transport device 201B Then, the MPLS frame is transmitted to the packet transport apparatus 201B, that is, the MPLS label is switched (1008).
  • the packet transport device 201B When the packet transport device 201B receives the MPLS frame transmitted by the packet transport device 201A, the packet transport device 201B updates the time registered in the MAC address valid time 304 of the path correspondence MAC learning table 205 to the initial value (1009). Specifically, the packet transport apparatus 201B refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201B matches the input label received by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205 and the output label specified by the MPLS label registered in the MPLS output label 302. The time registered in the MAC address valid time 304 of the entry that matches is updated to the initial value.
  • the packet transport device 201B acquires the MAC address (unicast MAC address of the router 101B) registered in the destination MAC address 303 of the entry. Then, the packet transport apparatus 201B converts the unicast MAC address of the packet transport apparatus 201B in the MAC header of the received MPLS frame into the unicast MAC address of the acquired router 101B, and the MPLS in the MPLS header of the received MPLS frame. The label is converted into an output label, and the MPLS frame is transmitted to the router 101B (1010).
  • the packet transport apparatus 201A If the packet transport apparatus 201A does not receive the MPLS frame transmitted by the router 101A beyond the time registered in the MAC address valid time 304 of the path correspondence MAC learning table 205, the packet transport apparatus 201A sets the destination MAC address 303 as the destination. If the registered MAC address is deleted, and the received time exceeds the time registered in the flag valid time 306, the flag set in the label switch enable / disable flag 305 is set to invalid (1011). Similarly, when the packet transport apparatus 201B does not receive the MPLS frame transmitted by the router 101A beyond the time registered in the MAC address valid time 304 of the path correspondence MAC learning table 205, the packet transport apparatus 201B receives the destination MAC address 303. Delete the MAC address registered in (1012).
  • the destination MAC address 303 in the path correspondence MAC learning table 205 of the path correspondence MAC learning table 205 of the packet transport device 201A of the packet transport apparatus 201A is deleted by the processing of 1011, the label switch availability flag 305 is set invalid, and the processing of 1012 A sequence when the MPLS frame is transmitted by the router 101A (1021) after the destination MAC address 303 of the path correspondence MAC learning table 205 of the packet transport apparatus 201B is deleted will be described.
  • the MPLS header and MAC header of the MPLS frame transmitted by the router 101A in the process 1021 are the MPLS used for transmission of the data, similar to the MPLS header and MAC header of the MPLS frame transmitted by the router 101A in the process 1006.
  • the label and the unicast MAC address of the destination router 101B are included.
  • the packet transport apparatus 201A when the packet transport apparatus 201A receives the MPLS frame transmitted by the router 101A, the packet transport apparatus 201A sets the valid label switch availability flag 305 of the entry indicating the path corresponding to the received MPLS frame in the path correspondence MAC learning table 205. Is set (1022). Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame.
  • the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 Is set to valid for the label switch enable / disable flag 305, and an initial value of the valid time is set to the flag valid time 306.
  • the packet transport apparatus 201A when receiving the MPLS frame, the packet transport apparatus 201A has no MAC address registered in the destination MAC address 303 of the entry and the label availability flag 305 is set to invalid, so that the MPLS output label for encapsulation is used. And an MPLS header including a broadcast destination MAC address are added, and the received MPLS frame is encapsulated. Then, the packet transport device 201A transmits the encapsulated MPLS frame to the packet transport device 201B (1023).
  • the packet transport apparatus 201B When the packet transport apparatus 201B receives the encapsulated MPLS frame transmitted by the packet transport apparatus 201A, the packet transport apparatus 201B stores an entry indicating a path corresponding to the received MPLS frame inside the encapsulated path in the path correspondence MAC learning table 205.
  • the unicast MAC address of the router 101B included in the received MPLS frame inside the encapsulation is registered in the destination MAC address 303 (1024).
  • the packet transport apparatus 201B refers to the MPLS forwarding table 207, and determines the MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame within the MPLS frame. Identify.
  • the packet transport device 201B matches the input label received by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205 and the output label specified by the MPLS label registered in the MPLS output label 302.
  • the unicast MAC address of the router 101B included in the MAC header of the received MPLS frame inside the encapsulation is registered in the destination MAC address 303 of the entry that matches, and the initial value of the valid time is set in the MAC address valid time 304 .
  • the packet transport apparatus 201B decapsulates the received encapsulated MPLS frame, and converts the MPLS frame that has been returned to the original MPLS frame by decapsulation into an MPLS header (an MPLS header added by the router 101A) and a MAC.
  • the header (the MAC header assigned by the router 101A) is sent as it is to the router 101B (1025).
  • the packet transport apparatus 201A When the packet transport apparatus 201B does not hold the MAC address of the router 101B that is the destination of the MPLS frame by the above processing of 1021 to 1025, the packet transport apparatus 201A encapsulates the MPLS frame and transmits it. An MPLS frame can be correctly transferred. Further, the packet transport apparatus 201A sets “effective” in the label switch availability flag 305 of the corresponding entry of the path correspondence MAC learning table 205, and the packet transport apparatus 201B sets the destination MAC address of the corresponding entry of the path correspondence MAC learning table 205. The unicast MAC address of the router 101B is registered in 303.
  • the router 101A transmits an MPLS frame to the packet transport apparatus 201A (1026).
  • the MPLS header and the MAC header of the MPLS frame transmitted by the router 101A include the MPLS label used for transmission of the data and the unicast MAC address of the destination router 101B.
  • the path transport MAC learning determines whether or not the received MPLS frame can be transmitted to the packet transport apparatus 201B which is the opposite apparatus by the MPLS label switch. The determination is made with reference to the table 205. Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame.
  • the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 It is confirmed whether or not the label switch enable / disable flag 305 of the entry that matches is set to valid.
  • the packet transport apparatus 201A determines that the received MPLS frame can be transmitted to the packet transport apparatus 201B that is the opposite apparatus by the MPLS label switch. Processes 1027 and 1028 are executed.
  • the packet transport apparatus 201A updates the time registered in the flag valid time 306 of the entry indicating the path corresponding to the received MPLS frame in the path corresponding MAC learning table 205 to the initial value (1027). Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 The time registered in the flag valid time 306 of the entry that matches is updated to the initial value. Since the MAC address is not registered in the destination MAC address 303 of the entry, the time registered in the MAC address valid time 304 is not updated to the initial value.
  • the packet transport device 201A converts the input label of the MPLS header of the received MPLS frame into an output label, and the MAC header of the received MPLS frame The destination MAC address is converted into a broadcast MAC address, and the MPLS frame is transmitted to the packet transport apparatus 201B, that is, the MPLS label is switched (1028).
  • the packet transport device 201B When the packet transport device 201B receives the MPLS frame transmitted by the packet transport device 201A, the packet transport device 201B updates the time registered in the MAC address valid time 304 of the path correspondence MAC learning table 205 to the initial value (1029). Specifically, the packet transport apparatus 201B refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201B matches the input label received by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205 and the output label specified by the MPLS label registered in the MPLS output label 302. The time registered in the MAC address valid time 304 of the entry that matches is updated to the initial value.
  • the packet transport device 201B acquires the MAC address (unicast MAC address of the router 101B) registered in the destination MAC address 303 of the entry. Then, the packet transport apparatus 201B converts the broadcast destination MAC address of the MAC header of the received MPLS frame into the unicast MAC address of the acquired router 101B, and converts the MPLS label of the MPLS header of the received MPLS frame into an output label. Then, the MPLS frame is transmitted to the router 101B (1030).
  • the router 101B transmits an MPLS frame to the packet transport apparatus 201B (1031).
  • the MPLS header and the MAC header of the MPLS frame transmitted by the router 101B include an MPLS label used for data transmission from the router 101B to the router 101A and a unicast MAC address of the router 101B as a transmission source.
  • the packet transport apparatus 201B When the packet transport apparatus 201B receives an MPLS frame from the router 101B to the router 101A, the destination MAC of an entry indicating a reverse path paired with the path corresponding to the received MPLS frame in the path correspondence MAC learning table 205 The unicast MAC address of the router 101B included in the received MPLS frame is registered in the address 303 (1032). Specifically, the packet transport apparatus 201B refers to the MPLS forwarding table 207, and refers to the MPLS label (input label) of the reverse path paired with the path corresponding to the MPLS label included in the MPLS header of the received MPLS frame. ) And MPLS label (output label).
  • the packet transport apparatus 201B matches the input label specified by the MPLS input label 301 registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302.
  • the unicast MAC address of the router 101B included in the MAC header of the received MPLS frame is registered in the destination MAC address 303 of the entry that matches, and the initial value of the valid time is set in the MAC address valid time 304.
  • the packet transport apparatus 201B adds an MPLS header including an MPLS output label for encapsulation and a MAC header including a broadcast destination MAC address to the received MPLS frame, and encapsulates the received MPLS frame. Then, the packet transport apparatus 201B transmits the encapsulated MPLS frame to the packet transport apparatus 201A (1033).
  • the encapsulated MPLS frame includes the unicast MAC address of the source packet transport apparatus 201B.
  • the packet transport apparatus 201A When the packet transport apparatus 201A receives the encapsulated MPLS frame, the packet transport apparatus 201A includes an entry indicating a reverse path that is paired with the path corresponding to the received MPLS frame inside the encapsulated MAC learning table 205.
  • the unicast MAC address of the packet transport device 201B included in the received encapsulated MPLS frame is registered in the destination MAC address 303, and the validity is set in the label switch availability flag 305 (1034).
  • the packet transport apparatus 201A refers to the MPLS forwarding table 207, and refers to the MPLS of the reverse path that is paired with the path corresponding to the MPLS label included in the MPLS header of the received MPLS frame within the MPLS frame.
  • a label (input label) and an MPLS label (output label) are specified.
  • the packet transport apparatus 201A then matches the input label specified by the MPLS input label 301 of the MPLS correspondence label 301 in the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302.
  • the unicast MAC address of the packet transport device 201B included in the MAC header of the encapsulated MPLS frame received at the destination MAC address 303 of the entry that matches with the MAC address valid time 304 is registered as the initial value of the valid time.
  • the label switch enable / disable flag 305 is set to valid
  • the flag valid time 306 is set to an initial value of the valid time.
  • the packet transport apparatus 201A decapsulates the received encapsulated MPLS frame, and transmits the signaling data returned to the original MPLS frame by decapsulation to the router 101A (1035).
  • the packet transport apparatus 201A registers the unicast MAC address of the packet transport apparatus 201B in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205, and the label switch enable / disable flag 305.
  • the packet transport apparatus 201B registers the unicast MAC address of the router 101B in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205.
  • the router 101A When the router 101A finishes data transmission, the router 101A transmits a path release request to the router 101B using an IP frame (not shown). When receiving the path release request, the router 101B transmits an IP frame including the MPLS label of the path to be released in the payload portion to the router 101A as signaling data for path release (1041).
  • This signaling data includes the unicast MAC address of the source router 101B and the unicast MAC address of the destination router 101A.
  • the packet transport apparatus 201B When the packet transport apparatus 201B receives signaling data for path release, the packet transport apparatus 201B deletes the MAC address registered in the destination MAC address 303 of the entry indicating the path corresponding to the received signaling data in the path correspondence MAC learning table 205 (1042). Specifically, the packet transport apparatus 201B refers to the MPLS transfer table 207, and specifies an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data. The packet transport apparatus 201B then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302. The MAC address registered in the destination MAC address 303 of the entry that matches is deleted.
  • the packet transport apparatus 201B attaches an MPLS header and an MAC header including an MPLS output label for encapsulation and a broadcast destination MAC address to the received signaling data, and encapsulates the received signaling data. Then, the packet transport device 201B transmits the encapsulated signaling data to the packet transport device 201A (1043).
  • the packet transport apparatus 201A When the packet transport apparatus 201A receives the signaling data for releasing the encapsulated path, the destination MAC address 303 of the entry indicating the path corresponding to the received encapsulation data in the path corresponding MAC learning table 205 Is deleted, and the label switch enable / disable flag 305 is set to invalid (1044). Specifically, the packet transport apparatus 201A refers to the MPLS transfer table 207 and determines an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data inside the encapsulation. Identify.
  • the packet transport apparatus 201A then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302. Is deleted, and the label switch enable / disable flag 305 is set to invalid.
  • the packet transport device 201A decapsulates the received encapsulated signaling data, and transmits the signaling data returned to the original IP frame by decapsulation to the router 101A (1045).
  • FIG. 11A is a flowchart of processing when the packet transport apparatus 201 according to the third embodiment of the present invention receives a frame received from the outside of the MPLS-TP communication network 200 that is not an MPLS frame.
  • 11B and 11C are flowcharts of processing when the packet transport device 201 according to the third exemplary embodiment of the present invention receives an MPLS frame as a frame received from the outside of the MPLS-TP communication network 200. These processes are executed by a processor (not shown) of the packet transport apparatus 201.
  • the packet transport device 201 determines whether or not the received frame is an MPLS frame (1101). Specifically, if the received frame includes an MPLS header, the packet transport apparatus 201 determines that the received frame is an MPLS frame (1101: Yes), and the received frame includes an MPLS header. If not, it is determined that the received frame is not an MPLS frame (1101: No).
  • step 1101 If it is determined in step 1101 that the received frame is not an MPLS frame (1101: No), can the packet transport apparatus 201 identify the path in the MPLS-TP communication network 200 corresponding to the received frame? It is determined whether or not (1102). If the received frame is signaling data for establishing or releasing a path, the MPLS label is included in the payload portion of the received frame, so the packet transport apparatus 201 refers to the MPLS forwarding table 207 and corresponds to the frame. The path in the MPLS-TP communication network 200 can be specified.
  • step 1102 If it is determined in step 1102 that the path in the MPLS-TP communication network 200 corresponding to the received frame can be specified (1102: Yes), the received frame is signaling data for establishing or releasing the path. Therefore, the packet transport apparatus 201 proceeds to the processing from step 1103 to update the path correspondence MAC management table 205.
  • the packet transport apparatus 201 determines whether or not an entry corresponding to the path corresponding to the received frame is held in the path corresponding MAC learning table 205 (1103).
  • step 1103 If it is determined in step 1103 that the entry corresponding to the path corresponding to the received frame is not held (1103: No), there is no entry to be updated in the path correspondence MAC learning table 205. The process proceeds to 1109.
  • step 1103 determines that the entry corresponding to the path corresponding to the received frame is held (1103: Yes).
  • the packet transport device 201 determines that the received frame is a path release. It is determined whether or not the data is signaling data (1104).
  • step 1104 If it is determined in step 1104 that the received frame is not signaling data for path release (1104: No), that is, if the received frame is signaling data for path establishment, the packet
  • the port device 201 registers the transmission source MAC address of the received frame in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205 (1105), and proceeds to the processing of step 1107. Note that the processing of step 1105 corresponds to the processing of 1002 shown in FIG.
  • step 1104 determines that the received frame is signaling data for releasing the path (1104: Yes)
  • the packet transport apparatus 201 determines that the corresponding entry in the path correspondence MAC learning table 205
  • the MAC address registered in the destination MAC address 303 is deleted (1106), and the process proceeds to step 1107. Note that the processing of step 1106 corresponds to the processing of 1042 shown in FIG.
  • the packet transport apparatus 201 determines whether or not the path specified in the process of step 502 is set as a failure state (1107).
  • step 1107 If it is determined in step 1107 that the path is set as a failure state (1107: Yes), the packet transport apparatus 201 cancels the setting of the failure state (1108), and the processing in step 1109 is performed. move on.
  • the reason for canceling the setting of the failure state is that since the signaling data is a response to the path establishment request or the path cancellation request, it is considered that no failure has occurred in the path.
  • step 1107 If it is determined in step 1107 that the path is not set as a failure state (1107: No), or if the processing in step 1108 is executed, the packet transport apparatus 201 outputs an MPLS output for encapsulation.
  • An MPLS header including a label and a MAC header including a broadcast destination MAC address are added, the received frame is encapsulated, and the encapsulated received frame is transmitted (1109).
  • step 1102 If it is determined in step 1102 that the path in the MPLS-TP communication network 200 corresponding to the received frame cannot be specified (1102: No), the process proceeds to step 1109 to encapsulate the received frame. Then, the encapsulated received frame is transmitted.
  • the packet transport apparatus 201 When it is determined in step 1101 that the received frame is an MPLS frame (1101: Yes), the packet transport apparatus 201 includes an MPLS label included in the received MPLS frame in the path-related MAC learning table 205. It is determined whether or not an entry corresponding to a reverse path paired with the path corresponding to is held (1110).
  • step 1110 If it is determined in step 1110 that the entry corresponding to the reverse path paired with the path corresponding to the received MPLS frame is not held (1110: No), the packet transport apparatus 201 Proceed to step 1112.
  • step 1110 determines whether the entry corresponding to the reverse path that is paired with the path corresponding to the received MPLS frame is held (1110: Yes)
  • the packet transport apparatus 201 The time registered in the MAC address valid time 304 of the corresponding entry is updated to the initial value (1111), and the process proceeds to step 1112. Note that the processing of step 1111 corresponds to the processing of 1032 shown in FIG.
  • the packet transport apparatus 201 determines whether or not the path corresponding MAC learning table 205 holds an entry corresponding to the path corresponding to the MPLS label included in the received MPLS frame (1112).
  • the packet transport apparatus 201 When it is determined in step 1112 that the entry corresponding to the path corresponding to the received MPLS frame is not held (1112: No), the packet transport apparatus 201 is the opposite apparatus, the packet transport apparatus 201. Since it is not possible to determine whether or not the MPLS label switch can be performed when an MPLS frame is transmitted to an MPLS frame, an MPLS header and an MAC header including an MPLS output label for encapsulation and a broadcast destination MAC address are added, and the received MPLS frame And encapsulated MPLS frame is transmitted (1133).
  • the packet transport apparatus 201 stores the path-corresponding MAC learning table 205. It is determined whether a MAC address is registered in the destination MAC address 303 of the corresponding entry (1113).
  • step 1113 When it is determined in step 1113 that the MAC address is registered in the destination MAC address 303 of the corresponding entry (1113: Yes), the packet transport apparatus 201 sets the MAC address valid time 304 of the corresponding entry. The registered time is updated to the initial value (1114). Note that the processing of step 1114 corresponds to the processing of 1007 and 1037 shown in FIG.
  • the packet transport apparatus 201 determines whether or not the validity is set in the label switch availability flag 305 of the corresponding entry in the path correspondence MAC learning table 205 (1121).
  • step 1121 If it is determined in the process of step 1121 that the label switch enable / disable flag 305 of the corresponding entry is not set to valid (1121: No), the packet transport apparatus 201 sets the label switch enable / disable flag 305 of the corresponding entry. Enable is set (1122), the MPLS header including the MPLS output label for encapsulation and the MAC header including the unicast MAC address held in the destination MAC address 303 of the corresponding entry are added, and the received MPLS frame is Encapsulate and transmit the encapsulated MPLS frame (1123). Note that the processing of step 1122 corresponds to the processing of 1022 shown in FIG.
  • step 1121 When it is determined in the process of step 1121 that the label switch enable / disable flag 305 of the corresponding entry is set to be valid (1121: Yes), the packet transport apparatus 201 registers in the flag valid time 306 of the corresponding entry. The updated time is updated to the initial value (1124). Note that the processing of step 1124 corresponds to the processing of 1007, 1027, and 1037 shown in FIG.
  • the packet transport apparatus 201 determines whether or not the path specified in the process of step 1112 is in a failure state (1125).
  • step 1125 When it is determined in step 1125 that the path is in a failure state (1125: Yes), the packet transport apparatus 201 proceeds to step 1123, encapsulates the received MPLS frame, and encapsulates the MPLS. Send a frame.
  • the packet transport apparatus 201 converts the input MPLS label of the MPLS header of the received MPLS frame into an output label, and receives the received label.
  • the destination MAC address of the MAC header of the MPLS frame is converted into a unicast MAC address held in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205, and the MPLS frame is converted into a packet transport that is the opposite device. Transmission to the apparatus 201, that is, MPLS label switching is performed (1126).
  • step 1113 If it is determined in step 1113 that the MAC address is not registered in the destination MAC address 303 of the corresponding entry (1113: No), the packet transport apparatus 201 determines that the corresponding entry in the path correspondence MAC learning table 205 It is determined whether or not the label switch enable / disable flag 305 is set to valid (1131).
  • step 1131 If it is determined in step 1131 that the label switch enable / disable flag 305 of the corresponding entry is not set to valid (1131: No), the packet transport apparatus 201 sets the label switch enable / disable flag 305 of the corresponding entry. The validity is set (1132), the process proceeds to step 1133, the received MPLS frame is encapsulated, and the encapsulated MPLS frame is transmitted. Note that the processing of step 1132 corresponds to the processing of 1022 shown in FIG.
  • step 1131 If it is determined in step 1131 that the label switch enable / disable flag 305 of the corresponding entry is set valid (1131: Yes), the packet transport apparatus 201 registers in the flag valid time 306 of the corresponding entry. The updated time is updated to the initial value (1134). Note that the processing of step 1134 corresponds to the processing of 1007, 1027, and 1037 shown in FIG.
  • the packet transport apparatus 201 determines whether or not the path specified in the process of step 1112 is in a failure state (1135).
  • step 1135 When it is determined in step 1135 that the path is in a failure state (1135: Yes), the packet transport apparatus 201 proceeds to step 1133, encapsulates the received MPLS frame, and encapsulates the MPLS. Send a frame.
  • the packet transport apparatus 201 converts the input MPLS label of the MPLS header of the received MPLS frame into an output label, and receives the received label.
  • the destination MAC address in the MAC header of the MPLS frame is converted into a broadcast MAC address, and the MPLS frame is transmitted to the packet transport device 201 which is the opposite device, that is, the MPLS label is switched (1136).
  • FIGS. 12A and 12B are flowcharts of processing when the packet transport device 201 according to the third embodiment of the present invention receives an encapsulated frame from the inside of the MPLS-TP communication network.
  • FIG. 12B is a flowchart of processing when the packet transport apparatus 201 according to the third embodiment of this invention receives a frame received from the inside of the MPLS-TP communication network that is not an encapsulated frame. These processes are executed by a processor (not shown) of the packet transport apparatus 201.
  • the packet transport apparatus 201 determines whether the received frame is an encapsulated frame (1201).
  • the packet transport apparatus 201 determines whether the encapsulated frame is an MPLS frame. (1202). Specifically, the packet transport apparatus 201 determines whether an MPLS header is included in a frame inside the encapsulation.
  • the packet transport apparatus 201 passes the path in the MPLS-TP communication network 200 corresponding to the frame inside the encapsulation. Whether or not can be specified is determined (1203). If the encapsulated frame is signaling data for establishing or releasing a path, the MPLS label is included in the payload portion of the encapsulated frame, so the packet transport apparatus 201 refers to the MPLS forwarding table 207. The path in the MPLS-TP communication network 200 corresponding to the frame can be specified.
  • step 1203 When it is determined in step 1203 that the path in the MPLS-TP communication network 200 corresponding to the frame inside the encapsulation can be specified (1203: Yes), the frame inside the encapsulation is used for establishing or releasing the path. Therefore, the packet transport apparatus 201 proceeds to the processing from step 1204 to update the path correspondence MAC management table 205.
  • the packet transport apparatus 201 determines whether or not an entry corresponding to the path corresponding to the frame in the encapsulation is held in the path-compatible MAC learning table 205 (1204).
  • step 1204 If it is determined in step 1204 that the entry corresponding to the path corresponding to the frame inside the encapsulation is not held (1204: No), there is no entry to be updated in the path correspondence MAC learning table 205. The process proceeds to step 1208.
  • step 1204 when it is determined in step 1204 that the entry corresponding to the path corresponding to the frame inside the encapsulation is held (1204: Yes), the packet transport apparatus 201 determines that the frame inside the encapsulation is It is determined whether it is signaling data for path release (1205).
  • step 1205 If it is determined in step 1205 that the frame inside the encapsulation is not signaling data for path release (1205: No), that is, the frame inside the encapsulation is signaling data for path establishment.
  • the packet transport apparatus 201 registers the source MAC address of the signaling data encapsulated in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205, and sets the label switch enable / disable flag 305 as valid. (1206), the process proceeds to step 1208. Note that the processing of step 1206 corresponds to the processing of 1004 shown in FIG.
  • step 1205 when it is determined in the processing of step 1205 that the frame inside the encapsulation is signaling data for path release (1205: Yes), the packet transport apparatus 201 determines that the corresponding in the path correspondence MAC learning table 205 In the entry to be deleted, the MAC address registered in the destination MAC address 303 is deleted, the label switch enable / disable flag 305 is set to invalid (1207), and the process proceeds to step 1208.
  • the processing in step 1207 corresponds to the processing in 1044 shown in FIG.
  • the packet transport device 201 decapsulates the received frame and transmits it (1208).
  • step 1203 If it is determined in step 1203 that the path in the MPLS-TP communication network 200 corresponding to the encapsulated frame cannot be specified (1203: No), the process proceeds to step 1208, and the received frame is Decapsulate and send.
  • the packet transport apparatus 201 stores the MPLS frame inside the encapsulation in the path-compatible MAC learning table 205. It is determined whether or not an entry corresponding to a reverse path paired with a path corresponding to the included MPLS label is held (1209).
  • step 1209 If it is determined in step 1209 that the entry corresponding to the reverse path that is paired with the path corresponding to the received MPLS frame in the encapsulation is not held (1209: No), the packet transport apparatus In step 2011, the process proceeds to step 1211.
  • step 1209 if it is determined in step 1209 that the entry corresponding to the reverse path paired with the path corresponding to the received MPLS frame within the encapsulation is held (1209: Yes), the packet The port apparatus 201 registers the transmission source MAC address of the encapsulated MPLS frame received in the destination MAC address 303 of the corresponding entry, sets the label switch availability flag 305 to valid (1210), and performs the processing in step 1211. move on. Note that the processing of step 1210 corresponds to the processing of 1034 shown in FIG.
  • the packet transport apparatus 201 determines whether or not the path corresponding MAC learning table 205 holds an entry corresponding to the path corresponding to the MPLS label included in the MPLS frame inside the encapsulation (1211). ).
  • step 1211 If it is determined in step 1211 that the entry corresponding to the path corresponding to the MPLS frame inside the encapsulation is not held (1211: No), there is no entry to be updated in the path correspondence MAC learning table 205. Therefore, the process proceeds to step 1208, and the received frame is decapsulated and transmitted.
  • step 1211 when it is determined in step 1211 that the entry corresponding to the path corresponding to the MPLS frame inside the encapsulation is held (1211: Yes), the packet transport apparatus 201 determines that the path corresponding MAC learning table is used. The destination MAC address of the MPLS frame inside the encapsulation is registered in the destination MAC address 303 of the corresponding entry 205 (1212), and the process proceeds to step 1213. Note that the processing of step 1212 corresponds to the processing of 1024 shown in FIG.
  • the packet transport apparatus 201 determines whether the path specified in the process of step 1211 is set as a failure state. It is determined whether or not (1213).
  • step 1213 If it is determined in step 1213 that the path is set as a failure state (1213: Yes), the packet transport apparatus 201 cancels the setting of the failure state (1214), and the processing in step 1208 is performed. Then, decapsulate the received frame and transmit it.
  • step 1213 if it is determined in step 1213 that the path is not set as a failure state (1213: No), the packet transport apparatus 201 proceeds to step 1208 and decapsulates the received frame. Send.
  • step 1201 If it is determined in step 1201 that the received frame is not an encapsulated frame (1201: No), that is, if the received frame is an MPLS frame that is MPLS-switched, the packet transport device 201 Then, it is determined whether or not the path corresponding MAC learning table 205 holds an entry corresponding to the path in the reverse direction that is paired with the path corresponding to the MPLS label included in the received MPLS frame (1215).
  • step 1215 If it is determined in step 1215 that the entry corresponding to the reverse path paired with the path corresponding to the received MPLS frame is not held (1215: No), the packet transport apparatus 201 The process proceeds to 1217.
  • step 1215 when it is determined in step 1215 that the entry corresponding to the reverse path that is paired with the path corresponding to the received MPLS frame is held (1215: Yes), the packet transport apparatus 201 Then, the source MAC address of the received MPLS frame is registered in the destination MAC address 303 of the corresponding entry, the validity is set in the label switch enable / disable flag 305 (1216), and the process proceeds to step 1217. Note that the processing of step 1216 corresponds to the processing of 1034 shown in FIG.
  • the packet transport apparatus 201 determines whether or not the path corresponding MAC learning table 205 holds an entry corresponding to the path corresponding to the MPLS label included in the received MPLS frame (1217).
  • step 1217 If it is determined in step 1217 that the entry corresponding to the path corresponding to the received MPLS frame is held (1217: Yes), the packet transport apparatus 201 corresponds to the path corresponding MAC learning table 205. It is determined whether a MAC address is registered in the destination MAC address 303 of the entry (1218).
  • step 1218 When it is determined in step 1218 that the MAC address is registered in the destination MAC address 303 of the corresponding entry (1218: Yes), the packet transport device 201 sets the MAC address valid time 304 of the corresponding entry. The registered time is updated to the initial value (1219). Note that the processing of step 1219 corresponds to the processing of 1009, 1029, and 1039 shown in FIG.
  • the packet transport device 201 converts the input MPLS label of the MPLS header of the received MPLS frame into an output label, and converts the destination MAC address of the MAC header of the received MPLS frame to the corresponding entry in the path correspondence MAC learning table 205.
  • the unicast MAC address held in the destination MAC address 303 is converted into an MPLS frame and transmitted to the router 101 (1220).
  • step 1217 When it is determined in step 1217 that the entry corresponding to the path corresponding to the received MPLS frame is not held (1217: No), or in step 1218, the destination MAC address 303 of the corresponding entry is determined. When it is determined that the MAC address is not registered in (1218: No), the packet transport apparatus 201 determines whether or not the path specified in the process of step 1217 is set as a failure state (1221). ).
  • step 1221 When it is determined in step 1221 that the path is set as a failure state (1221: Yes), the packet transport apparatus 201 sets the unicast to be set as the destination MAC address of the MAC header of the received MPLS frame. Since the MAC address is not held, the received MPLS frame is discarded (1223).
  • step 1221 determines whether the path is not set as a failure state (1221: No). If it is determined in step 1221 that the path is not set as a failure state (1221: No), the packet transport apparatus 201 sets the path as a failure state (1222), and step 1223 Then, the received MPLS frame is discarded.
  • the packet transport device 201 that has received the MPLS frame from the router 101 has a packet transport functioning as a counterpart device in the MAC header of the MPLS frame communicated within the MPLS-TP communication network 200.
  • the unicast MAC address of the device 201 is assigned and transmitted.
  • communication within the MPLS-TP network 200 can be performed using a unicast address, so that the accuracy of communication can be improved.
  • the network control device 1301 determines these, and the path-related MAC learning table 205 such as a MAC address registration command and a label switch enable / disable flag valid command. Is transmitted to the packet transport apparatus 201.
  • FIGS. 13 to 19B A fourth embodiment of the present invention will be described with reference to FIGS. 13 to 19B.
  • FIG. 13 is an explanatory diagram of a configuration of a communication system according to the fourth embodiment of this invention. Among the configurations of the communication system illustrated in FIG. 13, the same configurations as those of the communication system illustrated in FIG.
  • the communication system of this embodiment is different from the communication system of the first embodiment in that it includes a network control device 1301.
  • the network communication device 1301 is connected to the packet transport device 201 connected to the router 101 via a network.
  • the network control device 1301 is connected to the packet transport device 201A and the packet transport device 201B.
  • the network control device 1301 receives the frame received by the packet transport device 201, and sends a control command such as a destination MAC address registration command and a label switch enable / disable flag valid command to each packet transport device 201 based on the frame. Send.
  • the network control device 1301 is a computer having a processor and a storage area (not shown).
  • FIG. 14 is an explanatory diagram of a configuration of the packet transport apparatus 201 according to the fourth embodiment of this invention.
  • the packet transport apparatus 201 of this embodiment is different from the packet transport apparatus 201 of the first embodiment in that it includes a network control device interface 1401 and a control command processing unit 1402.
  • the network control device interface 1401 is an interface for the packet transport device 201 to communicate with the network control device 1301.
  • the control command processing unit 1402 is a processing unit that processes a control command for the packet transport device 201 to update the path correspondence MAC learning table 205 from the network control device 1301.
  • FIG. 15 is an explanatory diagram of the path correspondence MAC learning table 205 according to the fourth embodiment of this invention.
  • the packet transport apparatus 201 updates the path correspondence MAC learning table 205 in accordance with a control command from the network control apparatus 1301. For this reason, “ ⁇ ” is registered in the MAC address valid time 304 and the flag valid time 306 of the path correspondence MAC learning table 205 of this embodiment.
  • the packet transport apparatus 201 regardless of whether or not the packet transport apparatus 201 receives a frame of a predetermined path, the MAC address registered in the destination MAC address 303 of the entry indicated by the path is not deleted. Similarly, regardless of whether the packet transport apparatus 201 receives a frame of a predetermined path, the label switch enable / disable flag 305 of the entry indicated by the path is not set to invalid.
  • the network control device 1301 holds the path-compatible MAC learning table 205 of each packet transport device 201. Further, the network control apparatus 1301 holds an MPLS transfer table 207 of each packet transport apparatus 201.
  • the flag valid time 306 may be updated, or the packet transport apparatus 201 When the MPLS frame is received from the inside of the MPLS-TP communication network 200, the MAC address valid time 304 may be updated.
  • the packet transport apparatus 201 when the packet transport apparatus 201 receives an MPLS frame from the outside of the MPLS-TP communication network 200, the packet transport apparatus 201 transmits the received MPLS frame to the network control apparatus 1301, and the network control apparatus 1301 receives the packet transport apparatus 201.
  • the packet transport apparatus 201 may transmit an MPLS frame received from the inside of the MPLS-TP communication network 200 to the network control apparatus 1301 when the MPLS frame is received from the inside of the MPLS-TP communication network 200.
  • the network control device 1301 may transmit a command to update the MAC address valid time 304 of the packet transport device 201.
  • FIG. 16 is a sequence diagram of destination MAC address learning processing according to the fourth embodiment of this invention.
  • the router 101A When starting to transmit data, the router 101A transmits a path establishment request to the router 101B using an IP frame (not shown). When the router 101B receives the path establishment request, the router 101B transmits an IP frame including an MPLS label assigned to the path between the routers 101A and 101B in the payload portion to the router 101A as signaling data for establishing the path (1601). ).
  • This signaling data includes the unicast MAC address of the source router 101B and the unicast MAC address of the destination router 101A.
  • the packet transport apparatus 201B When the packet transport apparatus 201B receives the signaling data for establishing a path, the packet transport apparatus 201B transfers the received signaling data to the network control apparatus 1301.
  • the network control device 1301 receives signaling data for establishing a path
  • the destination MAC address 303 of the entry indicating the path corresponding to the received signaling data in the path correspondence MAC learning table 205 is included in the received signaling data.
  • the unicast MAC address of the router 101B is registered (1602).
  • the network control device 1301 refers to the MPLS forwarding table 207 and specifies an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data.
  • the network control device 1301 matches the input label specified by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205 and the output label received by the MPLS label registered in the MPLS output label 302.
  • the unicast MAC address of the router 101B included in the MAC header of the received signaling data is registered in the destination MAC address 303 of the matching entry.
  • the network control device 1301 transmits the signaling data to the packet transport device 201A, and the packet transport device 201A transmits the received signaling data to the router 101A (1603).
  • the signaling data transmitted by the network control device 1301 need not be the received signaling data itself, but may be signaling data newly generated by the network control device 1301.
  • the network control apparatus 1301 registers the unicast MAC address of the router 101B in the destination MAC address 303 of the entry indicating the path corresponding to the received signaling data in the path correspondence MAC learning table 205, so that the end point of the path is determined.
  • a destination MAC address registration command is transmitted to the packet transport apparatus 201B connected to the router 101B, which instructs to register the MAC address in the destination MAC address 303 of the entry indicating the path in the path correspondence MAC learning table 205. (1604).
  • the destination MAC address registration command includes a destination MAC address to be registered, and an input label and an output label that are used to specify an entry in the path corresponding MAC learning table 205 for registering the destination MAC address.
  • the network control apparatus 1301 sets the label switch enable / disable flag 305 of the entry indicating the path in the path corresponding MAC learning table 205 to the packet transport apparatus 201A connected to the router 101A that is the starting point of the path.
  • a label switch enable / disable flag valid command is transmitted (1605). Note that the label switch enable / disable flag valid command includes an input label and an output label used to specify an entry in the path correspondence MAC learning table 205 to be set valid.
  • the packet transport apparatus 201B When the packet transport apparatus 201B receives the destination MAC address registration command, the destination MAC address 303 of the entry indicating the path corresponding to the received destination MAC address registration command in the path corresponding MAC learning table 205 is received.
  • the unicast MAC address of the router 101B included in the registration command is registered (1606). Specifically, the packet transport apparatus 201B acquires an input label and an output label included in the received destination MAC address registration command. Then, the packet transport apparatus 201B matches the input label acquired by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label acquired by the MPLS label registered in the MPLS output label 302.
  • the unicast MAC address of the router 101B included in the received destination MAC address registration command is registered in the destination MAC address 303 of the entry that matches, and “ ⁇ ” is set in the MAC address valid time 304.
  • the packet transport apparatus 201A When the packet transport apparatus 201A receives the label switch enable / disable flag valid command, the packet transport apparatus 201A sets the label switch enable / disable flag 305 of the entry indicating the path corresponding to the received label switch enable / disable flag valid command in the path correspondence MAC learning table 205 as valid. (1607). Specifically, the packet transport apparatus 201B acquires an input label and an output label included in the received label switch enable / disable flag valid command. Then, the packet transport apparatus 201B matches the input label acquired by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label acquired by the MPLS label registered in the MPLS output label 302. Is set to valid for the label switch enable / disable flag 305 of the entry that matches, and “ ⁇ ” is set to the flag valid time 306.
  • a path for transmitting data from the router 101A to the router 101B is established. Further, the packet transport apparatus 201A sets “effective” in the label switch availability flag 305 of the corresponding entry of the path correspondence MAC learning table 205, and the packet transport apparatus 201B sets the destination MAC address of the corresponding entry of the path correspondence MAC learning table 205. The unicast MAC address of the router 101B is registered in 303.
  • the router 101A transmits an MPLS frame to the packet transport apparatus 201A (1608).
  • the MPLS header and the MAC header of the MPLS frame transmitted by the router 101A include the MPLS label used for transmission of the data and the unicast MAC address of the destination router 101B.
  • the path transport MAC learning determines whether or not the received MPLS frame can be transmitted to the packet transport apparatus 201B which is the opposite apparatus by the MPLS label switch. The determination is made with reference to the table 205. Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame.
  • the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 It is confirmed whether or not the label switch enable / disable flag 305 of the entry that matches is set to valid.
  • the packet transport apparatus 201A determines that the received MPLS frame can be transmitted to the packet transport apparatus 201B that is the opposite apparatus by the MPLS label switch. , 1609 are executed.
  • the packet transport apparatus 201A converts the input label of the MPLS header of the received MPLS frame into an output label, converts the destination MAC address of the MAC header of the received MPLS frame into a broadcast MAC address, and converts the MPLS frame to packet transport Transmission to the apparatus 201B, that is, MPLS label switching is performed (1609).
  • the packet transport device 201B When the packet transport device 201B receives the MPLS frame transmitted by the packet transport device 201A, the packet transport device 201B is registered in the destination MAC address 303 of the entry indicating the path corresponding to the received MPLS frame in the path correspondence MAC learning table 205. The MPLS frame is transmitted to the router 101B using the MAC address (1610). Specifically, the packet transport apparatus 201B refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame.
  • the packet transport device 201B matches the input label received by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205 and the output label specified by the MPLS label registered in the MPLS output label 302.
  • the MAC address registered in the destination MAC address 303 of the entry that matches (unicast MAC address of the router 101B) is acquired.
  • the packet transport apparatus 201B converts the broadcast destination MAC address of the MAC header of the received MPLS frame into the unicast MAC address of the acquired router 101B, and converts the MPLS label of the MPLS header of the received MPLS frame into an output label.
  • the MPLS frame is transmitted to the router 101B.
  • the router 101A When the router 101A finishes data transmission, the router 101A transmits a path release request to the router 101B using an IP frame (not shown). When receiving the path release request, the router 101B transmits an IP frame including the MPLS label of the path to be released in the payload portion as signaling data for path release to the router 101A (1611). This signaling data includes the unicast MAC address of the source router 101B and the unicast MAC address of the destination router 101A.
  • the packet transport apparatus 201B When the packet transport apparatus 201B receives the signaling data for path release, the packet transport apparatus 201B transfers the received signaling data to the network control apparatus 1301. When receiving signaling data for path release, the network control device 1301 deletes the MAC address registered in the destination MAC address 303 of the entry indicating the path corresponding to the received signaling data in the path correspondence MAC learning table 205. (1612). Specifically, the packet transport apparatus 201B refers to the MPLS transfer table 207, and specifies an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data.
  • the packet transport apparatus 201B then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302.
  • the MAC address registered in the destination MAC address 303 of the entry that matches is deleted.
  • the network control device 1301 transmits the signaling data to the packet transport device 201A, and the packet transport device 201A transmits the received signaling data to the router 101A (1613).
  • the signaling data transmitted by the network control device 1301 need not be the received signaling data itself, but may be signaling data newly generated by the network control device 1301.
  • the network control device 1301 deletes the MAC address registered in the destination MAC address 303 of the entry indicating the path corresponding to the received signaling data in the path correspondence MAC learning table 205, so that the router serving as the starting point of the path
  • a label switch enable / disable flag disable command is sent to the packet transport apparatus 201A connected to 101A to instruct the label switch enable / disable flag 305 of the entry indicating the path in the path correspondence MAC learning table 205 to be disabled ( 1614).
  • the label switch enable / disable flag invalidation command includes an input label and an output label that are used to specify an entry in the path correspondence MAC learning table 205 that is set to invalid.
  • the network control device 1301 registers the MAC address registered in the destination MAC address 303 of the entry indicating the path in the path correspondence MAC learning table 205 in the packet transport device 201B connected to the router 101B that is the end point of the path.
  • a destination MAC address deletion instruction is transmitted to instruct to delete (1615). Note that the destination MAC address deletion command includes an input label and an output label that are used to specify an entry in the path correspondence MAC learning table 205 for deleting the destination MAC address.
  • the packet transport apparatus 201A When the packet transport apparatus 201A receives the label switch availability flag invalidity instruction, the packet transport apparatus 201A sets invalidity in the label switch availability flag 305 of the entry indicating the path corresponding to the received label switch availability flag invalidity instruction in the path correspondence MAC learning table 205. (1616). Specifically, the packet transport apparatus 201B acquires an input label and an output label included in the received label switch enable / disable flag invalid command. Then, the packet transport apparatus 201B matches the input label acquired by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label acquired by the MPLS label registered in the MPLS output label 302. Is set to invalid in the label switch availability flag 305.
  • the packet transport apparatus 201B uses the MAC address registered in the destination MAC address 303 of the entry indicating the path corresponding to the received destination MAC address deletion instruction in the path correspondence MAC learning table 205. It is deleted (1617). Specifically, the packet transport apparatus 201B acquires the input label and the output label included in the received destination MAC address deletion command. Then, the packet transport apparatus 201B matches the input label acquired by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label acquired by the MPLS label registered in the MPLS output label 302. The MAC address registered in the destination MAC address 303 of the entry that matches is deleted.
  • the label switch enable / disable flag 305 of the path correspondence MAC learning table 205 of the packet transport device 201A is set to invalid by the processing of 1614, and the destination MAC of the path correspondence MAC learning table 205 of the packet transport device 201B is processed by 1615.
  • a sequence when the MPLS frame is transmitted by the router 101A after the address 303 is deleted (1618) will be described.
  • the MPLS header and the MAC header of the MPLS frame transmitted by the router 101A in the process of 1618 are the MPLS used for transmitting the data, similarly to the MPLS header and the MAC header of the MPLS frame transmitted by the router 101A in the process of 1608.
  • the label and the unicast MAC address of the destination router 101B are included.
  • the path transport MAC learning determines whether or not the received MPLS frame can be transmitted to the packet transport apparatus 201B which is the opposite apparatus by the MPLS label switch. The determination is made with reference to the table 205. Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame.
  • the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 It is confirmed whether or not the label switch enable / disable flag 305 of the entry that matches is set to valid.
  • an MPLS output label for encapsulation for which invalidity is set in the label switch enable / disable flag 305 and an MPLS header and a MAC header including a broadcast destination MAC address are added, and the received MPLS frame is encapsulated.
  • the packet transport apparatus 201A transmits the encapsulated MPLS frame to the packet transport apparatus 201B (1619).
  • the packet transport apparatus 201B When the packet transport apparatus 201B receives the encapsulated MPLS frame transmitted by the packet transport apparatus 201A, the packet transport apparatus 201B decapsulates the received encapsulated MPLS frame and returns to the original MPLS frame by decapsulation.
  • the frame is transmitted to the router 101B without changing the MPLS header (MPLS header given by the router 101A) and the MAC header (MAC header given by the router 101A) (1620).
  • FIG. 17 is a flowchart of processing when the packet transport apparatus 201 according to the fourth embodiment of the present invention receives a frame from the outside of the MPLS-TP communication network. This process is executed by a processor (not shown) of the packet transport apparatus 201.
  • the packet transport apparatus 201 determines whether or not the received frame is an MPLS frame (1701). Specifically, if the received frame includes an MPLS header, the packet transport apparatus 201 determines that the received frame is an MPLS frame (1701: Yes), and the received frame includes an MPLS header. If not, it is determined that the received frame is not an MPLS frame (1701: No).
  • step 1701 If it is determined in step 1701 that the received frame is not an MPLS frame (1701: No), the packet transport apparatus 201 sends a control command for updating the path correspondence MAC learning table 205 to the network control apparatus 1301. In order to issue, the received frame is transmitted to the network control device 1301 (1702).
  • step 1701 if it is determined in step 1701 that the received frame is an MPLS frame (1701: Yes), the packet transport apparatus 201 is included in the received MPLS frame in the path correspondence MAC learning table 205. It is determined whether or not the entry corresponding to the path corresponding to the MPLS label is held (1703).
  • step 1703 If it is determined in step 1703 that the entry corresponding to the path corresponding to the received MPLS frame is not held (1703: No), the packet transport apparatus 201 is the opposite apparatus, the packet transport apparatus 201. Since it is not possible to determine whether or not the MPLS label switch can be performed when the MPLS frame is transmitted, the process proceeds to step 1705.
  • step 1703 when it is determined in step 1703 that the entry corresponding to the path corresponding to the received MPLS frame is held (1703: Yes), the packet transport apparatus 201 stores the entry corresponding to the path corresponding MAC learning table 205. It is determined whether validity is set in the label switch enable / disable flag 305 of the corresponding entry (1704).
  • step 1704 If it is determined in the processing of step 1704 that the label switch availability flag 305 of the corresponding entry is not set to valid (1704: No), an MPLS header including an MPLS output label for encapsulation and a broadcast destination MAC address, A MAC header is added, the received MPLS frame is encapsulated, and the encapsulated MPLS frame is transmitted (1705).
  • step 1704 when it is determined in step 1704 that the label switch enable / disable flag 305 of the corresponding entry is set to valid (1704: Yes), the packet transport apparatus 201 is specified in step 1703. It is determined whether or not the path is in a failure state (1706).
  • step 1706 If it is determined in step 1706 that the path is in a failure state (1706: Yes), the packet transport apparatus 201 proceeds to step 1705, encapsulates the received MPLS frame, and encapsulates the MPLS. Send a frame.
  • the packet transport apparatus 201 converts the input MPLS label of the MPLS header of the received MPLS frame into an output label, and receives the received label.
  • the destination MAC address in the MAC header of the MPLS frame is converted into a broadcast MAC address, and the MPLS frame is transmitted to the packet transport device 201 which is the opposite device, that is, the MPLS label is switched (1707).
  • FIG. 18 is a flowchart of processing when the network control device 1301 according to the fourth embodiment of the present invention receives a frame from the packet transport device 201. This process is executed by a processor (not shown) of the network control apparatus 1301.
  • the network control device 1301 determines whether or not the path in the MPLS-TP communication network 200 corresponding to the received frame can be specified (1801). If the received frame is signaling data for establishing or releasing a path, the MPLS label is included in the payload portion of the received frame, so the network control device 1301 refers to the MPLS forwarding table 207 and corresponds to the frame. A path in the MPLS-TP communication network 200 can be specified.
  • step 1801 If it is determined in step 1801 that the path in the MPLS-TP communication network 200 corresponding to the received frame can be specified (1801: Yes), the received frame is signaling data for establishing or releasing the path. Therefore, the network control apparatus 1301 proceeds to the processing after step 1802 in order to update the path correspondence MAC management table 205.
  • the network control device 1301 determines whether or not an entry corresponding to the path corresponding to the received frame is held in the path corresponding MAC learning table 205 (1802).
  • step 1802 If it is determined in step 1802 that the entry corresponding to the path corresponding to the received frame is not held (1802: No), there is no entry to be updated in the path correspondence MAC learning table 205. The process proceeds to 1810.
  • step 1802 determines that the entry corresponding to the path corresponding to the received frame is held (1802: Yes).
  • the network control device 1301 determines that the received frame is a path release. It is determined whether it is the signaling data of (1803).
  • step 1803 If it is determined in step 1803 that the received frame is not signaling data for path release (1803: No), that is, if the received frame is signaling data for path establishment, network control is performed.
  • the device 1301 registers the transmission source MAC address of the received frame in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205 (1804). Note that the processing in step 1804 corresponds to the processing in 1602 shown in FIG.
  • the network control apparatus 1301 sends the signaling data received at the destination MAC address 303 of the entry indicating the path in the path corresponding MAC learning table 205 to the packet transport apparatus 201 connected to the router 101 that is the end point of the path.
  • a destination MAC address registration command is transmitted to instruct to register the source MAC address (1805).
  • the network control apparatus 1301 sets the label switch availability flag 305 of the entry indicating the path in the path corresponding MAC learning table 205 to valid for the packet transport apparatus 201A connected to the router 101A that is the starting point of the path.
  • a label switch enable / disable flag valid command is transmitted (1805).
  • the network control apparatus 1301 transmits the received frame to the packet transport apparatus 201 that is the opposite apparatus of the packet transport apparatus that transmitted the received frame to the network control apparatus 1301 (1810).
  • step 1803 When it is determined in step 1803 that the received frame is signaling data for releasing the path (1803: Yes), the network control device 1301 determines the destination MAC address of the corresponding entry in the path correspondence MAC learning table 205. The MAC address registered in the address 303 is deleted (1807). Note that the processing of step 1807 corresponds to the processing of 1612 shown in FIG.
  • the network control apparatus 1301 registers the MAC registered in the destination MAC address 303 of the entry indicating the path in the path corresponding MAC learning table 205 in the packet transport apparatus 201 connected to the router 101 that is the end point of the path.
  • a destination MAC address deletion command that instructs to delete the address is transmitted (1808).
  • the network control apparatus 1301 sets invalidity in the label switch availability flag 305 of the entry indicating the path in the path correspondence MAC learning table 205 in the packet transport apparatus 201A connected to the router 101A that is the starting point of the path.
  • a label switch enable / disable flag invalid command is transmitted (1809).
  • the network control apparatus 1301 proceeds to the processing of step 1810, and transmits the received frame to the packet transport apparatus 201 that is the opposite apparatus of the packet transport apparatus that transmitted the received frame to the network control apparatus 1301.
  • step 1801 If it is determined in step 1801 that the path in the MPLS-TP communication network 200 corresponding to the received frame cannot be specified (1801: No), the process proceeds to step 1810, and the received frame is network-controlled.
  • the received frame is transmitted to the packet transport apparatus 201 which is the opposite apparatus of the packet transport apparatus transmitted to the apparatus 1301.
  • FIG. 19A is a flowchart of processing when the packet transport device 201 according to the fourth embodiment of the present invention receives a frame from the inside of the MPLS-TP communication network as a frame from the network control device 1301.
  • FIG. 19B is a flowchart of processing when the packet transport device 201 according to the fourth embodiment of the present invention receives a frame received from the inside of the MPLS-TP communication network that is not a frame from the network control device 1301. These processes are executed by a processor (not shown) of the packet transport apparatus 201.
  • the packet transport apparatus 201 determines whether or not the received frame is a frame transmitted from the network control apparatus 1301 (1901).
  • step 1901 If it is determined in step 1901 that the received frame is a frame transmitted from the network control device 1301 (1901: Yes), the packet transport device 201 uses the path-corresponding MAC learning table 205 for the received frame. It is determined whether or not the control command is for updating (1902).
  • step 1902 If it is determined in step 1902 that the received frame is a control command for updating the path correspondence MAC learning table 205 (1902: Yes), the packet transport device 201 determines that the received frame is a control command.
  • the path correspondence MAC learning table 205 is updated (1903).
  • step 1902 if it is determined in step 1902 that the received frame is not a control command for updating the path correspondence MAC learning table 205 (1902: No), the received frame is transmitted to the router 101 as it is (1904). .
  • step 1901 If it is determined in step 1901 that the received frame is not a frame transmitted from the network control apparatus 1301 (1901: No), the packet transport apparatus 201 determines whether the received frame is an encapsulated frame. It is determined whether or not (1905).
  • the packet transport apparatus 201 determines whether the encapsulated frame is an MPLS frame. (1906). Specifically, the packet transport apparatus 201 determines whether an MPLS header is included in a frame inside the encapsulation.
  • step 1906 If it is determined in step 1906 that the frame inside the encapsulation is an MPLS frame (1906: Yes), the packet transport apparatus 201 stores the MPLS frame inside the encapsulation in the path correspondence MAC learning table 205. It is determined whether or not the entry corresponding to the path corresponding to the included MPLS label is held (1907).
  • step 1907 If it is determined in step 1907 that the entry corresponding to the path corresponding to the MPLS frame inside the encapsulation is held (1907: Yes), the packet transport apparatus 201 stores the entry in the path correspondence MAC learning table 205. It is determined whether the MAC address is registered in the destination MAC address 303 of the corresponding entry (1908).
  • step 1908 When it is determined in step 1908 that the MAC address is registered in the destination MAC address 303 of the corresponding entry (1908: Yes), the packet transport device 201 determines that the path specified in step 1907 is the path specified. It is determined whether it is set as a failure state (1909).
  • step 1909 If it is determined in step 1909 that the path is set as a failure state (1909: Yes), the packet transport apparatus 201 cancels the setting of the failure state (1910), and the processing in step 1911 is performed. Then, decapsulate the received frame and transmit it.
  • step 1906 If it is determined in step 1906 that the frame inside the encapsulation is not an MPLS frame (1906: No), or the processing corresponding to the path corresponding to the MPLS frame inside the encapsulation is held in step 1907 If it is determined that the MAC address is not registered (1907: No), it is determined in step 1908 that no MAC address is registered in the destination MAC address 303 of the corresponding entry (1908: No). If it is determined that the path is not set as a failure state (1909: No), the process proceeds to step 1911, where the received frame is decapsulated and transmitted.
  • step 1905 If it is determined in step 1905 that the received frame is not an encapsulated frame (1905: No), that is, if the received frame is an MPLS label-switched MPLS frame, the packet transport device 201 Then, it is determined whether or not an entry corresponding to the path corresponding to the MPLS label included in the received MPLS frame is held in the path correspondence MAC learning table 205 (1912).
  • step 1912 If it is determined in step 1912 that the entry corresponding to the path corresponding to the received MPLS frame is held (1912: Yes), the packet transport apparatus 201 corresponds to the path corresponding MAC learning table 205. It is determined whether or not a MAC address is registered in the destination MAC address 303 of the entry (1913).
  • step 1913 If it is determined in step 1913 that the MAC address is registered in the destination MAC address 303 of the corresponding entry (1913: Yes), the input MPLS label in the MPLS header of the received MPLS frame is converted into an output label.
  • the destination MAC address of the MAC header of the received MPLS frame is converted to the unicast MAC address held in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205, and the MPLS frame is transmitted to the router 101. (1914).
  • step 1912 When it is determined in step 1912 that the entry corresponding to the path corresponding to the received MPLS frame is not held (1912: No), or in step 1913, the destination MAC address 303 of the corresponding entry is determined. When it is determined that the MAC address is not registered in (1913: No), the packet transport apparatus 201 determines whether or not the path identified in the process of step 1912 is set as a failure state ( 1915).
  • step 1915 When it is determined in step 1915 that the path is set as a failure state (1915: Yes), the packet transport apparatus 201 sets the unicast to be set as the destination MAC address of the MAC header of the received MPLS frame. Since the MAC address is not held, the received MPLS frame is discarded (1917).
  • step 1915 if it is determined in step 1915 that the path is not set as a failure state (1915: No), the packet transport apparatus 201 sets the path as a failure state (1916), and step 1917. Then, the received MPLS frame is discarded.
  • each packet transport device 201 in the communication system updates the path correspondence MAC learning table 205 based on the control command from the network control device 1301, so that the stability of the communication system is improved. Can be improved.

Abstract

Provided is a communication system that comprises: a transfer apparatus constituting a first communication network; and a transmitter apparatus constituting a second communication network. In a communication system, when a first transmitter apparatus receives an MPLS frame transmitted by a first transfer apparatus and when it is determined that a second transmitter apparatus holds the MAC address of a second transfer apparatus, the first transmitter apparatus transmits the received MPLS frame by use of an MPLS label switch based on an MPLS label; and when it is determined that the second transmitter apparatus does not hold the MAC address of the second transfer apparatus, the first transmitter apparatus uses an MPLS header and a MAC header to encapsulate the received MPLS frame in such a manner that includes the MAC address of the second transfer apparatus, and the first transmitter apparatus transmits the encapsulated MPLS frame.

Description

通信システム、伝送装置、及び通信方法COMMUNICATION SYSTEM, TRANSMISSION DEVICE, AND COMMUNICATION METHOD 参照による取り込みImport by reference
 本出願は、平成24年(2012年)3月21日に出願された日本出願である特願2012-64012の優先権を主張し、その内容を参照することにより、本出願に取り込む。 This application claims the priority of Japanese Patent Application No. 2012-64012, which was filed on March 21, 2012, and is incorporated herein by reference.
 IP/MPLSを用いた第1通信網を構成する転送装置と、MPLS-TPを用いた第2通信網を構成する伝送装置と、を備える通信システムに関し、特に、転送装置から送信された宛先MACアドレスを含むMPLSフレームの伝送装置による通信に関する。 BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication system including a transfer device that constitutes a first communication network that uses IP / MPLS and a transmission device that constitutes a second communication network that uses MPLS-TP, and in particular, a destination MAC transmitted from the transfer device The present invention relates to communication by an MPLS frame transmission apparatus including an address.
 ITネットワークを構成する通信装置間でデータ通信する技術として、IP(Internet Protocol)及びMPLS(Multiprotocol Label Switching)が知られている。 2. Description of the Related Art IP (Internet Protocol) and MPLS (Multiprotocol Label Switching) are known as technologies for performing data communication between communication devices constituting an IT network.
 IPは、IPアドレスを用いて通信装置間でデータ通信する技術であり、詳細は、IETF(Internet Engineering Task Force) RFC(Request for Comments) 791(非特許文献1参照)及びIETF RFC 2460(非特許文献2参照)で規定される。 IP is a technology for performing data communication between communication devices using an IP address. For details, IETF (Internet Engineering Task To Force) RFC (Request for Comments) 791 (see Non-Patent Document 1) and IETF RFC 2460 (non-patent) Ref. 2).
 MPLSは、MPLSラベルを用いて通信装置間でデータ通信する技術であり、詳細は、IETF RFC 3031(非特許文献3参照)で規定される。MPLSでは、通信装置間のデータ通信経路はパスと呼ばれ、従来のMPLSでは、IPによってパスが構築されていた。パスの始点となる通信装置及び終点となる通信装置はIPアドレスによって定められる。パスの始点となる通信装置から終点となる通信装置への途中の経路は、始点となる通信装置のIPアドレスから終点となる通信装置のIPアドレスへのIPルーティングに基づいて決定される。MPLSフレームの通信に用いられるMACアドレスとしては、ユニキャストMACアドレスが用いられる。 MPLS is a technology for data communication between communication devices using an MPLS label, and details are defined in IETF RFC 3031 (see Non-Patent Document 3). In MPLS, a data communication path between communication devices is called a path. In conventional MPLS, a path is constructed by IP. The communication device that is the starting point and the end point of the path is determined by the IP address. A route on the way from the communication device that is the start point of the path to the communication device that is the end point is determined based on IP routing from the IP address of the communication device that is the start point to the IP address of the communication device that is the end point. A unicast MAC address is used as a MAC address used for MPLS frame communication.
 MPLSのパス構築には、IETF RFC 5036(非特許文献4参照)で規定されるLDP(Label Distribution Protocol)等のIP層のプロトコルが用いられる。通信装置は、パスの始点となる通信装置と終点となる通信装置の間にパスを構築する場合にIPによるデータ通信処理を実行するが、そのIP通信を実現するための手続きにおいて、通信先である通信装置のMACアドレスを把握する。 The MPLS path construction uses an IP layer protocol such as LDP (Label Distribution Protocol) defined in IETF RFC 5036 (see Non-Patent Document 4). A communication device executes data communication processing by IP when a path is established between a communication device that is a starting point and an end point of a path. In a procedure for realizing the IP communication, the communication device The MAC address of a certain communication device is grasped.
 通信装置は、MPLSフレームを受信した場合、受信したMPLSフレームに含まれる宛先MACアドレスが自身の終端するべきMACアドレスである場合、MPLSフレームに含まれるMPLSラベルに基づいて、受信したMPLSフレームの通信処理を実行する。一方、通信装置は、受信したMPLSフレームに含まれる宛先MACアドレスが自身の終端するべきMACアドレスでない場合、MPLSフレームに含まれるMACアドレスに基づいて、受信したMPLSフレームの通信処理を実行する。 When a communication device receives an MPLS frame, if a destination MAC address included in the received MPLS frame is a MAC address to be terminated, the communication device communicates the received MPLS frame based on the MPLS label included in the MPLS frame. Execute the process. On the other hand, when the destination MAC address included in the received MPLS frame is not the MAC address to be terminated, the communication device executes communication processing of the received MPLS frame based on the MAC address included in the MPLS frame.
 近年、MPLS-TP(MPLS-Transport Profile)という技術の規定作業が進められている(非特許文献5参照)。MPLS-TPでは、IPによってパスが構築されず、ネットワーク制御装置からの設定によってパスが構築される。パスの始点となる通信装置及び終点となる通信装置は、インタフェース等が指定されることによって定められる。また、パスの始点となる通信装置から終点となる通信装置への途中の経路も、通信装置のインタフェース等が指定されることによって定められる。MPLS-TPでは、MPLSフレームの通信に用いられるMACアドレスとしては、通信先の装置にかかわらずに決められるように、通常はブロードキャストMACアドレスが用いられる。通信装置は、MPLSフレームを受信した場合、MACアドレスにかかわらずMPLSラベルに基づいて、MPLSフレームの通信処理を実行する。 In recent years, a technical work called MPLS-TP (MPLS-Transport Profile) has been in progress (see Non-Patent Document 5). In MPLS-TP, a path is not established by IP, but is established by setting from a network control device. The communication device that is the start point and the end point of the path is determined by designating an interface or the like. In addition, a route on the way from the communication device that is the start point of the path to the communication device that is the end point is also determined by designating the interface of the communication device. In MPLS-TP, a broadcast MAC address is normally used as a MAC address used for communication of an MPLS frame so as to be determined regardless of a communication destination device. When the communication device receives the MPLS frame, the communication device executes the communication processing of the MPLS frame based on the MPLS label regardless of the MAC address.
 従来のMPLS(IP/MPLS)を用いる通信網とMPLS-TPを用いる通信網が接続される場合、双方の通信網で用いられるMACアドレスが異なるため、MAC処理を正しく実行できず、MPLSラベルに基づく通信処理を実行することができない。 When a conventional communication network using MPLS (IP / MPLS) and a communication network using MPLS-TP are connected, the MAC address used in both communication networks is different, so the MAC processing cannot be executed correctly, and the MPLS label is displayed. Based communication processing cannot be executed.
 また、MPLS-TPを用いた通信網を構成するデータ伝送装置がMPLSフレームを送信する場合、当該MPLSフレームが一対一通信のためのフレームであっても、当該MPLSフレームの宛先MACアドレスはブロードキャストMACアドレスであるため、複数の宛先に当該MPLSフレームが送信されてしまう。 In addition, when a data transmission apparatus configuring a communication network using MPLS-TP transmits an MPLS frame, even if the MPLS frame is a frame for one-to-one communication, the destination MAC address of the MPLS frame is a broadcast MAC. Since it is an address, the MPLS frame is transmitted to a plurality of destinations.
 本発明の目的は、従来のMPLSを用いる通信網とMPLS-TPを用いる通信網が接続される場合であっても、MPLSフレームの通信処理を正しく実行可能な通信システムを提供することである。 An object of the present invention is to provide a communication system capable of correctly executing MPLS frame communication processing even when a conventional communication network using MPLS and a communication network using MPLS-TP are connected.
 本発明の代表的な一例を示せば、IP/MPLSを用いた第1通信網を構成する転送装置と、前記転送装置に接続され、MPLS-TPを用いた第2通信網を構成する伝送装置と、を備える通信システムにおいて、前記転送装置は、第1転送装置及び第2転送装置を含み、前記伝送装置は、前記第1転送装置に接続される第1伝送装置と、前記第2転送装置に接続され、前記第1伝送装置の対向装置である第2伝送装置と、を含み、前記第1伝送装置は、前記第2伝送装置が前記第2転送装置のMACアドレスを保持しているか否かを判定するための対向装置保持情報を、自身が送信又は受信したフレームに基づいて設定し、前記第1転送装置によって送信され、MPLSラベル及び宛先となる第2転送装置のMACアドレスを含むMPLSフレームを受信した場合、前記対向装置保持情報を参照し、前記第2伝送装置が前記第2転送装置のMACアドレスを保持しているか否かを判定し、前記第2伝送装置が前記第2転送装置のMACアドレスを保持していると判定された場合、前記受信したMPLSフレームを前記MPLSラベルに基づくMPLSラベルスイッチによって送信し、前記第2伝送装置が前記第2転送装置のMACアドレスを保持していないと判定された場合、前記受信したMPLSフレームを前記第2転送装置のMACアドレスを含むようにMPLSヘッダ及びMACヘッダでカプセル化し、前記カプセル化したMPLSフレームを送信し、前記第2伝送装置は、前記第1伝送装置によって前記MPLSラベルスイッチを用いて送信されたMPLSフレームを受信した場合、前記受信したMPLSフレームの宛先MACアドレスを自身が保持している前記第2転送装置のMACアドレスに変換し、MPLSラベルスイッチによって前記第2転送装置に送信し、前記第1伝送装置によって前記カプセル化されたMPLSフレームを受信した場合、前記受信したカプセル化されたMPLSフレームのカプセル化を解除し、前記カプセル化を解除されたMPLSフレームに含まれる前記第2転送装置のMACアドレスを宛先MACアドレスとし、前記第2転送装置に送信することを特徴とする。 A representative example of the present invention is a transfer device that constitutes a first communication network using IP / MPLS, and a transmission device that is connected to the transfer device and constitutes a second communication network using MPLS-TP. The transfer device includes a first transfer device and a second transfer device, and the transmission device includes a first transmission device connected to the first transfer device, and the second transfer device. And a second transmission device that is an opposite device of the first transmission device, wherein the first transmission device determines whether the second transmission device holds the MAC address of the second transfer device. Is set based on a frame transmitted or received by itself, and is transmitted by the first transfer device and includes an MPLS label and a MAC address of the second transfer device serving as a destination. When a frame is received, it is determined whether or not the second transmission device holds the MAC address of the second transfer device by referring to the opposite device holding information, and the second transmission device determines whether or not the second transfer When it is determined that the MAC address of the device is held, the received MPLS frame is transmitted by an MPLS label switch based on the MPLS label, and the second transmission device holds the MAC address of the second transfer device. When it is determined that the received MPLS frame is not included, the received MPLS frame is encapsulated with an MPLS header and a MAC header so as to include the MAC address of the second transfer device, the encapsulated MPLS frame is transmitted, and the second transmission device The MPLS frame transmitted by the first transmission device using the MPLS label switch is transmitted. If received, the destination MAC address of the received MPLS frame is converted to the MAC address of the second transfer device held by itself, and is transmitted to the second transfer device by an MPLS label switch, and the first transmission device When the encapsulated MPLS frame is received, the encapsulation of the received encapsulated MPLS frame is released, and the MAC address of the second transfer device included in the decapsulated MPLS frame is set. The destination MAC address is transmitted to the second transfer device.
 本願において開示される発明のうち代表的なものによって得られる効果を簡潔に説明すれば、下記の通りである。すなわち、従来のMPLSを用いる通信網とMPLS-TPを用いる通信網が接続される場合であっても、MPLSフレームを正しく通信処理可能な通信システムを提供できる。 The following is a brief description of the effects obtained by the representative inventions disclosed in the present application. That is, it is possible to provide a communication system capable of correctly processing an MPLS frame even when a conventional communication network using MPLS and a communication network using MPLS-TP are connected.
本発明の第1実施形態の通信システムの構成の説明図である。It is explanatory drawing of a structure of the communication system of 1st Embodiment of this invention. 本発明の第1実施形態のパケットトランスポート装置の構成の説明図である。It is explanatory drawing of a structure of the packet transport apparatus of 1st Embodiment of this invention. 本発明の第1実施形態のパス対応MAC学習テーブルの説明図である。It is explanatory drawing of the path | route corresponding | compatible MAC learning table of 1st Embodiment of this invention. 本発明の第1実施形態の宛先MACアドレス学習処理のシーケンス図である。It is a sequence diagram of the destination MAC address learning process of 1st Embodiment of this invention. 本発明の第1実施形態のパケットトランスポート装置がMPLS-TP通信網の外部から受信したフレームがMPLSフレームでない場合の処理のフローチャートである。6 is a flowchart of processing when the packet transport device according to the first embodiment of the present invention receives a frame received from the outside of the MPLS-TP communication network that is not an MPLS frame. 本発明の第1実施形態のパケットトランスポート装置がMPLS-TP通信網の外部から受信したフレームがMPLSフレームである場合の処理のフローチャートである。4 is a flowchart of processing when the packet transport device according to the first embodiment of the present invention receives an MPLS frame as a frame received from the outside of the MPLS-TP communication network. 本発明の第1実施形態のパケットトランスポート装置がMPLS-TP通信網の内部から受信したフレームがカプセル化フレームである場合の処理のフローチャートである。6 is a flowchart of processing when the packet transport device of the first exemplary embodiment of the present invention receives a frame received from the inside of the MPLS-TP communication network as an encapsulated frame. 本発明の第1実施形態のパケットトランスポート装置がMPLS-TP通信網の内部から受信したフレームがカプセル化フレームでない場合の処理のフローチャートである。6 is a flowchart of processing when the packet transport apparatus according to the first embodiment of the present invention receives a frame received from the inside of the MPLS-TP communication network, which is not an encapsulated frame. 本発明の第2実施形態の宛先MACアドレス学習処理のシーケンス図である。It is a sequence diagram of the destination MAC address learning process of 2nd Embodiment of this invention. 本発明の第2実施形態のパケットトランスポート装置がMPLS-TP通信網の外部から受信したフレームがMPLSフレームでない場合の処理のフローチャートである。It is a flowchart of a process when the frame which the packet transport apparatus of 2nd Embodiment of this invention received from the outside of an MPLS-TP communication network is not an MPLS frame. 本発明の第2実施形態のパケットトランスポート装置がMPLS-TP通信網の外部から受信したフレームがMPLSフレームである場合の処理のフローチャートである。It is a flowchart of a process in case the frame which the packet transport apparatus of 2nd Embodiment of this invention received from the outside of an MPLS-TP communication network is an MPLS frame. 本発明の第2実施形態のパケットトランスポート装置がMPLS-TP通信網の内部から受信したフレームがカプセル化フレームで、カプセル内フレームがMPLSフレームでない場合の処理のフローチャートである。12 is a flowchart of processing when a packet transport apparatus according to a second embodiment of the present invention receives a frame received from the inside of an MPLS-TP communication network as an encapsulated frame and a frame within the capsule is not an MPLS frame. 本発明の第2実施形態のパケットトランスポート装置がMPLS-TP通信網の内部から受信したフレームがカプセル化フレームで、カプセル内フレームがMPLSフレームである場合の処理のフローチャートである。10 is a flowchart of processing when a packet transport apparatus according to a second embodiment of the present invention receives a frame received from the inside of an MPLS-TP communication network as an encapsulated frame and an intracapsule frame is an MPLS frame. 本発明の第2実施形態のパケットトランスポート装置がMPLS-TP通信網の内部から受信したフレームがカプセル化フレームでない場合の処理のフローチャートである。It is a flowchart of a process when the frame which the packet transport apparatus of 2nd Embodiment of this invention received from the inside of an MPLS-TP communication network is not an encapsulated frame. 本発明の第3実施形態の宛先MACアドレス学習処理のシーケンス図である。It is a sequence diagram of the destination MAC address learning process of 3rd Embodiment of this invention. 本発明の第3実施形態のパケットトランスポート装置がMPLS-TP通信網の外部から受信したフレームがMPLSフレームでない場合の処理のフローチャートである。It is a flowchart of a process when the frame which the packet transport apparatus of 3rd Embodiment of this invention received from the outside of an MPLS-TP communication network is not an MPLS frame. 本発明の第3実施形態のパケットトランスポート装置がMPLS-TP通信網の外部から受信したフレームがMPLSフレームであり、受信フレームに該当するエントリのMAC登録がある場合の処理のフローチャートである。It is a flowchart of a process when the packet transport apparatus of 3rd Embodiment of this invention is a frame which the frame received from the outside of an MPLS-TP communication network is an MPLS frame, and there exists MAC registration of the entry applicable to a received frame. 本発明の第3実施形態のパケットトランスポート装置がMPLS-TP通信網の外部から受信したフレームがMPLSフレームであり、受信フレームに該当するエントリのMAC登録がない場合の処理のフローチャートである。It is a flowchart of a process when the frame which the packet transport apparatus of 3rd Embodiment of this invention received from the outside of an MPLS-TP communication network is an MPLS frame, and there is no MAC registration of the entry applicable to a received frame. 本発明の第3実施形態のパケットトランスポート装置がMPLS-TP通信網の内部から受信したフレームがカプセル化フレームであり、カプセル内フレームがMPLSフレームである場合の処理のフローチャートである。10 is a flowchart of processing when a packet transport apparatus according to a third embodiment of the present invention receives a frame received from the inside of an MPLS-TP communication network as an encapsulated frame and an intracapsule frame is an MPLS frame. 本発明の第3実施形態のパケットトランスポート装置がMPLS-TP通信網の内部から受信したフレームがカプセル化フレームであり、カプセル内フレームがMPLSフレームでない場合の処理のフローチャートである。10 is a flowchart of processing when a packet transport apparatus according to a third embodiment of the present invention receives a frame received from the inside of an MPLS-TP communication network as an encapsulated frame and an intracapsule frame is not an MPLS frame. 本発明の第3実施形態のパケットトランスポート装置がMPLS-TP通信網の内部から受信したフレームがカプセル化フレームでない場合の処理のフローチャートである。It is a flowchart of a process when the frame which the packet transport apparatus of 3rd Embodiment of this invention received from the inside of an MPLS-TP communication network is not an encapsulated frame. 本発明の第4実施形態の通信システムの構成の説明図である。It is explanatory drawing of a structure of the communication system of 4th Embodiment of this invention. 本発明の第4実施形態のパケットトランスポート装置の構成の説明図である。It is explanatory drawing of a structure of the packet transport apparatus of 4th Embodiment of this invention. 本発明の第4実施形態のパス対応MAC学習テーブルの説明図である。It is explanatory drawing of the path | pass corresponding | compatible MAC learning table of 4th Embodiment of this invention. 本発明の第4実施形態の宛先MACアドレス学習処理のシーケンス図である。It is a sequence diagram of the destination MAC address learning process of 4th Embodiment of this invention. 本発明の第4実施形態のパケットトランスポート装置がMPLS-TP通信網の外部からフレームを受信した場合の処理のフローチャートである。It is a flowchart of a process when the packet transport apparatus of 4th Embodiment of this invention receives a frame from the outside of an MPLS-TP communication network. 本発明の第4実施形態のネットワーク制御装置がパケットトランスポート装置からフレームを受信した場合の処理のフローチャートである。It is a flowchart of a process when the network control apparatus of 4th Embodiment of this invention receives a frame from a packet transport apparatus. 本発明の第4実施形態のパケットトランスポート装置がMPLS-TP通信網の内部から受信したフレームがネットワーク制御装置からのフレームである場合の処理のフローチャートである。It is a flowchart of a process in case the frame which the packet transport apparatus of 4th Embodiment of this invention received from the inside of an MPLS-TP communication network is a frame from a network control apparatus. 本発明の第4実施形態のパケットトランスポート装置がMPLS-TP通信網の内部から受信したフレームがネットワーク制御装置からのフレームでない場合の処理のフローチャートである。It is a flowchart of a process in case the frame which the packet transport apparatus of 4th Embodiment of this invention received from the inside of an MPLS-TP communication network is not a frame from a network control apparatus.
 (第1実施形態)
 本発明の第1実施形態を図1~図6を用いて説明する。
(First embodiment)
A first embodiment of the present invention will be described with reference to FIGS.
 図1は、本発明の第1実施形態の通信システムの構成の説明図である。 FIG. 1 is an explanatory diagram of a configuration of a communication system according to the first embodiment of this invention.
 本実施形態の通信システムは、MPLS(IP/MPLS)を用いたMPLS通信網(第1通信網)100A及び100B(以下、総称してMPLS通信網100という)を構成するルータ(転送装置)101A及び101B(以下、総称してルータ101という)と、MPLS-TPを用いたMPLS-TP通信網(第2通信網)200を構成するパケットトランスポート装置(伝送装置)201A及び201B(以下、総称してパケットトランスポート装置201)と、を備える。 The communication system of this embodiment is a router (transfer device) 101A that constitutes MPLS communication networks (first communication network) 100A and 100B (hereinafter collectively referred to as MPLS communication network 100) using MPLS (IP / MPLS). And 101B (hereinafter collectively referred to as router 101) and packet transport apparatuses (transmission apparatuses) 201A and 201B (hereinafter collectively referred to as "MPLS-TP communication network (second communication network) 200" using MPLS-TP). Packet transport device 201).
 MPLS-TP通信網200は、MPLS通信網100A及び100Bの間に位置する。パケットトランスポート装置201A及びルータ101Aは、MPLS-TP通信網200とMPLS通信網100Aの間の境界に位置し、パケットトランスポート装置201A及びルータ101Aは互いに接続される。同様に、パケットトランスポート装置201B及びルータ101Bは、MPLS-TP通信網200とMPLS通信網100Bの間の境界に位置し、パケットトランスポート装置201B及びルータ101Bは互いに接続される。 The MPLS-TP communication network 200 is located between the MPLS communication networks 100A and 100B. The packet transport device 201A and the router 101A are located at the boundary between the MPLS-TP communication network 200 and the MPLS communication network 100A, and the packet transport device 201A and the router 101A are connected to each other. Similarly, the packet transport device 201B and the router 101B are located at the boundary between the MPLS-TP communication network 200 and the MPLS communication network 100B, and the packet transport device 201B and the router 101B are connected to each other.
 図2は、本発明の第1実施形態のパケットトランスポート装置201の構成の説明図である。 FIG. 2 is an explanatory diagram of the configuration of the packet transport apparatus 201 according to the first embodiment of this invention.
 パケットトランスポート装置201は、入力インタフェース202、MAC解析部203、IP解析部204、パス対応MAC学習テーブル205、MPLS解析部206、MPLS転送テーブル207、MPLS付与部208、MPLS転送部209、MAC付与部210、及び出力インタフェース211を備える。 The packet transport apparatus 201 includes an input interface 202, a MAC analysis unit 203, an IP analysis unit 204, a path correspondence MAC learning table 205, an MPLS analysis unit 206, an MPLS transfer table 207, an MPLS grant unit 208, an MPLS transfer unit 209, and a MAC grant. Unit 210 and an output interface 211.
 入力インタフェース202は、パケットトランスポート装置201をMPLS通信網100に接続する図示しないインタフェース及びMPLS-TP通信網200に接続する図示しないインタフェースを含む。 The input interface 202 includes an interface (not shown) that connects the packet transport apparatus 201 to the MPLS communication network 100 and an interface (not shown) that connects to the MPLS-TP communication network 200.
 MAC解析部203は、入力インタフェース202が受信したフレームに含まれるMACヘッダを解析し、受信したフレームがIPフレームであるかMPLSフレームであるかを判定する。 The MAC analysis unit 203 analyzes the MAC header included in the frame received by the input interface 202, and determines whether the received frame is an IP frame or an MPLS frame.
 受信したフレームがIPフレームであるとMAC解析部203によって判定された場合、MAC解析部203は、受信したIPフレームをIP解析部204に渡す。IP解析部204は、MAC解析部203から渡されたフレームを解析し、解析結果に基づいてパス対応MAC学習テーブル205を更新し、当該IPフレームを送信するインタフェースを決定する。また、IP解析部204は、受信したIPフレームをMPLS付与部208に渡す。MPLS付与部208は、IP解析部204から渡されたIPフレームをMPLS-TPで用いるフォーマットでカプセル化し、カプセル化されたMPLSフレームをMAC付与部210に渡す。MAC付与部210は、IP解析部203の解析結果に基づいてMACヘッダを付与し、IP解析部203によって決定された出力インタフェース211から送信する。 When the MAC analysis unit 203 determines that the received frame is an IP frame, the MAC analysis unit 203 passes the received IP frame to the IP analysis unit 204. The IP analysis unit 204 analyzes the frame passed from the MAC analysis unit 203, updates the path correspondence MAC learning table 205 based on the analysis result, and determines an interface for transmitting the IP frame. Further, the IP analysis unit 204 passes the received IP frame to the MPLS adding unit 208. The MPLS adding unit 208 encapsulates the IP frame passed from the IP analysis unit 204 in a format used in MPLS-TP, and passes the encapsulated MPLS frame to the MAC adding unit 210. The MAC assignment unit 210 assigns a MAC header based on the analysis result of the IP analysis unit 203 and transmits the MAC header from the output interface 211 determined by the IP analysis unit 203.
 パス対応MAC学習テーブル205は、入力されたMPLSフレームのMPLSラベルと、当該MPLSフレームを出力する場合に使用するMPLSラベルと、当該MPLSフレームを出力する場合に使用する宛先MACアドレスと、対向装置にMPLSフレームを送信する場合にMPLSラベルスイッチの実施が可能か否かを示すラベルスイッチ可否フラグと、を対応付けて保持するテーブルであり、詳細は図3で説明する。 The path correspondence MAC learning table 205 includes the MPLS label of the input MPLS frame, the MPLS label used when outputting the MPLS frame, the destination MAC address used when outputting the MPLS frame, and the opposite device. This is a table that holds a label switch enable / disable flag indicating whether or not an MPLS label switch can be implemented when transmitting an MPLS frame, and will be described in detail with reference to FIG.
 なお、対向装置とは、図4で詳細を説明するが、ルータ101Aからルータ101Bにフレームを送信する場合、宛先となるルータ101Bに接続されたパケットトランスポート装置201Bがパケットトランスポート装置201Aの対向装置となる。 The opposite device will be described in detail with reference to FIG. 4, but when a frame is transmitted from the router 101A to the router 101B, the packet transport device 201B connected to the destination router 101B is opposed to the packet transport device 201A. It becomes a device.
 受信したフレームがMPLSフレームであるとMAC解析部203によって判定された場合、MAC解析部203は、受信したMPLSフレームをMPLS解析部206に渡す。MPLS解析部206は、MAC解析部203から渡されたMPLSフレームを解析し、MPLS転送テーブル207を参照し、受信したMPLSフレームに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)、及び当該MPLSフレームを送信するインタフェースを決定する。また、MPLS解析部206は、パス対応MAC学習テーブル205を参照し、受信したMPLSフレームを送信する場合にMPLSラベルスイッチの実施が可能か否かを判定し、当該MPLSフレームを送信する場合に用いる宛先MACアドレスを決定する。 When the MAC analysis unit 203 determines that the received frame is an MPLS frame, the MAC analysis unit 203 passes the received MPLS frame to the MPLS analysis unit 206. The MPLS analysis unit 206 analyzes the MPLS frame passed from the MAC analysis unit 203, refers to the MPLS forwarding table 207, and corresponds to the MPLS label (input label) included in the received MPLS frame (output label). And an interface for transmitting the MPLS frame. Also, the MPLS analysis unit 206 refers to the path correspondence MAC learning table 205, determines whether or not the MPLS label switch can be implemented when transmitting the received MPLS frame, and uses the MPLS frame when transmitting the MPLS frame. A destination MAC address is determined.
 MPLS転送テーブル207は、入力ラベルと、出力ラベルと、当該MPLSフレームを送信するインタフェースと、を対応付けて保持するテーブルである。 The MPLS transfer table 207 is a table that holds an input label, an output label, and an interface that transmits the MPLS frame in association with each other.
 MPLS解析部206は、受信したMPLSフレームを送信する場合にMPLSラベルスイッチの実施が可能でないと判定した場合、受信したMPLSフレームをMPLS付与部208に渡す。MPLS付与部208は、MPLS解析部206から渡されたMPLSフレームをMPLS-TPで用いるフォーマットでカプセル化し、カプセル化されたMPLSフレームをMAC付与部210に渡す。MAC付与部210は、MPLS解析部206によって決定された宛先MACアドレスを含むMACヘッダを付与し、MPLS解析部206によって決定された出力インタフェース211から送信する。 When the MPLS analysis unit 206 determines that the MPLS label switch cannot be performed when transmitting the received MPLS frame, the MPLS analysis unit 206 passes the received MPLS frame to the MPLS adding unit 208. The MPLS adding unit 208 encapsulates the MPLS frame passed from the MPLS analyzing unit 206 in a format used in MPLS-TP, and passes the encapsulated MPLS frame to the MAC adding unit 210. The MAC assigning unit 210 assigns a MAC header including the destination MAC address determined by the MPLS analyzing unit 206, and transmits the MAC header from the output interface 211 determined by the MPLS analyzing unit 206.
 一方、MPLS解析部206は、受信したMPLSフレームを送信する場合にMPLSラベルスイッチの実施が可能であると判定した場合、受信したMPLSフレームをMPLS転送部209に渡す。MPLS転送部209は、MPLS解析部206から渡されたMPLSフレームのMPLSラベル(入力ラベル)をMPLS解析部206によって決定されたMPLSラベル(出力ラベル)に変換し、ラベル変換されたMPLSフレームをMAC付与部210に渡す。MAC付与部210は、MPLS解析部206によって決定された宛先MACアドレスを含むMACヘッダを付与し、MPLS解析部206によって決定された出力インタフェース211からを送信する。このように、受信したMPLSフレームに付与されたMPLSラベル(入力ラベル)に基づくデータの送信方法をMPLSラベルスイッチという。 On the other hand, when the MPLS analysis unit 206 determines that the MPLS label switch can be performed when transmitting the received MPLS frame, the MPLS analysis unit 206 passes the received MPLS frame to the MPLS transfer unit 209. The MPLS transfer unit 209 converts the MPLS label (input label) of the MPLS frame passed from the MPLS analysis unit 206 into an MPLS label (output label) determined by the MPLS analysis unit 206, and the label-converted MPLS frame is converted into the MAC address. It is passed to the grant unit 210. The MAC assigning unit 210 assigns a MAC header including the destination MAC address determined by the MPLS analyzing unit 206, and transmits from the output interface 211 determined by the MPLS analyzing unit 206. As described above, a data transmission method based on the MPLS label (input label) added to the received MPLS frame is referred to as an MPLS label switch.
 図3は、本発明の第1実施形態のパス対応MAC学習テーブル205の説明図である。 FIG. 3 is an explanatory diagram of the path correspondence MAC learning table 205 according to the first embodiment of this invention.
 パス対応MAC学習テーブル205は、MPLS入力ラベル301、MPLS出力ラベル302、宛先MACアドレス303、MACアドレス有効時間304、ラベルスイッチ可否フラグ305、及びフラグ有効時間306を含む。 The path correspondence MAC learning table 205 includes an MPLS input label 301, an MPLS output label 302, a destination MAC address 303, a MAC address valid time 304, a label switch enable / disable flag 305, and a flag valid time 306.
 パス対応MAC学習テーブル205は、パケットトランスポート装置201が受信したフレームに基づいて更新される。パス対応MAC学習テーブル205の更新処理については、図4で詳細を説明する。 The path correspondence MAC learning table 205 is updated based on the frame received by the packet transport apparatus 201. Details of the update processing of the path correspondence MAC learning table 205 will be described with reference to FIG.
 MPLS入力ラベル301には、パケットトランスポート装置201が受信するMPLSフレームに付与されたMPLSラベル(入力ラベル)が登録される。MPLS出力ラベル302には、パケットトランスポート装置201が受信したMPLSフレームを送信する場合に付与するMPLSラベル(出力ラベル)が登録される。宛先MACアドレス303には、パケットトランスポート装置201が受信したMPLSフレームを送信する場合に用いる宛先MACアドレスが登録される。 In the MPLS input label 301, an MPLS label (input label) attached to the MPLS frame received by the packet transport apparatus 201 is registered. In the MPLS output label 302, an MPLS label (output label) to be assigned when the MPLS frame received by the packet transport apparatus 201 is transmitted is registered. In the destination MAC address 303, a destination MAC address used when the MPLS frame received by the packet transport apparatus 201 is transmitted is registered.
 MACアドレス有効時間304には、宛先MACアドレス303に登録されたMACアドレスを削除するまでの時間が登録される。このMACアドレス有効時間304に登録された時間は、MPLS入力ラベル301に登録されたMPLSラベルが付与されたMPLSフレームを受信すると予め設定された所定の時間に更新される。すなわち、宛先MACアドレス303に登録されたMACアドレスは、MACアドレス有効時間304に登録された時間連続してMPLS入力ラベル301に登録されたMPLSラベルが付与されたMPLSフレームを受信しなければ、削除される。 In the MAC address valid time 304, a time until the MAC address registered in the destination MAC address 303 is deleted is registered. The time registered in the MAC address valid time 304 is updated to a predetermined time when an MPLS frame with the MPLS label registered in the MPLS input label 301 is received. In other words, the MAC address registered in the destination MAC address 303 is deleted if it does not receive an MPLS frame with the MPLS label registered in the MPLS input label 301 continuously for the time registered in the MAC address valid time 304. Is done.
 ラベルスイッチ可否フラグ305には、MPLSフレームを対向装置に送信する場合にMPLSラベルスイッチの実施が可能か否かを示すフラグが登録される。具体的には、ラベルスイッチ可否フラグ305に「T」が登録されている場合、対向装置にMPLSラベルスイッチ可能であることを示し、当該状態を示すフラグを有効という。一方、ラベルスイッチ可否フラグ305に「F」が登録されている場合、対向装置にMPLSラベルスイッチ可能でないことを示し、当該状態を示すフラグを無効という。 In the label switch enable / disable flag 305, a flag indicating whether or not the MPLS label switch can be executed when an MPLS frame is transmitted to the opposite apparatus is registered. Specifically, when “T” is registered in the label switch enable / disable flag 305, it indicates that the MPLS label switch is possible in the opposite device, and the flag indicating the state is valid. On the other hand, when “F” is registered in the label switch enable / disable flag 305, it indicates that the MPLS label switch is not possible in the opposite device, and the flag indicating the state is invalid.
 フラグ有効時間306には、ラベルスイッチ可否フラグ305に登録されたフラグを無効に設定するまでの時間が登録される。このフラグ有効時間306に登録された時間は、MPLS入力ラベル301に登録されたMPLSラベルが付与されたMPLSフレームを受信すると予め設定された所定の時間に更新される。すなわち、ラベルスイッチ可否フラグ305に登録された有効は、フラグ有効時間306に登録された時間連続してMPLS入力ラベル301に登録されたMPLSラベルが付与されたMPLSフレームを受信しなければ、無効に設定される。 In the flag valid time 306, a time until the flag registered in the label switch availability flag 305 is set to invalid is registered. The time registered in the flag valid time 306 is updated to a predetermined time when an MPLS frame with the MPLS label registered in the MPLS input label 301 is received. In other words, the validity registered in the label switch enable / disable flag 305 becomes invalid if the MPLS frame to which the MPLS label registered in the MPLS input label 301 is continuously received for the time registered in the flag valid time 306 is not received. Is set.
 図4は、本発明の第1実施形態の宛先MACアドレス学習処理のシーケンス図である。 FIG. 4 is a sequence diagram of destination MAC address learning processing according to the first embodiment of this invention.
 図4では、ルータ101Aがルータ101Bにパスを確立して、データを送信する場合の宛先MACアドレス学習処理を示す。この場合、データの送信先のルータ101Bに接続されるパケットトランスポート装置201Bは、データの送信元のルータ101Aに接続されるパケットトランスポート装置201Aの対向装置となる。 FIG. 4 shows destination MAC address learning processing when the router 101A establishes a path to the router 101B and transmits data. In this case, the packet transport device 201B connected to the data transmission destination router 101B is the opposite device of the packet transport device 201A connected to the data transmission source router 101A.
 パケットトランスポート装置201Bに記憶されるパス対応MAC学習テーブル205は、図3に示す全てのカラム301~306を含む必要はなく、MPLS入力ラベル301、MPLS出力ラベル302、宛先MACアドレス303、及びMACアドレス有効時間304を含めばよい。また、パケットトランスポート装置201Aに記憶されるパス対応MAC学習テーブル205は、MPLS入力ラベル301、MPLS出力ラベル302、ラベルスイッチ可否フラグ305、及びフラグ有効時間306を含めばよい。 The path correspondence MAC learning table 205 stored in the packet transport apparatus 201B does not have to include all the columns 301 to 306 shown in FIG. 3, but the MPLS input label 301, the MPLS output label 302, the destination MAC address 303, and the MAC The address valid time 304 may be included. The path correspondence MAC learning table 205 stored in the packet transport apparatus 201A may include the MPLS input label 301, the MPLS output label 302, the label switch availability flag 305, and the flag valid time 306.
 ルータ101Aは、データの送信を開始する場合、パス確立要求をIPフレームでルータ101Bに送信する(不図示)。ルータ101Bは、パス確立要求を受信した場合、ルータ101Aとルータ101Bとの間のパスに割り当てるMPLSラベルをペイロード部に含むIPフレームを、パス確立のためのシグナリングデータとしてルータ101Aに送信する(401)。なお、このシグナリングデータは、送信元のルータ101BのユニキャストMACアドレス及び送信先のルータ101AのユニキャストMACアドレスを含む。 When starting to transmit data, the router 101A transmits a path establishment request to the router 101B using an IP frame (not shown). When the router 101B receives the path establishment request, the router 101B transmits an IP frame including an MPLS label assigned to the path between the routers 101A and 101B in the payload portion to the router 101A as signaling data for path establishment (401). ). This signaling data includes the unicast MAC address of the source router 101B and the unicast MAC address of the destination router 101A.
 パケットトランスポート装置201Bは、パス確立のためのシグナリングデータを受信した場合、パス対応MAC学習テーブル205の受信したシグナリングデータに対応するパスを示すエントリの宛先MACアドレス303に、受信したシグナリングデータに含まれるルータ101BのユニキャストMACアドレスを登録する(402)。具体的には、パケットトランスポート装置201Bは、MPLS転送テーブル207を参照し、受信したシグナリングデータのペイロード部に含まれるMPLSラベル(出力ラベル)に対応するMPLSラベル(入力ラベル)を特定する。そして、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが特定した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが受信した出力ラベルと一致するエントリの、宛先MACアドレス303に受信したシグナリングデータのMACヘッダに含まれるルータ101BのユニキャストMACアドレスを登録し、MACアドレス有効時間304に有効時間の初期値を設定する。 When the packet transport device 201B receives the signaling data for establishing a path, the packet transport device 201B includes the destination MAC address 303 of the entry indicating the path corresponding to the received signaling data in the path corresponding MAC learning table 205, in the received signaling data. The unicast MAC address of the router 101B to be registered is registered (402). Specifically, the packet transport apparatus 201B refers to the MPLS transfer table 207, and specifies an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data. The packet transport apparatus 201B then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302. The unicast MAC address of the router 101B included in the MAC header of the received signaling data is registered in the destination MAC address 303 of the entry that matches, and the initial value of the valid time is set in the MAC address valid time 304.
 次に、パケットトランスポート装置201Bは、受信したシグナリングデータにカプセル化用のMPLS出力ラベル及びブロードキャスト宛先MACアドレスを含むMPLSヘッダ及びMACヘッダを付与し、受信したシグナリングデータをカプセル化する。そして、パケットトランスポート装置201Bは、カプセル化したシグナリングデータをパケットトランスポート装置201Aに送信する(403)。 Next, the packet transport apparatus 201B attaches an MPLS header and an MAC header including an MPLS output label for encapsulation and a broadcast destination MAC address to the received signaling data, and encapsulates the received signaling data. Then, the packet transport apparatus 201B transmits the encapsulated signaling data to the packet transport apparatus 201A (403).
 パケットトランスポート装置201Aは、カプセル化されたパス確立のためのシグナリングデータを受信した場合、対向装置であるパケットトランスポート装置201Bに宛先MACアドレスが登録されており、MPLSラベルスイッチが可能であると判断し、パス対応MAC学習テーブル205の受信したカプセル化内部のシグナリングデータに対応するパスを示すエントリのラベルスイッチ可否フラグ305に、有効を設定する(404)。具体的には、パケットトランスポート装置201Aは、MPLS転送テーブル207を参照し、受信したカプセル化内部のシグナリングデータのペイロード部に含まれるMPLSラベル(出力ラベル)に対応するMPLSラベル(入力ラベル)を特定する。そして、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが特定した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが受信した出力ラベルと一致するエントリの、ラベルスイッチ可否フラグ305に有効を設定し、フラグ有効時間306に有効時間の初期値を設定する。 When the packet transport apparatus 201A receives the signaling data for establishing the encapsulated path, the destination MAC address is registered in the packet transport apparatus 201B which is the opposite apparatus, and the MPLS label switch is possible. Judgment is made and validity is set in the label switch enable / disable flag 305 of the entry indicating the path corresponding to the received signaling data within the encapsulation in the path correspondence MAC learning table 205 (404). Specifically, the packet transport apparatus 201A refers to the MPLS transfer table 207 and determines an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data inside the encapsulation. Identify. The packet transport apparatus 201A then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302. Is set to valid for the label switch enable / disable flag 305, and an initial value of the valid time is set to the flag valid time 306.
 次に、パケットトランスポート装置201Aは、受信したカプセル化されたシグナリングデータをデカプセル化し、デカプセル化により元のIPフレームに戻ったシグナリングデータをルータ101Aに送信する(405)。 Next, the packet transport apparatus 201A decapsulates the received encapsulated signaling data, and transmits the signaling data returned to the original IP frame by decapsulation to the router 101A (405).
 以上の401~405の処理によって、ルータ101Aからルータ101Bにデータを送信するためのパスが確立される。また、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205の該当エントリのラベルスイッチ可否フラグ305に有効を設定し、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205の該当エントリの宛先MACアドレス303にルータ101BのユニキャストMACアドレスを登録する。 Through the above processes 401 to 405, a path for transmitting data from the router 101A to the router 101B is established. Further, the packet transport apparatus 201A sets “effective” in the label switch availability flag 305 of the corresponding entry of the path correspondence MAC learning table 205, and the packet transport apparatus 201B sets the destination MAC address of the corresponding entry of the path correspondence MAC learning table 205. The unicast MAC address of the router 101B is registered in 303.
 次に、ルータ101Aは、MPLSフレームをパケットトランスポート装置201Aに送信する(406)。なお、ルータ101Aが送信するMPLSフレームのMPLSヘッダ及びMACヘッダは、当該データの送信に用いるMPLSラベル及び宛先となるルータ101BのユニキャストMACアドレスを含む。 Next, the router 101A transmits an MPLS frame to the packet transport apparatus 201A (406). Note that the MPLS header and the MAC header of the MPLS frame transmitted by the router 101A include the MPLS label used for transmission of the data and the unicast MAC address of the destination router 101B.
 パケットトランスポート装置201Aは、ルータ101Aによって送信されたMPLSフレームを受信した場合、受信したMPLSフレームをMPLSラベルスイッチにより対向装置であるパケットトランスポート装置201Bに送信可能か否かを、パス対応MAC学習テーブル205を参照して、判定する。具体的には、パケットトランスポート装置201Aは、MPLS転送テーブル207を参照し、受信したMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリのラベルスイッチ可否フラグ305に有効が設定されているか否かを確認する。 When the packet transport apparatus 201A receives the MPLS frame transmitted by the router 101A, the path transport MAC learning determines whether or not the received MPLS frame can be transmitted to the packet transport apparatus 201B which is the opposite apparatus by the MPLS label switch. The determination is made with reference to the table 205. Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 It is confirmed whether or not the label switch enable / disable flag 305 of the entry that matches is set to valid.
 404の処理で、ラベルスイッチ可否フラグ305に有効が設定されているので、パケットトランスポート装置201Aは、受信したMPLSフレームをMPLSラベルスイッチにより対向装置であるパケットトランスポート装置201Bに送信可能と判定し、407及び408の処理を実行する。 Since the label switch enable / disable flag 305 is set to valid in the process of 404, the packet transport apparatus 201A determines that the received MPLS frame can be transmitted to the packet transport apparatus 201B that is the opposite apparatus by the MPLS label switch. , 407 and 408 are executed.
 パケットトランスポート装置201Aは、パス対応MAC学習テーブル205の受信したMPLSフレームに対応するパスを示すエントリのフラグ有効時間306に登録された時間を初期値に更新する(407)。具体的には、パケットトランスポート装置201Aは、MPLS転送テーブル207を参照し、受信したMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリのフラグ有効時間306に登録された時間を初期値に更新する。 The packet transport apparatus 201A updates the time registered in the flag valid time 306 of the entry indicating the path corresponding to the received MPLS frame in the path corresponding MAC learning table 205 to the initial value (407). Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 The time registered in the flag valid time 306 of the entry that matches is updated to the initial value.
 また、パケットトランスポート装置201Aは、受信したMPLSフレームのMPLSヘッダの入力ラベルを出力ラベルに変換し、受信したMPLSフレームのMACヘッダの宛先MACアドレスをブロードキャストMACアドレスに変換して、MPLSフレームをパケットトランスポート装置201Bに送信、すなわち、MPLSラベルスイッチする(408)。 The packet transport device 201A converts the input label of the MPLS header of the received MPLS frame into an output label, converts the destination MAC address of the MAC header of the received MPLS frame into a broadcast MAC address, and converts the MPLS frame into a packet. Transmission to the transport device 201B, that is, MPLS label switching is performed (408).
 パケットトランスポート装置201Bは、パケットトランスポート装置201Aによって送信されたMPLSフレームを受信した場合、パス対応MAC学習テーブル205のMACアドレス有効時間304に登録された時間を初期値に更新する(409)。具体的には、パケットトランスポート装置201Bは、MPLS転送テーブル207を参照し、受信したMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリのMACアドレス有効時間304に登録された時間を初期値に更新する。 When the packet transport device 201B receives the MPLS frame transmitted by the packet transport device 201A, the packet transport device 201B updates the time registered in the MAC address valid time 304 of the path correspondence MAC learning table 205 to the initial value (409). Specifically, the packet transport apparatus 201B refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201B matches the input label received by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205 and the output label specified by the MPLS label registered in the MPLS output label 302. The time registered in the MAC address valid time 304 of the entry that matches is updated to the initial value.
 また、パケットトランスポート装置201Bは、当該エントリの宛先MACアドレス303に登録されたMACアドレス(ルータ101BのユニキャストMACアドレス)を取得する。そして、パケットトランスポート装置201Bは、受信したMPLSフレームのMACヘッダのブロードキャスト宛先MACアドレスを取得したルータ101BのユニキャストMACアドレスに変換し、受信したMPLSフレームのMPLSヘッダのMPLSラベルを出力ラベルに変換して、MPLSフレームをルータ101Bに送信する(410)。 Also, the packet transport device 201B acquires the MAC address (unicast MAC address of the router 101B) registered in the destination MAC address 303 of the entry. Then, the packet transport apparatus 201B converts the broadcast destination MAC address of the MAC header of the received MPLS frame into the unicast MAC address of the acquired router 101B, and converts the MPLS label of the MPLS header of the received MPLS frame into an output label. Then, the MPLS frame is transmitted to the router 101B (410).
 以上によって、MPLS通信網100とMPLS-TP通信網200が接続されている場合、データの宛先となるルータ101Bに接続されたパケットトランスポート装置201Bに当該ルータ101BのユニキャストMACアドレスが保持されていれば、MPLS-TP通信網200内で通信されるMPLSフレームのMACヘッダにブロードキャスト宛先MACアドレスが付与されていても、パケットトランスポート装置201BがMPLSフレームにルータ101BのユニキャストMACアドレスを付与するので、MPLSフレームを正しく転送することができる。 As described above, when the MPLS communication network 100 and the MPLS-TP communication network 200 are connected, the unicast MAC address of the router 101B is held in the packet transport device 201B connected to the router 101B serving as the data destination. Then, even if the broadcast destination MAC address is assigned to the MAC header of the MPLS frame communicated in the MPLS-TP communication network 200, the packet transport apparatus 201B assigns the unicast MAC address of the router 101B to the MPLS frame. Therefore, the MPLS frame can be correctly transferred.
 なお、パケットトランスポート装置201Aは、ルータ101Aによって送信されたMPLSフレームを、パス対応MAC学習テーブル205の、フラグ有効時間306に登録された時間を超過して受信しない場合、ラベルスイッチ可否フラグ305に設定されたフラグを無効に設定する(411)。同様に、パケットトランスポート装置201Bは、ルータ101Aによって送信されたMPLSフレームを、パス対応MAC学習テーブル205の、MACアドレス有効時間304に登録された時間を超過して受信しない場合、宛先MACアドレス303に登録されたMACアドレスを削除する(412)。 If the packet transport apparatus 201A does not receive the MPLS frame transmitted by the router 101A beyond the time registered in the flag valid time 306 of the path correspondence MAC learning table 205, the packet transport apparatus 201A sets the label switch availability flag 305. The set flag is set to invalid (411). Similarly, when the packet transport apparatus 201B does not receive the MPLS frame transmitted by the router 101A beyond the time registered in the MAC address valid time 304 of the path correspondence MAC learning table 205, the packet transport apparatus 201B receives the destination MAC address 303. Delete the MAC address registered in (412).
 次に、411の処理でパケットトランスポート装置201Aのパス対応MAC学習テーブル205のラベルスイッチ可否フラグ305が無効に設定され、412の処理でパケットトランスポート装置201Bのパス対応MAC学習テーブル205の宛先MACアドレス303が削除された後に、ルータ101AによってMPLSフレームが送信された場合(421)のシーケンスについて説明する。なお、421の処理でルータ101Aによって送信されるMPLSフレームのMPLSヘッダ及びMACヘッダは、406の処理でルータ101Aによって送信されるMPLSフレームのMPLSヘッダ及びMACヘッダと同じく、当該データの送信に用いるMPLSラベル及び宛先となるルータ101BのユニキャストMACアドレスを含む。 Next, the label switch enable / disable flag 305 of the path correspondence MAC learning table 205 of the packet transport device 201A is set to invalid in the processing of 411, and the destination MAC of the path correspondence MAC learning table 205 of the packet transport device 201B is processed in 412. A sequence when the MPLS frame is transmitted by the router 101A after the address 303 is deleted (421) will be described. Note that the MPLS header and MAC header of the MPLS frame transmitted by the router 101A in the process 421 are the same as the MPLS header and MAC header of the MPLS frame transmitted by the router 101A in the process 406. The label and the unicast MAC address of the destination router 101B are included.
 この場合、有効時間超過のため、パケットトランスポート装置201Aは、シグナリングデータに基づいて有効に設定したラベルスイッチ可否フラグ305を無効に設定し、パケットトランスポート装置201Bはシグナリングデータに基づいて登録した宛先MACアドレス303を削除しているので、パケットトランスポート装置201Aは当該MPLSフレームに基づいてラベルスイッチ可否フラグ305を有効に設定し、パケットトランスポート装置201Bは当該MPLSフレームに基づいて宛先MACアドレス303に宛先となるルータ101BのユニキャストMACアドレスを登録する必要がある。 In this case, because the valid time has expired, the packet transport device 201A sets the label switch enable / disable flag 305 that is set valid based on the signaling data to invalid, and the packet transport device 201B sets the destination registered based on the signaling data. Since the MAC address 303 is deleted, the packet transport apparatus 201A sets the label switch enable / disable flag 305 to be valid based on the MPLS frame, and the packet transport apparatus 201B sets the destination MAC address 303 based on the MPLS frame. It is necessary to register the unicast MAC address of the destination router 101B.
 まず、パケットトランスポート装置201Aは、ルータ101Aによって送信されたMPLSフレームを受信した場合、パス対応MAC学習テーブル205の受信したMPLSフレームに対応するパスを示すエントリのラベルスイッチ可否フラグ305に、有効を設定する(422)。具体的には、パケットトランスポート装置201Aは、MPLS転送テーブル207を参照し、受信したMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリの、ラベルスイッチ可否フラグ305に有効を設定し、フラグ有効時間306に有効時間の初期値を設定する。 First, when the packet transport apparatus 201A receives the MPLS frame transmitted by the router 101A, the packet transport apparatus 201A sets the label switch enable / disable flag 305 of the entry indicating the path corresponding to the received MPLS frame in the path corresponding MAC learning table 205 to be valid. Set (422). Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 Is set to valid for the label switch enable / disable flag 305, and an initial value of the valid time is set to the flag valid time 306.
 また、パケットトランスポート装置201Aは、当該MPLSフレーム受信時には当該エントリのラベル可否フラグ305は無効に設定されているため、カプセル化用のMPLS出力ラベル及びブロードキャスト宛先MACアドレスを含むMPLSヘッダ及びMACヘッダを付与し、受信したMPLSフレームをカプセル化する。そして、パケットトランスポート装置201Aは、カプセル化したMPLSフレームをパケットトランスポート装置201Bに送信する(423)。 In addition, since the label availability flag 305 of the entry is set to be invalid when the MPLS frame is received, the packet transport apparatus 201A displays the MPLS header and the MAC header including the MPLS output label for encapsulation and the broadcast destination MAC address. And encapsulates the received MPLS frame. Then, the packet transport apparatus 201A transmits the encapsulated MPLS frame to the packet transport apparatus 201B (423).
 パケットトランスポート装置201Bは、パケットトランスポート装置201Aによって送信されたカプセル化されたMPLSフレームを受信した場合、パス対応MAC学習テーブル205の受信したカプセル化内部のMPLSフレームに対応するパスを示すエントリの宛先MACアドレス303に、受信したカプセル化内部のMPLSフレームに含まれるルータ101BのユニキャストMACアドレスを登録する(424)。具体的には、パケットトランスポート装置201Bは、MPLS転送テーブル207を参照し、受信したカプセル化内部のMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリの、宛先MACアドレス303に受信したカプセル化内部のMPLSフレームのMACヘッダに含まれるルータ101BのユニキャストMACアドレスを登録し、MACアドレス有効時間304に有効時間の初期値を設定する。 When the packet transport apparatus 201B receives the encapsulated MPLS frame transmitted by the packet transport apparatus 201A, the packet transport apparatus 201B stores an entry indicating a path corresponding to the received MPLS frame inside the encapsulated path in the path correspondence MAC learning table 205. The unicast MAC address of the router 101B included in the received MPLS frame inside the encapsulation is registered in the destination MAC address 303 (424). Specifically, the packet transport apparatus 201B refers to the MPLS forwarding table 207, and determines the MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame within the MPLS frame. Identify. Then, the packet transport device 201B matches the input label received by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205 and the output label specified by the MPLS label registered in the MPLS output label 302. The unicast MAC address of the router 101B included in the MAC header of the received MPLS frame inside the encapsulation is registered in the destination MAC address 303 of the entry that matches, and the initial value of the valid time is set in the MAC address valid time 304 .
 次に、パケットトランスポート装置201Bは、受信したカプセル化されたMPLSフレームをデカプセル化し、デカプセル化により元のMPLSフレームに戻ったMPLSフレームを、MPLSヘッダ(ルータ101Aによって付与されたMPLSヘッダ)及びMACヘッダ(ルータ101Aによって付与されたMACヘッダ)はそのままで、ルータ101Bに送信する(425)。 Next, the packet transport apparatus 201B decapsulates the received encapsulated MPLS frame, and converts the MPLS frame that has been returned to the original MPLS frame by decapsulation into an MPLS header (an MPLS header added by the router 101A) and a MAC. The header (the MAC header assigned by the router 101A) is sent as it is to the router 101B (425).
 以上の421~425の処理によって、パケットトランスポート装置201BがMPLSフレームの宛先となるルータ101BのMACアドレスを保持していない場合、パケットトランスポート装置201Aは、MPLSフレームをカプセル化して送信するため、MPLSフレームを正しく転送することができる。また、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205の該当エントリのラベルスイッチ可否フラグ305に有効を設定し、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205の該当エントリの宛先MACアドレス303にルータ101BのユニキャストMACアドレスを登録する。 When the packet transport apparatus 201B does not hold the MAC address of the router 101B that is the destination of the MPLS frame by the above processes 421 to 425, the packet transport apparatus 201A encapsulates the MPLS frame and transmits it. An MPLS frame can be correctly transferred. Further, the packet transport apparatus 201A sets “effective” in the label switch availability flag 305 of the corresponding entry of the path correspondence MAC learning table 205, and the packet transport apparatus 201B sets the destination MAC address of the corresponding entry of the path correspondence MAC learning table 205. The unicast MAC address of the router 101B is registered in 303.
 なお、図4に示す426~430の処理は、406~410の処理と同じであるので、説明を省略する。 Note that the processing from 426 to 430 shown in FIG. 4 is the same as the processing from 406 to 410, and thus description thereof is omitted.
 次に、ルータ101Aからルータ101Bへのデータの送信に用いるパスを解除する場合の処理について説明する。 Next, processing for canceling a path used for data transmission from the router 101A to the router 101B will be described.
 ルータ101Aは、データの送信を終了する場合、パス解除要求をIPフレームでルータ101Bに送信する(不図示)。ルータ101Bは、パス解除要求を受信した場合、解除するパスのMPLSラベルをペイロード部に含むIPフレームをパス解除のためのシグナリングデータとしてルータ101Aに送信する(431)。なお、このシグナリングデータは、送信元のルータ101BのユニキャストMACアドレス及び送信先のルータ101AのユニキャストMACアドレスを含む。 When the router 101A finishes data transmission, the router 101A transmits a path release request to the router 101B using an IP frame (not shown). When receiving the path release request, the router 101B transmits an IP frame including the MPLS label of the path to be released in the payload portion to the router 101A as signaling data for path release (431). This signaling data includes the unicast MAC address of the source router 101B and the unicast MAC address of the destination router 101A.
 パケットトランスポート装置201Bは、パス解除のためのシグナリングデータを受信した場合、パス対応MAC学習テーブル205の受信したシグナリングデータに対応するパスを示すエントリの宛先MACアドレス303に登録されたMACアドレスを削除する(432)。具体的には、パケットトランスポート装置201Bは、MPLS転送テーブル207を参照し、受信したシグナリングデータのペイロード部に含まれるMPLSラベル(出力ラベル)に対応するMPLSラベル(入力ラベル)を特定する。そして、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが特定した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが受信した出力ラベルと一致するエントリの、宛先MACアドレス303に登録されたMACアドレスを削除する。 When the packet transport apparatus 201B receives signaling data for path release, the packet transport apparatus 201B deletes the MAC address registered in the destination MAC address 303 of the entry indicating the path corresponding to the received signaling data in the path correspondence MAC learning table 205 (432). Specifically, the packet transport apparatus 201B refers to the MPLS transfer table 207, and specifies an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data. The packet transport apparatus 201B then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302. The MAC address registered in the destination MAC address 303 of the entry that matches is deleted.
 次に、パケットトランスポート装置201Bは、受信したシグナリングデータにカプセル化用のMPLS出力ラベル及びブロードキャスト宛先MACアドレスを含むMPLSヘッダ及びMACヘッダを付与し、受信したシグナリングデータをカプセル化する。そして、パケットトランスポート装置201Bは、カプセル化したシグナリングデータをパケットトランスポート装置201Aに送信する(433)。 Next, the packet transport apparatus 201B attaches an MPLS header and an MAC header including an MPLS output label for encapsulation and a broadcast destination MAC address to the received signaling data, and encapsulates the received signaling data. Then, the packet transport apparatus 201B transmits the encapsulated signaling data to the packet transport apparatus 201A (433).
 パケットトランスポート装置201Aは、カプセル化されたパス解除のためのシグナリングデータを受信した場合、対向装置であるパケットトランスポート装置201Bが宛先MACアドレスを削除しており、MPLSラベルスイッチが可能でないと判断し、パス対応MAC学習テーブル205の受信したカプセル化内部のシグナリングデータに対応するパスを示すエントリのラベルスイッチ可否フラグ305に、無効を設定する(434)。具体的には、パケットトランスポート装置201Aは、MPLS転送テーブル207を参照し、受信したカプセル化内部のシグナリングデータのペイロード部に含まれるMPLSラベル(出力ラベル)に対応するMPLSラベル(入力ラベル)を特定する。そして、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが特定した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが受信した出力ラベルと一致するエントリの、ラベルスイッチ可否フラグ305に無効を設定する。 When the packet transport apparatus 201A receives the encapsulated path release signaling data, the packet transport apparatus 201B, which is the opposite apparatus, deletes the destination MAC address and determines that the MPLS label switch is not possible. Then, invalidity is set in the label switch enable / disable flag 305 of the entry indicating the path corresponding to the received signaling data within the encapsulation in the path correspondence MAC learning table 205 (434). Specifically, the packet transport apparatus 201A refers to the MPLS transfer table 207 and determines an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data inside the encapsulation. Identify. The packet transport apparatus 201A then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302. Is set to invalid in the label switch availability flag 305.
 次に、パケットトランスポート装置201Aは、受信したカプセル化されたシグナリングデータをデカプセル化し、デカプセル化により元のIPフレームに戻ったシグナリングデータをルータ101Aに送信する(435)。 Next, the packet transport apparatus 201A decapsulates the received encapsulated signaling data, and transmits the signaling data returned to the original IP frame by decapsulation to the router 101A (435).
 以上の431~435の処理によって、ルータ101Aからルータ101Bにデータを送信するためのパスが解除される。 Through the above processing 431 to 435, the path for transmitting data from the router 101A to the router 101B is released.
 次に、図5A~図6Bを用いてパケットトランスポート装置201がフレームを受信した場合の処理について説明する。 Next, processing when the packet transport apparatus 201 receives a frame will be described with reference to FIGS. 5A to 6B.
 図5Aは、本発明の第1実施形態のパケットトランスポート装置201がMPLS-TP通信網200の外部から受信したフレームがMPLSフレームでない場合の処理のフローチャートである。図5Bは、本発明の第1実施形態のパケットトランスポート装置201がMPLS-TP通信網200の外部から受信したフレームがMPLSフレームである場合の処理のフローチャートである。これらの処理は、パケットトランスポート装置201の図示しないプロセッサによって実行される。 FIG. 5A is a flowchart of processing when the packet transport apparatus 201 according to the first embodiment of the present invention receives a frame received from outside the MPLS-TP communication network 200 that is not an MPLS frame. FIG. 5B is a flowchart of processing when the packet transport device 201 according to the first embodiment of this invention receives an MPLS frame from a frame received from the outside of the MPLS-TP communication network 200. These processes are executed by a processor (not shown) of the packet transport apparatus 201.
 まず、パケットトランスポート装置201は、受信したフレームがMPLSフレームであるか否かを判定する(501)。具体的には、パケットトランスポート装置201は、受信したフレームにMPLSヘッダが含まれていれば、受信したフレームがMPLSフレームであると判定し(501:Yes)、受信したフレームにMPLSヘッダが含まれていなければ、受信したフレームがMPLSフレームでないと判定する(501:No)。 First, the packet transport apparatus 201 determines whether or not the received frame is an MPLS frame (501). Specifically, if the received frame includes an MPLS header, the packet transport apparatus 201 determines that the received frame is an MPLS frame (501: Yes), and the received frame includes an MPLS header. If not, it is determined that the received frame is not an MPLS frame (501: No).
 ステップ501の処理で、受信したフレームがMPLSフレームでないと判定された場合(501:No)、パケットトランスポート装置201は、受信したフレームに対応するMPLS-TP通信網200内のパスを特定できるか否かを判定する(502)。受信したフレームがパスの確立又は解除のためのシグナリングデータであれば、MPLSラベルが受信フレームのペイロード部に含まれるので、パケットトランスポート装置201は、MPLS転送テーブル207を参照し、当該フレームに対応するMPLS-TP通信網200内のパスを特定できる。 If it is determined in step 501 that the received frame is not an MPLS frame (501: No), can the packet transport apparatus 201 identify the path in the MPLS-TP communication network 200 corresponding to the received frame? It is determined whether or not (502). If the received frame is signaling data for establishing or releasing a path, the MPLS label is included in the payload portion of the received frame, so the packet transport apparatus 201 refers to the MPLS forwarding table 207 and corresponds to the frame. The path in the MPLS-TP communication network 200 can be specified.
 ステップ502の処理で、受信したフレームに対応するMPLS-TP通信網200内のパスを特定できると判定された場合(502:Yes)、受信したフレームはパスの確立又は解除のためのシグナリングデータであるので、パケットトランスポート装置201は、パス対応MAC管理テーブル205を更新すべく、ステップ503以降の処理に進む。 If it is determined in step 502 that the path in the MPLS-TP communication network 200 corresponding to the received frame can be specified (502: Yes), the received frame is signaling data for establishing or releasing the path. Therefore, the packet transport apparatus 201 proceeds to the processing from step 503 onward in order to update the path correspondence MAC management table 205.
 まず、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、受信したフレームに対応するパスに該当するエントリを保持しているか否かを判定する(503)。 First, the packet transport apparatus 201 determines whether or not an entry corresponding to the path corresponding to the received frame is held in the path-compatible MAC learning table 205 (503).
 ステップ503の処理で、受信したフレームに対応するパスに該当するエントリを保持していないと判定された場合(503:No)、パス対応MAC学習テーブル205内に更新するエントリが存在しないので、ステップ509の処理に進む。 If it is determined in step 503 that the entry corresponding to the path corresponding to the received frame is not held (503: No), there is no entry to be updated in the path correspondence MAC learning table 205. Proceed to step 509.
 一方、ステップ503の処理で、受信したフレームに対応するパスに該当するエントリを保持していると判定された場合(503:Yes)、パケットトランスポート装置201は、受信したフレームがパスの解除のためのシグナリングデータであるか否かを判定する(504)。 On the other hand, when it is determined in step 503 that the entry corresponding to the path corresponding to the received frame is held (503: Yes), the packet transport apparatus 201 determines that the received frame is a path release. It is determined whether or not it is signaling data for use (504).
 ステップ504の処理で、受信したフレームがパスの解除のためのシグナリングデータでないと判定された場合(504:No)、すなわち、受信したフレームがパスの確立のためのシグナリングデータである場合、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303に、受信したフレームの送信元MACアドレスを登録し(505)、ステップ507の処理に進む。なお、ステップ505の処理は、図4に示す402の処理に対応する。 If it is determined in step 504 that the received frame is not signaling data for path release (504: No), that is, if the received frame is signaling data for path establishment, The port device 201 registers the source MAC address of the received frame in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205 (505), and proceeds to the processing of step 507. Note that the processing in step 505 corresponds to the processing 402 in FIG.
 一方、ステップ504の処理で、受信したフレームがパスの解除のためのシグナリングデータであると判定された場合(504:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303に登録されたMACアドレスを削除し(506)、ステップ507の処理に進む。なお、ステップ506の処理は、図4に示す432の処理に対応する。 On the other hand, when it is determined in step 504 that the received frame is signaling data for releasing the path (504: Yes), the packet transport apparatus 201 sets the corresponding entry in the path correspondence MAC learning table 205. The MAC address registered in the destination MAC address 303 is deleted (506), and the process proceeds to step 507. Note that the processing of step 506 corresponds to the processing of 432 shown in FIG.
 ステップ505の処理でパス対応MAC学習テーブル205の宛先MACアドレス303にMACアドレスが登録された場合、又は、ステップ506の処理でパス対応MAC学習テーブル205の宛先MACアドレス303からMACアドレスが削除された場合、パケットトランスポート装置201は、ステップ502の処理で特定された当該パスが障害状態として設定されているか否かを判定する(507)。 When the MAC address is registered in the destination MAC address 303 of the path corresponding MAC learning table 205 in the process of step 505, or the MAC address is deleted from the destination MAC address 303 of the path corresponding MAC learning table 205 in the process of step 506. In this case, the packet transport apparatus 201 determines whether or not the path identified in the process of step 502 is set as a failure state (507).
 ステップ507の処理で、当該パスが障害状態として設定されていると判定された場合(507:Yes)、パケットトランスポート装置201は当該障害状態の設定を解除し(508)、ステップ509の処理に進む。障害状態の設定を解除する理由は、シグナリングデータはパス確立要求又はパス解除要求に対する応答であるので、当該パスに障害は発生していないとみなすからである。 If it is determined in step 507 that the path is set as a failure state (507: Yes), the packet transport apparatus 201 cancels the setting of the failure state (508), and the processing in step 509 is performed. move on. The reason for canceling the setting of the failure state is that since the signaling data is a response to the path establishment request or the path cancellation request, it is considered that no failure has occurred in the path.
 ステップ507の処理で、当該パスが障害状態として設定されていないと判定された場合(507:No)、又はステップ508の処理を実行した場合、パケットトランスポート装置201は、カプセル化用のMPLS出力ラベル及びブロードキャスト宛先MACアドレスを含むMPLSヘッダ及びMACヘッダを付与し、受信したフレームをカプセル化して、カプセル化した受信フレームを送信する(509)。 When it is determined in step 507 that the path is not set as a failure state (507: No), or when the process in step 508 is executed, the packet transport apparatus 201 outputs an MPLS output for encapsulation. An MPLS header and a MAC header including a label and a broadcast destination MAC address are added, the received frame is encapsulated, and the encapsulated received frame is transmitted (509).
 なお、ステップ502の処理で、受信したフレームに対応するMPLS-TP通信網200内のパスを特定できないと判定された場合(502:No)、ステップ509の処理に進み、受信したフレームをカプセル化して、カプセル化した受信フレームを送信する。 If it is determined in step 502 that the path in the MPLS-TP communication network 200 corresponding to the received frame cannot be specified (502: No), the process proceeds to step 509 and the received frame is encapsulated. Then, the encapsulated received frame is transmitted.
 ステップ501の処理で、受信したフレームがMPLSフレームであると判定された場合(501:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、受信したMPLSフレームのMPLSヘッダに含まれるMPLSラベルに対応するパスに該当するエントリを保持しているか否かを判定する(510)。 When it is determined in the process of step 501 that the received frame is an MPLS frame (501: Yes), the packet transport device 201 is included in the MPLS header of the received MPLS frame in the path correspondence MAC learning table 205. It is determined whether or not the entry corresponding to the path corresponding to the MPLS label is held (510).
 ステップ510の処理で、受信したMPLSフレームに対応するパスに該当するエントリを保持していないと判定された場合(510:No)、パケットトランスポート装置201は、対向装置であるパケットトランスポート装置201にMPLSフレームを送信する場合にMPLSラベルスイッチの実施が可能か否かを判定できないため、ステップ513の処理に進む。 If it is determined in step 510 that the entry corresponding to the path corresponding to the received MPLS frame is not held (510: No), the packet transport apparatus 201 is the opposite apparatus, the packet transport apparatus 201. Since it is not possible to determine whether or not the MPLS label switch can be performed when the MPLS frame is transmitted to step S513, the process proceeds to step 513.
 一方、ステップ510の処理で、受信したMPLSフレームに対応するパスに該当するエントリを保持していると判定された場合(510:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリのラベルスイッチ可否フラグ305に有効が設定されているか否かを判定する(511)。 On the other hand, when it is determined in step 510 that the entry corresponding to the path corresponding to the received MPLS frame is held (510: Yes), the packet transport apparatus 201 stores the entry corresponding to the path corresponding MAC learning table 205. It is determined whether or not validity is set in the label switch enable / disable flag 305 of the corresponding entry (511).
 ステップ511の処理で、該当するエントリのラベルスイッチ可否フラグ305に有効が設定されていないと判定された場合(511:No)、パケットトランスポート装置201は、該当するエントリのラベルスイッチ可否フラグ305に有効を設定し(512)、カプセル化用のMPLS出力ラベル及びブロードキャスト宛先MACアドレスを含むMPLSヘッダ及びMACヘッダを付与し、受信したMPLSフレームをカプセル化して、カプセル化したMPLSフレームを送信する(513)。ステップ512の処理でラベルスイッチ可否フラグ305に有効を設定する理由は、ステップ513で送信するカプセル化したMPLSフレームを対向装置であるパケットトランスポート装置201が受信して宛先MACアドレスを登録することによって、MPLSラベルスイッチが可能になるためである。なお、ステップ512の処理は、図4に示す422の処理に対応する。 If it is determined in step 511 that the validity of the label switch availability flag 305 of the corresponding entry is not set (511: No), the packet transport apparatus 201 sets the label switch availability flag 305 of the applicable entry. Enable is set (512), an MPLS header and MAC header including an MPLS output label for encapsulation and a broadcast destination MAC address are added, the received MPLS frame is encapsulated, and the encapsulated MPLS frame is transmitted (513). ). The reason why the label switch enable / disable flag 305 is set to valid in the process of step 512 is that the packet transport device 201 which is the opposite device receives the encapsulated MPLS frame transmitted in step 513 and registers the destination MAC address. This is because an MPLS label switch becomes possible. Note that the processing of step 512 corresponds to the processing of 422 shown in FIG.
 ステップ511の処理で、該当するエントリのラベルスイッチ可否フラグ305に有効が設定されていると判定された場合(511:Yes)、パケットトランスポート装置201は、該当するエントリのフラグ有効時間306に登録された時間を初期値に更新する(514)。なお、ステップ514の処理は、図4に示す407及び427の処理に対応する。 If it is determined in the processing of step 511 that validity is set in the label switch availability flag 305 of the corresponding entry (511: Yes), the packet transport apparatus 201 registers in the flag valid time 306 of the corresponding entry. The updated time is updated to an initial value (514). Note that the processing of step 514 corresponds to the processing of 407 and 427 shown in FIG.
 そして、パケットトランスポート装置201は、ステップ510の処理で特定されたパスが障害状態であるか否かを判定する(515)。 Then, the packet transport apparatus 201 determines whether or not the path specified in the process of step 510 is in a failure state (515).
 ステップ515の処理で、パスが障害状態であると判定された場合(515:Yes)、パケットトランスポート装置201は、ステップ513の処理に進み、受信したMPLSフレームをカプセル化して、カプセル化したMPLSフレームを送信する。 If it is determined in step 515 that the path is in a failed state (515: Yes), the packet transport apparatus 201 proceeds to step 513, encapsulates the received MPLS frame, and encapsulates the MPLS. Send a frame.
 一方、ステップ515の処理で、パスが障害状態でないと判定された場合(515:No)、パケットトランスポート装置201は、受信したMPLSフレームのMPLSヘッダの入力MPLSラベルを出力ラベルに変換し、受信したMPLSフレームのMACヘッダの宛先MACアドレスをブロードキャストMACアドレスに変換して、MPLSフレームを対向装置であるパケットトランスポート装置201に送信、すなわちMPLSラベルスイッチする(516)。 On the other hand, if it is determined in step 515 that the path is not in a failure state (515: No), the packet transport apparatus 201 converts the input MPLS label in the MPLS header of the received MPLS frame into an output label, and receives the received label. The destination MAC address in the MAC header of the MPLS frame is converted into a broadcast MAC address, and the MPLS frame is transmitted to the packet transport device 201 which is the opposite device, that is, MPLS label switching is performed (516).
 図6Aは、本発明の第1実施形態のパケットトランスポート装置201がMPLS-TP通信網200の内部から受信したフレームがカプセル化フレームである場合の処理のフローチャートである。図6Bは、本発明の第1実施形態のパケットトランスポート装置201がMPLS-TP通信網200の内部から受信したフレームがカプセル化フレームでない場合の処理のフローチャートである。これらの処理は、パケットトランスポート装置201の図示しないプロセッサによって実行される。 FIG. 6A is a flowchart of processing when the packet transport device 201 according to the first embodiment of this invention receives a frame received from the inside of the MPLS-TP communication network 200 as an encapsulated frame. FIG. 6B is a flowchart of processing when the packet transport apparatus 201 according to the first embodiment of this invention receives a frame received from the inside of the MPLS-TP communication network 200 that is not an encapsulated frame. These processes are executed by a processor (not shown) of the packet transport apparatus 201.
 まず、パケットトランスポート装置201は、受信したフレームがカプセル化されたフレームであるか否かを判定する(601)。 First, the packet transport apparatus 201 determines whether or not the received frame is an encapsulated frame (601).
 ステップ601の処理で、受信したフレームがカプセル化されたフレームであると判定された場合(601:Yes)、パケットトランスポート装置201は、カプセル化内部のフレームがMPLSフレームであるか否かを判定する(602)。具体的には、パケットトランスポート装置201は、カプセル化内部のフレームにMPLSヘッダが含まれているか否かを判定する。 When it is determined in step 601 that the received frame is an encapsulated frame (601: Yes), the packet transport apparatus 201 determines whether the frame inside the encapsulation is an MPLS frame. (602). Specifically, the packet transport apparatus 201 determines whether an MPLS header is included in a frame inside the encapsulation.
 ステップ602の処理で、カプセル化内部のフレームがMPLSフレームでないと判定された場合(602:No)、パケットトランスポート装置201は、カプセル化内部のフレームに対応するMPLS-TP通信網200内のパスを特定できるか否かを判定する(603)。カプセル化内部のフレームがパスの確立又は解除のためのシグナリングデータであれば、MPLSラベルがカプセル化内部のフレームのペイロード部に含まれるので、パケットトランスポート装置201は、MPLS転送テーブル207を参照し、当該フレームに対応するMPLS-TP通信網200内のパスを特定できる。 If it is determined in step 602 that the encapsulated frame is not an MPLS frame (602: No), the packet transport apparatus 201 passes the path in the MPLS-TP communication network 200 corresponding to the encapsulated frame. It is determined whether or not can be specified (603). If the encapsulated frame is signaling data for establishing or releasing a path, the MPLS label is included in the payload portion of the encapsulated frame, so the packet transport apparatus 201 refers to the MPLS forwarding table 207. The path in the MPLS-TP communication network 200 corresponding to the frame can be specified.
 ステップ603の処理で、カプセル化内部のフレームに対応するMPLS-TP通信網200内のパスを特定できると判定された場合(603:Yes)、カプセル化内部のフレームはパスの確立又は解除のためのシグナリングデータであるので、パケットトランスポート装置201は、パス対応MAC管理テーブル205を更新すべく、ステップ604以降の処理に進む。 If it is determined in step 603 that the path in the MPLS-TP communication network 200 corresponding to the frame inside the encapsulation can be specified (603: Yes), the frame inside the encapsulation is used for establishing or releasing the path. Therefore, the packet transport apparatus 201 proceeds to the processing from step 604 onward in order to update the path correspondence MAC management table 205.
 まず、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、カプセル化内部のフレームに対応するパスに該当するエントリを保持しているか否かを判定する(604)。 First, the packet transport apparatus 201 determines whether or not the entry corresponding to the path corresponding to the frame inside the encapsulation is held in the path-compatible MAC learning table 205 (604).
 ステップ604の処理で、カプセル化内部のフレームに対応するパスに該当するエントリを保持していないと判定された場合(604:No)、パス対応MAC学習テーブル205内に更新するエントリが存在しないので、ステップ608の処理に進む。 If it is determined in step 604 that the entry corresponding to the path corresponding to the frame in the encapsulation is not held (604: No), there is no entry to be updated in the path correspondence MAC learning table 205. The process proceeds to step 608.
 一方、ステップ604の処理で、カプセル化内部のフレームに対応するパスに該当するエントリを保持していると判定された場合(604:Yes)、パケットトランスポート装置201は、カプセル化内部のフレームがパスの解除のためのシグナリングデータであるか否かを判定する(605)。 On the other hand, when it is determined in step 604 that the entry corresponding to the path corresponding to the frame inside the encapsulation is held (604: Yes), the packet transport apparatus 201 determines that the frame inside the encapsulation is It is determined whether or not it is signaling data for path release (605).
 ステップ605の処理で、カプセル化内部のフレームがパスの解除のためのシグナリングデータでないと判定された場合(605:No)、すなわち、カプセル化内部のフレームがパスの確立のためのシグナリングデータである場合、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリのラベルスイッチ可否フラグ305に有効を設定し(606)、ステップ608の処理に進む。なお、ステップ606の処理は、図4に示す404の処理に対応する。 When it is determined in step 605 that the frame inside the encapsulation is not signaling data for path release (605: No), that is, the frame inside the encapsulation is signaling data for path establishment. In this case, the packet transport apparatus 201 sets the label switch availability flag 305 of the corresponding entry in the path correspondence MAC learning table 205 to be valid (606), and proceeds to the process of step 608. Note that the processing of step 606 corresponds to the processing of 404 shown in FIG.
 一方、ステップ605の処理で、カプセル化内部のフレームがパスの解除のためのシグナリングデータであると判定された場合(605:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリのラベルスイッチ可否フラグ305に無効を設定し(607)、ステップ608の処理に進む。なお、ステップ607の処理は、図4に示す434の処理に対応する。 On the other hand, when it is determined in the processing of step 605 that the frame inside the encapsulation is signaling data for path release (605: Yes), the packet transport apparatus 201 determines that the corresponding in the path corresponding MAC learning table 205. Invalidity is set in the label switch enable / disable flag 305 of the entry to be entered (607), and the process proceeds to step 608. Note that the processing of step 607 corresponds to the processing of 434 shown in FIG.
 ステップ606の処理でパス対応MAC学習テーブル205のラベルスイッチ可否フラグ305に有効が設定された場合、又は、ステップ607の処理でパス対応MAC学習テーブル205のラベルスイッチ可否フラグ305に無効が設定された場合、パケットトランスポート装置201は、受信したフレームをデカプセル化して送信する(608)。 When the label switch enable / disable flag 305 of the path-capable MAC learning table 205 is set valid in the process of step 606, or invalid is set to the label switch enable / disable flag 305 of the path-capable MAC learning table 205 in the process of step 607. In this case, the packet transport apparatus 201 decapsulates the received frame and transmits it (608).
 なお、ステップ603の処理で、カプセル化内部のフレームに対応するMPLS-TP通信網200内のパスを特定できないと判定された場合(603:No)、ステップ608の処理に進み、受信したフレームをデカプセル化して送信する。 If it is determined in step 603 that the path in the MPLS-TP communication network 200 corresponding to the encapsulated frame cannot be specified (603: No), the process proceeds to step 608, and the received frame is Decapsulate and send.
 ステップ602の処理で、カプセル化内部のフレームがMPLSフレームであると判定された場合(602:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、カプセル化内部のMPLSフレームに含まれるMPLSラベルに対応するパスに該当するエントリを保持しているか否かを判定する(609)。 When it is determined in step 602 that the frame inside the encapsulation is an MPLS frame (602: Yes), the packet transport device 201 stores the MPLS frame inside the encapsulation in the path-compatible MAC learning table 205. It is determined whether an entry corresponding to the path corresponding to the included MPLS label is held (609).
 ステップ609の処理で、カプセル化内部のMPLSフレームに対応するパスに該当するエントリを保持していないと判定された場合(609:No)、パス対応MAC学習テーブル205内に更新するエントリが存在しないので、ステップ608の処理に進み、受信したフレームをデカプセル化して送信する。 If it is determined in step 609 that the entry corresponding to the path corresponding to the MPLS frame within the encapsulation is not held (609: No), there is no entry to be updated in the path correspondence MAC learning table 205. Thus, the process proceeds to step 608, where the received frame is decapsulated and transmitted.
 一方、ステップ609の処理で、カプセル化内部のMPLSフレームに対応するパスに該当するエントリを保持していると判定された場合(609:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303に、カプセル化内部のMPLSフレームの宛先MACアドレスを登録し(610)、ステップ611の処理に進む。なお、ステップ610の処理は、図4に示す424の処理に対応する。 On the other hand, if it is determined in step 609 that the entry corresponding to the path corresponding to the MPLS frame inside the encapsulation is held (609: Yes), the packet transport apparatus 201 uses the path-compatible MAC learning table. The destination MAC address of the MPLS frame in the encapsulation is registered in the destination MAC address 303 of the corresponding entry 205 (610), and the process proceeds to step 611. Note that the processing of step 610 corresponds to the processing of 424 shown in FIG.
 ステップ610の処理でパス対応MAC学習テーブル205の宛先MACアドレス303にMACアドレスが登録された場合、パケットトランスポート装置201は、ステップ609の処理で特定された当該パスが障害状態として設定されているか否かを判定する(611)。 If the MAC address is registered in the destination MAC address 303 of the path correspondence MAC learning table 205 in the process of step 610, the packet transport apparatus 201 determines whether the path specified in the process of step 609 is set as a failure state. It is determined whether or not (611).
 ステップ611の処理で、当該パスが障害状態として設定されていると判定された場合(611:Yes)、パケットトランスポート装置201は当該障害状態の設定を解除し(612)、ステップ608の処理に進み、受信したフレームをデカプセル化して送信する。 If it is determined in step 611 that the path is set as a failure state (611: Yes), the packet transport apparatus 201 cancels the setting of the failure state (612), and the processing in step 608 is performed. Then, decapsulate the received frame and transmit it.
 一方、ステップ611の処理で、当該パスが障害状態として設定されていないと判定された場合(611:No)、パケットトランスポート装置201は、ステップ608の処理に進み、受信したフレームをデカプセル化して送信する。 On the other hand, when it is determined in step 611 that the path is not set as a failure state (611: No), the packet transport apparatus 201 proceeds to the process in step 608 and decapsulates the received frame. Send.
 ステップ601の処理で、受信したフレームがカプセル化されたフレームでないと判定された場合(601:No)、すなわち、受信したフレームはMPLSラベルスイッチされたMPLSフレームである場合、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、受信したMPLSフレームに含まれるMPLSラベルに対応するパスに該当するエントリを保持しているか否かを判定する(613)。 If it is determined in step 601 that the received frame is not an encapsulated frame (601: No), that is, if the received frame is an MPLS frame that has been subjected to MPLS label switching, the packet transport device 201 Then, it is determined whether or not an entry corresponding to the path corresponding to the MPLS label included in the received MPLS frame is held in the path correspondence MAC learning table 205 (613).
 ステップ613の処理で、受信したMPLSフレームに対応するパスに該当するエントリを保持していると判定された場合(613:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303にMACアドレスが登録されているか否かを判定する(614)。 If it is determined in step 613 that the entry corresponding to the path corresponding to the received MPLS frame is held (613: Yes), the packet transport apparatus 201 corresponds to the corresponding MAC learning table 205 in the path. It is determined whether a MAC address is registered in the destination MAC address 303 of the entry (614).
 ステップ614の処理で、該当するエントリの宛先MACアドレス303にMACアドレスが登録されていると判定された場合(614:Yes)、パケットトランスポート装置201は、該当するエントリのMACアドレス有効時間304に登録された時間を初期値に更新する(615)。なお、ステップ615の処理は、図4に示す409の処理に対応する。 When it is determined in step 614 that the MAC address is registered in the destination MAC address 303 of the corresponding entry (614: Yes), the packet transport apparatus 201 sets the MAC address valid time 304 of the corresponding entry. The registered time is updated to the initial value (615). Note that the processing of step 615 corresponds to the processing of 409 shown in FIG.
 そして、パケットトランスポート装置201は、受信したMPLSフレームのMPLSヘッダの入力MPLSラベルを出力ラベルに変換し、受信したMPLSフレームのMACヘッダの宛先MACアドレスをパス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303に保持しているユニキャストMACアドレスに変換して、MPLSフレームをルータ101に送信する(616)。 Then, the packet transport device 201 converts the input MPLS label of the MPLS header of the received MPLS frame into an output label, and converts the destination MAC address of the MAC header of the received MPLS frame to the corresponding entry in the path correspondence MAC learning table 205. It converts to a unicast MAC address held in the destination MAC address 303 and transmits the MPLS frame to the router 101 (616).
 ステップ613の処理で、受信したMPLSフレームに対応するパスに該当するエントリを保持していないと判定された場合(613:No)、又は、ステップ614の処理で、該当するエントリの宛先MACアドレス303にMACアドレスが登録されていないと判定された場合(614:No)、パケットトランスポート装置201は、ステップ613の処理で特定された当該パスが障害状態として設定されているか否かを判定する(617)。 When it is determined in step 613 that the entry corresponding to the path corresponding to the received MPLS frame is not held (613: No), or in step 614, the destination MAC address 303 of the corresponding entry is determined. When it is determined that the MAC address is not registered in (614: No), the packet transport apparatus 201 determines whether or not the path specified in the process of step 613 is set as a failure state ( 617).
 ステップ617の処理で、当該パスが障害状態として設定されていると判定された場合(617:Yes)、パケットトランスポート装置201は、受信したMPLSフレームのMACヘッダの宛先MACアドレスに設定するユニキャストMACアドレスを保持していないため、受信したMPLSフレームを廃棄する(619)。 When it is determined in step 617 that the path is set as a failure state (617: Yes), the packet transport apparatus 201 sets the unicast to be set as the destination MAC address of the MAC header of the received MPLS frame. Since the MAC address is not held, the received MPLS frame is discarded (619).
 一方、ステップ617の処理で、当該パスが障害状態として設定されていないと判定された場合(617:No)、パケットトランスポート装置201は、当該パスを障害状態として設定し(618)、ステップ619の処理に進み、受信したMPLSフレームを廃棄する。 On the other hand, if it is determined in step 617 that the path is not set as a failure state (617: No), the packet transport apparatus 201 sets the path as a failure state (618), and step 619 is performed. Then, the received MPLS frame is discarded.
 以上のように、本実施形態では、MPLSフレームをルータ101から受信したパケットトランスポート装置201は、対向装置であるパケットトランスポート装置201に宛先となるルータ101のユニキャストMACアドレスが保持されている場合、受信したMPLSフレームをMPLSラベルスイッチして送信し、対向装置であるパケットトランスポート装置201に宛先となるルータ101のユニキャストMACアドレスが保持されていない場合、受信したMPLSフレームをカプセル化して送信する。これによって、対向装置であるパケットトランスポート装置201が当該MPLSフレームの宛先となるルータ101のユニキャストMACアドレスを保持していない場合であっても、対向装置であるパケットトランスポート装置201は、カプセル化されたMPLSフレームを受信することによって、カプセル化内部のMPLSフレームに含まれる、宛先となるルータ101のユニキャストMACアドレスを保持することができる。また、従来のMPLSを用いる通信網とMPLS-TPを用いる通信網が接続される場合であっても、MPLSフレームの通信処理を正しく実施可能な通信システムを提供することができる。 As described above, in the present embodiment, the packet transport apparatus 201 that has received the MPLS frame from the router 101 holds the unicast MAC address of the destination router 101 in the packet transport apparatus 201 that is the opposite apparatus. In this case, the received MPLS frame is transmitted by MPLS label switching, and when the unicast MAC address of the destination router 101 is not held in the packet transport device 201 which is the opposite device, the received MPLS frame is encapsulated. Send. As a result, even if the packet transport device 201 that is the opposite device does not hold the unicast MAC address of the router 101 that is the destination of the MPLS frame, the packet transport device 201 that is the opposite device By receiving the converted MPLS frame, the unicast MAC address of the destination router 101 included in the MPLS frame inside the encapsulation can be held. Further, even when a conventional communication network using MPLS and a communication network using MPLS-TP are connected, it is possible to provide a communication system capable of correctly performing communication processing of MPLS frames.
 (第2実施形態)
 第1実施形態では、パケットトランスポート装置201は、MPLS-TP通信網200内で通信されるMPLSフレームのMACヘッダに、ブロードキャストMACアドレスを付与して送信する。第2実施形態では、パケットトランスポート装置201は、MPLS-TP通信網200内で通信されるMPLSフレームのMACヘッダに、宛先となるルータ101のユニキャストMACアドレスを付与して送信する。これによって、通信の正確性を向上させることができる。
(Second Embodiment)
In the first embodiment, the packet transport apparatus 201 assigns a broadcast MAC address to the MAC header of an MPLS frame communicated within the MPLS-TP communication network 200 and transmits the result. In the second embodiment, the packet transport apparatus 201 assigns the unicast MAC address of the destination router 101 to the MAC header of the MPLS frame communicated in the MPLS-TP communication network 200 and transmits the result. Thereby, the accuracy of communication can be improved.
 本発明の第2実施形態を図7~図9Cを用いて説明する。 A second embodiment of the present invention will be described with reference to FIGS. 7 to 9C.
 図7は、本発明の第2実施形態の宛先MACアドレス学習処理のシーケンス図である。 FIG. 7 is a sequence diagram of destination MAC address learning processing according to the second embodiment of this invention.
 ルータ101Aは、データの送信を開始する場合、パス確立要求をIPフレームでルータ101Bに送信する(不図示)。ルータ101Bは、パス確立要求を受信した場合、ルータ101Aとルータ101Bとの間の当該パスに割り当てるMPLSラベルをペイロード部に含むIPフレームを、パス確立のためのシグナリングデータとしてルータ101Aに送信する(701)。なお、このシグナリングデータは、送信元のルータ101BのユニキャストMACアドレス及び送信先のルータ101AのユニキャストMACアドレスを含む。 When starting to transmit data, the router 101A transmits a path establishment request to the router 101B using an IP frame (not shown). When the router 101B receives the path establishment request, the router 101B transmits an IP frame including an MPLS label to be assigned to the path between the routers 101A and 101B in the payload portion to the router 101A as signaling data for path establishment ( 701). This signaling data includes the unicast MAC address of the source router 101B and the unicast MAC address of the destination router 101A.
 パケットトランスポート装置201Bは、パス確立のためのシグナリングデータを受信した場合、パス対応MAC学習テーブル205の受信したシグナリングデータに対応するパスを示すエントリの宛先MACアドレス303に、受信したシグナリングデータに含まれるルータ101BのユニキャストMACアドレスを登録する(702)。具体的には、パケットトランスポート装置201Bは、MPLS転送テーブル207を参照し、受信したシグナリングデータのペイロード部に含まれるMPLSラベル(出力ラベル)に対応するMPLSラベル(入力ラベル)を特定する。そして、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが特定した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが受信した出力ラベルと一致するエントリの、宛先MACアドレス303に受信したシグナリングデータのMACヘッダに含まれるルータ101BのユニキャストMACアドレスを登録し、MACアドレス有効時間304に有効時間の初期値を設定する。 When the packet transport device 201B receives the signaling data for establishing a path, the packet transport device 201B includes the destination MAC address 303 of the entry indicating the path corresponding to the received signaling data in the path corresponding MAC learning table 205, in the received signaling data. The unicast MAC address of the router 101B to be registered is registered (702). Specifically, the packet transport apparatus 201B refers to the MPLS transfer table 207, and specifies an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data. The packet transport apparatus 201B then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302. The unicast MAC address of the router 101B included in the MAC header of the received signaling data is registered in the destination MAC address 303 of the entry that matches, and the initial value of the valid time is set in the MAC address valid time 304.
 次に、パケットトランスポート装置201Bは、受信したシグナリングデータにカプセル化用のMPLS出力ラベル及びブロードキャスト宛先MACアドレスを含むMPLSヘッダ及びMACヘッダを付与し、受信したシグナリングデータをカプセル化する。そして、パケットトランスポート装置201Bは、カプセル化したシグナリングデータをパケットトランスポート装置201Aに送信する(703)。 Next, the packet transport apparatus 201B attaches an MPLS header and an MAC header including an MPLS output label for encapsulation and a broadcast destination MAC address to the received signaling data, and encapsulates the received signaling data. Then, the packet transport apparatus 201B transmits the encapsulated signaling data to the packet transport apparatus 201A (703).
 パケットトランスポート装置201Aは、カプセル化されたパス確立のためのシグナリングデータを受信した場合、パス対応MAC学習テーブル205の受信したカプセル化内部のシグナリングデータに対応するパスを示すエントリの、宛先MACアドレス303に、受信したカプセル化内部のシグナリングデータに含まれるルータ101BのユニキャストMACアドレスを登録し、ラベルスイッチ可否フラグ305に、有効を設定する(704)。具体的には、パケットトランスポート装置201Aは、MPLS転送テーブル207を参照し、受信したカプセル化内部のシグナリングデータのペイロード部に含まれるMPLSラベル(出力ラベル)に対応するMPLSラベル(入力ラベル)を特定する。そして、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが特定した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが受信した出力ラベルと一致するエントリの、宛先MACアドレス303に受信したカプセル化内部のシグナリングデータのMACヘッダに含まれるルータ101BのユニキャストMACアドレスを登録し、MACアドレス有効時間304に有効時間の初期値を設定する。さらに、ラベルスイッチ可否フラグ305に有効を設定し、フラグ有効時間306に有効時間の初期値を設定する。 When the packet transport apparatus 201A receives the signaling data for establishing the encapsulated path, the destination MAC address of the entry indicating the path corresponding to the received encapsulation-internal signaling data in the path correspondence MAC learning table 205 The unicast MAC address of the router 101B included in the received signaling data inside the encapsulation is registered in 303, and the validity is set in the label switch availability flag 305 (704). Specifically, the packet transport apparatus 201A refers to the MPLS transfer table 207 and determines an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data inside the encapsulation. Identify. The packet transport apparatus 201A then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302. The unicast MAC address of the router 101B included in the MAC header of the received signaling data within the encapsulation is registered in the destination MAC address 303 of the entry that matches, and the initial value of the valid time is set in the MAC address valid time 304 . Further, the label switch enable / disable flag 305 is set to valid, and the flag valid time 306 is set to an initial value of the valid time.
 次に、パケットトランスポート装置201Aは、受信したカプセル化されたシグナリングデータをデカプセル化し、デカプセル化により元のIPフレームに戻ったシグナリングデータをルータ101Aに送信する(705)。 Next, the packet transport apparatus 201A decapsulates the received encapsulated signaling data, and transmits the signaling data returned to the original IP frame by decapsulation to the router 101A (705).
 以上の701~705の処理によって、ルータ101Aからルータ101Bにデータを送信するためのパスが確立される。また、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205の該当エントリの宛先MACアドレス303にルータ101BのユニキャストMACアドレスを登録し、ラベルスイッチ可否フラグ305に有効を設定し、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205の該当エントリの宛先MACアドレス303にルータ101BのユニキャストMACアドレスを登録する。 Through the above processing 701 to 705, a path for transmitting data from the router 101A to the router 101B is established. Further, the packet transport apparatus 201A registers the unicast MAC address of the router 101B in the destination MAC address 303 of the corresponding entry of the path correspondence MAC learning table 205, sets the label switch enable / disable flag 305 to be valid, and the packet transport apparatus 201B registers the unicast MAC address of the router 101B in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205.
 次に、ルータ101Aは、MPLSフレームをパケットトランスポート装置201Aに送信する(706)。なお、ルータ101Aが送信するMPLSフレームのMPLSヘッダ及びMACヘッダは、当該データの送信に用いるMPLSラベル及び宛先となるルータ101BのユニキャストMACアドレスを含む。 Next, the router 101A transmits an MPLS frame to the packet transport apparatus 201A (706). Note that the MPLS header and the MAC header of the MPLS frame transmitted by the router 101A include the MPLS label used for transmission of the data and the unicast MAC address of the destination router 101B.
 パケットトランスポート装置201Aは、ルータ101Aによって送信されたMPLSフレームを受信した場合、受信したMPLSフレームを対向装置であるパケットトランスポート装置201BにMPLSラベルスイッチにより送信可能か否かを、パス対応MAC学習テーブル205を参照して、判定する。具体的には、パケットトランスポート装置201Aは、MPLS転送テーブル207を参照し、受信したMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリのラベルスイッチ可否フラグ305に有効が設定されているか否かを確認する。 When the packet transport apparatus 201A receives the MPLS frame transmitted by the router 101A, the path transport MAC learning determines whether or not the received MPLS frame can be transmitted to the packet transport apparatus 201B which is the opposite apparatus by the MPLS label switch. The determination is made with reference to the table 205. Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 It is confirmed whether or not the label switch enable / disable flag 305 of the entry that matches is set to valid.
 704の処理で、ラベルスイッチ可否フラグ305に有効が設定されているので、パケットトランスポート装置201Aは、受信したMPLSフレームを対向装置であるパケットトランスポート装置201BにMPLSラベルスイッチにより送信可能と判定し、707及び708の処理を実行する。 In the processing of 704, since the label switch enable / disable flag 305 is set to valid, the packet transport apparatus 201A determines that the received MPLS frame can be transmitted to the packet transport apparatus 201B that is the opposite apparatus by the MPLS label switch. , 707 and 708 are executed.
 パケットトランスポート装置201Aは、パス対応MAC学習テーブル205の受信したMPLSフレームに対応するパスを示すエントリの、MACアドレス有効時間304に登録された時間を初期値に更新し、フラグ有効時間306に登録された時間を初期値に更新する(707)。具体的には、パケットトランスポート装置201Aは、MPLS転送テーブル207を参照し、受信したMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリの、MACアドレス有効時間304に登録された時間を初期値に更新し、フラグ有効時間306に登録された時間を初期値に更新する。 The packet transport apparatus 201A updates the time registered in the MAC address valid time 304 of the entry indicating the path corresponding to the received MPLS frame in the path correspondence MAC learning table 205 to the initial value and registers it in the flag valid time 306. The set time is updated to the initial value (707). Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 The time registered in the MAC address valid time 304 of the entry that coincides with is updated to the initial value, and the time registered in the flag valid time 306 is updated to the initial value.
 また、パケットトランスポート装置201Aは、当該エントリの宛先MACアドレス303に登録されたMACアドレス(ルータ101BのユニキャストMACアドレス)を取得する。そして、パケットトランスポート装置201Aは、受信したMPLSフレームのMPLSヘッダの入力ラベルを出力ラベルに変換し、受信したMPLSフレームのMACヘッダの宛先MACアドレスを取得したルータ101BのユニキャストMACアドレスに変換して、MPLSフレームをパケットトランスポート装置201Bに送信、すなわち、MPLSラベルスイッチする(708)。 Further, the packet transport apparatus 201A acquires the MAC address (unicast MAC address of the router 101B) registered in the destination MAC address 303 of the entry. Then, the packet transport device 201A converts the input label of the MPLS header of the received MPLS frame into an output label, and converts the destination MAC address of the MAC header of the received MPLS frame into the unicast MAC address of the acquired router 101B. Then, the MPLS frame is transmitted to the packet transport apparatus 201B, that is, the MPLS label is switched (708).
 パケットトランスポート装置201Bは、パケットトランスポート装置201Aによって送信されたMPLSフレームを受信した場合、パス対応MAC学習テーブル205のMACアドレス有効時間304に登録された時間を初期値に更新する(709)。具体的には、パケットトランスポート装置201Bは、MPLS転送テーブル207を参照し、受信したMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致し、宛先MACアドレス303に登録されたMACアドレスが受信したMPLSフレームのMACヘッダの宛先MACアドレスと一致するエントリのMACアドレス有効時間304に登録された時間を初期値に更新する。 When the packet transport device 201B receives the MPLS frame transmitted by the packet transport device 201A, the packet transport device 201B updates the time registered in the MAC address valid time 304 of the path correspondence MAC learning table 205 to the initial value (709). Specifically, the packet transport apparatus 201B refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201B matches the input label received by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205 and the output label specified by the MPLS label registered in the MPLS output label 302. And the time registered in the MAC address valid time 304 of the entry that matches the destination MAC address of the MAC header of the received MPLS frame with the MAC address registered in the destination MAC address 303 is updated to the initial value.
 また、パケットトランスポート装置201Bは、受信したMPLSフレームのMPLSヘッダのMPLSラベルを出力ラベルに変換して、MPLSフレームをルータ101Bに送信する(710)。第1実施形態の図4に示す410の処理では、受信したMPLSフレームのMACヘッダの宛先MACアドレスにはブロードキャストMACアドレスが設定されているため、パケットトランスポート装置201Bは当該MACアドレスをルータ101BのユニキャストMACアドレスに変換していたが、本実施形態では、受信したMPLSフレームのMACヘッダの宛先MACアドレスにはルータ101BのユニキャストMACアドレスが設定されているため、パケットトランスポート装置201BはMACアドレスの当該変換処理を実施する必要はない。 The packet transport apparatus 201B converts the MPLS label of the MPLS header of the received MPLS frame into an output label, and transmits the MPLS frame to the router 101B (710). In the processing of 410 shown in FIG. 4 of the first embodiment, since the broadcast MAC address is set in the destination MAC address of the MAC header of the received MPLS frame, the packet transport device 201B uses the MAC address of the router 101B. In this embodiment, since the unicast MAC address of the router 101B is set in the destination MAC address of the MAC header of the received MPLS frame, the packet transport apparatus 201B is configured to convert the MAC address into the unicast MAC address. It is not necessary to perform the address conversion process.
 なお、パケットトランスポート装置201Aは、ルータ101Aによって送信されたMPLSフレームを、パス対応MAC学習テーブル205の、MACアドレス有効時間304に登録された時間を超過して受信しない場合、宛先MACアドレス303に登録されたMACアドレスを削除し、フラグ有効時間306に登録された時間を超過して受信しない場合、ラベルスイッチ可否フラグ305に設定されたフラグを無効に設定する(711)。同様に、パケットトランスポート装置201Bは、ルータ101Aによって送信されたMPLSフレームを、パス対応MAC学習テーブル205の、MACアドレス有効時間304に登録された時間を超過して受信しない場合、宛先MACアドレス303に登録されたMACアドレスを削除する(712)。 If the packet transport apparatus 201A does not receive the MPLS frame transmitted by the router 101A beyond the time registered in the MAC address valid time 304 of the path correspondence MAC learning table 205, the packet transport apparatus 201A sets the destination MAC address 303 as the destination. If the registered MAC address is deleted, and the received time exceeds the time registered in the flag valid time 306, the flag set in the label switch enable / disable flag 305 is set to invalid (711). Similarly, when the packet transport apparatus 201B does not receive the MPLS frame transmitted by the router 101A beyond the time registered in the MAC address valid time 304 of the path correspondence MAC learning table 205, the packet transport apparatus 201B receives the destination MAC address 303. The MAC address registered in (1) is deleted (712).
 次に、711の処理でパケットトランスポート装置201Aのパス対応MAC学習テーブル205のパス対応MAC学習テーブル205の宛先MACアドレス303が削除され、ラベルスイッチ可否フラグ305が無効に設定され、712の処理でパケットトランスポート装置201Bのパス対応MAC学習テーブル205の宛先MACアドレス303が削除された後に、ルータ101AによってMPLSフレームが送信された場合(721)のシーケンスについて説明する。なお、721の処理でルータ101Aによって送信されるMPLSフレームのMPLSヘッダ及びMACヘッダは、706の処理でルータ101Aによって送信されるMPLSフレームのMPLSヘッダ及びMACヘッダと同じく、当該データの送信に用いるMPLSラベル及び宛先となるルータ101BのユニキャストMACアドレスを含む。 Next, in step 711, the destination MAC address 303 of the path correspondence MAC learning table 205 of the path correspondence MAC learning table 205 of the packet transport apparatus 201A is deleted, the label switch availability flag 305 is set invalid, and in step 712 A sequence when the MPLS frame is transmitted by the router 101A (721) after the destination MAC address 303 in the path correspondence MAC learning table 205 of the packet transport apparatus 201B is deleted will be described. Note that the MPLS header and the MAC header of the MPLS frame transmitted by the router 101A in the process 721 are the MPLS used for transmission of the data, similar to the MPLS header and the MAC header of the MPLS frame transmitted by the router 101A in the process 706. The label and the unicast MAC address of the destination router 101B are included.
 まず、パケットトランスポート装置201Aは、ルータ101Aによって送信されたMPLSフレームを受信した場合、パス対応MAC学習テーブル205の受信したMPLSフレームに対応するパスを示すエントリの、宛先MACアドレス303に、受信したMPLSフレームに含まれるルータ101BのユニキャストMACアドレスを登録し、ラベルスイッチ可否フラグ305に、有効を設定する(722)。具体的には、パケットトランスポート装置201Aは、MPLS転送テーブル207を参照し、受信したMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリの、宛先MACアドレス303に受信したMPLSフレームのMACヘッダに含まれるルータ101BのユニキャストMACアドレスを登録し、MACアドレス有効時間304に有効時間の初期値を設定する。さらに、ラベルスイッチ可否フラグ305に有効を設定し、フラグ有効時間306に有効時間の初期値を設定する。 First, when the packet transport apparatus 201A receives the MPLS frame transmitted by the router 101A, the packet transport apparatus 201A has received the destination MAC address 303 of the entry indicating the path corresponding to the received MPLS frame in the path correspondence MAC learning table 205. The unicast MAC address of the router 101B included in the MPLS frame is registered, and the label switch availability flag 305 is set to valid (722). Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 The unicast MAC address of the router 101B included in the MAC header of the received MPLS frame is registered in the destination MAC address 303 of the entry that matches, and the initial value of the valid time is set in the MAC address valid time 304. Further, the label switch enable / disable flag 305 is set to valid, and the flag valid time 306 is set to an initial value of the valid time.
 また、パケットトランスポート装置201Aは、当該MPLSフレーム受信時には当該エントリのラベル可否フラグ305は無効に設定されているため、カプセル化用のMPLS出力ラベルを含むMPLSヘッダ及びブロードキャスト宛先MACアドレスを含むMACヘッダを付与し、受信したMPLSフレームをカプセル化する。そして、パケットトランスポート装置201Aは、カプセル化したMPLSフレームをパケットトランスポート装置201Bに送信する(723)。 Further, the packet transport apparatus 201A has an MPLS header including an MPLS output label for encapsulation and a MAC header including a broadcast destination MAC address because the label availability flag 305 of the entry is set to invalid when the MPLS frame is received. And the received MPLS frame is encapsulated. Then, the packet transport apparatus 201A transmits the encapsulated MPLS frame to the packet transport apparatus 201B (723).
 パケットトランスポート装置201Bは、パケットトランスポート装置201Aによって送信されたカプセル化されたMPLSフレームを受信した場合、パス対応MAC学習テーブル205の受信したカプセル化内部のMPLSフレームに対応するパスを示すエントリの宛先MACアドレス303に、受信したカプセル化内部のMPLSフレームに含まれるルータ101BのユニキャストMACアドレスを登録する(724)。具体的には、パケットトランスポート装置201Bは、MPLS転送テーブル207を参照し、受信したカプセル化内部のMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリの、宛先MACアドレス303に受信したカプセル化内部のMPLSフレームのMACヘッダに含まれるルータ101BのユニキャストMACアドレスを登録し、MACアドレス有効時間304に有効時間の初期値を設定する。 When the packet transport apparatus 201B receives the encapsulated MPLS frame transmitted by the packet transport apparatus 201A, the packet transport apparatus 201B stores an entry indicating a path corresponding to the received MPLS frame inside the encapsulated path in the path correspondence MAC learning table 205. The unicast MAC address of the router 101B included in the received MPLS frame inside the encapsulation is registered in the destination MAC address 303 (724). Specifically, the packet transport apparatus 201B refers to the MPLS forwarding table 207, and determines the MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame within the MPLS frame. Identify. Then, the packet transport device 201B matches the input label received by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205 and the output label specified by the MPLS label registered in the MPLS output label 302. The unicast MAC address of the router 101B included in the MAC header of the received MPLS frame inside the encapsulation is registered in the destination MAC address 303 of the entry that matches, and the initial value of the valid time is set in the MAC address valid time 304 .
 次に、パケットトランスポート装置201Bは、受信したカプセル化されたMPLSフレームをデカプセル化し、デカプセル化により元のMPLSフレームに戻ったMPLSフレームを、MPLSヘッダ(ルータ101Aによって付与されたMPLSヘッダ)及びMACヘッダ(ルータ101Aによって付与されたMACヘッダ)はそのままで、ルータ101Bに送信する(725)。 Next, the packet transport apparatus 201B decapsulates the received encapsulated MPLS frame, and converts the MPLS frame that has been returned to the original MPLS frame by decapsulation into an MPLS header (an MPLS header added by the router 101A) and a MAC. The header (MAC header given by the router 101A) is sent as it is to the router 101B (725).
 以上の721~725の処理によって、パケットトランスポート装置201Aは、MPLSフレームをカプセル化して送信するため、MPLSフレームを正しく転送することができる。また、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205の該当エントリの宛先MACアドレス303にルータ101BのユニキャストMACアドレスを登録し、ラベルスイッチ可否フラグ305に有効を設定し、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205の該当エントリの宛先MACアドレス303にルータ101BのユニキャストMACアドレスを登録する。 Through the above processes 721 to 725, the packet transport apparatus 201A encapsulates and transmits the MPLS frame, and therefore can correctly transfer the MPLS frame. Further, the packet transport apparatus 201A registers the unicast MAC address of the router 101B in the destination MAC address 303 of the corresponding entry of the path correspondence MAC learning table 205, sets the label switch enable / disable flag 305 to be valid, and the packet transport apparatus 201B registers the unicast MAC address of the router 101B in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205.
 なお、図7に示す726~730の処理は、706~710の処理と同じであるので、説明を省略する。 Note that the processing from 726 to 730 shown in FIG. 7 is the same as the processing from 706 to 710, and thus the description thereof is omitted.
 次に、ルータ101Aからルータ101Bへのデータの送信に用いるパスを解除する場合の処理について説明する。 Next, processing for canceling a path used for data transmission from the router 101A to the router 101B will be described.
 ルータ101Aは、データの送信を終了する場合、パス解除要求をIPフレームでルータ101Bに送信する(不図示)。ルータ101Bは、パス解除要求を受信した場合、解除するパスのMPLSラベルをペイロード部に含むIPフレームをパス解除のためのシグナリングデータとしてルータ101Aに送信する(731)。なお、このシグナリングデータは、送信元のルータ101BのユニキャストMACアドレス及び送信先のルータ101AのユニキャストMACアドレスを含む。 When the router 101A finishes data transmission, the router 101A transmits a path release request to the router 101B using an IP frame (not shown). When receiving the path release request, the router 101B transmits an IP frame including the MPLS label of the path to be released in the payload portion to the router 101A as signaling data for path release (731). This signaling data includes the unicast MAC address of the source router 101B and the unicast MAC address of the destination router 101A.
 パケットトランスポート装置201Bは、パス解除のためのシグナリングデータを受信した場合、パス対応MAC学習テーブル205の受信したシグナリングデータに対応するパスを示すエントリの宛先MACアドレス303に登録されたMACアドレスを削除する(732)。具体的には、パケットトランスポート装置201Bは、MPLS転送テーブル207を参照し、受信したシグナリングデータのペイロード部に含まれるMPLSラベル(出力ラベル)に対応するMPLSラベル(入力ラベル)を特定する。そして、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが特定した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが受信した出力ラベルと一致するエントリの、宛先MACアドレス303に登録されたMACアドレスを削除する。 When the packet transport apparatus 201B receives signaling data for path release, the packet transport apparatus 201B deletes the MAC address registered in the destination MAC address 303 of the entry indicating the path corresponding to the received signaling data in the path correspondence MAC learning table 205 (732). Specifically, the packet transport apparatus 201B refers to the MPLS transfer table 207, and specifies an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data. The packet transport apparatus 201B then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302. The MAC address registered in the destination MAC address 303 of the entry that matches is deleted.
 次に、パケットトランスポート装置201Bは、受信したシグナリングデータにカプセル化用のMPLS出力ラベルを含むMPLSヘッダ及びブロードキャスト宛先MACアドレスを含むMACヘッダを付与し、受信したシグナリングデータをカプセル化する。そして、パケットトランスポート装置201Bは、カプセル化したシグナリングデータをパケットトランスポート装置201Aに送信する(733)。 Next, the packet transport apparatus 201B adds an MPLS header including an MPLS output label for encapsulation and a MAC header including a broadcast destination MAC address to the received signaling data, and encapsulates the received signaling data. Then, the packet transport apparatus 201B transmits the encapsulated signaling data to the packet transport apparatus 201A (733).
 パケットトランスポート装置201Aは、カプセル化されたパス解除のためのシグナリングデータを受信した場合、パス対応MAC学習テーブル205の受信したカプセル化内部のシグナリングデータに対応するパスを示すエントリの宛先MACアドレス303に登録されたMACアドレスを削除し、ラベルスイッチ可否フラグ305に無効を設定する(734)。具体的には、パケットトランスポート装置201Aは、MPLS転送テーブル207を参照し、受信したカプセル化内部のシグナリングデータのペイロード部に含まれるMPLSラベル(出力ラベル)に対応するMPLSラベル(入力ラベル)を特定する。そして、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが特定した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが受信した出力ラベルと一致するエントリの、宛先MACアドレス303に登録されたMACアドレスを削除し、ラベルスイッチ可否フラグ305に無効を設定する。 When the packet transport apparatus 201A receives the signaling data for releasing the encapsulated path, the destination MAC address 303 of the entry indicating the path corresponding to the received encapsulation data in the path corresponding MAC learning table 205 Is deleted, and the label switch enable / disable flag 305 is set to invalid (734). Specifically, the packet transport apparatus 201A refers to the MPLS transfer table 207 and determines an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data inside the encapsulation. Identify. The packet transport apparatus 201A then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302. Is deleted, and the label switch enable / disable flag 305 is set to invalid.
 次に、パケットトランスポート装置201Aは、受信したカプセル化されたシグナリングデータをデカプセル化し、デカプセル化により元のIPフレームに戻ったシグナリングデータをルータ101Aに送信する(735)。 Next, the packet transport apparatus 201A decapsulates the received encapsulated signaling data, and transmits the signaling data returned to the original IP frame by decapsulation to the router 101A (735).
 以上の731~735の処理によって、ルータ101Aからルータ101Bにデータを送信するためのパスが解除される。 Through the above processing of 731 to 735, the path for transmitting data from the router 101A to the router 101B is released.
 次に、図8A~図9Cを用いてパケットトランスポート装置201がフレームを受信した場合の処理について説明する。 Next, processing when the packet transport apparatus 201 receives a frame will be described with reference to FIGS. 8A to 9C.
 図8Aは、本発明の第2実施形態のパケットトランスポート装置201がMPLS-TP通信網200の外部から受信したフレームがMPLSフレームでない場合の処理のフローチャートである。図8Bは、本発明の第2実施形態のパケットトランスポート装置201がMPLS-TP通信網200の外部から受信したフレームがMPLSフレームである場合の処理のフローチャートである。これらの処理は、パケットトランスポート装置201の図示しないプロセッサによって実行される。 FIG. 8A is a flowchart of processing when the packet transport apparatus 201 according to the second embodiment of the present invention receives a frame received from outside the MPLS-TP communication network 200 that is not an MPLS frame. FIG. 8B is a flowchart of a process when the packet transport device 201 according to the second embodiment of this invention receives an MPLS frame from the outside of the MPLS-TP communication network 200. These processes are executed by a processor (not shown) of the packet transport apparatus 201.
 まず、パケットトランスポート装置201は、受信したフレームがMPLSフレームであるか否かを判定する(801)。具体的には、パケットトランスポート装置201は、受信したフレームにMPLSヘッダが含まれていれば、受信したフレームがMPLSフレームであると判定し(801:Yes)、受信したフレームにMPLSヘッダが含まれていなければ、受信したフレームがMPLSフレームでないと判定する(801:No)。 First, the packet transport apparatus 201 determines whether or not the received frame is an MPLS frame (801). Specifically, if the received frame includes an MPLS header, the packet transport apparatus 201 determines that the received frame is an MPLS frame (801: Yes), and the received frame includes an MPLS header. If not, it is determined that the received frame is not an MPLS frame (801: No).
 ステップ801の処理で、受信したフレームがMPLSフレームでないと判定された場合(801:No)、パケットトランスポート装置201は、受信したフレームに対応するMPLS-TP通信網200内のパスを特定できるか否かを判定する(802)。受信したフレームがパスの確立又は解除のためのシグナリングデータであれば、MPLSラベルが受信フレームのペイロード部に含まれるので、パケットトランスポート装置201は、MPLS転送テーブル207を参照し、当該フレームに対応するMPLS-TP通信網200内のパスを特定できる。 If it is determined in step 801 that the received frame is not an MPLS frame (801: No), can the packet transport apparatus 201 identify the path in the MPLS-TP communication network 200 corresponding to the received frame? It is determined whether or not (802). If the received frame is signaling data for establishing or releasing a path, the MPLS label is included in the payload portion of the received frame, so the packet transport apparatus 201 refers to the MPLS forwarding table 207 and corresponds to the frame. The path in the MPLS-TP communication network 200 can be specified.
 ステップ802の処理で、受信したフレームに対応するMPLS-TP通信網200内のパスを特定できると判定された場合(802:Yes)、受信したフレームはパスの確立又は解除のためのシグナリングデータであるので、パケットトランスポート装置201は、パス対応MAC管理テーブル205を更新すべく、ステップ803以降の処理に進む。 If it is determined in step 802 that the path in the MPLS-TP communication network 200 corresponding to the received frame can be specified (802: Yes), the received frame is signaling data for establishing or releasing the path. Therefore, the packet transport apparatus 201 proceeds to the processing after step 803 to update the path correspondence MAC management table 205.
 まず、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、受信したフレームに対応するパスに該当するエントリを保持しているか否かを判定する(803)。 First, the packet transport apparatus 201 determines whether or not an entry corresponding to the path corresponding to the received frame is held in the path-compatible MAC learning table 205 (803).
 ステップ803の処理で、受信したフレームに対応するパスに該当するエントリを保持していないと判定された場合(803:No)、パス対応MAC学習テーブル205内に更新するエントリが存在しないので、ステップ809の処理に進む。 If it is determined in step 803 that the entry corresponding to the path corresponding to the received frame is not held (803: No), there is no entry to be updated in the path correspondence MAC learning table 205. Proceed to step 809.
 一方、ステップ803の処理で、受信したフレームに対応するパスに該当するエントリを保持していると判定された場合(803:Yes)、パケットトランスポート装置201は、受信したフレームがパスの解除のためのシグナリングデータであるか否かを判定する(804)。 On the other hand, when it is determined in step 803 that the entry corresponding to the path corresponding to the received frame is held (803: Yes), the packet transport apparatus 201 determines that the received frame is a path release. It is determined whether or not the data is signaling data (804).
 ステップ804の処理で、受信したフレームがパスの解除のためのシグナリングデータでないと判定された場合(804:No)、すなわち、受信したフレームがパスの確立のためのシグナリングデータである場合、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303に、受信したフレームの送信元MACアドレスを登録し(805)、ステップ807の処理に進む。なお、ステップ805の処理は、図7に示す702の処理に対応する。 If it is determined in step 804 that the received frame is not signaling data for path release (804: No), that is, if the received frame is signaling data for path establishment, The port device 201 registers the source MAC address of the received frame in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205 (805), and proceeds to the processing of step 807. Note that the processing of step 805 corresponds to the processing of 702 shown in FIG.
 一方、ステップ804の処理で、受信したフレームがパスの解除のためのシグナリングデータであると判定された場合(804:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303に登録されたMACアドレスを削除し(806)、ステップ807の処理に進む。なお、ステップ806の処理は、図7に示す732の処理に対応する。 On the other hand, when it is determined in step 804 that the received frame is signaling data for releasing the path (804: Yes), the packet transport apparatus 201 determines that the corresponding entry in the path correspondence MAC learning table 205 The MAC address registered in the destination MAC address 303 is deleted (806), and the process proceeds to step 807. Note that the processing in step 806 corresponds to the processing in 732 shown in FIG.
 ステップ805の処理でパス対応MAC学習テーブル205の宛先MACアドレス303にMACアドレスが登録された場合、又は、ステップ806の処理でパス対応MAC学習テーブル205の宛先MACアドレス303からMACアドレスが削除された場合、パケットトランスポート装置201は、ステップ802の処理で特定された当該パスが障害状態として設定されているか否かを判定する(807)。 When the MAC address is registered in the destination MAC address 303 of the path corresponding MAC learning table 205 in the process of step 805, or the MAC address is deleted from the destination MAC address 303 of the path corresponding MAC learning table 205 in the process of step 806. In this case, the packet transport apparatus 201 determines whether or not the path identified in the process of step 802 is set as a failure state (807).
 ステップ807の処理で、当該パスが障害状態として設定されていると判定された場合(807:Yes)、パケットトランスポート装置201は当該障害状態の設定を解除し(808)、ステップ809の処理に進む。障害状態の設定を解除する理由は、シグナリングデータはパス確立要求又はパス解除要求に対する応答であるので、当該パスに障害は発生していないとみなすからである。 If it is determined in step 807 that the path is set as a failure state (807: Yes), the packet transport apparatus 201 cancels the setting of the failure state (808), and the process in step 809 is performed. move on. The reason for canceling the setting of the failure state is that since the signaling data is a response to the path establishment request or the path cancellation request, it is considered that no failure has occurred in the path.
 ステップ807の処理で、当該パスが障害状態として設定されていないと判定された場合(807:No)、又はステップ808の処理を実行した場合、パケットトランスポート装置201は、カプセル化用のMPLS出力ラベル及びブロードキャスト宛先MACアドレスを含むMPLSヘッダ及びMACヘッダを付与し、受信したフレームをカプセル化して、カプセル化した受信フレームを送信する(809)。 When it is determined in step 807 that the path is not set as a failure state (807: No), or when the processing in step 808 is executed, the packet transport apparatus 201 outputs an MPLS output for encapsulation. An MPLS header and a MAC header including a label and a broadcast destination MAC address are added, the received frame is encapsulated, and the encapsulated received frame is transmitted (809).
 なお、ステップ802の処理で、受信したフレームに対応するMPLS-TP通信網200内のパスを特定できないと判定された場合(802:No)、ステップ809の処理に進み、受信したフレームをカプセル化して、カプセル化した受信フレームを送信する。 If it is determined in step 802 that the path in the MPLS-TP communication network 200 corresponding to the received frame cannot be specified (802: No), the process proceeds to step 809 and the received frame is encapsulated. Then, the encapsulated received frame is transmitted.
 ステップ801の処理で、受信したフレームがMPLSフレームであると判定された場合(801:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、受信したMPLSフレームに含まれるMPLSラベルに対応するパスに該当するエントリを保持しているか否かを判定する(810)。 When it is determined in step 801 that the received frame is an MPLS frame (801: Yes), the packet transport apparatus 201 includes an MPLS label included in the received MPLS frame in the path-related MAC learning table 205. It is determined whether or not an entry corresponding to the path corresponding to is held (810).
 ステップ810の処理で、受信したMPLSフレームに対応するパスに該当するエントリを保持していないと判定された場合(810:No)、パケットトランスポート装置201は、対向装置であるパケットトランスポート装置201にMPLSフレームを送信する場合にMPLSラベルスイッチの実施が可能か否かを判定できないため、カプセル化用のMPLS出力ラベルを含むMPLSヘッダ及びブロードキャスト宛先MACアドレスを含むMACヘッダを付与し、受信したMPLSフレームをカプセル化して、カプセル化したMPLSフレームを送信する(811)。 If it is determined in step 810 that the entry corresponding to the path corresponding to the received MPLS frame is not held (810: No), the packet transport apparatus 201 is the opposite apparatus, the packet transport apparatus 201. Since it is not possible to determine whether or not the MPLS label switch can be performed when an MPLS frame is transmitted to an MPLS frame, an MPLS header including an MPLS output label for encapsulation and a MAC header including a broadcast destination MAC address are added to the received MPLS. The frame is encapsulated, and the encapsulated MPLS frame is transmitted (811).
 一方、ステップ810の処理で、受信したMPLSフレームに対応するパスに該当するエントリを保持していると判定された場合(810:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303にMACアドレスが登録されているか否かを判定する(812)。 On the other hand, when it is determined in step 810 that the entry corresponding to the path corresponding to the received MPLS frame is held (810: Yes), the packet transport apparatus 201 stores the entry in the path correspondence MAC learning table 205. It is determined whether or not a MAC address is registered in the destination MAC address 303 of the corresponding entry (812).
 ステップ812の処理で、該当するエントリの宛先MACアドレス303にMACアドレスが登録されていると判定された場合(812:Yes)、パケットトランスポート装置201は、該当するエントリのMACアドレス有効時間304に登録された時間を初期値に更新する(813)。なお、ステップ813の処理は、図7に示す707及び727の処理に対応する。 When it is determined in step 812 that the MAC address is registered in the destination MAC address 303 of the corresponding entry (812: Yes), the packet transport device 201 sets the MAC address valid time 304 of the corresponding entry. The registered time is updated to the initial value (813). Note that the processing in step 813 corresponds to the processing in 707 and 727 shown in FIG.
 次に、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリのラベルスイッチ可否フラグ305に有効が設定されているか否かを判定する(821)。 Next, the packet transport device 201 determines whether or not the validity is set in the label switch availability flag 305 of the corresponding entry in the path correspondence MAC learning table 205 (821).
 ステップ821の処理で、該当するエントリのラベルスイッチ可否フラグ305に有効が設定されていないと判定された場合(821:No)、パケットトランスポート装置201は、該当するエントリのラベルスイッチ可否フラグ305に有効を設定し(822)、ステップ811の処理に進み、受信したMPLSフレームをカプセル化して、カプセル化したMPLSフレームを送信する。なお、ステップ822の処理は、図7に示す722の処理に対応する。 When it is determined in step 821 that the validity of the label switch availability flag 305 of the corresponding entry is not set (821: No), the packet transport apparatus 201 sets the label switch availability flag 305 of the corresponding entry. The validity is set (822), and the process proceeds to step 811. The received MPLS frame is encapsulated, and the encapsulated MPLS frame is transmitted. Note that the processing in step 822 corresponds to the processing in 722 shown in FIG.
 ステップ821の処理で、該当するエントリのラベルスイッチ可否フラグ305に有効が設定されていると判定された場合(821:Yes)、パケットトランスポート装置201は、該当するエントリのフラグ有効時間306に登録された時間を初期値に更新する(823)。なお、ステップ823の処理は、図7に示す707及び727の処理に対応する。 If it is determined in step 821 that the label switch enable / disable flag 305 of the corresponding entry is set to valid (821: Yes), the packet transport apparatus 201 registers in the flag valid time 306 of the corresponding entry. The updated time is updated to the initial value (823). Note that the processing in step 823 corresponds to the processing in 707 and 727 shown in FIG.
 そして、パケットトランスポート装置201は、ステップ810の処理で特定されたパスが障害状態であるか否かを判定する(824)。 Then, the packet transport apparatus 201 determines whether or not the path specified in the process of Step 810 is in a failure state (824).
 ステップ824の処理で、パスが障害状態であると判定された場合(824:Yes)、パケットトランスポート装置201は、ステップ811の処理に進み、受信したMPLSフレームをカプセル化して、カプセル化したMPLSフレームを送信する。 If it is determined in step 824 that the path is in a failure state (824: Yes), the packet transport apparatus 201 proceeds to step 811, encapsulates the received MPLS frame, and encapsulates the MPLS. Send a frame.
 一方、ステップ824の処理で、パスが障害状態でないと判定された場合(824:No)、パケットトランスポート装置201は、受信したMPLSフレームのMPLSヘッダの入力MPLSラベルを出力ラベルに変換し、受信したMPLSフレームのMACヘッダの宛先MACアドレスをパス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303に保持しているユニキャストMACアドレスに変換して、MPLSフレームを対向装置であるパケットトランスポート装置201に送信、すなわちMPLSラベルスイッチする(825)。 On the other hand, when it is determined in step 824 that the path is not in a failure state (824: No), the packet transport apparatus 201 converts the input MPLS label of the MPLS header of the received MPLS frame into an output label, and receives the received label. The destination MAC address of the MAC header of the MPLS frame is converted into a unicast MAC address held in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205, and the MPLS frame is converted into a packet transport that is the opposite device. Transmission to the apparatus 201, that is, MPLS label switching is performed (825).
 ステップ812の処理で、該当するエントリの宛先MACアドレス303にMACアドレスが登録されていないと判定された場合(812:No)、パケットトランスポート装置201は、該当するエントリの宛先MACアドレス303に、受信したMPLSフレームの宛先MACアドレスを登録する(814)。なお、ステップ814の処理は、図7に示す722の処理に対応する。 When it is determined in step 812 that the MAC address is not registered in the destination MAC address 303 of the corresponding entry (812: No), the packet transport device 201 sets the destination MAC address 303 of the corresponding entry to The destination MAC address of the received MPLS frame is registered (814). Note that the processing in step 814 corresponds to the processing in 722 shown in FIG.
 次に、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリのラベルスイッチ可否フラグ305に有効が設定されているか否かを判定する(831)。 Next, the packet transport apparatus 201 determines whether or not validity is set in the label switch availability flag 305 of the corresponding entry in the path correspondence MAC learning table 205 (831).
 ステップ831の処理で、該当するエントリのラベルスイッチ可否フラグ305に有効が設定されていないと判定された場合(831:No)、パケットトランスポート装置201は、該当するエントリのラベルスイッチ可否フラグ305に有効を設定し(832)、ステップ811の処理に進み、受信したMPLSフレームをカプセル化して、カプセル化したMPLSフレームを送信する。なお、ステップ832の処理は、図7に示す722の処理に対応する。 If it is determined in step 831 that the validity of the label switch availability flag 305 of the corresponding entry is not set (831: No), the packet transport apparatus 201 sets the label switch availability flag 305 of the applicable entry. The validity is set (832), and the process proceeds to step 811. The received MPLS frame is encapsulated, and the encapsulated MPLS frame is transmitted. Note that the processing in step 832 corresponds to the processing in 722 shown in FIG.
 ステップ831の処理で、該当するエントリのラベルスイッチ可否フラグ305に有効が設定されていると判定された場合(831:Yes)、パケットトランスポート装置201は、該当するエントリのフラグ有効時間306に登録された時間を初期値に更新する(833)。なお、ステップ833の処理は、図7に示す707及び727の処理に対応する。 If it is determined in the process of step 831 that the label switch enable / disable flag 305 of the corresponding entry is set to valid (831: Yes), the packet transport apparatus 201 registers in the flag valid time 306 of the corresponding entry. The updated time is updated to the initial value (833). Note that the processing in step 833 corresponds to the processing in 707 and 727 shown in FIG.
 そして、パケットトランスポート装置201は、ステップ810の処理で特定された当該パスが障害状態であるか否かを判定する(834)。 Then, the packet transport apparatus 201 determines whether or not the path specified in the process of Step 810 is in a failure state (834).
 ステップ834の処理で、パスが障害状態であると判定された場合(834:Yes)、パケットトランスポート装置201は、ステップ811の処理に進み、受信したMPLSフレームをカプセル化して、カプセル化したMPLSフレームを送信する。 If it is determined in step 834 that the path is in a failure state (834: Yes), the packet transport apparatus 201 proceeds to step 811 to encapsulate the received MPLS frame and encapsulate MPLS. Send a frame.
 一方、ステップ834の処理で、パスが障害状態でないと判定された場合(834:No)、パケットトランスポート装置201は、受信したMPLSフレームのMPLSヘッダの入力MPLSラベルを出力ラベルに変換し、受信したMPLSフレームのMACヘッダの宛先MACアドレスをブロードキャストMACアドレスに変換して、MPLSフレームを対向装置であるパケットトランスポート装置201に送信、すなわちMPLSラベルスイッチする(835)。 On the other hand, when it is determined in step 834 that the path is not in a failure state (834: No), the packet transport apparatus 201 converts the input MPLS label of the MPLS header of the received MPLS frame into an output label, and receives the received label. The destination MAC address in the MAC header of the MPLS frame is converted into a broadcast MAC address, and the MPLS frame is transmitted to the packet transport apparatus 201 as the opposite apparatus, that is, MPLS label switching is performed (835).
 図9A及び図9Bは、本発明の第2実施形態のパケットトランスポート装置201がMPLS-TP通信網の内部から受信したフレームがカプセル化フレームである場合の処理のフローチャートである。図9Cは、本発明の第2実施形態のパケットトランスポート装置201がMPLS-TP通信網の内部から受信したフレームがカプセル化フレームでない場合の処理のフローチャートである。これらの処理は、パケットトランスポート装置201の図示しないプロセッサによって実行される。 9A and 9B are flowcharts of processing when the packet transport apparatus 201 according to the second embodiment of the present invention receives an encapsulated frame from the inside of the MPLS-TP communication network. FIG. 9C is a flowchart of processing when the packet transport device 201 according to the second embodiment of this invention receives a frame received from the inside of the MPLS-TP communication network that is not an encapsulated frame. These processes are executed by a processor (not shown) of the packet transport apparatus 201.
 まず、パケットトランスポート装置201は、受信したフレームがカプセル化されたフレームであるか否かを判定する(901)。 First, the packet transport apparatus 201 determines whether or not the received frame is an encapsulated frame (901).
 ステップ901の処理で、受信したフレームがカプセル化されたフレームであると判定された場合(901:Yes)、パケットトランスポート装置201は、カプセル化内部のフレームがMPLSフレームであるか否かを判定する(902)。具体的には、パケットトランスポート装置201は、カプセル化内部のフレームにMPLSヘッダが含まれているか否かを判定する。 If it is determined in step 901 that the received frame is an encapsulated frame (901: Yes), the packet transport apparatus 201 determines whether the encapsulated frame is an MPLS frame. (902). Specifically, the packet transport apparatus 201 determines whether an MPLS header is included in a frame inside the encapsulation.
 ステップ902の処理で、カプセル化内部のフレームがMPLSフレームでないと判定された場合(902:No)、パケットトランスポート装置201は、カプセル化内部のフレームに対応するMPLS-TP通信網200内のパスを特定できるか否かを判定する(903)。カプセル化内部のフレームがパスの確立又は解除のためのシグナリングデータであれば、MPLSラベルがカプセル化内部のフレームのペイロード部に含まれるので、パケットトランスポート装置201は、MPLS転送テーブル207を参照し、当該フレームに対応するMPLS-TP通信網200内のパスを特定できる。 If it is determined in step 902 that the frame inside the encapsulation is not an MPLS frame (902: No), the packet transport apparatus 201 passes the path in the MPLS-TP communication network 200 corresponding to the frame inside the encapsulation. It is determined whether or not can be specified (903). If the encapsulated frame is signaling data for establishing or releasing a path, the MPLS label is included in the payload portion of the encapsulated frame, so the packet transport apparatus 201 refers to the MPLS forwarding table 207. The path in the MPLS-TP communication network 200 corresponding to the frame can be specified.
 ステップ903の処理で、カプセル化内部のフレームに対応するMPLS-TP通信網200内のパスを特定できると判定された場合(903:Yes)、カプセル化内部のフレームはパスの確立又は解除のためのシグナリングデータであるので、パケットトランスポート装置201は、パス対応MAC管理テーブル205を更新すべく、ステップ904以降の処理に進む。 If it is determined in step 903 that the path in the MPLS-TP communication network 200 corresponding to the frame inside the encapsulation can be specified (903: Yes), the frame inside the encapsulation is used for establishing or releasing the path. Therefore, the packet transport apparatus 201 proceeds to the processing from step 904 onward in order to update the path correspondence MAC management table 205.
 まず、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、カプセル化内部のフレームに対応するパスに該当するエントリを保持しているか否かを判定する(904)。 First, the packet transport apparatus 201 determines whether or not the entry corresponding to the path corresponding to the frame in the encapsulation is held in the path-compatible MAC learning table 205 (904).
 ステップ904の処理で、カプセル化内部のフレームに対応するパスに該当するエントリを保持していないと判定された場合(904:No)、パス対応MAC学習テーブル205内に更新するエントリが存在しないので、ステップ908の処理に進む。 If it is determined in step 904 that the entry corresponding to the path corresponding to the frame in the encapsulation is not held (904: No), there is no entry to be updated in the path correspondence MAC learning table 205. The process proceeds to step 908.
 一方、ステップ904の処理で、カプセル化内部のフレームに対応するパスに該当するエントリを保持していると判定された場合(904:Yes)、パケットトランスポート装置201は、カプセル化内部のフレームがパスの解除のためのシグナリングデータであるか否かを判定する(905)。 On the other hand, when it is determined in step 904 that the entry corresponding to the path corresponding to the frame inside the encapsulation is held (904: Yes), the packet transport apparatus 201 determines that the frame inside the encapsulation is It is determined whether or not it is signaling data for path release (905).
 ステップ905の処理で、カプセル化内部のフレームがパスの解除のためのシグナリングデータでないと判定された場合(905:No)、すなわち、カプセル化内部のフレームがパスの確立のためのシグナリングデータである場合、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリの、宛先MACアドレス303にカプセル化内部のシグナリングデータの送信元MACアドレスを登録し、ラベルスイッチ可否フラグ305に有効を設定し(906)、ステップ908の処理に進む。なお、ステップ906の処理は、図7に示す704の処理に対応する。 When it is determined in step 905 that the frame inside the encapsulation is not signaling data for path release (905: No), that is, the frame inside the encapsulation is signaling data for path establishment. In this case, the packet transport apparatus 201 registers the transmission source MAC address of the encapsulated signaling data in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205, and sets the label switch enable / disable flag 305 to valid. (906), the process proceeds to step 908. Note that the processing in step 906 corresponds to the processing in 704 shown in FIG.
 一方、ステップ905の処理で、カプセル化内部のフレームがパスの解除のためのシグナリングデータであると判定された場合(905:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリの、宛先MACアドレス303に登録されたMACアドレスを削除し、ラベルスイッチ可否フラグ305に無効を設定し(907)、ステップ908の処理に進む。なお、ステップ907の処理は、図7に示す734の処理に対応する。 On the other hand, if it is determined in step 905 that the frame within the encapsulation is signaling data for path release (905: Yes), the packet transport device 201 determines that the corresponding MAC learning table 205 The MAC address registered in the destination MAC address 303 of the entry to be deleted is deleted, invalidity is set in the label switch availability flag 305 (907), and the process proceeds to step 908. Note that the processing in step 907 corresponds to the processing in 734 shown in FIG.
 ステップ906の処理でパス対応MAC学習テーブル205の宛先MACアドレス303にMACアドレスが登録されラベルスイッチ可否フラグ305に有効が設定された場合、又は、ステップ907の処理でパス対応MAC学習テーブル205の宛先MACアドレス303のMACアドレスが削除されラベルスイッチ可否フラグ305に無効が設定された場合、パケットトランスポート装置201は、受信したフレームをデカプセル化して送信する(908)。 When the MAC address is registered in the destination MAC address 303 of the path correspondence MAC learning table 205 in the process of step 906 and the validity is set in the label switch availability flag 305, or the destination of the path correspondence MAC learning table 205 in the process of step 907 When the MAC address of the MAC address 303 is deleted and the label switch availability flag 305 is set to invalid, the packet transport device 201 decapsulates the received frame and transmits it (908).
 なお、ステップ903の処理で、カプセル化内部のフレームに対応するMPLS-TP通信網200内のパスを特定できないと判定された場合(903:No)、ステップ908の処理に進み、受信したフレームをデカプセル化して送信する。 If it is determined in step 903 that the path in the MPLS-TP communication network 200 corresponding to the encapsulated frame cannot be specified (903: No), the process proceeds to step 908, and the received frame is Decapsulate and send.
 ステップ902の処理で、カプセル化内部のフレームがMPLSフレームであると判定された場合(902:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、カプセル化内部のMPLSフレームに含まれるMPLSラベルに対応するパスに該当するエントリを保持しているか否かを判定する(909)。 When it is determined in step 902 that the frame inside the encapsulation is an MPLS frame (902: Yes), the packet transport device 201 stores the MPLS frame inside the encapsulation in the path-compatible MAC learning table 205. It is determined whether or not an entry corresponding to the path corresponding to the included MPLS label is held (909).
 ステップ909の処理で、カプセル化内部のMPLSフレームに対応するパスに該当するエントリを保持していないと判定された場合(909:No)、パス対応MAC学習テーブル205内に更新するエントリが存在しないので、ステップ908の処理に進み、受信したフレームをデカプセル化して送信する。 If it is determined in step 909 that the entry corresponding to the path corresponding to the MPLS frame inside the encapsulation is not held (909: No), there is no entry to be updated in the path correspondence MAC learning table 205. Therefore, the process proceeds to step 908, and the received frame is decapsulated and transmitted.
 一方、ステップ909の処理で、カプセル化内部のMPLSフレームに対応するパスに該当するエントリを保持していると判定された場合(909:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303に、カプセル化内部のMPLSフレームの宛先MACアドレスを登録し(910)、ステップ911の処理に進む。なお、ステップ910の処理は、図7に示す724の処理に対応する。 On the other hand, when it is determined in step 909 that the entry corresponding to the path corresponding to the MPLS frame inside the encapsulation is held (909: Yes), the packet transport apparatus 201 uses the path-compatible MAC learning table. The destination MAC address of the MPLS frame inside the encapsulation is registered in the destination MAC address 303 of the corresponding entry 205 (910), and the process proceeds to step 911. Note that the processing in step 910 corresponds to the processing in 724 shown in FIG.
 ステップ910の処理でパス対応MAC学習テーブル205の宛先MACアドレス303にMACアドレスが登録された場合、パケットトランスポート装置201は、ステップ909の処理で特定されたパスが障害状態として設定されているか否かを判定する(911)。 When the MAC address is registered in the destination MAC address 303 of the path correspondence MAC learning table 205 in the process of step 910, the packet transport apparatus 201 determines whether the path specified in the process of step 909 is set as a failure state. Is determined (911).
 ステップ911の処理で、当該パスが障害状態として設定されていると判定された場合(911:Yes)、パケットトランスポート装置201は当該障害状態の設定を解除し(912)、ステップ908の処理に進み、受信したフレームをデカプセル化して送信する。 When it is determined in step 911 that the path is set as a failure state (911: Yes), the packet transport apparatus 201 cancels the setting of the failure state (912), and the processing in step 908 is performed. Then, decapsulate the received frame and transmit it.
 一方、ステップ911の処理で、当該パスが障害状態として設定されていないと判定された場合(911:No)、パケットトランスポート装置201は、ステップ908の処理に進み、受信したフレームをデカプセル化して送信する。 On the other hand, if it is determined in step 911 that the path is not set as a failure state (911: No), the packet transport apparatus 201 proceeds to step 908 and decapsulates the received frame. Send.
 ステップ901の処理で、受信したフレームがカプセル化されたフレームでないと判定された場合(901:No)、すなわち、受信したフレームはMPLSラベルスイッチされたMPLSフレームである場合、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、受信したMPLSフレームに含まれるMPLSラベルに対応するパスに該当するエントリを保持しているか否かを判定する(913)。 If it is determined in step 901 that the received frame is not an encapsulated frame (901: No), that is, if the received frame is an MPLS frame that has been subjected to MPLS label switching, the packet transport device 201 Then, it is determined whether or not an entry corresponding to the path corresponding to the MPLS label included in the received MPLS frame is stored in the path correspondence MAC learning table 205 (913).
 ステップ913の処理で、受信したMPLSフレームに対応するパスに該当するエントリを保持していると判定された場合(913:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303にMACアドレスが登録されているか否かを判定する(914)。 When it is determined in step 913 that the entry corresponding to the path corresponding to the received MPLS frame is held (913: Yes), the packet transport apparatus 201 corresponds to the corresponding MAC learning table 205 in the path. It is determined whether a MAC address is registered in the destination MAC address 303 of the entry (914).
 ステップ914の処理で、該当するエントリの宛先MACアドレス303にMACアドレスが登録されていると判定された場合(914:Yes)、パケットトランスポート装置201は、該当するエントリの宛先MACアドレス303に登録されているMACアドレスと受信したMPLSフレームの宛先MACアドレスが一致するか否かを判定する(915)。 If it is determined in step 914 that the MAC address is registered in the destination MAC address 303 of the corresponding entry (914: Yes), the packet transport apparatus 201 registers in the destination MAC address 303 of the corresponding entry. It is determined whether the received MAC address matches the destination MAC address of the received MPLS frame (915).
 ステップ915の処理で、該当するエントリの宛先MACアドレス303に登録されているMACアドレスと受信したMPLSフレームの宛先MACアドレスが一致すると判定された場合(915:Yes)、パケットトランスポート装置201は、該当するエントリのMACアドレス有効時間304に登録された時間を初期値に更新する(916)。なお、ステップ916の処理は、図7に示す709及び729の処理に対応する。 If it is determined in step 915 that the MAC address registered in the destination MAC address 303 of the corresponding entry matches the destination MAC address of the received MPLS frame (915: Yes), the packet transport device 201 The time registered in the MAC address valid time 304 of the corresponding entry is updated to the initial value (916). Note that the processing of step 916 corresponds to the processing of 709 and 729 shown in FIG.
 そして、パケットトランスポート装置201は、受信したMPLSフレームのMPLSヘッダの入力MPLSラベルを出力ラベルに変換して、MPLSフレームをルータ101に送信する(917)。 Then, the packet transport device 201 converts the input MPLS label of the MPLS header of the received MPLS frame into an output label, and transmits the MPLS frame to the router 101 (917).
 ステップ915の処理で、該当するエントリの宛先MACアドレス303に登録されているMACアドレスと受信したMPLSフレームの宛先MACアドレスが一致しないと判定された場合(915:No)、パケットトランスポート装置201は、ステップ917の処理に進み、受信したMPLSフレームのMPLSヘッダの入力MPLSラベルを出力ラベルに変換して、MPLSフレームをルータ101に送信する。 If it is determined in step 915 that the MAC address registered in the destination MAC address 303 of the corresponding entry does not match the destination MAC address of the received MPLS frame (915: No), the packet transport device 201 In step 917, the input MPLS label in the MPLS header of the received MPLS frame is converted into an output label, and the MPLS frame is transmitted to the router 101.
 ステップ913の処理で、受信したMPLSフレームに対応するパスに該当するエントリを保持していないと判定された場合(913:No)、又は、ステップ914の処理で、該当するエントリの宛先MACアドレス303にMACアドレスが登録されていないと判定された場合(914:No)、パケットトランスポート装置201は、ステップ913の処理で特定されたパスが障害状態として設定されているか否かを判定する(918)。 When it is determined in step 913 that the entry corresponding to the path corresponding to the received MPLS frame is not held (913: No), or in step 914, the destination MAC address 303 of the corresponding entry. When it is determined that the MAC address is not registered in (914: No), the packet transport apparatus 201 determines whether or not the path specified in the process of step 913 is set as a failure state (918). ).
 ステップ918の処理で、当該パスが障害状態として設定されていると判定された場合(918:Yes)、パケットトランスポート装置201は、受信したMPLSフレームのMACヘッダの宛先MACアドレスに設定するユニキャストMACアドレスを保持していないため、受信したMPLSフレームを廃棄する(920)。 If it is determined in step 918 that the path is set as a failure state (918: Yes), the packet transport apparatus 201 sets the unicast to be set as the destination MAC address of the MAC header of the received MPLS frame. Since the MAC address is not held, the received MPLS frame is discarded (920).
 一方、ステップ918の処理で、当該パスが障害状態として設定されていないと判定された場合(918:No)、パケットトランスポート装置201は、当該パスを障害状態として設定し(919)、ステップ920の処理に進み、受信したMPLSフレームを廃棄する。 On the other hand, if it is determined in step 918 that the path is not set as a failure state (918: No), the packet transport apparatus 201 sets the path as a failure state (919), and step 920 Then, the received MPLS frame is discarded.
 以上のように、本実施形態では、MPLSフレームをルータ101から受信したパケットトランスポート装置201は、MPLS-TP通信網200内で通信されるMPLSフレームのMACヘッダに、宛先となるルータ101のユニキャストMACアドレスを付与して送信する。これによって、当該MPLSフレームを受信してルータ101に送信するパケットトランスポート装置201は、受信したMPLSフレームの宛先MACアドレス変換処理を実施する必要はなく、通信の正確性を向上させることができる。 As described above, in this embodiment, the packet transport apparatus 201 that has received the MPLS frame from the router 101 includes the unicode of the destination router 101 in the MAC header of the MPLS frame communicated within the MPLS-TP communication network 200. A cast MAC address is assigned and transmitted. Accordingly, the packet transport apparatus 201 that receives the MPLS frame and transmits it to the router 101 does not need to perform the destination MAC address conversion process of the received MPLS frame, and can improve the accuracy of communication.
 (第3実施形態)
 第1実施形態では、パケットトランスポート装置201は、MPLS-TP通信網200内で通信されるMPLSフレームのMACヘッダに、ブロードキャストMACアドレスを付与して送信する。第3実施形態では、パケットトランスポート装置201は、MPLS-TP通信網200内で通信されるMPLSフレームのMACヘッダに、対向装置となるパケットトランスポート装置201のユニキャストMACアドレスを付与して送信する。これによって、通信の正確性を向上させることができる。
(Third embodiment)
In the first embodiment, the packet transport apparatus 201 assigns a broadcast MAC address to the MAC header of an MPLS frame communicated within the MPLS-TP communication network 200 and transmits the result. In the third embodiment, the packet transport device 201 transmits the MAC header of the MPLS frame communicated in the MPLS-TP communication network 200 with the unicast MAC address of the packet transport device 201 serving as the opposite device. To do. Thereby, the accuracy of communication can be improved.
 本発明の第3実施形態を図10~図12Cを用いて説明する。 A third embodiment of the present invention will be described with reference to FIGS. 10 to 12C.
 図10は、本発明の第3実施形態の宛先MACアドレス学習処理のシーケンス図である。 FIG. 10 is a sequence diagram of destination MAC address learning processing according to the third embodiment of this invention.
 ルータ101Aは、データの送信を開始する場合、パス確立要求をIPフレームでルータ101Bに送信する(不図示)。ルータ101Bは、パス確立要求を受信した場合、ルータ101Aとルータ101Bの間の当該パスに割り当てるMPLSラベルをペイロード部に含むIPフレームをパス確立のためのシグナリングデータとしてルータ101Aに送信する(1001)。なお、このシグナリングデータは、送信元のルータ101BのユニキャストMACアドレス及び送信先のルータ101AのユニキャストMACアドレスを含む。 When starting to transmit data, the router 101A transmits a path establishment request to the router 101B using an IP frame (not shown). When the router 101B receives the path establishment request, the router 101B transmits an IP frame including an MPLS label assigned to the path between the router 101A and the router 101B in the payload portion to the router 101A as signaling data for establishing the path (1001). . This signaling data includes the unicast MAC address of the source router 101B and the unicast MAC address of the destination router 101A.
 パケットトランスポート装置201Bは、パス確立のためのシグナリングデータを受信した場合、パス対応MAC学習テーブル205の受信したシグナリングデータに対応するパスを示すエントリの宛先MACアドレス303に、受信したシグナリングデータに含まれるルータ101BのユニキャストMACアドレスを登録する(1002)。具体的には、パケットトランスポート装置201Bは、MPLS転送テーブル207を参照し、受信したシグナリングデータのペイロード部に含まれるMPLSラベル(出力ラベル)に対応するMPLSラベル(入力ラベル)を特定する。そして、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが特定した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが受信した出力ラベルと一致するエントリの、宛先MACアドレス303に受信したシグナリングデータのMACヘッダに含まれるルータ101BのユニキャストMACアドレスを登録し、MACアドレス有効時間304に有効時間の初期値を設定する。 When the packet transport device 201B receives the signaling data for establishing a path, the packet transport device 201B includes the destination MAC address 303 of the entry indicating the path corresponding to the received signaling data in the path corresponding MAC learning table 205, in the received signaling data. The unicast MAC address of the router 101B to be registered is registered (1002). Specifically, the packet transport apparatus 201B refers to the MPLS transfer table 207, and specifies an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data. The packet transport apparatus 201B then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302. The unicast MAC address of the router 101B included in the MAC header of the received signaling data is registered in the destination MAC address 303 of the entry that matches, and the initial value of the valid time is set in the MAC address valid time 304.
 次に、パケットトランスポート装置201Bは、受信したシグナリングデータにカプセル化用のMPLS出力ラベルを含むMPLSヘッダ及びブロードキャスト宛先MACアドレスを含むMACヘッダを付与し、受信したシグナリングデータをカプセル化する。そして、パケットトランスポート装置201Bは、カプセル化したシグナリングデータをパケットトランスポート装置201Aに送信する(1003)。なお、このカプセル化されたシグナリングデータは、送信元のパケットトランスポート装置201BのユニキャストMACアドレスを含む。 Next, the packet transport apparatus 201B adds an MPLS header including an MPLS output label for encapsulation and a MAC header including a broadcast destination MAC address to the received signaling data, and encapsulates the received signaling data. Then, the packet transport apparatus 201B transmits the encapsulated signaling data to the packet transport apparatus 201A (1003). The encapsulated signaling data includes the unicast MAC address of the source packet transport apparatus 201B.
 パケットトランスポート装置201Aは、カプセル化されたパス確立のためのシグナリングデータを受信した場合、パス対応MAC学習テーブル205の受信したカプセル化内部のシグナリングデータに対応するパスを示すエントリの、宛先MACアドレス303に、受信したカプセル化されたシグナリングデータに含まれるパケットトランスポート装置201BのユニキャストMACアドレスを登録し、ラベルスイッチ可否フラグ305に、有効を設定する(1004)。具体的には、パケットトランスポート装置201Aは、MPLS転送テーブル207を参照し、受信したカプセル化内部のシグナリングデータのペイロード部に含まれるMPLSラベル(出力ラベル)に対応するMPLSラベル(入力ラベル)を特定する。そして、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが特定した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが受信した出力ラベルと一致するエントリの、宛先MACアドレス303に受信したカプセル化されたシグナリングデータのMACヘッダに含まれるパケットトランスポート装置201BのユニキャストMACアドレスを登録し、MACアドレス有効時間304に有効時間の初期値を設定する。さらに、ラベルスイッチ可否フラグ305に有効を設定し、フラグ有効時間306に有効時間の初期値を設定する。 When the packet transport apparatus 201A receives the signaling data for establishing the encapsulated path, the destination MAC address of the entry indicating the path corresponding to the received encapsulation-internal signaling data in the path correspondence MAC learning table 205 The unicast MAC address of the packet transport apparatus 201B included in the received encapsulated signaling data is registered in 303, and the label switch availability flag 305 is set to valid (1004). Specifically, the packet transport apparatus 201A refers to the MPLS transfer table 207 and determines an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data inside the encapsulation. Identify. The packet transport apparatus 201A then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302. The unicast MAC address of the packet transport device 201B included in the MAC header of the encapsulated signaling data received at the destination MAC address 303 of the entry that matches with the MAC address valid time 304 is registered. Set. Further, the label switch enable / disable flag 305 is set to valid, and the flag valid time 306 is set to an initial value of the valid time.
 次に、パケットトランスポート装置201Aは、受信したカプセル化されたシグナリングデータをデカプセル化し、デカプセル化により元のIPフレームに戻ったシグナリングデータをルータ101Aに送信する(1005)。 Next, the packet transport apparatus 201A decapsulates the received encapsulated signaling data, and transmits the signaling data returned to the original IP frame by decapsulation to the router 101A (1005).
 以上の1001~1005の処理によって、ルータ101Aからルータ101Bにデータを送信するためのパスが確立される。また、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205の該当エントリの宛先MACアドレス303にパケットトランスポート装置201BのユニキャストMACアドレスを登録し、ラベルスイッチ可否フラグ305に有効を設定し、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205の該当エントリの宛先MACアドレス303にルータ101BのユニキャストMACアドレスを登録する。 Through the above processing 1001 to 1005, a path for transmitting data from the router 101A to the router 101B is established. Further, the packet transport apparatus 201A registers the unicast MAC address of the packet transport apparatus 201B in the destination MAC address 303 of the corresponding entry of the path correspondence MAC learning table 205, sets the label switch availability flag 305 to valid, The transport device 201 </ b> B registers the unicast MAC address of the router 101 </ b> B in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205.
 次に、ルータ101Aは、MPLSフレームをパケットトランスポート装置201Aに送信する(1006)。なお、ルータ101Aが送信するMPLSフレームのMPLSヘッダは、当該データの送信に用いるMPLSラベルを含み、MACヘッダは、宛先となるルータ101BのユニキャストMACアドレスを含む。 Next, the router 101A transmits an MPLS frame to the packet transport apparatus 201A (1006). Note that the MPLS header of the MPLS frame transmitted by the router 101A includes an MPLS label used for transmitting the data, and the MAC header includes a unicast MAC address of the destination router 101B.
 パケットトランスポート装置201Aは、ルータ101Aによって送信されたMPLSフレームを受信した場合、受信したMPLSフレームをMPLSラベルスイッチにより対向装置であるパケットトランスポート装置201Bに送信可能か否かを、パス対応MAC学習テーブル205を参照して、判定する。具体的には、パケットトランスポート装置201Aは、MPLS転送テーブル207を参照し、受信したMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリのラベルスイッチ可否フラグ305に有効が設定されているか否かを確認する。 When the packet transport apparatus 201A receives the MPLS frame transmitted by the router 101A, the path transport MAC learning determines whether or not the received MPLS frame can be transmitted to the packet transport apparatus 201B which is the opposite apparatus by the MPLS label switch. The determination is made with reference to the table 205. Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 It is confirmed whether or not the label switch enable / disable flag 305 of the entry that matches is set to valid.
 1004の処理で、ラベルスイッチ可否フラグ305に有効が設定されているので、パケットトランスポート装置201Aは、受信したMPLSフレームをMPLSラベルスイッチにより対向装置であるパケットトランスポート装置201Bに送信可能と判定し、1007及び1008の処理を実行する。 Since the label switch availability flag 305 is set to valid in the processing of 1004, the packet transport apparatus 201A determines that the received MPLS frame can be transmitted to the packet transport apparatus 201B that is the opposite apparatus by the MPLS label switch. , 1007 and 1008 are executed.
 パケットトランスポート装置201Aは、パス対応MAC学習テーブル205の受信したMPLSフレームに対応するパスを示すエントリの、MACアドレス有効時間304に登録された時間を初期値に更新し、フラグ有効時間306に登録された時間を初期値に更新する(1007)。具体的には、パケットトランスポート装置201Aは、MPLS転送テーブル207を参照し、受信したMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリの、MACアドレス有効時間304に登録された時間を初期値に更新し、フラグ有効時間306に登録された時間を初期値に更新する。 The packet transport apparatus 201A updates the time registered in the MAC address valid time 304 of the entry indicating the path corresponding to the received MPLS frame in the path correspondence MAC learning table 205 to the initial value and registers it in the flag valid time 306. The set time is updated to the initial value (1007). Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 The time registered in the MAC address valid time 304 of the entry that coincides with is updated to the initial value, and the time registered in the flag valid time 306 is updated to the initial value.
 また、パケットトランスポート装置201Aは、当該エントリの宛先MACアドレス303に登録されたMACアドレス(パケットトランスポート装置201BのユニキャストMACアドレス)を取得する。そして、パケットトランスポート装置201Aは、受信したMPLSフレームのMPLSヘッダの入力ラベルを出力ラベルに変換し、受信したMPLSフレームのMACヘッダの宛先MACアドレスを取得したパケットトランスポート装置201BのユニキャストMACアドレスに変換して、MPLSフレームをパケットトランスポート装置201Bに送信、すなわち、MPLSラベルスイッチする(1008)。 Also, the packet transport device 201A acquires the MAC address (unicast MAC address of the packet transport device 201B) registered in the destination MAC address 303 of the entry. Then, the packet transport device 201A converts the input label of the MPLS header of the received MPLS frame into an output label, and obtains the destination MAC address of the MAC header of the received MPLS frame, and the unicast MAC address of the packet transport device 201B Then, the MPLS frame is transmitted to the packet transport apparatus 201B, that is, the MPLS label is switched (1008).
 パケットトランスポート装置201Bは、パケットトランスポート装置201Aによって送信されたMPLSフレームを受信した場合、パス対応MAC学習テーブル205のMACアドレス有効時間304に登録された時間を初期値に更新する(1009)。具体的には、パケットトランスポート装置201Bは、MPLS転送テーブル207を参照し、受信したMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリのMACアドレス有効時間304に登録された時間を初期値に更新する。 When the packet transport device 201B receives the MPLS frame transmitted by the packet transport device 201A, the packet transport device 201B updates the time registered in the MAC address valid time 304 of the path correspondence MAC learning table 205 to the initial value (1009). Specifically, the packet transport apparatus 201B refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201B matches the input label received by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205 and the output label specified by the MPLS label registered in the MPLS output label 302. The time registered in the MAC address valid time 304 of the entry that matches is updated to the initial value.
 また、パケットトランスポート装置201Bは、当該エントリの宛先MACアドレス303に登録されたMACアドレス(ルータ101BのユニキャストMACアドレス)を取得する。そして、パケットトランスポート装置201Bは、受信したMPLSフレームのMACヘッダのパケットトランスポート装置201BのユニキャストMACアドレスを取得したルータ101BのユニキャストMACアドレスに変換し、受信したMPLSフレームのMPLSヘッダのMPLSラベルを出力ラベルに変換して、MPLSフレームをルータ101Bに送信する(1010)。 Also, the packet transport device 201B acquires the MAC address (unicast MAC address of the router 101B) registered in the destination MAC address 303 of the entry. Then, the packet transport apparatus 201B converts the unicast MAC address of the packet transport apparatus 201B in the MAC header of the received MPLS frame into the unicast MAC address of the acquired router 101B, and the MPLS in the MPLS header of the received MPLS frame. The label is converted into an output label, and the MPLS frame is transmitted to the router 101B (1010).
 なお、パケットトランスポート装置201Aは、ルータ101Aによって送信されたMPLSフレームを、パス対応MAC学習テーブル205の、MACアドレス有効時間304に登録された時間を超過して受信しない場合、宛先MACアドレス303に登録されたMACアドレスを削除し、フラグ有効時間306に登録された時間を超過して受信しない場合、ラベルスイッチ可否フラグ305に設定されたフラグを無効に設定する(1011)。同様に、パケットトランスポート装置201Bは、ルータ101Aによって送信されたMPLSフレームを、パス対応MAC学習テーブル205の、MACアドレス有効時間304に登録された時間を超過して受信しない場合、宛先MACアドレス303に登録されたMACアドレスを削除する(1012)。 If the packet transport apparatus 201A does not receive the MPLS frame transmitted by the router 101A beyond the time registered in the MAC address valid time 304 of the path correspondence MAC learning table 205, the packet transport apparatus 201A sets the destination MAC address 303 as the destination. If the registered MAC address is deleted, and the received time exceeds the time registered in the flag valid time 306, the flag set in the label switch enable / disable flag 305 is set to invalid (1011). Similarly, when the packet transport apparatus 201B does not receive the MPLS frame transmitted by the router 101A beyond the time registered in the MAC address valid time 304 of the path correspondence MAC learning table 205, the packet transport apparatus 201B receives the destination MAC address 303. Delete the MAC address registered in (1012).
 次に、1011の処理でパケットトランスポート装置201Aのパス対応MAC学習テーブル205のパス対応MAC学習テーブル205の宛先MACアドレス303が削除され、ラベルスイッチ可否フラグ305が無効に設定され、1012の処理でパケットトランスポート装置201Bのパス対応MAC学習テーブル205の宛先MACアドレス303が削除された後に、ルータ101AによってMPLSフレームが送信された場合(1021)のシーケンスについて説明する。なお、1021の処理でルータ101Aによって送信されるMPLSフレームのMPLSヘッダ及びMACヘッダは、1006の処理でルータ101Aによって送信されるMPLSフレームのMPLSヘッダ及びMACヘッダと同じく、当該データの送信に用いるMPLSラベル及び宛先となるルータ101BのユニキャストMACアドレスを含む。 Next, the destination MAC address 303 in the path correspondence MAC learning table 205 of the path correspondence MAC learning table 205 of the packet transport device 201A of the packet transport apparatus 201A is deleted by the processing of 1011, the label switch availability flag 305 is set invalid, and the processing of 1012 A sequence when the MPLS frame is transmitted by the router 101A (1021) after the destination MAC address 303 of the path correspondence MAC learning table 205 of the packet transport apparatus 201B is deleted will be described. Note that the MPLS header and MAC header of the MPLS frame transmitted by the router 101A in the process 1021 are the MPLS used for transmission of the data, similar to the MPLS header and MAC header of the MPLS frame transmitted by the router 101A in the process 1006. The label and the unicast MAC address of the destination router 101B are included.
 まず、パケットトランスポート装置201Aは、ルータ101Aによって送信されたMPLSフレームを受信した場合、パス対応MAC学習テーブル205の受信したMPLSフレームに対応するパスを示すエントリの、ラベルスイッチ可否フラグ305に、有効を設定する(1022)。具体的には、パケットトランスポート装置201Aは、MPLS転送テーブル207を参照し、受信したMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリの、ラベルスイッチ可否フラグ305に有効を設定し、フラグ有効時間306に有効時間の初期値を設定する。 First, when the packet transport apparatus 201A receives the MPLS frame transmitted by the router 101A, the packet transport apparatus 201A sets the valid label switch availability flag 305 of the entry indicating the path corresponding to the received MPLS frame in the path correspondence MAC learning table 205. Is set (1022). Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 Is set to valid for the label switch enable / disable flag 305, and an initial value of the valid time is set to the flag valid time 306.
 また、パケットトランスポート装置201Aは、当該MPLSフレーム受信時には当該エントリの宛先MACアドレス303にMACアドレスは登録されておらずラベル可否フラグ305は無効に設定されているため、カプセル化用のMPLS出力ラベルを含むMPLSヘッダ及びブロードキャスト宛先MACアドレスを含むMACヘッダを付与し、受信したMPLSフレームをカプセル化する。そして、パケットトランスポート装置201Aは、カプセル化したMPLSフレームをパケットトランスポート装置201Bに送信する(1023)。 In addition, when receiving the MPLS frame, the packet transport apparatus 201A has no MAC address registered in the destination MAC address 303 of the entry and the label availability flag 305 is set to invalid, so that the MPLS output label for encapsulation is used. And an MPLS header including a broadcast destination MAC address are added, and the received MPLS frame is encapsulated. Then, the packet transport device 201A transmits the encapsulated MPLS frame to the packet transport device 201B (1023).
 パケットトランスポート装置201Bは、パケットトランスポート装置201Aによって送信されたカプセル化されたMPLSフレームを受信した場合、パス対応MAC学習テーブル205の受信したカプセル化内部のMPLSフレームに対応するパスを示すエントリの宛先MACアドレス303に、受信したカプセル化内部のMPLSフレームに含まれるルータ101BのユニキャストMACアドレスを登録する(1024)。具体的には、パケットトランスポート装置201Bは、MPLS転送テーブル207を参照し、受信したカプセル化内部のMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリの、宛先MACアドレス303に受信したカプセル化内部のMPLSフレームのMACヘッダに含まれるルータ101BのユニキャストMACアドレスを登録し、MACアドレス有効時間304に有効時間の初期値を設定する。 When the packet transport apparatus 201B receives the encapsulated MPLS frame transmitted by the packet transport apparatus 201A, the packet transport apparatus 201B stores an entry indicating a path corresponding to the received MPLS frame inside the encapsulated path in the path correspondence MAC learning table 205. The unicast MAC address of the router 101B included in the received MPLS frame inside the encapsulation is registered in the destination MAC address 303 (1024). Specifically, the packet transport apparatus 201B refers to the MPLS forwarding table 207, and determines the MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame within the MPLS frame. Identify. Then, the packet transport device 201B matches the input label received by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205 and the output label specified by the MPLS label registered in the MPLS output label 302. The unicast MAC address of the router 101B included in the MAC header of the received MPLS frame inside the encapsulation is registered in the destination MAC address 303 of the entry that matches, and the initial value of the valid time is set in the MAC address valid time 304 .
 次に、パケットトランスポート装置201Bは、受信したカプセル化されたMPLSフレームをデカプセル化し、デカプセル化により元のMPLSフレームに戻ったMPLSフレームを、MPLSヘッダ(ルータ101Aによって付与されたMPLSヘッダ)及びMACヘッダ(ルータ101Aによって付与されたMACヘッダ)はそのままで、ルータ101Bに送信する(1025)。 Next, the packet transport apparatus 201B decapsulates the received encapsulated MPLS frame, and converts the MPLS frame that has been returned to the original MPLS frame by decapsulation into an MPLS header (an MPLS header added by the router 101A) and a MAC. The header (the MAC header assigned by the router 101A) is sent as it is to the router 101B (1025).
 以上の1021~1025の処理によって、パケットトランスポート装置201BがMPLSフレームの宛先となるルータ101BのMACアドレスを保持していない場合、パケットトランスポート装置201Aは、MPLSフレームをカプセル化して送信するため、MPLSフレームを正しく転送することができる。また、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205の該当エントリのラベルスイッチ可否フラグ305に有効を設定し、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205の該当エントリの宛先MACアドレス303にルータ101BのユニキャストMACアドレスを登録する。 When the packet transport apparatus 201B does not hold the MAC address of the router 101B that is the destination of the MPLS frame by the above processing of 1021 to 1025, the packet transport apparatus 201A encapsulates the MPLS frame and transmits it. An MPLS frame can be correctly transferred. Further, the packet transport apparatus 201A sets “effective” in the label switch availability flag 305 of the corresponding entry of the path correspondence MAC learning table 205, and the packet transport apparatus 201B sets the destination MAC address of the corresponding entry of the path correspondence MAC learning table 205. The unicast MAC address of the router 101B is registered in 303.
 次に、ルータ101Aは、MPLSフレームをパケットトランスポート装置201Aに送信する(1026)。なお、ルータ101Aが送信するMPLSフレームのMPLSヘッダ及びMACヘッダは、当該データの送信に用いるMPLSラベル及び宛先となるルータ101BのユニキャストMACアドレスを含む。 Next, the router 101A transmits an MPLS frame to the packet transport apparatus 201A (1026). Note that the MPLS header and the MAC header of the MPLS frame transmitted by the router 101A include the MPLS label used for transmission of the data and the unicast MAC address of the destination router 101B.
 パケットトランスポート装置201Aは、ルータ101Aによって送信されたMPLSフレームを受信した場合、受信したMPLSフレームをMPLSラベルスイッチにより対向装置であるパケットトランスポート装置201Bに送信可能か否かを、パス対応MAC学習テーブル205を参照して、判定する。具体的には、パケットトランスポート装置201Aは、MPLS転送テーブル207を参照し、受信したMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリのラベルスイッチ可否フラグ305に有効が設定されているか否かを確認する。 When the packet transport apparatus 201A receives the MPLS frame transmitted by the router 101A, the path transport MAC learning determines whether or not the received MPLS frame can be transmitted to the packet transport apparatus 201B which is the opposite apparatus by the MPLS label switch. The determination is made with reference to the table 205. Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 It is confirmed whether or not the label switch enable / disable flag 305 of the entry that matches is set to valid.
 1004の処理で、ラベルスイッチ可否フラグ305に有効が設定されているので、パケットトランスポート装置201Aは、受信したMPLSフレームをMPLSラベルスイッチにより対向装置であるパケットトランスポート装置201Bに送信可能と判定し、1027及び1028の処理を実行する。 Since the label switch availability flag 305 is set to valid in the processing of 1004, the packet transport apparatus 201A determines that the received MPLS frame can be transmitted to the packet transport apparatus 201B that is the opposite apparatus by the MPLS label switch. Processes 1027 and 1028 are executed.
 パケットトランスポート装置201Aは、パス対応MAC学習テーブル205の受信したMPLSフレームに対応するパスを示すエントリの、フラグ有効時間306に登録された時間を初期値に更新する(1027)。具体的には、パケットトランスポート装置201Aは、MPLS転送テーブル207を参照し、受信したMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリの、フラグ有効時間306に登録された時間を初期値に更新する。なお、当該エントリの宛先MACアドレス303にMACアドレスが登録されていないため、MACアドレス有効時間304に登録された時間を初期値に更新しない。 The packet transport apparatus 201A updates the time registered in the flag valid time 306 of the entry indicating the path corresponding to the received MPLS frame in the path corresponding MAC learning table 205 to the initial value (1027). Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 The time registered in the flag valid time 306 of the entry that matches is updated to the initial value. Since the MAC address is not registered in the destination MAC address 303 of the entry, the time registered in the MAC address valid time 304 is not updated to the initial value.
 また、パケットトランスポート装置201Aは、当該エントリの宛先MACアドレス303にMACアドレスが登録されていないため、受信したMPLSフレームのMPLSヘッダの入力ラベルを出力ラベルに変換し、受信したMPLSフレームのMACヘッダの宛先MACアドレスをブロードキャストMACアドレスに変換して、MPLSフレームをパケットトランスポート装置201Bに送信、すなわち、MPLSラベルスイッチする(1028)。 Further, since the MAC address is not registered in the destination MAC address 303 of the entry, the packet transport device 201A converts the input label of the MPLS header of the received MPLS frame into an output label, and the MAC header of the received MPLS frame The destination MAC address is converted into a broadcast MAC address, and the MPLS frame is transmitted to the packet transport apparatus 201B, that is, the MPLS label is switched (1028).
 パケットトランスポート装置201Bは、パケットトランスポート装置201Aによって送信されたMPLSフレームを受信した場合、パス対応MAC学習テーブル205のMACアドレス有効時間304に登録された時間を初期値に更新する(1029)。具体的には、パケットトランスポート装置201Bは、MPLS転送テーブル207を参照し、受信したMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリのMACアドレス有効時間304に登録された時間を初期値に更新する。 When the packet transport device 201B receives the MPLS frame transmitted by the packet transport device 201A, the packet transport device 201B updates the time registered in the MAC address valid time 304 of the path correspondence MAC learning table 205 to the initial value (1029). Specifically, the packet transport apparatus 201B refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201B matches the input label received by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205 and the output label specified by the MPLS label registered in the MPLS output label 302. The time registered in the MAC address valid time 304 of the entry that matches is updated to the initial value.
 また、パケットトランスポート装置201Bは、当該エントリの宛先MACアドレス303に登録されたMACアドレス(ルータ101BのユニキャストMACアドレス)を取得する。そして、パケットトランスポート装置201Bは、受信したMPLSフレームのMACヘッダのブロードキャスト宛先MACアドレスを取得したルータ101BのユニキャストMACアドレスに変換し、受信したMPLSフレームのMPLSヘッダのMPLSラベルを出力ラベルに変換して、MPLSフレームをルータ101Bに送信する(1030)。 Also, the packet transport device 201B acquires the MAC address (unicast MAC address of the router 101B) registered in the destination MAC address 303 of the entry. Then, the packet transport apparatus 201B converts the broadcast destination MAC address of the MAC header of the received MPLS frame into the unicast MAC address of the acquired router 101B, and converts the MPLS label of the MPLS header of the received MPLS frame into an output label. Then, the MPLS frame is transmitted to the router 101B (1030).
 次に、ルータ101Bは、MPLSフレームをパケットトランスポート装置201Bに送信する(1031)。なお、ルータ101Bが送信するMPLSフレームのMPLSヘッダ及びMACヘッダは、ルータ101Bからルータ101Aへのデータ送信に用いるMPLSラベル及び送信元となるルータ101BのユニキャストMACアドレスを含む。 Next, the router 101B transmits an MPLS frame to the packet transport apparatus 201B (1031). The MPLS header and the MAC header of the MPLS frame transmitted by the router 101B include an MPLS label used for data transmission from the router 101B to the router 101A and a unicast MAC address of the router 101B as a transmission source.
 パケットトランスポート装置201Bは、ルータ101Bからルータ101AへのMPLSフレームを受信した場合、パス対応MAC学習テーブル205の受信したMPLSフレームに対応するパスと対になる逆方向のパスを示すエントリの宛先MACアドレス303に、受信したMPLSフレームに含まれるルータ101BのユニキャストMACアドレスを登録する(1032)。具体的には、パケットトランスポート装置201Bは、MPLS転送テーブル207を参照し、受信したMPLSフレームのMPLSヘッダに含まれるMPLSラベルに対応するパスと対になる逆方向のパスのMPLSラベル(入力ラベル)及びMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが特定した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリの、宛先MACアドレス303に受信したMPLSフレームのMACヘッダに含まれるルータ101BのユニキャストMACアドレスを登録し、MACアドレス有効時間304に有効時間の初期値を設定する。 When the packet transport apparatus 201B receives an MPLS frame from the router 101B to the router 101A, the destination MAC of an entry indicating a reverse path paired with the path corresponding to the received MPLS frame in the path correspondence MAC learning table 205 The unicast MAC address of the router 101B included in the received MPLS frame is registered in the address 303 (1032). Specifically, the packet transport apparatus 201B refers to the MPLS forwarding table 207, and refers to the MPLS label (input label) of the reverse path paired with the path corresponding to the MPLS label included in the MPLS header of the received MPLS frame. ) And MPLS label (output label). Then, the packet transport apparatus 201B matches the input label specified by the MPLS input label 301 registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302. The unicast MAC address of the router 101B included in the MAC header of the received MPLS frame is registered in the destination MAC address 303 of the entry that matches, and the initial value of the valid time is set in the MAC address valid time 304.
 次に、パケットトランスポート装置201Bは、受信したMPLSフレームにカプセル化用のMPLS出力ラベルを含むMPLSヘッダ及びブロードキャスト宛先MACアドレスを含むMACヘッダを付与し、受信したMPLSフレームをカプセル化する。そして、パケットトランスポート装置201Bは、カプセル化したMPLSフレームをパケットトランスポート装置201Aに送信する(1033)。なお、このカプセル化されたMPLSフレームは、送信元のパケットトランスポート装置201BのユニキャストMACアドレスを含む。 Next, the packet transport apparatus 201B adds an MPLS header including an MPLS output label for encapsulation and a MAC header including a broadcast destination MAC address to the received MPLS frame, and encapsulates the received MPLS frame. Then, the packet transport apparatus 201B transmits the encapsulated MPLS frame to the packet transport apparatus 201A (1033). The encapsulated MPLS frame includes the unicast MAC address of the source packet transport apparatus 201B.
 パケットトランスポート装置201Aは、カプセル化されたMPLSフレームを受信した場合、パス対応MAC学習テーブル205の受信したカプセル化内部のMPLSフレームに対応するパスと対になる逆方向のパスを示すエントリの、宛先MACアドレス303に、受信したカプセル化されたMPLSフレームに含まれるパケットトランスポート装置201BのユニキャストMACアドレスを登録し、ラベルスイッチ可否フラグ305に、有効を設定する(1034)。具体的には、パケットトランスポート装置201Aは、MPLS転送テーブル207を参照し、受信したカプセル化内部のMPLSフレームのMPLSヘッダに含まれるMPLSラベルに対応するパスと対になる逆方向のパスのMPLSラベル(入力ラベル)及びMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが特定した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリの、宛先MACアドレス303に受信したカプセル化されたMPLSフレームのMACヘッダに含まれるパケットトランスポート装置201BのユニキャストMACアドレスを登録し、MACアドレス有効時間304に有効時間の初期値を設定する。さらに、ラベルスイッチ可否フラグ305に有効を設定し、フラグ有効時間306に有効時間の初期値を設定する。 When the packet transport apparatus 201A receives the encapsulated MPLS frame, the packet transport apparatus 201A includes an entry indicating a reverse path that is paired with the path corresponding to the received MPLS frame inside the encapsulated MAC learning table 205. The unicast MAC address of the packet transport device 201B included in the received encapsulated MPLS frame is registered in the destination MAC address 303, and the validity is set in the label switch availability flag 305 (1034). Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207, and refers to the MPLS of the reverse path that is paired with the path corresponding to the MPLS label included in the MPLS header of the received MPLS frame within the MPLS frame. A label (input label) and an MPLS label (output label) are specified. The packet transport apparatus 201A then matches the input label specified by the MPLS input label 301 of the MPLS correspondence label 301 in the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302. The unicast MAC address of the packet transport device 201B included in the MAC header of the encapsulated MPLS frame received at the destination MAC address 303 of the entry that matches with the MAC address valid time 304 is registered as the initial value of the valid time. Set. Further, the label switch enable / disable flag 305 is set to valid, and the flag valid time 306 is set to an initial value of the valid time.
 次に、パケットトランスポート装置201Aは、受信したカプセル化されたMPLSフレームをデカプセル化し、デカプセル化により元のMPLSフレームに戻ったシグナリングデータをルータ101Aに送信する(1035)。 Next, the packet transport apparatus 201A decapsulates the received encapsulated MPLS frame, and transmits the signaling data returned to the original MPLS frame by decapsulation to the router 101A (1035).
 以上の1031~1035の処理によって、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205の該当エントリの宛先MACアドレス303にパケットトランスポート装置201BのユニキャストMACアドレスを登録し、ラベルスイッチ可否フラグ305に有効を設定し、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205の該当エントリの宛先MACアドレス303にルータ101BのユニキャストMACアドレスを登録する。 Through the above processing 1031 to 1035, the packet transport apparatus 201A registers the unicast MAC address of the packet transport apparatus 201B in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205, and the label switch enable / disable flag 305. The packet transport apparatus 201B registers the unicast MAC address of the router 101B in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205.
 なお、図10に示す1036~1040の処理は、1006~1010の処理と同じであるので、説明を省略する。 Note that the processing of 1036 to 1040 shown in FIG. 10 is the same as the processing of 1006 to 1010, and thus description thereof will be omitted.
 次に、ルータ101Aからルータ101Bへのデータの送信に用いるパスを解除する場合の処理について説明する。 Next, processing for canceling a path used for data transmission from the router 101A to the router 101B will be described.
 ルータ101Aは、データの送信を終了する場合、パス解除要求をIPフレームでルータ101Bに送信する(不図示)。ルータ101Bは、パス解除要求を受信した場合、解除するパスのMPLSラベルをペイロード部に含むIPフレームをパス解除のためのシグナリングデータとしてルータ101Aに送信する(1041)。なお、このシグナリングデータは、送信元のルータ101BのユニキャストMACアドレス及び送信先のルータ101AのユニキャストMACアドレスを含む。 When the router 101A finishes data transmission, the router 101A transmits a path release request to the router 101B using an IP frame (not shown). When receiving the path release request, the router 101B transmits an IP frame including the MPLS label of the path to be released in the payload portion to the router 101A as signaling data for path release (1041). This signaling data includes the unicast MAC address of the source router 101B and the unicast MAC address of the destination router 101A.
 パケットトランスポート装置201Bは、パス解除のためのシグナリングデータを受信した場合、パス対応MAC学習テーブル205の受信したシグナリングデータに対応するパスを示すエントリの宛先MACアドレス303に登録されたMACアドレスを削除する(1042)。具体的には、パケットトランスポート装置201Bは、MPLS転送テーブル207を参照し、受信したシグナリングデータのペイロード部に含まれるMPLSラベル(出力ラベル)に対応するMPLSラベル(入力ラベル)を特定する。そして、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが特定した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが受信した出力ラベルと一致するエントリの、宛先MACアドレス303に登録されたMACアドレスを削除する。 When the packet transport apparatus 201B receives signaling data for path release, the packet transport apparatus 201B deletes the MAC address registered in the destination MAC address 303 of the entry indicating the path corresponding to the received signaling data in the path correspondence MAC learning table 205 (1042). Specifically, the packet transport apparatus 201B refers to the MPLS transfer table 207, and specifies an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data. The packet transport apparatus 201B then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302. The MAC address registered in the destination MAC address 303 of the entry that matches is deleted.
 次に、パケットトランスポート装置201Bは、受信したシグナリングデータにカプセル化用のMPLS出力ラベル及びブロードキャスト宛先MACアドレスを含むMPLSヘッダ及びMACヘッダを付与し、受信したシグナリングデータをカプセル化する。そして、パケットトランスポート装置201Bは、カプセル化したシグナリングデータをパケットトランスポート装置201Aに送信する(1043)。 Next, the packet transport apparatus 201B attaches an MPLS header and an MAC header including an MPLS output label for encapsulation and a broadcast destination MAC address to the received signaling data, and encapsulates the received signaling data. Then, the packet transport device 201B transmits the encapsulated signaling data to the packet transport device 201A (1043).
 パケットトランスポート装置201Aは、カプセル化されたパス解除のためのシグナリングデータを受信した場合、パス対応MAC学習テーブル205の受信したカプセル化内部のシグナリングデータに対応するパスを示すエントリの宛先MACアドレス303に登録されたMACアドレスを削除し、ラベルスイッチ可否フラグ305に無効を設定する(1044)。具体的には、パケットトランスポート装置201Aは、MPLS転送テーブル207を参照し、受信したカプセル化内部のシグナリングデータのペイロード部に含まれるMPLSラベル(出力ラベル)に対応するMPLSラベル(入力ラベル)を特定する。そして、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが特定した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが受信した出力ラベルと一致するエントリの、宛先MACアドレス303に登録されたMACアドレスを削除し、ラベルスイッチ可否フラグ305に無効を設定する。 When the packet transport apparatus 201A receives the signaling data for releasing the encapsulated path, the destination MAC address 303 of the entry indicating the path corresponding to the received encapsulation data in the path corresponding MAC learning table 205 Is deleted, and the label switch enable / disable flag 305 is set to invalid (1044). Specifically, the packet transport apparatus 201A refers to the MPLS transfer table 207 and determines an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data inside the encapsulation. Identify. The packet transport apparatus 201A then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302. Is deleted, and the label switch enable / disable flag 305 is set to invalid.
 次に、パケットトランスポート装置201Aは、受信したカプセル化されたシグナリングデータをデカプセル化し、デカプセル化により元のIPフレームに戻ったシグナリングデータをルータ101Aに送信する(1045)。 Next, the packet transport device 201A decapsulates the received encapsulated signaling data, and transmits the signaling data returned to the original IP frame by decapsulation to the router 101A (1045).
 以上の1041~1045の処理によって、ルータ101Aからルータ101Bにデータを送信するためのパスが解除される。 Through the above processing of 1041 to 1045, the path for transmitting data from the router 101A to the router 101B is released.
 次に、図11A~図12Cを用いてパケットトランスポート装置201がフレームを受信した場合の処理について説明する。 Next, processing when the packet transport apparatus 201 receives a frame will be described with reference to FIGS. 11A to 12C.
 図11Aは、本発明の第3実施形態のパケットトランスポート装置201がMPLS-TP通信網200の外部から受信したフレームがMPLSフレームでない場合の処理のフローチャートである。図11B及び図11Cは、本発明の第3実施形態のパケットトランスポート装置201がMPLS-TP通信網200の外部から受信したフレームがMPLSフレームである場合の処理のフローチャートである。これらの処理は、パケットトランスポート装置201の図示しないプロセッサによって実行される。 FIG. 11A is a flowchart of processing when the packet transport apparatus 201 according to the third embodiment of the present invention receives a frame received from the outside of the MPLS-TP communication network 200 that is not an MPLS frame. 11B and 11C are flowcharts of processing when the packet transport device 201 according to the third exemplary embodiment of the present invention receives an MPLS frame as a frame received from the outside of the MPLS-TP communication network 200. These processes are executed by a processor (not shown) of the packet transport apparatus 201.
 まず、パケットトランスポート装置201は、受信したフレームがMPLSフレームであるか否かを判定する(1101)。具体的には、パケットトランスポート装置201は、受信したフレームにMPLSヘッダが含まれていれば、受信したフレームがMPLSフレームであると判定し(1101:Yes)、受信したフレームにMPLSヘッダが含まれていなければ、受信したフレームがMPLSフレームでないと判定する(1101:No)。 First, the packet transport device 201 determines whether or not the received frame is an MPLS frame (1101). Specifically, if the received frame includes an MPLS header, the packet transport apparatus 201 determines that the received frame is an MPLS frame (1101: Yes), and the received frame includes an MPLS header. If not, it is determined that the received frame is not an MPLS frame (1101: No).
 ステップ1101の処理で、受信したフレームがMPLSフレームでないと判定された場合(1101:No)、パケットトランスポート装置201は、受信したフレームに対応するMPLS-TP通信網200内のパスを特定できるか否かを判定する(1102)。受信したフレームがパスの確立又は解除のためのシグナリングデータであれば、MPLSラベルが受信フレームのペイロード部に含まれるので、パケットトランスポート装置201は、MPLS転送テーブル207を参照し、当該フレームに対応するMPLS-TP通信網200内のパスを特定できる。 If it is determined in step 1101 that the received frame is not an MPLS frame (1101: No), can the packet transport apparatus 201 identify the path in the MPLS-TP communication network 200 corresponding to the received frame? It is determined whether or not (1102). If the received frame is signaling data for establishing or releasing a path, the MPLS label is included in the payload portion of the received frame, so the packet transport apparatus 201 refers to the MPLS forwarding table 207 and corresponds to the frame. The path in the MPLS-TP communication network 200 can be specified.
 ステップ1102の処理で、受信したフレームに対応するMPLS-TP通信網200内のパスを特定できると判定された場合(1102:Yes)、受信したフレームはパスの確立又は解除のためのシグナリングデータであるので、パケットトランスポート装置201は、パス対応MAC管理テーブル205を更新すべく、ステップ1103以降の処理に進む。 If it is determined in step 1102 that the path in the MPLS-TP communication network 200 corresponding to the received frame can be specified (1102: Yes), the received frame is signaling data for establishing or releasing the path. Therefore, the packet transport apparatus 201 proceeds to the processing from step 1103 to update the path correspondence MAC management table 205.
 まず、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、受信したフレームに対応するパスに該当するエントリを保持しているか否かを判定する(1103)。 First, the packet transport apparatus 201 determines whether or not an entry corresponding to the path corresponding to the received frame is held in the path corresponding MAC learning table 205 (1103).
 ステップ1103の処理で、受信したフレームに対応するパスに該当するエントリを保持していないと判定された場合(1103:No)、パス対応MAC学習テーブル205内に更新するエントリが存在しないので、ステップ1109の処理に進む。 If it is determined in step 1103 that the entry corresponding to the path corresponding to the received frame is not held (1103: No), there is no entry to be updated in the path correspondence MAC learning table 205. The process proceeds to 1109.
 一方、ステップ1103の処理で、受信したフレームに対応するパスに該当するエントリを保持していると判定された場合(1103:Yes)、パケットトランスポート装置201は、受信したフレームがパスの解除のためのシグナリングデータであるか否かを判定する(1104)。 On the other hand, if it is determined in step 1103 that the entry corresponding to the path corresponding to the received frame is held (1103: Yes), the packet transport device 201 determines that the received frame is a path release. It is determined whether or not the data is signaling data (1104).
 ステップ1104の処理で、受信したフレームがパスの解除のためのシグナリングデータでないと判定された場合(1104:No)、すなわち、受信したフレームがパスの確立のためのシグナリングデータである場合、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303に、受信したフレームの送信元MACアドレスを登録し(1105)、ステップ1107の処理に進む。なお、ステップ1105の処理は、図10に示す1002の処理に対応する。 If it is determined in step 1104 that the received frame is not signaling data for path release (1104: No), that is, if the received frame is signaling data for path establishment, the packet The port device 201 registers the transmission source MAC address of the received frame in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205 (1105), and proceeds to the processing of step 1107. Note that the processing of step 1105 corresponds to the processing of 1002 shown in FIG.
 一方、ステップ1104の処理で、受信したフレームがパスの解除のためのシグナリングデータであると判定された場合(1104:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303に登録されたMACアドレスを削除し(1106)、ステップ1107の処理に進む。なお、ステップ1106の処理は、図10に示す1042の処理に対応する。 On the other hand, if it is determined in step 1104 that the received frame is signaling data for releasing the path (1104: Yes), the packet transport apparatus 201 determines that the corresponding entry in the path correspondence MAC learning table 205 The MAC address registered in the destination MAC address 303 is deleted (1106), and the process proceeds to step 1107. Note that the processing of step 1106 corresponds to the processing of 1042 shown in FIG.
 ステップ1105の処理でパス対応MAC学習テーブル205の宛先MACアドレス303にMACアドレスが登録された場合、又は、ステップ1106の処理でパス対応MAC学習テーブル205の宛先MACアドレス303からMACアドレスが削除された場合、パケットトランスポート装置201は、ステップ502の処理で特定されたパスが障害状態として設定されているか否かを判定する(1107)。 When the MAC address is registered in the destination MAC address 303 of the path corresponding MAC learning table 205 in the process of step 1105, or the MAC address is deleted from the destination MAC address 303 of the path corresponding MAC learning table 205 in the process of step 1106. In this case, the packet transport apparatus 201 determines whether or not the path specified in the process of step 502 is set as a failure state (1107).
 ステップ1107の処理で、当該パスが障害状態として設定されていると判定された場合(1107:Yes)、パケットトランスポート装置201は当該障害状態の設定を解除し(1108)、ステップ1109の処理に進む。障害状態の設定を解除する理由は、シグナリングデータはパス確立要求又はパス解除要求に対する応答であるので、当該パスに障害は発生していないとみなすからである。 If it is determined in step 1107 that the path is set as a failure state (1107: Yes), the packet transport apparatus 201 cancels the setting of the failure state (1108), and the processing in step 1109 is performed. move on. The reason for canceling the setting of the failure state is that since the signaling data is a response to the path establishment request or the path cancellation request, it is considered that no failure has occurred in the path.
 ステップ1107の処理で、当該パスが障害状態として設定されていないと判定された場合(1107:No)、又はステップ1108の処理を実行した場合、パケットトランスポート装置201は、カプセル化用のMPLS出力ラベルを含むMPLSヘッダ及びブロードキャスト宛先MACアドレスを含むMACヘッダを付与し、受信したフレームをカプセル化して、カプセル化した受信フレームを送信する(1109)。 If it is determined in step 1107 that the path is not set as a failure state (1107: No), or if the processing in step 1108 is executed, the packet transport apparatus 201 outputs an MPLS output for encapsulation. An MPLS header including a label and a MAC header including a broadcast destination MAC address are added, the received frame is encapsulated, and the encapsulated received frame is transmitted (1109).
 なお、ステップ1102の処理で、受信したフレームに対応するMPLS-TP通信網200内のパスを特定できないと判定された場合(1102:No)、ステップ1109の処理に進み、受信したフレームをカプセル化して、カプセル化した受信フレームを送信する。 If it is determined in step 1102 that the path in the MPLS-TP communication network 200 corresponding to the received frame cannot be specified (1102: No), the process proceeds to step 1109 to encapsulate the received frame. Then, the encapsulated received frame is transmitted.
 ステップ1101の処理で、受信したフレームがMPLSフレームであると判定された場合(1101:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、受信したMPLSフレームに含まれるMPLSラベルに対応するパスと対になる逆方向のパスに該当するエントリを保持しているか否かを判定する(1110)。 When it is determined in step 1101 that the received frame is an MPLS frame (1101: Yes), the packet transport apparatus 201 includes an MPLS label included in the received MPLS frame in the path-related MAC learning table 205. It is determined whether or not an entry corresponding to a reverse path paired with the path corresponding to is held (1110).
 ステップ1110の処理で、受信したMPLSフレームに対応するパスと対になる逆方向のパスに該当するエントリを保持していないと判定された場合(1110:No)、パケットトランスポート装置201は、ステップ1112の処理に進む。 If it is determined in step 1110 that the entry corresponding to the reverse path paired with the path corresponding to the received MPLS frame is not held (1110: No), the packet transport apparatus 201 Proceed to step 1112.
 一方、ステップ1110の処理で、受信したMPLSフレームに対応するパスと対になる逆方向のパスに該当するエントリを保持していると判定された場合(1110:Yes)、パケットトランスポート装置201は、該当するエントリのMACアドレス有効時間304に登録された時間を初期値に更新し(1111)、ステップ1112の処理に進む。なお、ステップ1111の処理は、図10に示す1032の処理に対応する。 On the other hand, if it is determined in step 1110 that the entry corresponding to the reverse path that is paired with the path corresponding to the received MPLS frame is held (1110: Yes), the packet transport apparatus 201 The time registered in the MAC address valid time 304 of the corresponding entry is updated to the initial value (1111), and the process proceeds to step 1112. Note that the processing of step 1111 corresponds to the processing of 1032 shown in FIG.
 次に、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、受信したMPLSフレームに含まれるMPLSラベルに対応するパスに該当するエントリを保持しているか否かを判定する(1112)。 Next, the packet transport apparatus 201 determines whether or not the path corresponding MAC learning table 205 holds an entry corresponding to the path corresponding to the MPLS label included in the received MPLS frame (1112).
 ステップ1112の処理で、受信したMPLSフレームに対応するパスに該当するエントリを保持していないと判定された場合(1112:No)、パケットトランスポート装置201は、対向装置であるパケットトランスポート装置201にMPLSフレームを送信する場合にMPLSラベルスイッチの実施が可能か否かを判定できないため、カプセル化用のMPLS出力ラベル及びブロードキャスト宛先MACアドレスを含むMPLSヘッダ及びMACヘッダを付与し、受信したMPLSフレームをカプセル化して、カプセル化したMPLSフレームを送信する(1133)。 When it is determined in step 1112 that the entry corresponding to the path corresponding to the received MPLS frame is not held (1112: No), the packet transport apparatus 201 is the opposite apparatus, the packet transport apparatus 201. Since it is not possible to determine whether or not the MPLS label switch can be performed when an MPLS frame is transmitted to an MPLS frame, an MPLS header and an MAC header including an MPLS output label for encapsulation and a broadcast destination MAC address are added, and the received MPLS frame And encapsulated MPLS frame is transmitted (1133).
 一方、ステップ1112の処理で、受信したMPLSフレームに対応するパスに該当するエントリを保持していると判定された場合(1112:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303にMACアドレスが登録されているか否かを判定する(1113)。 On the other hand, when it is determined in step 1112 that the entry corresponding to the path corresponding to the received MPLS frame is held (1112: Yes), the packet transport apparatus 201 stores the path-corresponding MAC learning table 205. It is determined whether a MAC address is registered in the destination MAC address 303 of the corresponding entry (1113).
 ステップ1113の処理で、該当するエントリの宛先MACアドレス303にMACアドレスが登録されていると判定された場合(1113:Yes)、パケットトランスポート装置201は、該当するエントリのMACアドレス有効時間304に登録された時間を初期値に更新する(1114)。なお、ステップ1114の処理は、図10に示す1007及び1037の処理に対応する。 When it is determined in step 1113 that the MAC address is registered in the destination MAC address 303 of the corresponding entry (1113: Yes), the packet transport apparatus 201 sets the MAC address valid time 304 of the corresponding entry. The registered time is updated to the initial value (1114). Note that the processing of step 1114 corresponds to the processing of 1007 and 1037 shown in FIG.
 次に、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリのラベルスイッチ可否フラグ305に有効が設定されているか否かを判定する(1121)。 Next, the packet transport apparatus 201 determines whether or not the validity is set in the label switch availability flag 305 of the corresponding entry in the path correspondence MAC learning table 205 (1121).
 ステップ1121の処理で、該当するエントリのラベルスイッチ可否フラグ305に有効が設定されていないと判定された場合(1121:No)、パケットトランスポート装置201は、該当するエントリのラベルスイッチ可否フラグ305に有効を設定し(1122)、カプセル化用のMPLS出力ラベルを含むMPLSヘッダ及び該当するエントリの宛先MACアドレス303に保持しているユニキャストMACアドレスを含むMACヘッダを付与し、受信したMPLSフレームをカプセル化して、カプセル化したMPLSフレームを送信する(1123)。なお、ステップ1122の処理は、図10に示す1022の処理に対応する。 If it is determined in the process of step 1121 that the label switch enable / disable flag 305 of the corresponding entry is not set to valid (1121: No), the packet transport apparatus 201 sets the label switch enable / disable flag 305 of the corresponding entry. Enable is set (1122), the MPLS header including the MPLS output label for encapsulation and the MAC header including the unicast MAC address held in the destination MAC address 303 of the corresponding entry are added, and the received MPLS frame is Encapsulate and transmit the encapsulated MPLS frame (1123). Note that the processing of step 1122 corresponds to the processing of 1022 shown in FIG.
 ステップ1121の処理で、該当するエントリのラベルスイッチ可否フラグ305に有効が設定されていると判定された場合(1121:Yes)、パケットトランスポート装置201は、該当するエントリのフラグ有効時間306に登録された時間を初期値に更新する(1124)。なお、ステップ1124の処理は、図10に示す1007及び1027、1037の処理に対応する。 When it is determined in the process of step 1121 that the label switch enable / disable flag 305 of the corresponding entry is set to be valid (1121: Yes), the packet transport apparatus 201 registers in the flag valid time 306 of the corresponding entry. The updated time is updated to the initial value (1124). Note that the processing of step 1124 corresponds to the processing of 1007, 1027, and 1037 shown in FIG.
 そして、パケットトランスポート装置201は、ステップ1112の処理で特定されたパスが障害状態であるか否かを判定する(1125)。 Then, the packet transport apparatus 201 determines whether or not the path specified in the process of step 1112 is in a failure state (1125).
 ステップ1125の処理で、パスが障害状態であると判定された場合(1125:Yes)、パケットトランスポート装置201は、ステップ1123の処理に進み、受信したMPLSフレームをカプセル化して、カプセル化したMPLSフレームを送信する。 When it is determined in step 1125 that the path is in a failure state (1125: Yes), the packet transport apparatus 201 proceeds to step 1123, encapsulates the received MPLS frame, and encapsulates the MPLS. Send a frame.
 一方、ステップ1125の処理で、パスが障害状態でないと判定された場合(1125:No)、パケットトランスポート装置201は、受信したMPLSフレームのMPLSヘッダの入力MPLSラベルを出力ラベルに変換し、受信したMPLSフレームのMACヘッダの宛先MACアドレスをパス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303に保持しているユニキャストMACアドレスに変換して、MPLSフレームを対向装置であるパケットトランスポート装置201に送信、すなわちMPLSラベルスイッチする(1126)。 On the other hand, when it is determined in step 1125 that the path is not in a failure state (1125: No), the packet transport apparatus 201 converts the input MPLS label of the MPLS header of the received MPLS frame into an output label, and receives the received label. The destination MAC address of the MAC header of the MPLS frame is converted into a unicast MAC address held in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205, and the MPLS frame is converted into a packet transport that is the opposite device. Transmission to the apparatus 201, that is, MPLS label switching is performed (1126).
 ステップ1113の処理で、該当するエントリの宛先MACアドレス303にMACアドレスが登録されていないと判定された場合(1113:No)、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリのラベルスイッチ可否フラグ305に有効が設定されているか否かを判定する(1131)。 If it is determined in step 1113 that the MAC address is not registered in the destination MAC address 303 of the corresponding entry (1113: No), the packet transport apparatus 201 determines that the corresponding entry in the path correspondence MAC learning table 205 It is determined whether or not the label switch enable / disable flag 305 is set to valid (1131).
 ステップ1131の処理で、該当するエントリのラベルスイッチ可否フラグ305に有効が設定されていないと判定された場合(1131:No)、パケットトランスポート装置201は、該当するエントリのラベルスイッチ可否フラグ305に有効を設定し(1132)、ステップ1133の処理に進み、受信したMPLSフレームをカプセル化して、カプセル化したMPLSフレームを送信する。なお、ステップ1132の処理は、図10に示す1022の処理に対応する。 If it is determined in step 1131 that the label switch enable / disable flag 305 of the corresponding entry is not set to valid (1131: No), the packet transport apparatus 201 sets the label switch enable / disable flag 305 of the corresponding entry. The validity is set (1132), the process proceeds to step 1133, the received MPLS frame is encapsulated, and the encapsulated MPLS frame is transmitted. Note that the processing of step 1132 corresponds to the processing of 1022 shown in FIG.
 ステップ1131の処理で、該当するエントリのラベルスイッチ可否フラグ305に有効が設定されていると判定された場合(1131:Yes)、パケットトランスポート装置201は、該当するエントリのフラグ有効時間306に登録された時間を初期値に更新する(1134)。なお、ステップ1134の処理は、図10に示す1007及び1027、1037の処理に対応する。 If it is determined in step 1131 that the label switch enable / disable flag 305 of the corresponding entry is set valid (1131: Yes), the packet transport apparatus 201 registers in the flag valid time 306 of the corresponding entry. The updated time is updated to the initial value (1134). Note that the processing of step 1134 corresponds to the processing of 1007, 1027, and 1037 shown in FIG.
 そして、パケットトランスポート装置201は、ステップ1112の処理で特定されたパスが障害状態であるか否かを判定する(1135)。 Then, the packet transport apparatus 201 determines whether or not the path specified in the process of step 1112 is in a failure state (1135).
 ステップ1135の処理で、パスが障害状態であると判定された場合(1135:Yes)、パケットトランスポート装置201は、ステップ1133の処理に進み、受信したMPLSフレームをカプセル化して、カプセル化したMPLSフレームを送信する。 When it is determined in step 1135 that the path is in a failure state (1135: Yes), the packet transport apparatus 201 proceeds to step 1133, encapsulates the received MPLS frame, and encapsulates the MPLS. Send a frame.
 一方、ステップ1135の処理で、パスが障害状態でないと判定された場合(1135:No)、パケットトランスポート装置201は、受信したMPLSフレームのMPLSヘッダの入力MPLSラベルを出力ラベルに変換し、受信したMPLSフレームのMACヘッダの宛先MACアドレスをブロードキャストMACアドレスに変換して、MPLSフレームを対向装置であるパケットトランスポート装置201に送信、すなわちMPLSラベルスイッチする(1136)。 On the other hand, if it is determined in step 1135 that the path is not in a failure state (1135: No), the packet transport apparatus 201 converts the input MPLS label of the MPLS header of the received MPLS frame into an output label, and receives the received label. The destination MAC address in the MAC header of the MPLS frame is converted into a broadcast MAC address, and the MPLS frame is transmitted to the packet transport device 201 which is the opposite device, that is, the MPLS label is switched (1136).
 図12A及び図12Bは、本発明の第3実施形態のパケットトランスポート装置201がMPLS-TP通信網の内部から受信したフレームがカプセル化フレームである場合の処理のフローチャートである。図12Bは、本発明の第3実施形態のパケットトランスポート装置201がMPLS-TP通信網の内部から受信したフレームがカプセル化フレームでない場合の処理のフローチャートである。これらの処理は、パケットトランスポート装置201の図示しないプロセッサによって実行される。 FIGS. 12A and 12B are flowcharts of processing when the packet transport device 201 according to the third embodiment of the present invention receives an encapsulated frame from the inside of the MPLS-TP communication network. FIG. 12B is a flowchart of processing when the packet transport apparatus 201 according to the third embodiment of this invention receives a frame received from the inside of the MPLS-TP communication network that is not an encapsulated frame. These processes are executed by a processor (not shown) of the packet transport apparatus 201.
 まず、パケットトランスポート装置201は、受信したフレームがカプセル化されたフレームであるか否かを判定する(1201)。 First, the packet transport apparatus 201 determines whether the received frame is an encapsulated frame (1201).
 ステップ1201の処理で、受信したフレームがカプセル化されたフレームであると判定された場合(1201:Yes)、パケットトランスポート装置201は、カプセル化内部のフレームがMPLSフレームであるか否かを判定する(1202)。具体的には、パケットトランスポート装置201は、カプセル化内部のフレームにMPLSヘッダが含まれているか否かを判定する。 If it is determined in step 1201 that the received frame is an encapsulated frame (1201: Yes), the packet transport apparatus 201 determines whether the encapsulated frame is an MPLS frame. (1202). Specifically, the packet transport apparatus 201 determines whether an MPLS header is included in a frame inside the encapsulation.
 ステップ1202の処理で、カプセル化内部のフレームがMPLSフレームでないと判定された場合(1202:No)、パケットトランスポート装置201は、カプセル化内部のフレームに対応するMPLS-TP通信網200内のパスを特定できるか否かを判定する(1203)。カプセル化内部のフレームがパスの確立又は解除のためのシグナリングデータであれば、MPLSラベルがカプセル化内部のフレームのペイロード部に含まれるので、パケットトランスポート装置201は、MPLS転送テーブル207を参照し、当該フレームに対応するMPLS-TP通信網200内のパスを特定できる。 When it is determined in step 1202 that the frame inside the encapsulation is not an MPLS frame (1202: No), the packet transport apparatus 201 passes the path in the MPLS-TP communication network 200 corresponding to the frame inside the encapsulation. Whether or not can be specified is determined (1203). If the encapsulated frame is signaling data for establishing or releasing a path, the MPLS label is included in the payload portion of the encapsulated frame, so the packet transport apparatus 201 refers to the MPLS forwarding table 207. The path in the MPLS-TP communication network 200 corresponding to the frame can be specified.
 ステップ1203の処理で、カプセル化内部のフレームに対応するMPLS-TP通信網200内のパスを特定できると判定された場合(1203:Yes)、カプセル化内部のフレームはパスの確立又は解除のためのシグナリングデータであるので、パケットトランスポート装置201は、パス対応MAC管理テーブル205を更新すべく、ステップ1204以降の処理に進む。 When it is determined in step 1203 that the path in the MPLS-TP communication network 200 corresponding to the frame inside the encapsulation can be specified (1203: Yes), the frame inside the encapsulation is used for establishing or releasing the path. Therefore, the packet transport apparatus 201 proceeds to the processing from step 1204 to update the path correspondence MAC management table 205.
 まず、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、カプセル化内部のフレームに対応するパスに該当するエントリを保持しているか否かを判定する(1204)。 First, the packet transport apparatus 201 determines whether or not an entry corresponding to the path corresponding to the frame in the encapsulation is held in the path-compatible MAC learning table 205 (1204).
 ステップ1204の処理で、カプセル化内部のフレームに対応するパスに該当するエントリを保持していないと判定された場合(1204:No)、パス対応MAC学習テーブル205内に更新するエントリが存在しないので、ステップ1208の処理に進む。 If it is determined in step 1204 that the entry corresponding to the path corresponding to the frame inside the encapsulation is not held (1204: No), there is no entry to be updated in the path correspondence MAC learning table 205. The process proceeds to step 1208.
 一方、ステップ1204の処理で、カプセル化内部のフレームに対応するパスに該当するエントリを保持していると判定された場合(1204:Yes)、パケットトランスポート装置201は、カプセル化内部のフレームがパスの解除のためのシグナリングデータであるか否かを判定する(1205)。 On the other hand, when it is determined in step 1204 that the entry corresponding to the path corresponding to the frame inside the encapsulation is held (1204: Yes), the packet transport apparatus 201 determines that the frame inside the encapsulation is It is determined whether it is signaling data for path release (1205).
 ステップ1205の処理で、カプセル化内部のフレームがパスの解除のためのシグナリングデータでないと判定された場合(1205:No)、すなわち、カプセル化内部のフレームがパスの確立のためのシグナリングデータである場合、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリの、宛先MACアドレス303にカプセル化されたシグナリングデータの送信元MACアドレスを登録し、ラベルスイッチ可否フラグ305に有効を設定し(1206)、ステップ1208の処理に進む。なお、ステップ1206の処理は、図10に示す1004の処理に対応する。 If it is determined in step 1205 that the frame inside the encapsulation is not signaling data for path release (1205: No), that is, the frame inside the encapsulation is signaling data for path establishment. In this case, the packet transport apparatus 201 registers the source MAC address of the signaling data encapsulated in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205, and sets the label switch enable / disable flag 305 as valid. (1206), the process proceeds to step 1208. Note that the processing of step 1206 corresponds to the processing of 1004 shown in FIG.
 一方、ステップ1205の処理で、カプセル化内部のフレームがパスの解除のためのシグナリングデータであると判定された場合(1205:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリの、宛先MACアドレス303に登録されたMACアドレスを削除し、ラベルスイッチ可否フラグ305に無効を設定し(1207)、ステップ1208の処理に進む。なお、ステップ1207の処理は、図10に示す1044の処理に対応する。 On the other hand, when it is determined in the processing of step 1205 that the frame inside the encapsulation is signaling data for path release (1205: Yes), the packet transport apparatus 201 determines that the corresponding in the path correspondence MAC learning table 205 In the entry to be deleted, the MAC address registered in the destination MAC address 303 is deleted, the label switch enable / disable flag 305 is set to invalid (1207), and the process proceeds to step 1208. Note that the processing in step 1207 corresponds to the processing in 1044 shown in FIG.
 ステップ1206の処理でパス対応MAC学習テーブル205の宛先MACアドレス303にMACアドレスが登録されラベルスイッチ可否フラグ305に有効が設定された場合、又は、ステップ1207の処理でパス対応MAC学習テーブル205の宛先MACアドレス303のMACアドレスが削除されラベルスイッチ可否フラグ305に無効が設定された場合、パケットトランスポート装置201は、受信したフレームをデカプセル化して送信する(1208)。 When the MAC address is registered in the destination MAC address 303 of the path correspondence MAC learning table 205 in the process of step 1206 and the validity is set in the label switch availability flag 305, or the destination of the path correspondence MAC learning table 205 in the process of step 1207 If the MAC address of the MAC address 303 is deleted and the label switch availability flag 305 is set to invalid, the packet transport device 201 decapsulates the received frame and transmits it (1208).
 なお、ステップ1203の処理で、カプセル化内部のフレームに対応するMPLS-TP通信網200内のパスを特定できないと判定された場合(1203:No)、ステップ1208の処理に進み、受信したフレームをデカプセル化して送信する。 If it is determined in step 1203 that the path in the MPLS-TP communication network 200 corresponding to the encapsulated frame cannot be specified (1203: No), the process proceeds to step 1208, and the received frame is Decapsulate and send.
 ステップ1202の処理で、カプセル化内部のフレームがMPLSフレームであると判定された場合(1202:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、カプセル化内部のMPLSフレームに含まれるMPLSラベルに対応するパスと対になる逆方向のパスに該当するエントリを保持しているか否かを判定する(1209)。 When it is determined in step 1202 that the frame inside the encapsulation is an MPLS frame (1202: Yes), the packet transport apparatus 201 stores the MPLS frame inside the encapsulation in the path-compatible MAC learning table 205. It is determined whether or not an entry corresponding to a reverse path paired with a path corresponding to the included MPLS label is held (1209).
 ステップ1209の処理で、受信したカプセル化内部のMPLSフレームに対応するパスと対になる逆方向のパスに該当するエントリを保持していないと判定された場合(1209:No)、パケットトランスポート装置201は、ステップ1211の処理に進む。 If it is determined in step 1209 that the entry corresponding to the reverse path that is paired with the path corresponding to the received MPLS frame in the encapsulation is not held (1209: No), the packet transport apparatus In step 2011, the process proceeds to step 1211.
 一方、ステップ1209の処理で、受信したカプセル化内部のMPLSフレームに対応するパスと対になる逆方向のパスに該当するエントリを保持していると判定された場合(1209:Yes)、パケットトランスポート装置201は、該当するエントリの宛先MACアドレス303に受信したカプセル化されたMPLSフレームの送信元MACアドレスを登録し、ラベルスイッチ可否フラグ305に有効を設定し(1210)、ステップ1211の処理に進む。なお、ステップ1210の処理は、図10に示す1034の処理に対応する。 On the other hand, if it is determined in step 1209 that the entry corresponding to the reverse path paired with the path corresponding to the received MPLS frame within the encapsulation is held (1209: Yes), the packet The port apparatus 201 registers the transmission source MAC address of the encapsulated MPLS frame received in the destination MAC address 303 of the corresponding entry, sets the label switch availability flag 305 to valid (1210), and performs the processing in step 1211. move on. Note that the processing of step 1210 corresponds to the processing of 1034 shown in FIG.
 次に、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、カプセル化内部のMPLSフレームに含まれるMPLSラベルに対応するパスに該当するエントリを保持しているか否かを判定する(1211)。 Next, the packet transport apparatus 201 determines whether or not the path corresponding MAC learning table 205 holds an entry corresponding to the path corresponding to the MPLS label included in the MPLS frame inside the encapsulation (1211). ).
 ステップ1211の処理で、カプセル化内部のMPLSフレームに対応するパスに該当するエントリを保持していないと判定された場合(1211:No)、パス対応MAC学習テーブル205内に更新するエントリが存在しないので、ステップ1208の処理に進み、受信したフレームをデカプセル化して送信する。 If it is determined in step 1211 that the entry corresponding to the path corresponding to the MPLS frame inside the encapsulation is not held (1211: No), there is no entry to be updated in the path correspondence MAC learning table 205. Therefore, the process proceeds to step 1208, and the received frame is decapsulated and transmitted.
 一方、ステップ1211の処理で、カプセル化内部のMPLSフレームに対応するパスに該当するエントリを保持していると判定された場合(1211:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303に、カプセル化内部のMPLSフレームの宛先MACアドレスを登録し(1212)、ステップ1213の処理に進む。なお、ステップ1212の処理は、図10に示す1024の処理に対応する。 On the other hand, when it is determined in step 1211 that the entry corresponding to the path corresponding to the MPLS frame inside the encapsulation is held (1211: Yes), the packet transport apparatus 201 determines that the path corresponding MAC learning table is used. The destination MAC address of the MPLS frame inside the encapsulation is registered in the destination MAC address 303 of the corresponding entry 205 (1212), and the process proceeds to step 1213. Note that the processing of step 1212 corresponds to the processing of 1024 shown in FIG.
 ステップ1212の処理でパス対応MAC学習テーブル205の宛先MACアドレス303にMACアドレスが登録された場合、パケットトランスポート装置201は、ステップ1211の処理で特定された当該パスが障害状態として設定されているか否かを判定する(1213)。 If the MAC address is registered in the destination MAC address 303 of the path correspondence MAC learning table 205 in the process of step 1212, the packet transport apparatus 201 determines whether the path specified in the process of step 1211 is set as a failure state. It is determined whether or not (1213).
 ステップ1213の処理で、当該パスが障害状態として設定されていると判定された場合(1213:Yes)、パケットトランスポート装置201は当該障害状態の設定を解除し(1214)、ステップ1208の処理に進み、受信したフレームをデカプセル化して送信する。 If it is determined in step 1213 that the path is set as a failure state (1213: Yes), the packet transport apparatus 201 cancels the setting of the failure state (1214), and the processing in step 1208 is performed. Then, decapsulate the received frame and transmit it.
 一方、ステップ1213の処理で、当該パスが障害状態として設定されていないと判定された場合(1213:No)、パケットトランスポート装置201は、ステップ1208の処理に進み、受信したフレームをデカプセル化して送信する。 On the other hand, if it is determined in step 1213 that the path is not set as a failure state (1213: No), the packet transport apparatus 201 proceeds to step 1208 and decapsulates the received frame. Send.
 ステップ1201の処理で、受信したフレームがカプセル化されたフレームでないと判定された場合(1201:No)、すなわち、受信したフレームはMPLSラベルスイッチされたMPLSフレームである場合、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、受信したMPLSフレームに含まれるMPLSラベルに対応するパスと対になる逆方向のパスに該当するエントリを保持しているか否かを判定する(1215)。 If it is determined in step 1201 that the received frame is not an encapsulated frame (1201: No), that is, if the received frame is an MPLS frame that is MPLS-switched, the packet transport device 201 Then, it is determined whether or not the path corresponding MAC learning table 205 holds an entry corresponding to the path in the reverse direction that is paired with the path corresponding to the MPLS label included in the received MPLS frame (1215).
 ステップ1215の処理で、受信したMPLSフレームに対応するパスと対になる逆方向のパスに該当するエントリを保持していないと判定された場合(1215:No)、パケットトランスポート装置201は、ステップ1217の処理に進む。 If it is determined in step 1215 that the entry corresponding to the reverse path paired with the path corresponding to the received MPLS frame is not held (1215: No), the packet transport apparatus 201 The process proceeds to 1217.
 一方、ステップ1215の処理で、受信したMPLSフレームに対応するパスと対になる逆方向のパスに該当するエントリを保持していると判定された場合(1215:Yes)、パケットトランスポート装置201は、該当するエントリの宛先MACアドレス303に受信したMPLSフレームの送信元MACアドレスを登録し、ラベルスイッチ可否フラグ305に有効を設定し(1216)、ステップ1217の処理に進む。なお、ステップ1216の処理は、図10に示す1034の処理に対応する。 On the other hand, when it is determined in step 1215 that the entry corresponding to the reverse path that is paired with the path corresponding to the received MPLS frame is held (1215: Yes), the packet transport apparatus 201 Then, the source MAC address of the received MPLS frame is registered in the destination MAC address 303 of the corresponding entry, the validity is set in the label switch enable / disable flag 305 (1216), and the process proceeds to step 1217. Note that the processing of step 1216 corresponds to the processing of 1034 shown in FIG.
 次に、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、受信したMPLSフレームに含まれるMPLSラベルに対応するパスに該当するエントリを保持しているか否かを判定する(1217)。 Next, the packet transport apparatus 201 determines whether or not the path corresponding MAC learning table 205 holds an entry corresponding to the path corresponding to the MPLS label included in the received MPLS frame (1217).
 ステップ1217の処理で、受信したMPLSフレームに対応するパスに該当するエントリを保持していると判定された場合(1217:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303にMACアドレスが登録されているか否かを判定する(1218)。 If it is determined in step 1217 that the entry corresponding to the path corresponding to the received MPLS frame is held (1217: Yes), the packet transport apparatus 201 corresponds to the path corresponding MAC learning table 205. It is determined whether a MAC address is registered in the destination MAC address 303 of the entry (1218).
 ステップ1218の処理で、該当するエントリの宛先MACアドレス303にMACアドレスが登録されていると判定された場合(1218:Yes)、パケットトランスポート装置201は、該当するエントリのMACアドレス有効時間304に登録された時間を初期値に更新する(1219)。なお、ステップ1219の処理は、図10に示す1009及び1029、1039の処理に対応する。 When it is determined in step 1218 that the MAC address is registered in the destination MAC address 303 of the corresponding entry (1218: Yes), the packet transport device 201 sets the MAC address valid time 304 of the corresponding entry. The registered time is updated to the initial value (1219). Note that the processing of step 1219 corresponds to the processing of 1009, 1029, and 1039 shown in FIG.
 そして、パケットトランスポート装置201は、受信したMPLSフレームのMPLSヘッダの入力MPLSラベルを出力ラベルに変換し、受信したMPLSフレームのMACヘッダの宛先MACアドレスをパス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303に保持しているユニキャストMACアドレスに変換して、MPLSフレームをルータ101に送信する(1220)。 Then, the packet transport device 201 converts the input MPLS label of the MPLS header of the received MPLS frame into an output label, and converts the destination MAC address of the MAC header of the received MPLS frame to the corresponding entry in the path correspondence MAC learning table 205. The unicast MAC address held in the destination MAC address 303 is converted into an MPLS frame and transmitted to the router 101 (1220).
 ステップ1217の処理で、受信したMPLSフレームに対応するパスに該当するエントリを保持していないと判定された場合(1217:No)、又は、ステップ1218の処理で、該当するエントリの宛先MACアドレス303にMACアドレスが登録されていないと判定された場合(1218:No)、パケットトランスポート装置201は、ステップ1217の処理で特定されたパスが障害状態として設定されているか否かを判定する(1221)。 When it is determined in step 1217 that the entry corresponding to the path corresponding to the received MPLS frame is not held (1217: No), or in step 1218, the destination MAC address 303 of the corresponding entry is determined. When it is determined that the MAC address is not registered in (1218: No), the packet transport apparatus 201 determines whether or not the path specified in the process of step 1217 is set as a failure state (1221). ).
 ステップ1221の処理で、当該パスが障害状態として設定されていると判定された場合(1221:Yes)、パケットトランスポート装置201は、受信したMPLSフレームのMACヘッダの宛先MACアドレスに設定するユニキャストMACアドレスを保持していないため、受信したMPLSフレームを廃棄する(1223)。 When it is determined in step 1221 that the path is set as a failure state (1221: Yes), the packet transport apparatus 201 sets the unicast to be set as the destination MAC address of the MAC header of the received MPLS frame. Since the MAC address is not held, the received MPLS frame is discarded (1223).
 一方、ステップ1221の処理で、当該パスが障害状態として設定されていないと判定された場合(1221:No)、パケットトランスポート装置201は、当該パスを障害状態として設定し(1222)、ステップ1223の処理に進み、受信したMPLSフレームを廃棄する。 On the other hand, if it is determined in step 1221 that the path is not set as a failure state (1221: No), the packet transport apparatus 201 sets the path as a failure state (1222), and step 1223 Then, the received MPLS frame is discarded.
 以上のように、本実施形態では、MPLSフレームをルータ101から受信したパケットトランスポート装置201は、MPLS-TP通信網200内で通信されるMPLSフレームのMACヘッダに、対向装置となるパケットトランスポート装置201のユニキャストMACアドレスを付与して送信する。これによって、MPLS-TP網200内をユニキャストアドレスで通信することができるので、通信の正確性を向上させることができる。 As described above, in the present embodiment, the packet transport device 201 that has received the MPLS frame from the router 101 has a packet transport functioning as a counterpart device in the MAC header of the MPLS frame communicated within the MPLS-TP communication network 200. The unicast MAC address of the device 201 is assigned and transmitted. As a result, communication within the MPLS-TP network 200 can be performed using a unicast address, so that the accuracy of communication can be improved.
 (第4実施形態)
 第1実施形態では、各パケットトランスポート装置201が受信したフレームに基づいて、パス対応MAC学習テーブル205の宛先MACアドレス303にMACアドレスを登録するか否か、及びラベルスイッチ可否フラグ305に有効を設定するか否かを判定するが、本実施形態では、ネットワーク制御装置1301(図13参照)がこれらを判定し、MACアドレス登録指令、及びラベルスイッチ可否フラグ有効指令等のパス対応MAC学習テーブル205を更新するための制御指令をパケットトランスポート装置201に送信する。
(Fourth embodiment)
In the first embodiment, whether or not to register the MAC address in the destination MAC address 303 of the path correspondence MAC learning table 205 based on the frame received by each packet transport apparatus 201 and the label switch enable / disable flag 305 are enabled. In this embodiment, the network control device 1301 (see FIG. 13) determines these, and the path-related MAC learning table 205 such as a MAC address registration command and a label switch enable / disable flag valid command. Is transmitted to the packet transport apparatus 201.
 本発明の第4実施形態を図13~図19Bを用いて説明する。 A fourth embodiment of the present invention will be described with reference to FIGS. 13 to 19B.
 図13は、本発明の第4実施形態の通信システムの構成の説明図である。図13に示す通信システムの構成のうち、第1実施形態の図1に示す通信システムと同じ構成は、同じ符号を付与し、説明を省略する。 FIG. 13 is an explanatory diagram of a configuration of a communication system according to the fourth embodiment of this invention. Among the configurations of the communication system illustrated in FIG. 13, the same configurations as those of the communication system illustrated in FIG.
 本実施形態の通信システムは、ネットワーク制御装置1301を備える点で、第1実施形態の通信システムと異なる。 The communication system of this embodiment is different from the communication system of the first embodiment in that it includes a network control device 1301.
 ネットワーク通信装置1301は、ルータ101に接続されるパケットトランスポート装置201にネットワークを介して接続される。例えば、図13では、ネットワーク制御装置1301は、パケットトランスポート装置201A及びパケットトランスポート装置201Bに接続される。 The network communication device 1301 is connected to the packet transport device 201 connected to the router 101 via a network. For example, in FIG. 13, the network control device 1301 is connected to the packet transport device 201A and the packet transport device 201B.
 ネットワーク制御装置1301は、パケットトランスポート装置201が受信したフレームを受信し、当該フレームに基づいて各パケットトランスポート装置201に、宛先MACアドレス登録指令、及びラベルスイッチ可否フラグ有効指令等の制御指令を送信する。なお、ネットワーク制御装置1301は、図示しないプロセッサ及び記憶領域を備える計算機である。 The network control device 1301 receives the frame received by the packet transport device 201, and sends a control command such as a destination MAC address registration command and a label switch enable / disable flag valid command to each packet transport device 201 based on the frame. Send. The network control device 1301 is a computer having a processor and a storage area (not shown).
 図14は、本発明の第4実施形態のパケットトランスポート装置201の構成の説明図である。 FIG. 14 is an explanatory diagram of a configuration of the packet transport apparatus 201 according to the fourth embodiment of this invention.
 本実施形態のパケットトランスポート装置201は、ネットワーク制御装置用インタフェース1401及び制御指令処理部1402を備える点で、第1実施形態のパケットトランスポート装置201と異なる。ネットワーク制御装置用インタフェース1401は、パケットトランスポート装置201がネットワーク制御装置1301と通信するためのインタフェースである。制御指令処理部1402は、パケットトランスポート装置201がネットワーク制御装置1301からのパス対応MAC学習テーブル205を更新するための制御指令を処理する、処理部である。 The packet transport apparatus 201 of this embodiment is different from the packet transport apparatus 201 of the first embodiment in that it includes a network control device interface 1401 and a control command processing unit 1402. The network control device interface 1401 is an interface for the packet transport device 201 to communicate with the network control device 1301. The control command processing unit 1402 is a processing unit that processes a control command for the packet transport device 201 to update the path correspondence MAC learning table 205 from the network control device 1301.
 図15は、本発明の第4実施形態のパス対応MAC学習テーブル205の説明図である。 FIG. 15 is an explanatory diagram of the path correspondence MAC learning table 205 according to the fourth embodiment of this invention.
 本実施形態では、パケットトランスポート装置201は、ネットワーク制御装置1301からの制御指令に従って、パス対応MAC学習テーブル205の更新を行う。このため、本実施形態のパス対応MAC学習テーブル205のMACアドレス有効時間304及びフラグ有効時間306には「∞」が登録される。 In this embodiment, the packet transport apparatus 201 updates the path correspondence MAC learning table 205 in accordance with a control command from the network control apparatus 1301. For this reason, “∞” is registered in the MAC address valid time 304 and the flag valid time 306 of the path correspondence MAC learning table 205 of this embodiment.
 従って、本実施形態では、パケットトランスポート装置201が所定のパスのフレームを受信するか否かにかかわらず、当該パスが示すエントリの宛先MACアドレス303に登録されたMACアドレスは削除されない。同様に、パケットトランスポート装置201が所定のパスのフレームを受信するか否かにかかわらず、当該パスが示すエントリのラベルスイッチ可否フラグ305は無効に設定されない。 Therefore, in this embodiment, regardless of whether or not the packet transport apparatus 201 receives a frame of a predetermined path, the MAC address registered in the destination MAC address 303 of the entry indicated by the path is not deleted. Similarly, regardless of whether the packet transport apparatus 201 receives a frame of a predetermined path, the label switch enable / disable flag 305 of the entry indicated by the path is not set to invalid.
 なお、ネットワーク制御装置1301は、各パケットトランスポート装置201のパス対応MAC学習テーブル205を保持する。また、ネットワーク制御装置1301は、各パケットトランスポート装置201のMPLS転送テーブル207を保持する。 Note that the network control device 1301 holds the path-compatible MAC learning table 205 of each packet transport device 201. Further, the network control apparatus 1301 holds an MPLS transfer table 207 of each packet transport apparatus 201.
 また、第1実施形態と同様に、パケットトンランスポート装置201がMPLSフレームをMPLS-TP通信網200の外部から受信した場合、フラグ有効時間306を更新してもよいし、パケットトランスポート装置201がMPLSフレームをMPLS-TP通信網200の内部から受信した場合、MACアドレス有効時間304を更新してもよい。 Similarly to the first embodiment, when the packet tunnel transport apparatus 201 receives an MPLS frame from the outside of the MPLS-TP communication network 200, the flag valid time 306 may be updated, or the packet transport apparatus 201 When the MPLS frame is received from the inside of the MPLS-TP communication network 200, the MAC address valid time 304 may be updated.
 さらに、パケットトランスポート装置201は、MPLSフレームをMPLS-TP通信網200の外部から受信した場合、受信したMPLSフレームをネットワーク制御装置1301に送信し、ネットワーク制御装置1301は、当該パケットトランスポート装置201のフラグ有効時間306を更新する指令を送信してもよいし、パケットトランスポート装置201は、MPLSフレームをMPLS-TP通信網200の内部から受信した場合、受信したMPLSフレームをネットワーク制御装置1301に送信し、ネットワーク制御装置1301は、当該パケットトランスポート装置201のMACアドレス有効時間304を更新する指令を送信してもよい。 Further, when the packet transport apparatus 201 receives an MPLS frame from the outside of the MPLS-TP communication network 200, the packet transport apparatus 201 transmits the received MPLS frame to the network control apparatus 1301, and the network control apparatus 1301 receives the packet transport apparatus 201. The packet transport apparatus 201 may transmit an MPLS frame received from the inside of the MPLS-TP communication network 200 to the network control apparatus 1301 when the MPLS frame is received from the inside of the MPLS-TP communication network 200. The network control device 1301 may transmit a command to update the MAC address valid time 304 of the packet transport device 201.
 図16は、本発明の第4実施形態の宛先MACアドレス学習処理のシーケンス図である。 FIG. 16 is a sequence diagram of destination MAC address learning processing according to the fourth embodiment of this invention.
 ルータ101Aは、データの送信を開始する場合、パス確立要求をIPフレームでルータ101Bに送信する(不図示)。ルータ101Bは、パス確立要求を受信した場合、ルータ101Aとルータ101Bとの間の当該パスに割り当てるMPLSラベルをペイロード部に含むIPフレームをパス確立のためのシグナリングデータとしてルータ101Aに送信する(1601)。なお、このシグナリングデータは、送信元のルータ101BのユニキャストMACアドレス及び送信先のルータ101AのユニキャストMACアドレスを含む。 When starting to transmit data, the router 101A transmits a path establishment request to the router 101B using an IP frame (not shown). When the router 101B receives the path establishment request, the router 101B transmits an IP frame including an MPLS label assigned to the path between the routers 101A and 101B in the payload portion to the router 101A as signaling data for establishing the path (1601). ). This signaling data includes the unicast MAC address of the source router 101B and the unicast MAC address of the destination router 101A.
 パケットトランスポート装置201Bは、パス確立のためのシグナリングデータを受信した場合、受信したシグナリングデータをネットワーク制御装置1301に転送する。ネットワーク制御装置1301は、パス確立のためのシグナリングデータを受信した場合、パス対応MAC学習テーブル205の受信したシグナリングデータに対応するパスを示すエントリの宛先MACアドレス303に、受信したシグナリングデータに含まれるルータ101BのユニキャストMACアドレスを登録する(1602)。具体的には、ネットワーク制御装置1301は、MPLS転送テーブル207を参照し、受信したシグナリングデータのペイロード部に含まれるMPLSラベル(出力ラベル)に対応するMPLSラベル(入力ラベル)を特定する。そして、ネットワーク制御装置1301は、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが特定した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが受信した出力ラベルと一致するエントリの宛先MACアドレス303に、受信したシグナリングデータのMACヘッダに含まれるルータ101BのユニキャストMACアドレスを登録する。 When the packet transport apparatus 201B receives the signaling data for establishing a path, the packet transport apparatus 201B transfers the received signaling data to the network control apparatus 1301. When the network control device 1301 receives signaling data for establishing a path, the destination MAC address 303 of the entry indicating the path corresponding to the received signaling data in the path correspondence MAC learning table 205 is included in the received signaling data. The unicast MAC address of the router 101B is registered (1602). Specifically, the network control device 1301 refers to the MPLS forwarding table 207 and specifies an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data. Then, the network control device 1301 matches the input label specified by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205 and the output label received by the MPLS label registered in the MPLS output label 302. The unicast MAC address of the router 101B included in the MAC header of the received signaling data is registered in the destination MAC address 303 of the matching entry.
 次に、ネットワーク制御装置1301は、シグナリングデータをパケットトランスポート装置201Aに送信し、パケットトランスポート装置201Aは、受信したシグナリングデータをルータ101Aに送信する(1603)。なお、ネットワーク制御装置1301が送信するシグナリングデータは受信したシグナリングデータそのものである必要はなく、ネットワーク制御装置1301により新たに生成されたシグナリングデータでもよい。 Next, the network control device 1301 transmits the signaling data to the packet transport device 201A, and the packet transport device 201A transmits the received signaling data to the router 101A (1603). Note that the signaling data transmitted by the network control device 1301 need not be the received signaling data itself, but may be signaling data newly generated by the network control device 1301.
 また、ネットワーク制御装置1301は、パス対応MAC学習テーブル205の受信したシグナリングデータに対応するパスを示すエントリの宛先MACアドレス303にルータ101BのユニキャストMACアドレスを登録したことにより、当該パスの終点となるルータ101Bに接続されたパケットトランスポート装置201Bに、パス対応MAC学習テーブル205の当該パスを示すエントリの宛先MACアドレス303に当該MACアドレスを登録することを指令する、宛先MACアドレス登録指令を送信する(1604)。なお、宛先MACアドレス登録指令には、登録する宛先MACアドレスと、宛先MACアドレスを登録するパス対応MAC学習テーブル205のエントリを特定するために用いられる入力ラベル及び出力ラベルと、が含まれる。 In addition, the network control apparatus 1301 registers the unicast MAC address of the router 101B in the destination MAC address 303 of the entry indicating the path corresponding to the received signaling data in the path correspondence MAC learning table 205, so that the end point of the path is determined. A destination MAC address registration command is transmitted to the packet transport apparatus 201B connected to the router 101B, which instructs to register the MAC address in the destination MAC address 303 of the entry indicating the path in the path correspondence MAC learning table 205. (1604). Note that the destination MAC address registration command includes a destination MAC address to be registered, and an input label and an output label that are used to specify an entry in the path corresponding MAC learning table 205 for registering the destination MAC address.
 さらに、ネットワーク制御装置1301は、当該パスの始点となるルータ101Aに接続されたパケットトランスポート装置201Aに、パス対応MAC学習テーブル205の当該パスを示すエントリのラベルスイッチ可否フラグ305に有効を設定することを指令する、ラベルスイッチ可否フラグ有効指令を送信する(1605)。なお、ラベルスイッチ可否フラグ有効指令には、有効を設定するパス対応MAC学習テーブル205のエントリを特定するために用いられる入力ラベル及び出力ラベルが含まれる。 Further, the network control apparatus 1301 sets the label switch enable / disable flag 305 of the entry indicating the path in the path corresponding MAC learning table 205 to the packet transport apparatus 201A connected to the router 101A that is the starting point of the path. A label switch enable / disable flag valid command is transmitted (1605). Note that the label switch enable / disable flag valid command includes an input label and an output label used to specify an entry in the path correspondence MAC learning table 205 to be set valid.
 パケットトランスポート装置201Bは、宛先MACアドレス登録指令を受信した場合、パス対応MAC学習テーブル205の受信した宛先MACアドレス登録指令に対応するパスを示すエントリの宛先MACアドレス303に、受信した宛先MACアドレス登録指令に含まれるルータ101BのユニキャストMACアドレスを登録する(1606)。具体的には、パケットトランスポート装置201Bは、受信した宛先MACアドレス登録指令に含まれる入力ラベル及び出力ラベルを取得する。そして、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが取得した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが取得した出力ラベルと一致するエントリの宛先MACアドレス303に、受信した宛先MACアドレス登録指令に含まれるルータ101BのユニキャストMACアドレスを登録し、MACアドレス有効時間304に「∞」を設定する。 When the packet transport apparatus 201B receives the destination MAC address registration command, the destination MAC address 303 of the entry indicating the path corresponding to the received destination MAC address registration command in the path corresponding MAC learning table 205 is received. The unicast MAC address of the router 101B included in the registration command is registered (1606). Specifically, the packet transport apparatus 201B acquires an input label and an output label included in the received destination MAC address registration command. Then, the packet transport apparatus 201B matches the input label acquired by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label acquired by the MPLS label registered in the MPLS output label 302. The unicast MAC address of the router 101B included in the received destination MAC address registration command is registered in the destination MAC address 303 of the entry that matches, and “∞” is set in the MAC address valid time 304.
 パケットトランスポート装置201Aは、ラベルスイッチ可否フラグ有効指令を受信した場合、パス対応MAC学習テーブル205の受信したラベルスイッチ可否フラグ有効指令に対応するパスを示すエントリのラベルスイッチ可否フラグ305に有効を設定する(1607)。具体的には、パケットトランスポート装置201Bは、受信したラベルスイッチ可否フラグ有効指令に含まれる入力ラベル及び出力ラベルを取得する。そして、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが取得した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが取得した出力ラベルと一致するエントリのラベルスイッチ可否フラグ305に有効を設定し、フラグ有効時間306に「∞」を設定する。 When the packet transport apparatus 201A receives the label switch enable / disable flag valid command, the packet transport apparatus 201A sets the label switch enable / disable flag 305 of the entry indicating the path corresponding to the received label switch enable / disable flag valid command in the path correspondence MAC learning table 205 as valid. (1607). Specifically, the packet transport apparatus 201B acquires an input label and an output label included in the received label switch enable / disable flag valid command. Then, the packet transport apparatus 201B matches the input label acquired by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label acquired by the MPLS label registered in the MPLS output label 302. Is set to valid for the label switch enable / disable flag 305 of the entry that matches, and “∞” is set to the flag valid time 306.
 以上の1601~1607の処理によって、ルータ101Aからルータ101Bにデータを送信するためのパスが確立される。また、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205の該当エントリのラベルスイッチ可否フラグ305に有効を設定し、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205の該当エントリの宛先MACアドレス303にルータ101BのユニキャストMACアドレスを登録する。 Through the above processes 1601 to 1607, a path for transmitting data from the router 101A to the router 101B is established. Further, the packet transport apparatus 201A sets “effective” in the label switch availability flag 305 of the corresponding entry of the path correspondence MAC learning table 205, and the packet transport apparatus 201B sets the destination MAC address of the corresponding entry of the path correspondence MAC learning table 205. The unicast MAC address of the router 101B is registered in 303.
 次に、ルータ101Aは、MPLSフレームをパケットトランスポート装置201Aに送信する(1608)。なお、ルータ101Aが送信するMPLSフレームのMPLSヘッダ及びMACヘッダは、当該データの送信に用いるMPLSラベル及び宛先となるルータ101BのユニキャストMACアドレスを含む。 Next, the router 101A transmits an MPLS frame to the packet transport apparatus 201A (1608). Note that the MPLS header and the MAC header of the MPLS frame transmitted by the router 101A include the MPLS label used for transmission of the data and the unicast MAC address of the destination router 101B.
 パケットトランスポート装置201Aは、ルータ101Aによって送信されたMPLSフレームを受信した場合、受信したMPLSフレームをMPLSラベルスイッチにより対向装置であるパケットトランスポート装置201Bに送信可能か否かを、パス対応MAC学習テーブル205を参照して、判定する。具体的には、パケットトランスポート装置201Aは、MPLS転送テーブル207を参照し、受信したMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリのラベルスイッチ可否フラグ305に有効が設定されているか否かを確認する。 When the packet transport apparatus 201A receives the MPLS frame transmitted by the router 101A, the path transport MAC learning determines whether or not the received MPLS frame can be transmitted to the packet transport apparatus 201B which is the opposite apparatus by the MPLS label switch. The determination is made with reference to the table 205. Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 It is confirmed whether or not the label switch enable / disable flag 305 of the entry that matches is set to valid.
 1607の処理で、ラベルスイッチ可否フラグ305に有効が設定されているので、パケットトランスポート装置201Aは、受信したMPLSフレームをMPLSラベルスイッチにより対向装置であるパケットトランスポート装置201Bに送信可能と判定し、1609の処理を実行する。 In the processing of 1607, since the validity of the label switch availability flag 305 is set, the packet transport apparatus 201A determines that the received MPLS frame can be transmitted to the packet transport apparatus 201B that is the opposite apparatus by the MPLS label switch. , 1609 are executed.
 パケットトランスポート装置201Aは、受信したMPLSフレームのMPLSヘッダの入力ラベルを出力ラベルに変換し、受信したMPLSフレームのMACヘッダの宛先MACアドレスをブロードキャストMACアドレスに変換して、MPLSフレームをパケットトランスポート装置201Bに送信、すなわち、MPLSラベルスイッチする(1609)。 The packet transport apparatus 201A converts the input label of the MPLS header of the received MPLS frame into an output label, converts the destination MAC address of the MAC header of the received MPLS frame into a broadcast MAC address, and converts the MPLS frame to packet transport Transmission to the apparatus 201B, that is, MPLS label switching is performed (1609).
 パケットトランスポート装置201Bは、パケットトランスポート装置201Aによって送信されたMPLSフレームを受信した場合、パス対応MAC学習テーブル205の受信したMPLSフレームに対応するパスを示すエントリの宛先MACアドレス303に登録されたMACアドレスを用いて、MPLSフレームをルータ101Bに送信する(1610)。具体的には、パケットトランスポート装置201Bは、MPLS転送テーブル207を参照し、受信したMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリの宛先MACアドレス303に登録されたMACアドレス(ルータ101BのユニキャストMACアドレス)を取得する。そして、パケットトランスポート装置201Bは、受信したMPLSフレームのMACヘッダのブロードキャスト宛先MACアドレスを取得したルータ101BのユニキャストMACアドレスに変換し、受信したMPLSフレームのMPLSヘッダのMPLSラベルを出力ラベルに変換して、MPLSフレームをルータ101Bに送信する。 When the packet transport device 201B receives the MPLS frame transmitted by the packet transport device 201A, the packet transport device 201B is registered in the destination MAC address 303 of the entry indicating the path corresponding to the received MPLS frame in the path correspondence MAC learning table 205. The MPLS frame is transmitted to the router 101B using the MAC address (1610). Specifically, the packet transport apparatus 201B refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201B matches the input label received by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205 and the output label specified by the MPLS label registered in the MPLS output label 302. The MAC address registered in the destination MAC address 303 of the entry that matches (unicast MAC address of the router 101B) is acquired. Then, the packet transport apparatus 201B converts the broadcast destination MAC address of the MAC header of the received MPLS frame into the unicast MAC address of the acquired router 101B, and converts the MPLS label of the MPLS header of the received MPLS frame into an output label. Then, the MPLS frame is transmitted to the router 101B.
 次に、ルータ101Aからルータ101Bへのデータの送信に用いるパスを解除する場合の処理について説明する。 Next, processing for canceling a path used for data transmission from the router 101A to the router 101B will be described.
 ルータ101Aは、データの送信を終了する場合、パス解除要求をIPフレームでルータ101Bに送信する(不図示)。ルータ101Bは、パス解除要求を受信した場合、解除するパスのMPLSラベルをペイロード部に含むIPフレームをパス解除のためのシグナリングデータとしてルータ101Aに送信する(1611)。なお、このシグナリングデータは、送信元のルータ101BのユニキャストMACアドレス及び送信先のルータ101AのユニキャストMACアドレスを含む。 When the router 101A finishes data transmission, the router 101A transmits a path release request to the router 101B using an IP frame (not shown). When receiving the path release request, the router 101B transmits an IP frame including the MPLS label of the path to be released in the payload portion as signaling data for path release to the router 101A (1611). This signaling data includes the unicast MAC address of the source router 101B and the unicast MAC address of the destination router 101A.
 パケットトランスポート装置201Bは、パス解除のためのシグナリングデータを受信した場合、受信したシグナリングデータをネットワーク制御装置1301に転送する。ネットワーク制御装置1301は、パス解除のためのシグナリングデータを受信した場合、パス対応MAC学習テーブル205の受信したシグナリングデータに対応するパスを示すエントリの宛先MACアドレス303に登録されたMACアドレスを削除する(1612)。具体的には、パケットトランスポート装置201Bは、MPLS転送テーブル207を参照し、受信したシグナリングデータのペイロード部に含まれるMPLSラベル(出力ラベル)に対応するMPLSラベル(入力ラベル)を特定する。そして、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが特定した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが受信した出力ラベルと一致するエントリの、宛先MACアドレス303に登録されたMACアドレスを削除する。 When the packet transport apparatus 201B receives the signaling data for path release, the packet transport apparatus 201B transfers the received signaling data to the network control apparatus 1301. When receiving signaling data for path release, the network control device 1301 deletes the MAC address registered in the destination MAC address 303 of the entry indicating the path corresponding to the received signaling data in the path correspondence MAC learning table 205. (1612). Specifically, the packet transport apparatus 201B refers to the MPLS transfer table 207, and specifies an MPLS label (input label) corresponding to the MPLS label (output label) included in the payload portion of the received signaling data. The packet transport apparatus 201B then matches the input label specified in the MPLS input label 301 of the path correspondence MAC learning table 205 with the specified input label, and the output label received by the MPLS label registered in the MPLS output label 302. The MAC address registered in the destination MAC address 303 of the entry that matches is deleted.
 次に、ネットワーク制御装置1301は、シグナリングデータをパケットトランスポート装置201Aに送信し、パケットトランスポート装置201Aは、受信したシグナリングデータをルータ101Aに送信する(1613)。なお、ネットワーク制御装置1301が送信するシグナリングデータは受信したシグナリングデータそのものである必要はなく、ネットワーク制御装置1301により新たに生成されたシグナリングデータでもよい。 Next, the network control device 1301 transmits the signaling data to the packet transport device 201A, and the packet transport device 201A transmits the received signaling data to the router 101A (1613). Note that the signaling data transmitted by the network control device 1301 need not be the received signaling data itself, but may be signaling data newly generated by the network control device 1301.
 また、ネットワーク制御装置1301は、パス対応MAC学習テーブル205の受信したシグナリングデータに対応するパスを示すエントリの宛先MACアドレス303に登録されたMACアドレスを削除したことにより、当該パスの始点となるルータ101Aに接続されたパケットトランスポート装置201Aに、パス対応MAC学習テーブル205の当該パスを示すエントリのラベルスイッチ可否フラグ305に無効を設定することを指令する、ラベルスイッチ可否フラグ無効指令を送信する(1614)。なお、ラベルスイッチ可否フラグ無効指令には、無効を設定するパス対応MAC学習テーブル205のエントリを特定するために用いられる入力ラベル及び出力ラベルが含まれる。 In addition, the network control device 1301 deletes the MAC address registered in the destination MAC address 303 of the entry indicating the path corresponding to the received signaling data in the path correspondence MAC learning table 205, so that the router serving as the starting point of the path A label switch enable / disable flag disable command is sent to the packet transport apparatus 201A connected to 101A to instruct the label switch enable / disable flag 305 of the entry indicating the path in the path correspondence MAC learning table 205 to be disabled ( 1614). Note that the label switch enable / disable flag invalidation command includes an input label and an output label that are used to specify an entry in the path correspondence MAC learning table 205 that is set to invalid.
 さらに、ネットワーク制御装置1301は、当該パスの終点となるルータ101Bに接続されたパケットトランスポート装置201Bに、パス対応MAC学習テーブル205の当該パスを示すエントリの宛先MACアドレス303に登録されたMACアドレスを削除することを指令する、宛先MACアドレス削除指令を送信する(1615)。なお、宛先MACアドレス削除指令には、宛先MACアドレスを削除するパス対応MAC学習テーブル205のエントリを特定するために用いられる入力ラベル及び出力ラベルが含まれる。 Further, the network control device 1301 registers the MAC address registered in the destination MAC address 303 of the entry indicating the path in the path correspondence MAC learning table 205 in the packet transport device 201B connected to the router 101B that is the end point of the path. A destination MAC address deletion instruction is transmitted to instruct to delete (1615). Note that the destination MAC address deletion command includes an input label and an output label that are used to specify an entry in the path correspondence MAC learning table 205 for deleting the destination MAC address.
 パケットトランスポート装置201Aは、ラベルスイッチ可否フラグ無効指令を受信した場合、パス対応MAC学習テーブル205の受信したラベルスイッチ可否フラグ無効指令に対応するパスを示すエントリのラベルスイッチ可否フラグ305に無効を設定する(1616)。具体的には、パケットトランスポート装置201Bは、受信したラベルスイッチ可否フラグ無効指令に含まれる入力ラベル及び出力ラベルを取得する。そして、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが取得した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが取得した出力ラベルと一致するエントリの、ラベルスイッチ可否フラグ305に無効を設定する。 When the packet transport apparatus 201A receives the label switch availability flag invalidity instruction, the packet transport apparatus 201A sets invalidity in the label switch availability flag 305 of the entry indicating the path corresponding to the received label switch availability flag invalidity instruction in the path correspondence MAC learning table 205. (1616). Specifically, the packet transport apparatus 201B acquires an input label and an output label included in the received label switch enable / disable flag invalid command. Then, the packet transport apparatus 201B matches the input label acquired by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label acquired by the MPLS label registered in the MPLS output label 302. Is set to invalid in the label switch availability flag 305.
 パケットトランスポート装置201Bは、宛先MACアドレス削除指令を受信した場合、パス対応MAC学習テーブル205の受信した宛先MACアドレス削除指令に対応するパスを示すエントリの宛先MACアドレス303に登録されたMACアドレスを削除する(1617)。具体的には、パケットトランスポート装置201Bは、受信した宛先MACアドレス削除指令に含まれる入力ラベル及び出力ラベルを取得する。そして、パケットトランスポート装置201Bは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが取得した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが取得した出力ラベルと一致するエントリの、宛先MACアドレス303に登録されたMACアドレスを削除する。 When the packet transport apparatus 201B receives the destination MAC address deletion instruction, the packet transport apparatus 201B uses the MAC address registered in the destination MAC address 303 of the entry indicating the path corresponding to the received destination MAC address deletion instruction in the path correspondence MAC learning table 205. It is deleted (1617). Specifically, the packet transport apparatus 201B acquires the input label and the output label included in the received destination MAC address deletion command. Then, the packet transport apparatus 201B matches the input label acquired by the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label acquired by the MPLS label registered in the MPLS output label 302. The MAC address registered in the destination MAC address 303 of the entry that matches is deleted.
 以上の1611~1617の処理によって、ルータ101Aからルータ101Bにデータを送信するためのパスが解除される。 Through the above processing 1611 to 1617, the path for transmitting data from the router 101A to the router 101B is released.
 次に、1614の処理でパケットトランスポート装置201Aのパス対応MAC学習テーブル205のラベルスイッチ可否フラグ305が無効に設定され、1615の処理でパケットトランスポート装置201Bのパス対応MAC学習テーブル205の宛先MACアドレス303が削除された後に、ルータ101AによってMPLSフレームが送信された場合(1618)のシーケンスについて説明する。なお、1618の処理でルータ101Aによって送信されるMPLSフレームのMPLSヘッダ及びMACヘッダは、1608の処理でルータ101Aによって送信されるMPLSフレームのMPLSヘッダ及びMACヘッダと同じく、当該データの送信に用いるMPLSラベル及び宛先となるルータ101BのユニキャストMACアドレスを含む。 Next, the label switch enable / disable flag 305 of the path correspondence MAC learning table 205 of the packet transport device 201A is set to invalid by the processing of 1614, and the destination MAC of the path correspondence MAC learning table 205 of the packet transport device 201B is processed by 1615. A sequence when the MPLS frame is transmitted by the router 101A after the address 303 is deleted (1618) will be described. Note that the MPLS header and the MAC header of the MPLS frame transmitted by the router 101A in the process of 1618 are the MPLS used for transmitting the data, similarly to the MPLS header and the MAC header of the MPLS frame transmitted by the router 101A in the process of 1608. The label and the unicast MAC address of the destination router 101B are included.
 パケットトランスポート装置201Aは、ルータ101Aによって送信されたMPLSフレームを受信した場合、受信したMPLSフレームをMPLSラベルスイッチにより対向装置であるパケットトランスポート装置201Bに送信可能か否かを、パス対応MAC学習テーブル205を参照して、判定する。具体的には、パケットトランスポート装置201Aは、MPLS転送テーブル207を参照し、受信したMPLSフレームのMPLSヘッダに含まれるMPLSラベル(入力ラベル)に対応するMPLSラベル(出力ラベル)を特定する。そして、パケットトランスポート装置201Aは、パス対応MAC学習テーブル205のMPLS入力ラベル301に登録されたMPLSラベルが受信した入力ラベルと一致し、MPLS出力ラベル302に登録されたMPLSラベルが特定した出力ラベルと一致するエントリのラベルスイッチ可否フラグ305に有効が設定されているか否かを確認する。 When the packet transport apparatus 201A receives the MPLS frame transmitted by the router 101A, the path transport MAC learning determines whether or not the received MPLS frame can be transmitted to the packet transport apparatus 201B which is the opposite apparatus by the MPLS label switch. The determination is made with reference to the table 205. Specifically, the packet transport apparatus 201A refers to the MPLS forwarding table 207 and specifies an MPLS label (output label) corresponding to the MPLS label (input label) included in the MPLS header of the received MPLS frame. Then, the packet transport device 201A matches the received input label with the MPLS label registered in the MPLS input label 301 of the path correspondence MAC learning table 205, and the output label specified by the MPLS label registered in the MPLS output label 302 It is confirmed whether or not the label switch enable / disable flag 305 of the entry that matches is set to valid.
 1616の処理で、ラベルスイッチ可否フラグ305に無効が設定されているカプセル化用のMPLS出力ラベル及びブロードキャスト宛先MACアドレスを含むMPLSヘッダ及びMACヘッダを付与し、受信したMPLSフレームをカプセル化する。そして、パケットトランスポート装置201Aは、カプセル化したMPLSフレームをパケットトランスポート装置201Bに送信する(1619)。 In the process 1616, an MPLS output label for encapsulation for which invalidity is set in the label switch enable / disable flag 305 and an MPLS header and a MAC header including a broadcast destination MAC address are added, and the received MPLS frame is encapsulated. Then, the packet transport apparatus 201A transmits the encapsulated MPLS frame to the packet transport apparatus 201B (1619).
 パケットトランスポート装置201Bは、パケットトランスポート装置201Aによって送信されたカプセル化されたMPLSフレームを受信した場合、受信したカプセル化されたMPLSフレームをデカプセル化し、デカプセル化により元のMPLSフレームに戻ったMPLSフレームを、MPLSヘッダ(ルータ101Aによって付与されたMPLSヘッダ)及びMACヘッダ(ルータ101Aによって付与されたMACヘッダ)はそのままで、ルータ101Bに送信する(1620)。 When the packet transport apparatus 201B receives the encapsulated MPLS frame transmitted by the packet transport apparatus 201A, the packet transport apparatus 201B decapsulates the received encapsulated MPLS frame and returns to the original MPLS frame by decapsulation. The frame is transmitted to the router 101B without changing the MPLS header (MPLS header given by the router 101A) and the MAC header (MAC header given by the router 101A) (1620).
 次に、図17~図19Bを用いてパケットトランスポート装置201及びネットワーク制御装置1301がフレームを受信した場合の処理について説明する。 Next, processing when the packet transport apparatus 201 and the network control apparatus 1301 receive a frame will be described with reference to FIGS. 17 to 19B.
 図17は、本発明の第4実施形態のパケットトランスポート装置201がMPLS-TP通信網の外部からフレームを受信した場合の処理のフローチャートである。この処理は、パケットトランスポート装置201の図示しないプロセッサによって実行される。 FIG. 17 is a flowchart of processing when the packet transport apparatus 201 according to the fourth embodiment of the present invention receives a frame from the outside of the MPLS-TP communication network. This process is executed by a processor (not shown) of the packet transport apparatus 201.
 まず、パケットトランスポート装置201は、受信したフレームがMPLSフレームであるか否かを判定する(1701)。具体的には、パケットトランスポート装置201は、受信したフレームにMPLSヘッダが含まれていれば、受信したフレームがMPLSフレームであると判定し(1701:Yes)、受信したフレームにMPLSヘッダが含まれていなければ、受信したフレームがMPLSフレームでないと判定する(1701:No)。 First, the packet transport apparatus 201 determines whether or not the received frame is an MPLS frame (1701). Specifically, if the received frame includes an MPLS header, the packet transport apparatus 201 determines that the received frame is an MPLS frame (1701: Yes), and the received frame includes an MPLS header. If not, it is determined that the received frame is not an MPLS frame (1701: No).
 ステップ1701の処理で、受信したフレームがMPLSフレームでないと判定された場合(1701:No)、パケットトランスポート装置201は、パス対応MAC学習テーブル205を更新するための制御指令をネットワーク制御装置1301に発行させるべく、受信したフレームをネットワーク制御装置1301に送信する(1702)。 If it is determined in step 1701 that the received frame is not an MPLS frame (1701: No), the packet transport apparatus 201 sends a control command for updating the path correspondence MAC learning table 205 to the network control apparatus 1301. In order to issue, the received frame is transmitted to the network control device 1301 (1702).
 一方、ステップ1701の処理で、受信したフレームがMPLSフレームであると判定された場合(1701:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、受信したMPLSフレームに含まれるMPLSラベルに対応するパスに該当するエントリを保持しているか否かを判定する(1703)。 On the other hand, if it is determined in step 1701 that the received frame is an MPLS frame (1701: Yes), the packet transport apparatus 201 is included in the received MPLS frame in the path correspondence MAC learning table 205. It is determined whether or not the entry corresponding to the path corresponding to the MPLS label is held (1703).
 ステップ1703の処理で、受信したMPLSフレームに対応するパスに該当するエントリを保持していないと判定された場合(1703:No)、パケットトランスポート装置201は、対向装置であるパケットトランスポート装置201にMPLSフレームを送信する場合にMPLSラベルスイッチの実施が可能か否かを判定できないため、ステップ1705の処理に進む。 If it is determined in step 1703 that the entry corresponding to the path corresponding to the received MPLS frame is not held (1703: No), the packet transport apparatus 201 is the opposite apparatus, the packet transport apparatus 201. Since it is not possible to determine whether or not the MPLS label switch can be performed when the MPLS frame is transmitted, the process proceeds to step 1705.
 一方、ステップ1703の処理で、受信したMPLSフレームに対応するパスに該当するエントリを保持していると判定された場合(1703:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリのラベルスイッチ可否フラグ305に有効が設定されているか否かを判定する(1704)。 On the other hand, when it is determined in step 1703 that the entry corresponding to the path corresponding to the received MPLS frame is held (1703: Yes), the packet transport apparatus 201 stores the entry corresponding to the path corresponding MAC learning table 205. It is determined whether validity is set in the label switch enable / disable flag 305 of the corresponding entry (1704).
 ステップ1704の処理で、該当するエントリのラベルスイッチ可否フラグ305に有効が設定されていないと判定された場合(1704:No)、カプセル化用のMPLS出力ラベル及びブロードキャスト宛先MACアドレスを含むMPLSヘッダ及びMACヘッダを付与し、受信したMPLSフレームをカプセル化して、カプセル化したMPLSフレームを送信する(1705)。 If it is determined in the processing of step 1704 that the label switch availability flag 305 of the corresponding entry is not set to valid (1704: No), an MPLS header including an MPLS output label for encapsulation and a broadcast destination MAC address, A MAC header is added, the received MPLS frame is encapsulated, and the encapsulated MPLS frame is transmitted (1705).
 一方、ステップ1704の処理で、該当するエントリのラベルスイッチ可否フラグ305に有効が設定されていると判定された場合(1704:Yes)、パケットトランスポート装置201は、ステップ1703の処理で特定された当該パスが障害状態であるか否かを判定する(1706)。 On the other hand, when it is determined in step 1704 that the label switch enable / disable flag 305 of the corresponding entry is set to valid (1704: Yes), the packet transport apparatus 201 is specified in step 1703. It is determined whether or not the path is in a failure state (1706).
 ステップ1706の処理で、パスが障害状態であると判定された場合(1706:Yes)、パケットトランスポート装置201は、ステップ1705の処理に進み、受信したMPLSフレームをカプセル化して、カプセル化したMPLSフレームを送信する。 If it is determined in step 1706 that the path is in a failure state (1706: Yes), the packet transport apparatus 201 proceeds to step 1705, encapsulates the received MPLS frame, and encapsulates the MPLS. Send a frame.
 一方、ステップ1706の処理で、パスが障害状態でないと判定された場合(1706:No)、パケットトランスポート装置201は、受信したMPLSフレームのMPLSヘッダの入力MPLSラベルを出力ラベルに変換し、受信したMPLSフレームのMACヘッダの宛先MACアドレスをブロードキャストMACアドレスに変換して、MPLSフレームを対向装置であるパケットトランスポート装置201に送信、すなわちMPLSラベルスイッチする(1707)。 On the other hand, if it is determined in step 1706 that the path is not in a failure state (1706: No), the packet transport apparatus 201 converts the input MPLS label of the MPLS header of the received MPLS frame into an output label, and receives the received label. The destination MAC address in the MAC header of the MPLS frame is converted into a broadcast MAC address, and the MPLS frame is transmitted to the packet transport device 201 which is the opposite device, that is, the MPLS label is switched (1707).
 図18は、本発明の第4実施形態のネットワーク制御装置1301がパケットトランスポート装置201からフレームを受信した場合の処理のフローチャートである。この処理は、ネットワーク制御装置1301の図示しないプロセッサによって実行される。 FIG. 18 is a flowchart of processing when the network control device 1301 according to the fourth embodiment of the present invention receives a frame from the packet transport device 201. This process is executed by a processor (not shown) of the network control apparatus 1301.
 まず、ネットワーク制御装置1301は、受信したフレームに対応するMPLS-TP通信網200内のパスを特定できるか否かを判定する(1801)。受信したフレームがパスの確立又は解除のためのシグナリングデータであれば、MPLSラベルが受信フレームのペイロード部に含まれるので、ネットワーク制御装置1301は、MPLS転送テーブル207を参照し、当該フレームに対応するMPLS-TP通信網200内のパスを特定できる。 First, the network control device 1301 determines whether or not the path in the MPLS-TP communication network 200 corresponding to the received frame can be specified (1801). If the received frame is signaling data for establishing or releasing a path, the MPLS label is included in the payload portion of the received frame, so the network control device 1301 refers to the MPLS forwarding table 207 and corresponds to the frame. A path in the MPLS-TP communication network 200 can be specified.
 ステップ1801の処理で、受信したフレームに対応するMPLS-TP通信網200内のパスを特定できると判定された場合(1801:Yes)、受信したフレームはパスの確立又は解除のためのシグナリングデータであるので、ネットワーク制御装置1301は、パス対応MAC管理テーブル205を更新すべく、ステップ1802以降の処理に進む。 If it is determined in step 1801 that the path in the MPLS-TP communication network 200 corresponding to the received frame can be specified (1801: Yes), the received frame is signaling data for establishing or releasing the path. Therefore, the network control apparatus 1301 proceeds to the processing after step 1802 in order to update the path correspondence MAC management table 205.
 まず、ネットワーク制御装置1301は、パス対応MAC学習テーブル205内に、受信したフレームに対応するパスに該当するエントリを保持しているか否かを判定する(1802)。 First, the network control device 1301 determines whether or not an entry corresponding to the path corresponding to the received frame is held in the path corresponding MAC learning table 205 (1802).
 ステップ1802の処理で、受信したフレームに対応するパスに該当するエントリを保持していないと判定された場合(1802:No)、パス対応MAC学習テーブル205内に更新するエントリが存在しないので、ステップ1810の処理に進む。 If it is determined in step 1802 that the entry corresponding to the path corresponding to the received frame is not held (1802: No), there is no entry to be updated in the path correspondence MAC learning table 205. The process proceeds to 1810.
 一方、ステップ1802の処理で、受信したフレームに対応するパスに該当するエントリを保持していると判定された場合(1802:Yes)、ネットワーク制御装置1301は、受信したフレームがパスの解除のためのシグナリングデータであるか否かを判定する(1803)。 On the other hand, if it is determined in step 1802 that the entry corresponding to the path corresponding to the received frame is held (1802: Yes), the network control device 1301 determines that the received frame is a path release. It is determined whether it is the signaling data of (1803).
 ステップ1803の処理で、受信したフレームがパスの解除のためのシグナリングデータでないと判定された場合(1803:No)、すなわち、受信したフレームがパスの確立のためのシグナリングデータである場合、ネットワーク制御装置1301は、パス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303に、受信したフレームの送信元MACアドレスを登録する(1804)。なお、ステップ1804の処理は、図16に示す1602の処理に対応する。 If it is determined in step 1803 that the received frame is not signaling data for path release (1803: No), that is, if the received frame is signaling data for path establishment, network control is performed. The device 1301 registers the transmission source MAC address of the received frame in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205 (1804). Note that the processing in step 1804 corresponds to the processing in 1602 shown in FIG.
 次に、ネットワーク制御装置1301は、当該パスの終点となるルータ101に接続されたパケットトランスポート装置201に、パス対応MAC学習テーブル205の当該パスを示すエントリの宛先MACアドレス303に受信したシグナリングデータの送信元MACアドレスを登録することを指令する、宛先MACアドレス登録指令を送信する(1805)。また、ネットワーク制御装置1301は、当該パスの始点となるルータ101Aに接続されたパケットトランスポート装置201Aに、パス対応MAC学習テーブル205の当該パスを示すエントリのラベルスイッチ可否フラグ305に有効を設定することを指令する、ラベルスイッチ可否フラグ有効指令を送信する(1805)。 Next, the network control apparatus 1301 sends the signaling data received at the destination MAC address 303 of the entry indicating the path in the path corresponding MAC learning table 205 to the packet transport apparatus 201 connected to the router 101 that is the end point of the path. A destination MAC address registration command is transmitted to instruct to register the source MAC address (1805). Further, the network control apparatus 1301 sets the label switch availability flag 305 of the entry indicating the path in the path corresponding MAC learning table 205 to valid for the packet transport apparatus 201A connected to the router 101A that is the starting point of the path. In response, a label switch enable / disable flag valid command is transmitted (1805).
 そして、ネットワーク制御装置1301は、受信したフレームをネットワーク制御装置1301に送信したパケットトランスポート装置の対向装置となるパケットトランスポート装置201に、受信したフレームを送信する(1810)。 Then, the network control apparatus 1301 transmits the received frame to the packet transport apparatus 201 that is the opposite apparatus of the packet transport apparatus that transmitted the received frame to the network control apparatus 1301 (1810).
 ステップ1803の処理で、受信したフレームがパスの解除のためのシグナリングデータであると判定された場合(1803:Yes)、ネットワーク制御装置1301は、パス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303に登録されたMACアドレスを削除する(1807)。なお、ステップ1807の処理は、図16に示す1612の処理に対応する。 When it is determined in step 1803 that the received frame is signaling data for releasing the path (1803: Yes), the network control device 1301 determines the destination MAC address of the corresponding entry in the path correspondence MAC learning table 205. The MAC address registered in the address 303 is deleted (1807). Note that the processing of step 1807 corresponds to the processing of 1612 shown in FIG.
 次に、ネットワーク制御装置1301は、当該パスの終点となるルータ101に接続されたパケットトランスポート装置201に、パス対応MAC学習テーブル205の当該パスを示すエントリの宛先MACアドレス303に登録されたMACアドレスを削除することを指令する、宛先MACアドレス削除指令を送信する(1808)。また、ネットワーク制御装置1301は、当該パスの始点となるルータ101Aに接続されたパケットトランスポート装置201Aに、パス対応MAC学習テーブル205の当該パスを示すエントリのラベルスイッチ可否フラグ305に無効を設定することを指令する、ラベルスイッチ可否フラグ無効指令を送信する(1809)。 Next, the network control apparatus 1301 registers the MAC registered in the destination MAC address 303 of the entry indicating the path in the path corresponding MAC learning table 205 in the packet transport apparatus 201 connected to the router 101 that is the end point of the path. A destination MAC address deletion command that instructs to delete the address is transmitted (1808). Further, the network control apparatus 1301 sets invalidity in the label switch availability flag 305 of the entry indicating the path in the path correspondence MAC learning table 205 in the packet transport apparatus 201A connected to the router 101A that is the starting point of the path. A label switch enable / disable flag invalid command is transmitted (1809).
 そして、ネットワーク制御装置1301は、ステップ1810の処理に進み、受信したフレームをネットワーク制御装置1301に送信したパケットトランスポート装置の対向装置となるパケットトランスポート装置201に、受信したフレームを送信する。 Then, the network control apparatus 1301 proceeds to the processing of step 1810, and transmits the received frame to the packet transport apparatus 201 that is the opposite apparatus of the packet transport apparatus that transmitted the received frame to the network control apparatus 1301.
 なお、ステップ1801の処理で、受信したフレームに対応するMPLS-TP通信網200内のパスを特定できないと判定された場合(1801:No)、ステップ1810の処理に進み、受信したフレームをネットワーク制御装置1301に送信したパケットトランスポート装置の対向装置となるパケットトランスポート装置201に、受信したフレームを送信する。 If it is determined in step 1801 that the path in the MPLS-TP communication network 200 corresponding to the received frame cannot be specified (1801: No), the process proceeds to step 1810, and the received frame is network-controlled. The received frame is transmitted to the packet transport apparatus 201 which is the opposite apparatus of the packet transport apparatus transmitted to the apparatus 1301.
 図19Aは、本発明の第4実施形態のパケットトランスポート装置201がMPLS-TP通信網の内部から受信したフレームがネットワーク制御装置1301からのフレームである場合の処理のフローチャートである。図19Bは、本発明の第4実施形態のパケットトランスポート装置201がMPLS-TP通信網の内部から受信したフレームがネットワーク制御装置1301からのフレームでない場合の処理のフローチャートである。これらの処理は、パケットトランスポート装置201の図示しないプロセッサによって実行される。 FIG. 19A is a flowchart of processing when the packet transport device 201 according to the fourth embodiment of the present invention receives a frame from the inside of the MPLS-TP communication network as a frame from the network control device 1301. FIG. 19B is a flowchart of processing when the packet transport device 201 according to the fourth embodiment of the present invention receives a frame received from the inside of the MPLS-TP communication network that is not a frame from the network control device 1301. These processes are executed by a processor (not shown) of the packet transport apparatus 201.
 まず、パケットトランスポート装置201は、受信したフレームがネットワーク制御装置1301から送信されたフレームであるか否かを判定する(1901)。 First, the packet transport apparatus 201 determines whether or not the received frame is a frame transmitted from the network control apparatus 1301 (1901).
 ステップ1901の処理で、受信したフレームがネットワーク制御装置1301から送信されたフレームであると判定された場合(1901:Yes)、パケットトランスポート装置201は、受信したフレームがパス対応MAC学習テーブル205を更新するための制御指令であるか否かを判定する(1902)。 If it is determined in step 1901 that the received frame is a frame transmitted from the network control device 1301 (1901: Yes), the packet transport device 201 uses the path-corresponding MAC learning table 205 for the received frame. It is determined whether or not the control command is for updating (1902).
 ステップ1902の処理で、受信したフレームがパス対応MAC学習テーブル205を更新するための制御指令であると判定された場合(1902:Yes)、パケットトランスポート装置201は、受信した制御指令に基づいてパス対応MAC学習テーブル205を更新する(1903)。 If it is determined in step 1902 that the received frame is a control command for updating the path correspondence MAC learning table 205 (1902: Yes), the packet transport device 201 determines that the received frame is a control command. The path correspondence MAC learning table 205 is updated (1903).
 一方、ステップ1902の処理で、受信したフレームがパス対応MAC学習テーブル205を更新するための制御指令でないと判定された場合(1902:No)、受信したフレームをそのままルータ101に送信する(1904)。 On the other hand, if it is determined in step 1902 that the received frame is not a control command for updating the path correspondence MAC learning table 205 (1902: No), the received frame is transmitted to the router 101 as it is (1904). .
 ステップ1901の処理で、受信したフレームがネットワーク制御装置1301から送信されたフレームでないと判定された場合(1901:No)、パケットトランスポート装置201は、受信したフレームがカプセル化されたフレームであるか否かを判定する(1905)。 If it is determined in step 1901 that the received frame is not a frame transmitted from the network control apparatus 1301 (1901: No), the packet transport apparatus 201 determines whether the received frame is an encapsulated frame. It is determined whether or not (1905).
 ステップ1905の処理で、受信したフレームがカプセル化されたフレームであると判定された場合(1905:Yes)、パケットトランスポート装置201は、カプセル化内部のフレームがMPLSフレームであるか否かを判定する(1906)。具体的には、パケットトランスポート装置201は、カプセル化内部のフレームにMPLSヘッダが含まれているか否かを判定する。 If it is determined in step 1905 that the received frame is an encapsulated frame (1905: Yes), the packet transport apparatus 201 determines whether the encapsulated frame is an MPLS frame. (1906). Specifically, the packet transport apparatus 201 determines whether an MPLS header is included in a frame inside the encapsulation.
 ステップ1906の処理で、カプセル化内部のフレームがMPLSフレームであると判定された場合(1906:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、カプセル化内部のMPLSフレームに含まれるMPLSラベルに対応するパスに該当するエントリを保持しているか否かを判定する(1907)。 If it is determined in step 1906 that the frame inside the encapsulation is an MPLS frame (1906: Yes), the packet transport apparatus 201 stores the MPLS frame inside the encapsulation in the path correspondence MAC learning table 205. It is determined whether or not the entry corresponding to the path corresponding to the included MPLS label is held (1907).
 ステップ1907の処理で、カプセル化内部のMPLSフレームに対応するパスに該当するエントリを保持していると判定された場合(1907:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303に、MACアドレスが登録されているか否かを判定する(1908)。 If it is determined in step 1907 that the entry corresponding to the path corresponding to the MPLS frame inside the encapsulation is held (1907: Yes), the packet transport apparatus 201 stores the entry in the path correspondence MAC learning table 205. It is determined whether the MAC address is registered in the destination MAC address 303 of the corresponding entry (1908).
 ステップ1908の処理で、該当するエントリの宛先MACアドレス303にMACアドレスが登録されていると判定された場合(1908:Yes)、パケットトランスポート装置201は、ステップ1907の処理で特定されたパスが障害状態として設定されているか否かを判定する(1909)。 When it is determined in step 1908 that the MAC address is registered in the destination MAC address 303 of the corresponding entry (1908: Yes), the packet transport device 201 determines that the path specified in step 1907 is the path specified. It is determined whether it is set as a failure state (1909).
 ステップ1909の処理で、当該パスが障害状態として設定されていると判定された場合(1909:Yes)、パケットトランスポート装置201は当該障害状態の設定を解除し(1910)、ステップ1911の処理に進み、受信したフレームをデカプセル化して送信する。 If it is determined in step 1909 that the path is set as a failure state (1909: Yes), the packet transport apparatus 201 cancels the setting of the failure state (1910), and the processing in step 1911 is performed. Then, decapsulate the received frame and transmit it.
 なお、ステップ1906の処理でカプセル化内部のフレームがMPLSフレームでないと判定された場合(1906:No)、又は、ステップ1907の処理でカプセル化内部のMPLSフレームに対応するパスに該当するエントリを保持していないと判定された場合(1907:No)、ステップ1908の処理で該当するエントリの宛先MACアドレス303にMACアドレスが登録されていないと判定された場合(1908:No)、ステップ1909の処理で当該パスが障害状態として設定されていないと判定された場合(1909:No)、ステップ1911の処理に進み、受信したフレームをデカプセル化して送信する。 If it is determined in step 1906 that the frame inside the encapsulation is not an MPLS frame (1906: No), or the processing corresponding to the path corresponding to the MPLS frame inside the encapsulation is held in step 1907 If it is determined that the MAC address is not registered (1907: No), it is determined in step 1908 that no MAC address is registered in the destination MAC address 303 of the corresponding entry (1908: No). If it is determined that the path is not set as a failure state (1909: No), the process proceeds to step 1911, where the received frame is decapsulated and transmitted.
 ステップ1905の処理で、受信したフレームがカプセル化されたフレームでないと判定された場合(1905:No)、すなわち、受信したフレームはMPLSラベルスイッチされたMPLSフレームである場合、パケットトランスポート装置201は、パス対応MAC学習テーブル205内に、受信したMPLSフレームに含まれるMPLSラベルに対応するパスに該当するエントリを保持しているか否かを判定する(1912)。 If it is determined in step 1905 that the received frame is not an encapsulated frame (1905: No), that is, if the received frame is an MPLS label-switched MPLS frame, the packet transport device 201 Then, it is determined whether or not an entry corresponding to the path corresponding to the MPLS label included in the received MPLS frame is held in the path correspondence MAC learning table 205 (1912).
 ステップ1912の処理で、受信したMPLSフレームに対応するパスに該当するエントリを保持していると判定された場合(1912:Yes)、パケットトランスポート装置201は、パス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303にMACアドレスが登録されているか否かを判定する(1913)。 If it is determined in step 1912 that the entry corresponding to the path corresponding to the received MPLS frame is held (1912: Yes), the packet transport apparatus 201 corresponds to the path corresponding MAC learning table 205. It is determined whether or not a MAC address is registered in the destination MAC address 303 of the entry (1913).
 ステップ1913の処理で、該当するエントリの宛先MACアドレス303にMACアドレスが登録されていると判定された場合(1913:Yes)、受信したMPLSフレームのMPLSヘッダの入力MPLSラベルを出力ラベルに変換し、受信したMPLSフレームのMACヘッダの宛先MACアドレスをパス対応MAC学習テーブル205の該当するエントリの宛先MACアドレス303に保持しているユニキャストMACアドレスに変換して、MPLSフレームをルータ101に送信する(1914)。 If it is determined in step 1913 that the MAC address is registered in the destination MAC address 303 of the corresponding entry (1913: Yes), the input MPLS label in the MPLS header of the received MPLS frame is converted into an output label. The destination MAC address of the MAC header of the received MPLS frame is converted to the unicast MAC address held in the destination MAC address 303 of the corresponding entry in the path correspondence MAC learning table 205, and the MPLS frame is transmitted to the router 101. (1914).
 ステップ1912の処理で、受信したMPLSフレームに対応するパスに該当するエントリを保持していないと判定された場合(1912:No)、又は、ステップ1913の処理で、該当するエントリの宛先MACアドレス303にMACアドレスが登録されていないと判定された場合(1913:No)、パケットトランスポート装置201は、ステップ1912の処理で特定された当該パスが障害状態として設定されているか否かを判定する(1915)。 When it is determined in step 1912 that the entry corresponding to the path corresponding to the received MPLS frame is not held (1912: No), or in step 1913, the destination MAC address 303 of the corresponding entry is determined. When it is determined that the MAC address is not registered in (1913: No), the packet transport apparatus 201 determines whether or not the path identified in the process of step 1912 is set as a failure state ( 1915).
 ステップ1915の処理で、当該パスが障害状態として設定されていると判定された場合(1915:Yes)、パケットトランスポート装置201は、受信したMPLSフレームのMACヘッダの宛先MACアドレスに設定するユニキャストMACアドレスを保持していないため、受信したMPLSフレームを廃棄する(1917)。 When it is determined in step 1915 that the path is set as a failure state (1915: Yes), the packet transport apparatus 201 sets the unicast to be set as the destination MAC address of the MAC header of the received MPLS frame. Since the MAC address is not held, the received MPLS frame is discarded (1917).
 一方、ステップ1915の処理で、当該パスが障害状態として設定されていないと判定された場合(1915:No)、パケットトランスポート装置201は、当該パスを障害状態として設定し(1916)、ステップ1917の処理に進み、受信したMPLSフレームを廃棄する。 On the other hand, if it is determined in step 1915 that the path is not set as a failure state (1915: No), the packet transport apparatus 201 sets the path as a failure state (1916), and step 1917. Then, the received MPLS frame is discarded.
 以上のように、本実施形態では、通信システム内の各パケットトランスポート装置201は、ネットワーク制御装置1301からの制御指令に基づいてパス対応MAC学習テーブル205を更新するため、通信システムの安定性を向上させることができる。 As described above, in this embodiment, each packet transport device 201 in the communication system updates the path correspondence MAC learning table 205 based on the control command from the network control device 1301, so that the stability of the communication system is improved. Can be improved.
 なお、上述した各実施形態は、本発明の好適な実施形態であり、本発明の要旨を逸脱しない範囲内において変更が可能である。 Each of the above-described embodiments is a preferred embodiment of the present invention and can be changed without departing from the gist of the present invention.

Claims (17)

  1.  第1伝送装置と、前記第1伝送装置に対向する第2伝送装置とを備え、前記第1伝送装置及び前記第2伝送装置によってMPLS-TPを用いた通信網を構成する通信システムにおいて、
     前記第1伝送装置は、IP/MPLSを用いた通信網によって第1転送装置と接続され、
     前記第2伝送装置は、IP/MPLSを用いた通信網によって第2転送装置と接続され、
     前記第1伝送装置は、
     前記第2伝送装置が前記第2転送装置のMACアドレスを保持しているか否かを判定するための対向装置保持情報を、自身が送信又は受信したフレームに基づいて設定し、
     前記第1転送装置によって送信され、MPLSラベル及び宛先となる第2転送装置のMACアドレスを含むMPLSフレームを受信した場合、前記対向装置保持情報を参照し、前記第2伝送装置が前記第2転送装置のMACアドレスを保持しているか否かを判定し、
     前記第2伝送装置が前記第2転送装置のMACアドレスを保持していると判定された場合、前記受信したMPLSフレームを前記MPLSラベルに基づくMPLSラベルスイッチによって送信し、
     前記第2伝送装置が前記第2転送装置のMACアドレスを保持していないと判定された場合、前記受信したMPLSフレームを、前記第2転送装置のMACアドレスを含むようにMPLSヘッダ及びMACヘッダでカプセル化し、前記カプセル化されたMPLSフレームを送信し、
     前記第2伝送装置は、
     前記第1伝送装置によって前記MPLSラベルスイッチを用いて送信されたMPLSフレームを受信した場合、前記受信したMPLSフレームの宛先MACアドレスを自身が保持している前記第2転送装置のMACアドレスに変換し、MPLSラベルスイッチによって前記第2転送装置に送信し、
     前記第1伝送装置によって前記カプセル化されたMPLSフレームを受信した場合、前記受信したカプセル化されたMPLSフレームのカプセル化を解除し、前記カプセル化を解除されたMPLSフレームに含まれる前記第2転送装置のMACアドレスを宛先MACアドレスとし、前記第2転送装置に送信することを特徴とする通信システム。
    In a communication system comprising a first transmission device and a second transmission device facing the first transmission device, wherein the first transmission device and the second transmission device constitute a communication network using MPLS-TP.
    The first transmission device is connected to the first transfer device by a communication network using IP / MPLS,
    The second transmission device is connected to the second transfer device by a communication network using IP / MPLS,
    The first transmission device includes:
    Set opposite device holding information for determining whether or not the second transmission device holds the MAC address of the second transfer device based on the frame transmitted or received by itself,
    When receiving an MPLS frame transmitted by the first transfer apparatus and including an MPLS label and a MAC address of the second transfer apparatus as a destination, the second transfer apparatus refers to the opposite apparatus holding information and the second transfer apparatus performs the second transfer. Determine whether or not it holds the MAC address of the device,
    When it is determined that the second transmission device holds the MAC address of the second transfer device, the received MPLS frame is transmitted by an MPLS label switch based on the MPLS label,
    If it is determined that the second transmission device does not hold the MAC address of the second transfer device, the received MPLS frame is represented by an MPLS header and a MAC header so as to include the MAC address of the second transfer device. Encapsulate and send the encapsulated MPLS frame;
    The second transmission device is
    When an MPLS frame transmitted by the first transmission device using the MPLS label switch is received, the destination MAC address of the received MPLS frame is converted to the MAC address of the second transfer device held by itself. , Sent to the second transfer device by the MPLS label switch,
    When the encapsulated MPLS frame is received by the first transmission apparatus, the encapsulated MPLS frame is decapsulated and the second transfer included in the decapsulated MPLS frame A communication system, wherein a MAC address of a device is used as a destination MAC address and is transmitted to the second transfer device.
  2.  前記第1転送装置が前記第2転送装置にMPLSフレームの送信を開始する場合、前記第1転送装置は、パス確立要求を前記第2転送装置に送信し、
     前記第2転送装置は、前記パス確立要求を受信した場合、自身のMACアドレスを含むシグナリングデータを前記第1転送装置に送信し、
     前記第2転送装置に接続された前記第2伝送装置は、前記シグナリングデータを受信した場合、前記第2転送装置のMACアドレスを保持し、前記シグナリングデータをMPLSヘッダ及びMACヘッダでカプセル化して、前記第1伝送装置に送信し、
     前記第1伝送装置は、前記第2伝送装置から前記カプセル化されたシグナリングデータを受信した場合、前記対向装置保持情報を、前記第2伝送装置が前記第2転送装置のMACアドレスを保持したと判定されるように設定することを特徴とする請求項1に記載の通信システム。
    When the first transfer device starts transmitting an MPLS frame to the second transfer device, the first transfer device transmits a path establishment request to the second transfer device;
    When the second transfer device receives the path establishment request, the second transfer device transmits signaling data including its own MAC address to the first transfer device;
    When the second transmission device connected to the second transfer device receives the signaling data, the second transmission device holds the MAC address of the second transfer device, encapsulates the signaling data with an MPLS header and a MAC header, Transmitting to the first transmission device;
    When the first transmission device receives the encapsulated signaling data from the second transmission device, the second transmission device holds the opposite device holding information, and the second transmission device holds the MAC address of the second transfer device. The communication system according to claim 1, wherein the communication system is set to be determined.
  3.  前記第1伝送装置は、前記第2伝送装置が前記第2転送装置のMACアドレスを保持していないと判定された場合、前記カプセル化して送信するMPLSフレームに基づいて前記第2伝送装置が前記第2転送装置のMACアドレスを保持すると判定して、前記対向装置保持情報を、前記第2伝送装置が前記第2転送装置のMACアドレスを保持していると判定されるように設定し、
     前記第2伝送装置は、前記カプセル化されたMPLSフレームを受信した場合、前記カプセル化されたMPLSフレームに含まれる前記第2転送装置のMACアドレスを保持することを特徴とする請求項2に記載の通信システム。
    When it is determined that the second transmission device does not hold the MAC address of the second transfer device, the first transmission device is configured to transmit the encapsulated MPLS frame based on the MPLS frame to be transmitted. It is determined that the MAC address of the second transfer device is held, and the counter device holding information is set so that the second transmission device is determined to hold the MAC address of the second transfer device,
    3. The second transmission apparatus according to claim 2, wherein when the encapsulated MPLS frame is received, the second transmission apparatus holds a MAC address of the second transfer apparatus included in the encapsulated MPLS frame. Communication system.
  4.  前記第1伝送装置は、前記第2伝送装置が前記第2転送装置のMACアドレスを保持していると判定されるように前記対向装置保持情報を設定してから所定時間の間で、前記第1転送装置から前記第2転送装置へのMPLSフレームを受信しない場合、前記対向装置保持情報を、前記第2伝送装置が前記第2転送装置のMACアドレスを保持していないと判定されるように設定し、
     前記第2伝送装置は、前記第2伝送装置が前記第2転送装置のMACアドレスを保持してから所定時間の間で、前記第1伝送装置から前記第2伝送装置へのMPLSフレームを受信しない場合、前記保持した前記第2転送装置のMACアドレスを削除することを特徴とする請求項1から請求項3のいずれか一つに記載の通信システム。
    The first transmission device sets the counter device holding information so that it is determined that the second transmission device holds the MAC address of the second transfer device. If no MPLS frame is received from one transfer device to the second transfer device, the opposite device holding information is determined so that the second transmission device does not hold the MAC address of the second transfer device. Set,
    The second transmission apparatus does not receive an MPLS frame from the first transmission apparatus to the second transmission apparatus for a predetermined time after the second transmission apparatus holds the MAC address of the second transfer apparatus. 4. The communication system according to claim 1, wherein the MAC address of the held second transfer apparatus is deleted.
  5.  前記第1伝送装置は、前記MPLSラベルスイッチによって送信するMPLSフレームに含まれるMACアドレスをブロードキャストMACアドレス又はマルチキャストMACアドレスに設定することを特徴とする請求項1から請求項3のいずれか一つに記載の通信システム。 The first transmission apparatus sets a MAC address included in an MPLS frame transmitted by the MPLS label switch to a broadcast MAC address or a multicast MAC address, according to any one of claims 1 to 3. The communication system described.
  6.  前記第1伝送装置は、
     前記第2伝送装置から前記カプセル化されたシグナリングデータを受信した場合、前記受信したカプセル化されたシグナリングデータに含まれる前記第2転送装置のMACアドレスを保持し、
     前記第1転送装置から前記MPLSフレームを受信した場合、前記MPLSフレームに含まれる前記第2転送装置のMACアドレスを保持し、
     前記MPLSラベルスイッチによって送信するMPLSフレームに含まれるMACアドレスを前記第2転送装置のMACアドレスに設定することを特徴とする請求項3に記載の通信システム。
    The first transmission device includes:
    When the encapsulated signaling data is received from the second transmission device, the MAC address of the second transfer device included in the received encapsulated signaling data is retained,
    When the MPLS frame is received from the first transfer device, the MAC address of the second transfer device included in the MPLS frame is held,
    The communication system according to claim 3, wherein a MAC address included in an MPLS frame transmitted by the MPLS label switch is set as a MAC address of the second transfer device.
  7.  前記第1伝送装置は、
     前記第2伝送装置から前記カプセル化されたシグナリングデータ又はMPLSフレームを受信した場合、前記受信したカプセル化されたシグナリングデータ又はMPLSフレームに含まれる前記第2伝送装置のMACアドレスを保持し、
     前記MPLSラベルスイッチによって送信するMPLSフレームに含まれるMACアドレスを前記第2伝送装置のMACアドレスに設定することを特徴とする請求項3に記載の通信システム。
    The first transmission device includes:
    When the encapsulated signaling data or MPLS frame is received from the second transmission device, the MAC address of the second transmission device included in the received encapsulated signaling data or MPLS frame is retained,
    4. The communication system according to claim 3, wherein a MAC address included in an MPLS frame transmitted by the MPLS label switch is set as a MAC address of the second transmission device.
  8.  前記通信システムは、前記第1伝送装置及び前記第2伝送装置に接続された制御装置を備え、
     前記第1転送装置が前記第2転送装置にMPLSフレームの送信を開始する場合、前記第1転送装置は、パス確立要求を前記第2転送装置に送信し、
     前記第2転送装置は、前記パス確立要求を受信した場合、自身のMACアドレスを含むシグナリングデータを前記第1転送装置に送信し、
     前記第2転送装置に接続された前記第2伝送装置は、前記シグナリングデータを受信した場合、前記受信したシグナリングデータを前記制御装置に送信し、
     前記制御装置は、
     前記シグナリングデータを受信した場合、
     前記受信したシグナリングデータを前記第1伝送装置に送信し、
     前記第2転送装置のMACアドレスを保持させるための保持指令を前記第2伝送装置に送信し、
     前記第2伝送装置が前記第2転送装置のMACアドレスを保持していると判定されるように前記対向装置保持情報を設定させる設定指令を前記第1伝送装置に送信し、
     前記第2伝送装置は、前記保持指令を受信した場合、前記第2転送装置のMACアドレスを保持し、
     前記第1伝送装置は、前記設定指令を受信した場合、前記第2伝送装置が前記第2転送装置のMACアドレスを保持していると判定されるように前記対向装置保持情報を設定することを特徴とする請求項1に記載の通信システム。
    The communication system includes a control device connected to the first transmission device and the second transmission device,
    When the first transfer device starts transmitting an MPLS frame to the second transfer device, the first transfer device transmits a path establishment request to the second transfer device;
    When the second transfer device receives the path establishment request, the second transfer device transmits signaling data including its own MAC address to the first transfer device;
    When the second transmission device connected to the second transfer device receives the signaling data, the second transmission device transmits the received signaling data to the control device;
    The control device includes:
    When receiving the signaling data,
    Transmitting the received signaling data to the first transmission device;
    Sending a holding command to hold the MAC address of the second transfer device to the second transmission device;
    Sending a setting command to set the counter device holding information to the first transmission device so that it is determined that the second transmission device holds the MAC address of the second transfer device;
    When the second transmission device receives the hold command, the second transmission device holds the MAC address of the second transfer device,
    When the first transmission device receives the setting command, the first transmission device sets the counter device holding information so that it is determined that the second transmission device holds the MAC address of the second transfer device. The communication system according to claim 1.
  9.  IP/MPLSを用いた通信網に収容される第1転送装置に接続され、MPLS-TPを用いた通信網を構成する伝送装置において、
     前記伝送装置は、第2転送装置に接続される伝送装置である対向装置と前記MPLS-TPを用いた通信網で接続されており、
     前記第1転送装置が前記第2転送装置に送信するフレームは、前記第2転送装置のMACアドレスを含み、
     前記伝送装置は、
     前記第1転送装置に接続され、
     前記対向装置が前記第2転送装置のMACアドレスを保持しているか否かを判定するための対向装置保持情報を、自身が送信又は受信したフレームに基づいて設定し、
     前記第1転送装置によって送信され、MPLSラベル及び宛先となる第2転送装置のMACアドレスを含むMPLSフレームを受信した場合、前記対向装置保持情報を参照し、前記対向装置が前記第2転送装置のMACアドレスを保持しているか否かを判定し、
     前記対向装置が前記第2転送装置のMACアドレスを保持していると判定された場合、前記受信したMPLSフレームを前記MPLSラベルに基づくMPLSラベルスイッチによって送信し、
     前記対向装置が前記第2転送装置のMACアドレスを保持していないと判定された場合、前記受信したMPLSフレームを、前記第2転送装置のMACアドレスを含むようにMPLSヘッダ及びMACヘッダでカプセル化し、前記カプセル化されたMPLSフレームを送信することを特徴とする伝送装置。
    In a transmission apparatus connected to a first transfer apparatus accommodated in a communication network using IP / MPLS and constituting a communication network using MPLS-TP,
    The transmission device is connected to a counter device, which is a transmission device connected to a second transfer device, via a communication network using the MPLS-TP,
    The frame transmitted by the first transfer device to the second transfer device includes the MAC address of the second transfer device,
    The transmission apparatus is
    Connected to the first transfer device;
    Set opposite device holding information for determining whether or not the opposite device holds the MAC address of the second transfer device based on the frame transmitted or received by itself,
    When receiving an MPLS frame transmitted by the first transfer device and including an MPLS label and a MAC address of the second transfer device as a destination, the opposite device holds the second transfer device by referring to the opposite device holding information. Determine whether you have a MAC address,
    When it is determined that the opposite device holds the MAC address of the second transfer device, the received MPLS frame is transmitted by an MPLS label switch based on the MPLS label,
    When it is determined that the opposite device does not hold the MAC address of the second transfer device, the received MPLS frame is encapsulated with an MPLS header and a MAC header so as to include the MAC address of the second transfer device. A transmission apparatus that transmits the encapsulated MPLS frame.
  10.  前記第1転送装置が前記第2転送装置にMPLSフレームの送信を開始する場合、前記第1転送装置は、パス確立要求を前記第2転送装置に送信し、
     前記第2転送装置は、前記パス確立要求を受信した場合、自身のMACアドレスを含むシグナリングデータを前記第1転送装置に送信し、
     前記第2転送装置に接続された前記対向装置は、前記シグナリングデータを受信した場合、前記第2転送装置のMACアドレスを保持し、前記シグナリングデータをMPLSヘッダ及びMACヘッダでカプセル化して、前記伝送装置に送信し、
     前記伝送装置は、前記対向装置から前記カプセル化されたシグナリングデータを受信した場合、前記対向装置保持情報を、前記対向装置が前記第2転送装置のMACアドレスを保持していると判定されるように設定することを特徴とする請求項9に記載の伝送装置。
    When the first transfer device starts transmitting an MPLS frame to the second transfer device, the first transfer device transmits a path establishment request to the second transfer device;
    When the second transfer device receives the path establishment request, the second transfer device transmits signaling data including its own MAC address to the first transfer device;
    When receiving the signaling data, the opposite device connected to the second transfer device holds the MAC address of the second transfer device, encapsulates the signaling data with an MPLS header and a MAC header, and transmits the transmission data. To the device,
    When the transmission apparatus receives the encapsulated signaling data from the opposite apparatus, the transmission apparatus determines that the opposite apparatus holds the opposite apparatus holding information and the opposite apparatus holds the MAC address of the second transfer apparatus. The transmission apparatus according to claim 9, wherein the transmission apparatus is set as follows.
  11.  前記対向装置は、前記カプセル化されたMPLSフレームを受信した場合、前記カプセル化されたMPLSフレームに含まれる前記第2転送装置のMACアドレスを保持し、
     前記対向装置が前記第2転送装置のMACアドレスを保持していないと判定された場合、前記対向装置保持情報を、前記対向装置が前記第2転送装置のMACアドレスを保持していると判定されるように設定し、前記カプセル化されたMPLSフレームを送信することを特徴とする請求項10に記載の伝送装置。
    When the opposite device receives the encapsulated MPLS frame, it holds the MAC address of the second transfer device included in the encapsulated MPLS frame;
    When it is determined that the opposite device does not hold the MAC address of the second transfer device, it is determined that the opposite device holds the MAC address of the second transfer device. The transmission apparatus according to claim 10, wherein the transmission is performed and the encapsulated MPLS frame is transmitted.
  12.  前記対向装置が前記第2転送装置のMACアドレスを保持していると判定されるように前記対向装置保持情報を設定してから所定時間の間で、前記第1転送装置から前記第2転送装置へのMPLSフレームを受信しない場合、前記対向装置が前記第2転送装置のMACアドレスを保持していないと判定されるように前記対向装置保持情報を設定することを特徴とする請求項9から請求項11のいずれか一つに記載の伝送装置。 From the first transfer device to the second transfer device during a predetermined time after setting the opposite device holding information so that it is determined that the opposite device holds the MAC address of the second transfer device. The counter device holding information is set so that it is determined that the opposite device does not hold the MAC address of the second transfer device when the MPLS frame is not received. Item 12. The transmission device according to any one of Items 11.
  13.  前記MPLSラベルスイッチによって送信されるMPLSフレームに含まれるMACアドレスはブロードキャストMACアドレスであることを特徴とする請求項9から請求項11のいずれか一つに記載の伝送装置。 The transmission apparatus according to any one of claims 9 to 11, wherein a MAC address included in an MPLS frame transmitted by the MPLS label switch is a broadcast MAC address.
  14.  前記伝送装置は、
     前記対向装置から前記カプセル化されたシグナリングデータを受信した場合、前記受信したシグナリングデータに含まれる前記第2転送装置のMACアドレスを保持し、
     前記第1転送装置から前記MPLSフレームを受信した場合、前記MPLSフレームに含まれる前記第2転送装置のMACアドレスを保持し、
     前記MPLSラベルスイッチによって送信するMPLSフレームの宛先MACアドレスを自身が保持している前記第2転送装置のMACアドレスに変換することを特徴とする請求項11に記載の伝送装置。
    The transmission apparatus is
    When receiving the encapsulated signaling data from the opposite device, hold the MAC address of the second transfer device included in the received signaling data,
    When the MPLS frame is received from the first transfer device, the MAC address of the second transfer device included in the MPLS frame is held,
    12. The transmission apparatus according to claim 11, wherein a destination MAC address of an MPLS frame transmitted by the MPLS label switch is converted into a MAC address of the second transfer apparatus held by itself.
  15.  前記伝送装置は、
     前記対向装置から前記カプセル化されたシグナリングデータ又はMPLSフレームを受信した場合、前記受信したシグナリングデータ又はMPLSフレームに含まれる前記対向装置のMACアドレスを保持し、
     前記MPLSラベルスイッチによって送信するMPLSフレームの宛先MACアドレスを自身が保持している前記対向装置のMACアドレスに変換することを特徴とする請求項11に記載の伝送装置。
    The transmission apparatus is
    When receiving the encapsulated signaling data or MPLS frame from the opposite device, hold the MAC address of the opposite device included in the received signaling data or MPLS frame;
    12. The transmission apparatus according to claim 11, wherein a destination MAC address of an MPLS frame transmitted by the MPLS label switch is converted into a MAC address of the opposite apparatus held by itself.
  16.  前記第1転送装置が前記第2転送装置にデータの送信を開始する場合、前記第1転送装置は、パス確立要求を前記第2転送装置に送信し、
     前記第2転送装置は、前記パス確立要求を受信した場合、自身のMACアドレスを含むシグナリングデータを前記第1転送装置に送信し、
     前記第2転送装置に接続された前記対向装置は、前記シグナリングデータを受信した場合、前記対向装置に接続された制御装置に、前記受信したシグナリングデータを送信し、
     前記制御装置は、前記シグナリングデータを受信した場合、前記受信したシグナリングデータを前記伝送装置に送信し、前記第2転送装置のMACアドレスを保持させるための保持指令を前記対向装置に送信するとともに、前記対向装置保持情報を、前記対向装置が前記第2転送装置のMACアドレスを保持していると判定されるように設定させる設定指令を前記伝送装置に送信し、
     前記伝送装置は、前記設定指令を受信した場合、前記対向装置保持情報を、前記対向装置が前記第2転送装置のMACアドレスを保持していると判定されるように設定することを特徴とする請求項9に記載の伝送装置。
    When the first transfer device starts transmitting data to the second transfer device, the first transfer device transmits a path establishment request to the second transfer device;
    When the second transfer device receives the path establishment request, the second transfer device transmits signaling data including its own MAC address to the first transfer device;
    When the opposite device connected to the second transfer device receives the signaling data, the opposite device transmits the received signaling data to the control device connected to the opposite device;
    When the control device receives the signaling data, the control device transmits the received signaling data to the transmission device, and transmits a holding command for holding the MAC address of the second transfer device to the opposite device; Sending a setting command to the transmission device to set the counter device holding information so that the counter device is determined to hold the MAC address of the second transfer device;
    When the transmission apparatus receives the setting command, the transmission apparatus sets the counter apparatus holding information so that it is determined that the counter apparatus holds the MAC address of the second transfer apparatus. The transmission apparatus according to claim 9.
  17.  第1伝送装置と、前記第1伝送装置に対向する第2伝送装置とを有し、前記第1伝送装置及び前記第2伝送装置によってMPLS-TPを用いた通信網を構成する通信システムにおけるデータの通信方法において、
     前記第1伝送装置は、IP/MPLSを用いた通信網によって第1転送装置と接続され、
     前記第2伝送装置は、IP/MPLSを用いた通信網によって第2転送装置と接続され、
     前記方法は、
     前記第1伝送装置が、前記第2伝送装置が前記第2転送装置のMACアドレスを保持しているか否かを判定するための対向装置保持情報を、自身が送信又は受信したフレームに基づいて設定するステップと、
     前記第1伝送装置が、前記第1転送装置によって送信され、MPLSラベル及び宛先となる第2転送装置のMACアドレスを含むMPLSフレームを受信した場合、前記対向装置保持情報を参照し、前記第2伝送装置が前記第2転送装置のMACアドレスを保持しているか否かを判定するステップと、
     前記第2伝送装置が前記第2転送装置のMACアドレスを保持していると判定された場合、前記第1伝送装置が、前記受信したMPLSフレームを前記MPLSラベルに基づくMPLSラベルスイッチによって送信するステップと、
     前記第2伝送装置が前記第2転送装置のMACアドレスを保持していないと判定された場合、前記第1伝送装置が、前記受信したMPLSフレームを、前記第2転送装置のMACアドレスを含むようにMPLSヘッダ及びMACヘッダでカプセル化し、前記カプセル化されたMPLSフレームを送信するステップと、
     前記第2伝送装置が、前記第1伝送装置によって前記MPLSラベルスイッチを用いて転送されたMPLSフレームを受信した場合、前記受信したMPLSフレームの宛先MACアドレスを自身が保持している前記第2転送装置のMACアドレスに変換し、MPLSラベルスイッチによって前記第2転送装置に送信するステップと、
     前記第2伝送装置が、前記第1伝送装置によって前記カプセル化されたMPLSフレームを受信した場合、前記受信したMPLSフレームのカプセル化を解除し、前記カプセル化を解除されたMPLSフレームに含まれる前記第2転送装置のMACアドレスを宛先MACアドレスとし、前記第2転送装置に送信するステップと、を含むことを特徴とする通信方法。
    Data in a communication system having a first transmission device and a second transmission device facing the first transmission device, and constituting a communication network using MPLS-TP by the first transmission device and the second transmission device In the communication method of
    The first transmission device is connected to the first transfer device by a communication network using IP / MPLS,
    The second transmission device is connected to the second transfer device by a communication network using IP / MPLS,
    The method
    The first transmission device sets counter device holding information for determining whether or not the second transmission device holds the MAC address of the second transfer device based on a frame transmitted or received by the first transmission device. And steps to
    When the first transmission apparatus receives an MPLS frame transmitted by the first transfer apparatus and including an MPLS label and a MAC address of the second transfer apparatus as a destination, the second transmission apparatus refers to the opposite apparatus holding information, and Determining whether the transmission device holds the MAC address of the second transfer device;
    When it is determined that the second transmission device holds the MAC address of the second transfer device, the first transmission device transmits the received MPLS frame by an MPLS label switch based on the MPLS label. When,
    If it is determined that the second transmission device does not hold the MAC address of the second transfer device, the first transmission device includes the received MPLS frame including the MAC address of the second transfer device. Encapsulating with an MPLS header and a MAC header, and transmitting the encapsulated MPLS frame;
    When the second transmission apparatus receives an MPLS frame transferred by the first transmission apparatus using the MPLS label switch, the second transmission apparatus holds the destination MAC address of the received MPLS frame. Converting to the MAC address of the device and transmitting to the second transfer device by means of an MPLS label switch;
    When the second transmission apparatus receives the MPLS frame encapsulated by the first transmission apparatus, the second transmission apparatus decapsulates the received MPLS frame and is included in the decapsulated MPLS frame. And a step of setting the MAC address of the second transfer device as a destination MAC address and transmitting to the second transfer device.
PCT/JP2013/052013 2012-03-21 2013-01-30 Communication system, transmitter apparatus, and communication method WO2013140860A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2012-064012 2012-03-21
JP2012064012A JP5794697B2 (en) 2012-03-21 2012-03-21 COMMUNICATION SYSTEM, TRANSMISSION DEVICE, AND COMMUNICATION METHOD

Publications (1)

Publication Number Publication Date
WO2013140860A1 true WO2013140860A1 (en) 2013-09-26

Family

ID=49222327

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/052013 WO2013140860A1 (en) 2012-03-21 2013-01-30 Communication system, transmitter apparatus, and communication method

Country Status (2)

Country Link
JP (1) JP5794697B2 (en)
WO (1) WO2013140860A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110261812A1 (en) * 2010-04-23 2011-10-27 Sriganesh Kini Efficient encapsulation of packets transmitted on a packet-pseudowire over a packet switched network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110261812A1 (en) * 2010-04-23 2011-10-27 Sriganesh Kini Efficient encapsulation of packets transmitted on a packet-pseudowire over a packet switched network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DAISUKE MASHIMO ET AL.: "Interworking between MPLS-TP and IP/MPLS with Centralized Peer Model", THE INSTITUTE OF ELECTRONICS, INFORMATION AND COMMUNICATION ENGINEERS 2012 NEN SOGO TAIKAI KOEN RONBUNSHU TSUSHIN 2, 6 March 2012 (2012-03-06), pages 62 *

Also Published As

Publication number Publication date
JP2013197973A (en) 2013-09-30
JP5794697B2 (en) 2015-10-14

Similar Documents

Publication Publication Date Title
US10110490B2 (en) Method and apparatus for forwarding packet
US11240065B2 (en) NSH encapsulation for traffic steering
US10439843B2 (en) Method and system for virtual and physical network integration
US9825856B2 (en) Service function chaining in a packet network
US9374323B2 (en) Communication between endpoints in different VXLAN networks
US10412008B2 (en) Packet processing method, apparatus, and system
JP4780477B2 (en) Tunneling device, tunnel frame distribution method used therefor, and program therefor
WO2016202269A2 (en) Data packet forwarding
US20120099602A1 (en) End-to-end virtualization
JP2006180485A (en) Tunneling method and apparatus for multicasting between ipv4 network and ipv6 network
WO2014000591A1 (en) Method, device, and system for routing function activation and data transmission
CN107547399B (en) Multicast forwarding table item processing method and PE equipment
WO2014203291A1 (en) Communications system and program
US20160191421A1 (en) Communication system, switch, controller, ancillary data management apparatus, data forwarding method, and program
EP2670088B1 (en) Trill network interconnection method and system
WO2021093641A1 (en) Message transmission method and system, vpn device at sending end and gre splicing device
WO2018165866A1 (en) Sdn and packet forwarding method and apparatus thereof
JP5310262B2 (en) Server apparatus, transmission system, and GRE encapsulated transfer method used therefor
CN109152096B (en) Message transmission method of EPS (evolved packet System) architecture and computer-readable storage medium
JP5794697B2 (en) COMMUNICATION SYSTEM, TRANSMISSION DEVICE, AND COMMUNICATION METHOD
WO2014183579A1 (en) Data forwarding control method and logic switch
WO2016031923A1 (en) Switch, overlay network system, tunnel setting changing method and program
JP2007110654A (en) Bridge device and control method thereof
JP4929990B2 (en) Virtual network routing system, connection device, and virtual network routing method used therefor
JP2007110653A (en) Bridge device and control method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13763734

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13763734

Country of ref document: EP

Kind code of ref document: A1