The present invention relates generally to computer networks and, in particular, to a redundant link management switch for use in a stack of switches.
A typical computer network consists of nodes (computers), a connecting medium (wired or wireless), and specialized network equipment like routers and hubs. In the case of the Internet, all these pieces working together allow one computer to send information to another computer that may be on the other side of the world. Switches are a fundamental part of most networks. They make it possible for several users to send information over a network at the same time without slowing each other down. Just like routers allow different networks to communicate with each other, switches allow different nodes of a network to communicate directly with each other in a smooth and efficient manner.
The use of stackable switches allows network administrators to build systems having multiple physical ports to various computing resources or workstations on the network.
However, the entire switch stack 100 is disrupted in the case of a single link or single switch failure anywhere in the stack 100. Since the switch stack 100 is arranged as a simple chain, as shown in
Therefore, what is needed is a way to automatically recover a switch stack in the case of switch or link failure, unencumbered by the limitations associated with the prior art.
It is an object of the present invention to provide a redundant link for a stack of switches within a network.
It is another object of the present invention to provide a redundant link management switch for use in a stack of switches forming a closed-loop link topology.
The foregoing objects are achieved in a redundant link management switch including a stacking module, a processor and a management module. The stacking module has an uplink port and a downlink port. The uplink port connects a next-higher switch in the stack, and the downlink port connects a next-lower switch in the stack, in which a link connecting the downlink port and the next-lower switch is a redundant link for the switch stack. The processor instructs the stacking module to disable a downlink control bus within the downlink port when receiving a disconnect command, and instructs the stacking module to enable the downlink control bus when receiving a reconnect command. The processor also provides a link status. The management module performs a redundant link management function. It asserts the disconnect command to the processor if the link status indicates that the redundant link management switch and the stack of switches are stacked into the closed-loop link topology. Moreover, the management module asserts the reconnect command to the processor to recover the redundant link if the management module detects that the closed-loop link topology is changed.
In another aspect of the invention, a method of managing a redundant link for use in a stack of switches is disclosed. Every two switches in the switch stack are first connected to form a closed-loop link topology. A link status is detected and the redundant link in the stack is deactivated if the link status indicates that the switch stack forms the closed-loop link topology. Each switch is polled through one or more links within the switch stack. If one of the switches in the switch stack fails to respond to the polling, the redundant link in the switch stack is activated. Thereafter, the switches are re-initialized to form a new switch stack in which the redundant link is activated.
Further scope of the applicability of the present invention will become apparent from the detailed description given hereinafter. However, it should be understood that the detailed description and specific examples, while indicating preferred embodiments of the invention, are given by way if illustration only, since various changes and modifications within the spirit and scope of the invention will become apparent to those skilled in the art from this detailed description.
The present invention will become more fully understood from the detailed description given hereinbelow and the accompanying drawing, which are given by way of illustration only, and thus are limitative of the present invention, and in which:
As illustrated in
At least one switch in the switch stack 200 can be equipped with an agent module, e.g. management module 222. In one embodiment, the management module 222 is installed in the switch 210b. The management module 222 allows administrators to configure or monitor the switch stack using the network management applications. In addition, the management module 222 performs a redundant link management function. When the management module 222 is installed, the switch 210b becomes a redundant link management switch in the switch stack 200. It should be understood to those skilled in the art that additional switches equipped with the management modules to provide fault tolerance is contemplated by the principles of the invention.
If the switches 210a˜d are connected with the closed-loop link topology in accordance the with the invention, every unit IDs 218a˜d in the respective switches continues changing upon power-on. During power-on initialization, the management module 222 informs the stacking module 212b to block the signals of downlink port 216b so that the link 220b (marked ‘T’ in
In case of a link or switch failure in the switch stack 200, the redundant link 220b of the invention provides the ability to automatically recover from such failures. Referring to
A key goal of the invention is to provide a redundant link management switch which realizes the closed-loop link topology. Referring to
The processor 302 instructs the stacking module 312 via a line 306 to disable a downlink control bus within the downlink port 316 when receiving a disconnect command, and instructs the stacking module 312 via the line 306 to enable the downlink control bus when receiving a reconnect command. The processor 302 also provides a link status, via a line 334, to the management module 322. In one embodiment, the stacking module 312 has a control logic 318 coupled to the downlink port 316 as shown in
The management module 322 performs a redundant link management function. In one embodiment, the stacking module 312 has a manual control device 328, such as a button, to enable the redundant link management function when the management module 322, via a line 338, detects that the manual control device 328 is activated. The stacking module 312 preferably includes an LED (not shown) to indicate whether the redundant link management function is enabled or not. According to the invention, the management module 322 asserts the disconnect command via a line 304 to the processor 302 if the link status indicates that the redundant link management switch and the stack of switches are stacked into the closed-loop link topology. In one embodiment, the stacking module 312 generates a unit ID of the switch to the processor 302 via a line 336. The unit ID also signals the link status. In other words, the link status indicates that the redundant link management switch and the stack of switches are stacked in a closed-loop link topology when the unit ID keeps changing. The processor 302 detects the unit ID from the stacking module 312 and reports the link status to the management module 322. In addition, the management module asserts the reconnect command via the line 304 to the processor 302 to recover the redundant link if the management module 322 detects that the closed-loop link topology is changed whenever a failure occurs in one of the switches or links within the switch stack.
A method for managing the redundant link is illustrated in more detail by a flowchart depicted in
Accordingly, the present invention discloses a redundant link management switch for use in a stack of switches forming a closed-loop link topology. The invention therefore provides a way to automatically recover a switch stack in the case of switch or link failure.
While the invention has been described by way of example and in terms of the preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiment. To the contrary, it is intended to cover various modifications and similar arrangements as would be apparent to those skilled in the art. Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.
Number | Name | Date | Kind |
---|---|---|---|
5805817 | Yu et al. | Sep 1998 | A |
6928049 | Shabtay et al. | Aug 2005 | B1 |
20030193891 | Chen et al. | Oct 2003 | A1 |
Number | Date | Country | |
---|---|---|---|
20030128662 A1 | Jul 2003 | US |