This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2008-241711, filed on Sep. 19, 2008, the entire contents of which are incorporated herein by reference.
A certain aspect of embodiments relates to a transmission device and a transmission method.
There is a method of relating a plurality of VLAN tags named as Q-in-Q specified with IEEE 802.1 ad, as a technology of providing broad area Ethernet (registered trademark) service. IEEE 802.1 ah PBB (Provider Backbone Bridge), IEEE 802.1 Qay PBB-TE (Provider Backbone Bridge—Traffic Engineering) and so on are being standardized as a more scalable technology. Japanese Patent Application Publication No. 2006-520572 discloses a protection technology to protect a signal from a failure such as disconnection in a network.
According to an aspect of the present invention, there is provided a transmission device including an ingress edge device that receives a frame, an egress edge device having a plurality of destination addresses, and a rewrite unit that rewrites a destination MAC address of the frame to another destination MAC address of the egress edge device when detecting a failure on a working path between the ingress edge device and the egress edge device.
According to another aspect of the present invention, there is provided a transmission method including receiving a frame at an ingress edge device, rewriting a destination MAC address of the frame to another destination MAC address of an egress edge device when a failure on a working path between the ingress edge device and the egress edge device is detected.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed.
1:1 path protection of PBB-TE is being considered in standardization of IEEE 802.1 Qay. However, there is a problem of requiring time from a failure occurrence to a protection switching, because a path is switched at an entrance of the path. It is necessary to transmit a frame to a protection path at all times, although a failure time may be reduced because of an egress switching in a case of 1+1 path protection. Therefore, use efficiency of a band may be degraded.
An overhead may be enlarged if a segment protection is realized with a B-tunnel technology of encapsulating a PBB-TE frame with a MAC-in-MAC method. Here, “MAC” means “Media Access Control”.
The following is a description of embodiments of the present invention, with reference to the accompanying drawings. The following embodiments provide a transmission device and a transmission method realizing efficient protection.
As illustrated in
The B-SA is an ingress edge device toward a PBBN. The B-SA is expressed with a MAC address of an encapsulating edge device. The B-TAG has the same format as a Service VLAN TAG specified with IEEE 802.1 ad. The B-TAG includes a B-TAG TPID and a B-TAG TCI (Tag Control Information). The B-TAG TCI includes 12 bits of Backbone VLAN ID (B-VID).
The I-TAG includes a destination MAC address (C-DA), a source MAC address (C-SA), and an I-SID of a user identifier (Backbone Service Instance Identifier) of a user frame. The TPID (Tag Protocol Identifier) indicates a tag type.
A main address and a sub address of the MAC address (B-MAC) of the edge device N1 are expressed as X1 and X2 respectively. Similarly, a main address and a sub address of the B-MAC of the edge device N4 are expressed as Y1 and Y2 respectively. In
A table illustrated in
The FDB of the forwarding device N2 holds information of the working path and the protection path with respect to a single <B-DA, B-VID> entry. The same holds for the forwarding devices N3. The forwarding device N6 holds only the entry of the protection path, because the forwarding device N6 is not on the working path. The same holds for the forwarding devices N5.
A description will be given of an operation at normal condition. The edge device N1 receives a user frame from a device out of the ring. The encapsulation unit 11 of the edge device N1 relates I-SID to the user frame as a user identifier. The encapsulation unit 11 relates a source address [X1] to the B-SA, and relates a destination address [Y1] of the user frame to the B-DA. Further, the encapsulation unit 11 relates B-VID=10 to the user frame. The transfer unit 12 transmits a frame encapsulated by the encapsulation unit 11 to the forwarding device N2.
The forwarding devices N2 and N3 receive a frame from a port 1 respectively. The forwarding devices N2 and N3 may have a function of reversing a received frame if a source address of the received frame is its own address. In the embodiment, the forwarding devices N2 and N3 do not reverse the frame, because B-SA=X1. The forwarding devices N2 and N3 search the FDB with B-VID+B-DA of the received frame and determine a transmission port. The forwarding devices N2 and N3 transmit the frame from a port 2.
The egress edge device N4 reverses a received frame if the B-SA address of the received frame is its own address. In the embodiment, the edge device N4 does not reverse the received frame because B-SA=X1. The edge device N4 terminates the frame, removes the B-TAG, the B-DA/SA and the I-TAG, and generates a user frame, because the B-DA=Y1 of the received frame is its own address.
Next, a description will be given of an operation in a case where there exists a failure between the forwarding device N2 and the forwarding device N3, with reference to
The forwarding device N2 receives a frame from a port 1. The forwarding device N2 searches the FDB with B-VID+B-DA of the received frame and determines a transmission port. The forwarding device N2 transfers the frame toward a protection side, because a link to the forwarding device N3 being a transmission port is down (signal transmission is failed at the work). In this case, the rewrite unit 21 rewrites B-DA of the entry to Y2, and transmits the frame from a port 1.
The edge device N1 is set so as to reverse a received frame if B-SA of the received frame is its own address. The B-SA of the received frame is the address [X1] in order to reverse a loop frame. However, the edge device N1 does not reverse the frame when the rewrite unit 21 rewrites the B-DA. Here, a sub address may be recorded in the edge device 10 in advance as a method of judging whether the B-SA is a sub address. The MAC address of a specific range may be defined as a sub address. The transfer unit 12 searches the FDB with B-VID (10)+B-DA (Y2) of the received frame, and determines a transmission port. In this case, the transfer unit 12 transmits a frame to the forwarding unit N6.
The forwarding devices N6 and N5 receive a frame with a port 1. The forwarding devices N6 and N5 search the FDB with B-VID (10)+B-DA (Y2) of the received frame, and determine a transmission port. In this case, the forwarding devices N6 and N5 transmit a frame from a port 2. The egress edge device N4 terminates the frame, removes B-TAG, B-DA/SA and I-TAG, and generates a user frame, because B-DA=Y2 of the received frame is its own address.
If it is not determined that the B-SA address is its own address in Step S2, the forwarding device N2 searches the FDB with B-VID+B-DA (Step S4). Next, the forwarding device N2 determines whether the working link is up (Step S5). If it is not determined that the working link is up in Step S5, the forwarding device N2 rewrites B-DA to a sub address (Step S6). Then, the forwarding device N2 transmits the frame (Step S7), and terminates the execution of the flowchart. If it is determined that the working link is up in Step S5, the forwarding device N2 executes Step S7.
With the transmission device in accordance with the embodiment, it is possible to provide a segment protection to an Ethernet (registered trademark) ring network of PBB-TE. In this case, it is possible to reduce an overhead compared to a B-tunnel method. And it is possible to reduce a delay and a band, because a reversed backup path does not get to a failure point on an opposite side, being different from a general segment protection. It is therefore possible to provide an efficient protection.
The B-SA may be rewritten at the failure point. In this case, a B-SA element is added to the entry of the FDB of the egress edge device N4 in the case of
The forwarding device N2 receives a frame with a port 1. The forwarding device N2 searches the FDB with B-VID+B-DA of the received frame and determines a transmission port. The forwarding device N2 transfers the frame toward a protection side, because a link to the forwarding device N3 being a transmission port is down. In this case, the rewrite unit 21 rewrites B-DA of the entry to Y2, rewrites B-SA of the entry to X2, and transmits the frame from a port 1.
The edge device N1 does not reverse the frame, because the B-SA of the received frame is its own sub address [X2]. The transfer unit 12 looks up the FDB with B-VID (10)+B-DA (Y2) of the received frame, and determines a transmission port. In this case, the transfer unit 12 transmits the frame to the forwarding unit N6.
The forwarding devices N6 and N5 receive a frame with a port 1. The forwarding devices N6 and N5 look up the FDB with B-VID (10)+B-DA (Y2) of the received frame, and determine a transmission port. In this case, the forwarding devices N6 and N5 transmit a frame from a port 2. The egress edge device N4 terminates the frame, removes B-TAG, B-DA/SA and I-TAG, and generates a user frame, because B-DA=Y2 of the received frame is its own address.
The source MAC address may be rewritten in the above-mentioned method. In this case, it is also possible to provide a segment protection to an Ethernet (registered trademark) ring network of PBB-TE. It is possible to reduce an overhead compared to a B-tunnel method. And it is possible to reduce a delay and a bandwidth, because a reversed backup path does not get to a failure point on an opposite side, being different from a general segment protection.
The edge device 10a receives a user frame from a device of an external network. The encapsulation unit 11a relates I-SID to the user frame as a user identifier. The encapsulation unit 11a relates its own address [X1] to B-SA, and relates a destination address [Y1] of the user frame to B-DA. Further, the encapsulation unit 11a relates B-VID=10 to the user frame. The encapsulation unit 11a transmits a frame encapsulated by the encapsulation unit 11a to the transfer unit 12a.
The transfer unit 12a receives a frame from the encapsulation unit 11a, and determines B-VID and a transmission port with the I-SID (+B-DA). In this case, the Work/Prot. selection unit 13 sets an output port 2 to a port 2 if the Work is Inactive. In this case, the rewrite unit 14 rewrites B-DA=Y1 to B-DA=Y2. The BVID relating unit 15 relates B-VID to the frame and transmits the frame to the port 2.
A path of B-VID=10 and B-DA=Y2 is set in advance in another forwarding device. Each of the forwarding devices searches the FDB with B-VID+B-DA of the received frame, determines a transmission port, and transmits the frame.
An egress edge device confirms that B-SA is not Y1 or B-SA is not Y2, in order to prevent a looping. The egress edge device terminates the frame, removes B-TAG, B-DA/SA and I-TAG, and generates a user frame, because B-DA=Y2 of the received frame is its own address.
Next, the Work/Prot. selection unit 13 determines whether the Work is active (Step S14). If it is not determined that the Work is active in Step S14, the rewrite unit 14 rewrites B-DA to a sub address (Step S15). Next, the BVID relating unit 15 relates B-VID to the frame (Step S16), and transmits the frame (Step S17). After that, the flowchart is terminated. If it is determined that the Work is active in Step S14, the BVID relating unit 15 executes Step S16.
It is possible to reduce a B-VID label space by using not 12 bits B-VID but 48 bits MAC address, in the above-mentioned path protection. It is therefore possible to provide an efficient protection.
The ingress edge device 10 may be set not to reverse a frame when VLAN-ID is rewritten to a predetermined value by the rewrite unit, even if the source MAC address is its own address, in the above-mentioned embodiments.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiments of the present invention have been described in detail, it should be understood that the various change, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2008-241711 | Sep 2008 | JP | national |