Other objects, features and advantages of the present invention will become more apparent from the following detailed description when read in conjunction with the accompanying drawings, in which:
In the following, embodiments of the present invention are described with reference to figures.
<Configuration of Network>
In this embodiment, following configuration is adopted.
(1) Apparatus redundancy configuration is realized using the pair of box type switches 25 and 26.
(2) Connection setting in each of the aggregation switch 21 and the edge switches 22 and 23 for the pair of the box type switches 25 and 26 is link aggregation, each of the aggregation switch 21 and the edge switches 22 and 23 is connected to a port of a same port number in each of the box type switches 25 and 26.
(3) The box type switches 25 and 26 are connected using redundant ports (RP) that is not usually used.
(4) When any one of the box type switches 25 and 26 is failed, all ports of the failed box type switch are closed.
(5) When port failure occurs, traffic is diverted using the redundant ports of the box type switches 25 and 26. When diverting the traffic, loop is avoided by reporting input port information or output port information.
<Configuration of Box Type Switch>
The access port 31 is connected to a lower switch apparatus, the network port 32 is connected to an upper switch apparatus, and the redundant port 33 is connected to a redundant port of another box type switch. The switch unit 34 switches connections among the access port 31, the network port 32 and the redundant port 33 based on control by the CPU 35.
In addition, learning of the FDB 35 is performed by the control of the CPU 35. Information in FDBs 36 are synchronized between the pair of box type switches 25 and 26 by the learning synchronization unit 35f. Further, the in-band monitoring unit 35g performs in-band monitoring.
When the FDB 36 includes the same MAC address, VLAN information and port number, the box type switch 25 resets aging timer for an entry corresponding to the MAC address, the VLAN information and the port number. The aging timer is provided for performing aging process to delete an entry when the entry is not used for equal to or greater than a predetermined time.
On the other hand, when the same MAC address, VLAN information and port number are not stored in the FDB 36, the box type switch 25 stores the source MAC address (SA), the VLAN information and the input port number of the received frame into the FDB 36 to learn them in step S22.
After that, the box type switch 25 sends an aging timer reset request packet or a MAC learning request packet to another box type switch 26 in step S23. In this step, the box type switch 25 sends a plurality of pieces of learning information that are the MAC address (SA), the VLAN information, and the port number collectively with one frame.
When another box type switch 26 receives the aging timer reset request packet or the MAC learning request packet from the box type switch 25, the box type switch 26 searches the FDB 36 using the MAC address, the VLAN information and the port number reported by the aging timer reset request packet or the MAC learning request packet to determine whether the MAC address, the VLAN information and the port number are registered in the FDB 36.
When the FDB 36 stores the MAC address, the VLAN information and the port number, the box type switch 26 resets an aging timer for an entry corresponding to the MAC address and the VLAN information in step S26.
On the other hand, when the MAC address, the VLAN information and the port number are not stored in the FDB 36, the box type switch 26 stores the MAC address (SA), the VLAN information and the port number into the FDB 36 to learn them in step S27, so that contents in FDBs 36 between the box type switches 25 and 26 are synchronized.
Accordingly, when flooding is performed in one of the box type switches 25 and 26, flooding is unnecessary in another box type switch. Therefore, the number of times of flooding can be decreased.
<Normal Operation>
For example, ports P1 and P2 of the aggregation switch 21 are connected to ports NP1 of the box type switches 25 and 26 respectively. Ports P1 and P2 of the edge switch 22 are connected to the same ports AP1 of the access ports 31 of the box type switches 25 and 26 respectively. Ports P1 and P2 of the edge switch 23 are connected to the same ports AP2 of the access ports 31 of the box type switches 25 and 26 respectively. In addition, the box type switches 25 and 26 are connected using the redundant ports (RP) 33.
Connection setting of the aggregation switch 21 for transmission lines between the aggregation switch 21 and the box type switches 25 and 26 is link aggregation, and also connection setting in each of the edge switches 22 and 23 for transmission lines between the edge switches 22, 23 and the box type switches 25, 26 is link aggregation.
Each of the CPUs 35 of the box type switches 25 and 26 periodically sends and receives a keep alive packet using the redundant ports 33 to check if another box type switch is normally operating.
In addition, when one of the box type switches 25 and 26 newly performs MAC address learning, the switch that performs the learning sends a learning request packet to another box type switch using the redundant port 33 so as to synchronize contents of the FDBs 36 between the box type switches 25 and 26. That is, information learned in one switch is sent to another switch for causing the another switch to learn the information.
The pair of box type switches 25 and 26 operates in the same way as a normal layer 2 switch using the access ports 31 and the network ports 32 other than the redundant ports 33. Also, VLAN information is set to the access ports 31 and the network ports 32 other than the redundant ports 33.
Traffic is carried between the upper aggregation switch 21 and the lower edge switch 22 via one of the box type switches 25 and 26 according to link aggregation. In the same way, traffic is carried between the upper aggregation switch 21 and the lower edge switch 23 via one of the box type switches 25 and 26 according to link aggregation. The edge switch 25 (or 26) that receives a frame from the aggregation switch 21 or the edge switch 22 performs normal switching process between the access port 31 and the network port 32 other than the redundant port 33.
When failure occurs in the port AP1 in the access port 31 in the box type switch 25, the CPU 35 of the box type switch 25 detects the failure of the port AP1.
After that, when a frame addressed to the port AP1 arrives at the network port 32 (port NP1, for example) of the box type switch 25 (1), the CPU 35 transfers the frame to the box type switch 26 via the switch unit 34 and the redundant port 33. By the way, in the case when a frame to the port AP1 occurs due to flooding, flooding is not performed in the box type switch 25, and the frame is transferred to the box type switch 26 via the switch unit 34 and the redundant port 33 like the frame addressed to the port AP1 (2).
At that time, the input port add and transfer unit 35a operating in the CPU 35 adds the port NP1 of the network port 32 to the frame to be transferred as input port information from which the frame is input using TPID field of a VLAN tag so as to transfer the frame with the input port information to the box type switch 26.
The frame transfer unit 35b operating in the CPU 35 of the box type switch 26 extracts receiving port information (that is port NP1) from the VLAN tag of the frame received from the redundant port 33. Then, the box type switch 26 performs switching process similar to a process performed in the case when receiving a frame from the port NP1 of the box type switch 26 (3). In addition, when flooding is necessary for the frame, flooding is performed.
Accordingly, for example, a frame transferred to the box type switch 26 via the redundant port 33 from the box type switch 25 in which the port AP1 is failed is transmitted to the edge switch 22 from the port AP1 of the access port 31 of the box type switch 26.
When the failure at the port AP1 of the access port 31 of the box type switch 25 is recovered, the CPU 35 detects recovery of the port AP1. After that, when a frame addressed to the port AP1 in the access port 31 arrives at the access port 32 of the box type switch 25, the frame is transferred to the recovered port AP1 from the switch unit 34 to transmit the frame from the port AP1 to the edge switch 22.
When failure occurs in the port AP1 in the access port 31 in the box type switch 25, the CPU 35 of the box type switch 25 detects the failure of the port AP1.
After that, when a frame addressed to the port AP1 arrives at the network port 32 (port NP1, for example) of the box type switch 25 (1), the CPU 35 determines whether flooding is necessary for the frame. If it is necessary, the switch unit 34 in the box type switch 25 performs flooding (2). In this case, the received frame is flooded to ports AP1, AP2 and AP3 in the access port 31.
After flooding is performed, the box type switch 25 transfers the frame addressed to the failed port AP1 of the access port 31 to the box type switch 26 from the redundant port 33. When flooding is unnecessary, the CPU 35 transfers the frame addressed to the port AP1 to the box type switch 26 via the switch unit 34 and the redundant port 33 (3).
At that time, the input port add and transfer unit 35c operating in the CPU 35 adds the port AP1 of the network port 31 to the frame to be transferred as output port information from which the frame is output using TPID field of a VLAN tag so as to transfer the frame with the output port information to the box type switch 26.
The frame transfer unit 35d operating in the CPU 35 of the box type switch 26 extracts destination port information (that is port AP1) from the VLAN tag of the frame received from the redundant port 33. Then, the box type switch 26 performs switching process to transfer the frame to the port AP1 indicated by the extracted source port information (4). By the way, flooding is not performed in the box type switch 26.
Accordingly, for example, a frame transferred to the box type switch 26 via the redundant port 33 from the box type switch 25 in which the port AP1 is failed is transmitted to the edge switch 22 from the port AP1 of the access port 31 of the box type switch 26.
When the failure at the port AP1 of the access port 31 of the box type switch 25 is recovered, the CPU 35 detects recovery of the port AP1. After that, when a frame addressed to the port AP1 in the access port 31 arrives at the access port 32 of the box type switch 25, the frame is transferred to the recovered port AP1 from the switch unit 34 to transmit the frame from the port AP1 to the edge switch 22.
The first embodiment of operation of the box type switch for network port failure is described using
When failure occurs in the port NP1 in the network port 32 in the box type switch 25, the CPU 35 of the box type switch 25 detects failure of the port NP1.
After that, when a frame addressed to the port NP1 in the network port 32 arrives at the port AP1 in the network port 31 of the box type switch 25, the CPU 35 transfers the frame to the box type switch 26 via the switch unit 34 and the redundant port 33. By the way, in the case when a frame to the port NP1 occurs due to flooding, flooding is not performed in the box type switch 25, and the frame is transferred to the box type switch 26 via the switch unit 34 and the redundant port 33 like the frame addressed to the port NP1.
At that time, the input port add and transfer unit 35a operating in the CPU 35 adds the port AP1 of the access port 31 to the frame to be transferred as input port information from which the frame is input using TPID field of a VLAN tag so as to transfer the frame with the input port information to the box type switch 26.
The frame transfer unit 35b operating in the CPU 35 of the box type switch 26 extracts receiving port information (that is port AP1) from the VLAN tag of the frame received from the redundant port 33. Then, the box type switch 26 performs switching process similar to a process performed when receiving a frame from the port AP1 of the box type switch 26. In addition, when flooding is necessary for the frame, flooding is performed.
Accordingly, for example, a frame transferred to the box type switch 26 via the redundant port 33 from the box type switch 25 in which the port NP1 is failed is transmitted to the aggregate switch 21 from the port NP1 of the network port 32 of the box type switch 26.
When the failure at the port NP1 of the network port 32 of the box type switch 25 is recovered, the CPU 35 of the box type switch 25 detects recovery of the port NP1. After that, when a frame addressed to the port NP1 in the network port 32 arrives at the access port 31 of the box type switch 25, the frame is transferred to the recovered port NP1 from the switch unit 34 to transmit the frame from the port NP1 to the aggregate switch 21.
When failure occurs in the port NP1 in the network port 32 in the box type switch 25, the CPU 35 of the box type switch 25 detects the failure of the port NP1. The link down unit 35e operating in the CPU 35 recognizes VLAN information set in the port NP1 of the network port 32 where the failure occurs (1), and sets each of ports AP1, AP2 and AP3 of the access port 31 to be in a link down status wherein the VLAN information is set in the ports AP1, AP2 and AP3 (2). Accordingly, the lower edge switch 22 is caused to detect link down.
When the lower edge switch 22 detects link down between the switch 22 and the box type switch 25, the lower edge switch 22 sends signals via the box type switch 26 where failure does not occur according to link aggregation function. Accordingly, signals can be sent and received between the aggregation switch 21 and the edge switch 22 by diverting signals around the failure point.
When failure in the port NP1 of the network port 32 of the box type switch 25 recovers, the CPU 35 of the box type switch 25 detects recovery of the port NP1. The link down unit 32e of the CPU 35 recognizes VLAN information set to the port NP1 that is recovered from the failure, and changes the status of each of the ports AP1, AP2 and AP3 of the access port 31 where the VLAN information is set into a link status.
After that, when a frame addresses to the port NP1 of the network port 32 arrives at the access port 31 of the box type switch 25, the frame is transferred to the recovered port NP1 from the switch unit 34, and is transmitted to the aggregation switch 21 from the port NP1.
The first embodiment of operation for apparatus failure of the box type switch is described with reference to
The another box type switch 26 detects that the keep alive packet is stopped so as to report it to an operator.
<In-Band Monitoring>
In the system of the present embodiment, when performing in-band monitoring in which monitoring information of a carrier is multiplexed to a transmission channel where user traffic is carried, each of the aggregation switch 21 and edge switches 22 and 23 does not necessarily transfer an in-band monitoring frame addressed to the box type switch 25 to the box type switch 25 since the switches 21-23 are connected to the box type switches 25 and 26 by link aggregation. That is, the in-band monitoring frame addressed to the box type switch 25 may be sent to the another box type switch 26. Therefore, the in-band monitoring is realized by a following way.
The in-band monitoring unit 35g operating in the CPU 35 of the box type switch 25 shown in
The in-band monitoring unit 35g of the box type switch 25 monitors frames transmitted over a in-band monitoring line using VLAN information, and identifies, from the frames, a frame having a MAC address of the another box type switch 26 as its destination MAC address (DA), a broadcast frame, a multicast frame, or a destination unknown unicast frame so as to copy the identified frame and transfer the frame to the another box type switch 26 using the redundant port 33. AT this time, information indicating that the frame is for in-band monitoring is added to TPID in VLAN tag of the frame.
The in-band monitoring unit 35g of the box type switch 26 receives the frame from the redundant port 33, and determines whether the frame is an in-band monitoring frame from TPID in VLAN tag of the frame. When the frame is the in-band monitoring frame, the CPU 35 processes the frame as data from a monitoring line to the box type switch 26.
In addition, the in-band monitoring unit 35g of the box type switch 25 transmits an in-band monitoring frame generated by the box type switch 25 via the network port 31 or the access port 32 without using the redundant port 33. However, when failure occurs at the network port 31 or the access port 32, the box type switch 25 transfer the generated in-band monitoring frame to the another box type switch 26 via the redundant port 33. At that time, input port information is not added to TPID of VLAN tag of the in-band monitoring frame to be transferred, or address of the CPU 35 of the box type switch 25 is added as the input port information.
The CPU 35 of the box type switch 26 receives the in-band monitoring frame from the redundant port 33, and determines that the frame is an in-band monitoring frame generated in the box type switch 25 if input port information is not added to the TPID of the VLAN tag of the frame, or if the address of the CPU 35 of the box type switch 25 is added, and sends the frame from the access port 31 or the network port 32 other than the redundant port 33 as usual.
Accordingly, a box type switch can be used as a middle switch apparatus to be added between an upper switch apparatus and a lower switch apparatus in order to increase the number of ports of the upper switch apparatus in a network in which the upper switch apparatus and the lower switch apparatus are connected by link aggregation. In addition, redundancy function can be provided. Further, setting change for existing apparatuses is not necessary so that effects to the service can be made minimum.
The present invention is not limited to the specifically disclosed embodiments, and variations and modifications may be made without departing from the scope of the present invention.
The present application contains subject matter related to Japanese patent application No. 2006-254421, filed in the JPO on Sep. 20, 2006, the entire contents of which are incorporated herein by reference.
Number | Date | Country | Kind |
---|---|---|---|
2006-254421 | Sep 2006 | JP | national |