IP Library Granted Patent US 12683889
Granted Patent B2
US 12683889 · App. 18/939,742 · Granted Jul 14, 2026

Method for automatically changing a topology of a plurality of network switches

Inventors: Cheng-Hsien Lin (Hsinchu, TW); Hsiu-Ching Lin (Hsinchu, TW); Jian Wang (Hsinchu, TW); Daobing Tang (Hsinchu, TW); Qian Xu (Hsinchu, TW)
Assignee: ALPHA NETWORKS INC.
H04L43/50H04L49/258
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12683889
App. No.
18/939,742
Granted
Jul 14, 2026
Kind
B2
Abstract

A method for automatically changing a topology includes: activating a number (i) of network switches included in a stack, a last switch and first (i−1) network switches being included in the stack; deactivating one of the activated switches as a deactivated switch; decoupling the last switch from the other activated switches, and resetting the last switch; disabling settings of Link Aggregation Control Protocol (LACP) between the last switch and a switch device, disabling settings of LACP between the last switch and a neighboring device, and performing a reset configuration operation to reconfigure a connection setting between the last switch and the switch device and a connection setting between the last switch and the neighboring device; and establishing settings of LACP between the last switch and each of the network switches that is neither the deactivated switch nor the last switch.

Claims (33)

1 . A method for automatically changing a topology of a plurality of network switches, the method being used on a topology structure that includes a to-be-tested stack, a neighboring device and a switch device, the to-be-tested stack being connected to the neighboring device and the switch device through Link Aggregation Control Protocol (LACP), the to-be-tested stack including a number N of network switches that are stacked in a manner where any adjacent two of the network switches are connected to each other, N being not smaller than 3, each of the network switches that is not a last switch among the number N of network switches being connected directly to the last switch, the method being implemented using a computing device connected to the topology structure and comprising steps of:

a) activating a number (i) of network switches included in the to-be-tested stack as activated switches, the number (i) of network switches including the last switch and the first (i−1) network switches in the to-be-tested stack, (i) being an integer not smaller than 3;

b) deactivating one of the activated switches excepting the last switch as a deactivated switch;

c) decoupling the last switch from the other activated switches, and resetting the last switch;

d) disabling settings of LACP between the last switch and the switch device, disabling settings of LACP between the last switch and the neighboring device, and performing a reset configuration operation to reconfigure a connection setting between the last switch and the switch device and a connection setting between the last switch and the neighboring device; and

e) establishing settings of LACP between the last switch and each of the network switches that is neither the deactivated switch nor the last switch.

2 . The method of claim 1 , wherein in step b), one of the network switches that is arranged in the (i−1) th one of the to-be-tested stack is disabled.

3 . The method of claim 1 , wherein step e) is executed after it is determined that a number of the network switches that is currently activated is not smaller than 3.

4 . The method of claim 1 , further comprising, after step e), steps of:

deactivating the number (i) of activated switches; and

in a case where there is a network switch that has not yet been activated,

adding one to the number (i),

activating the number (i) of network switches included in the to-be-tested stack, the number (i) of network switches including the last switch and the first (i−1) network switches in the to-be-tested stack,

disconnecting connections between the network switches that are established previously, and

repeating step b).

5 . A method for automatically changing a topology of a plurality of network switches, the method being used on a topology structure that includes a to-be-tested stack, a neighboring device and a switch device, the to-be-tested stack being connected to the neighboring device and the switch device through Link Aggregation Control Protocol (LACP), the to-be-tested stack including a number M of network switches that are stacked in a manner where any adjacent two of the network switches are connected to each other, M being not smaller than 5, each of the network switches that is not a last switch among the number M of network switches being connected directly to the last switch, a first switch being connected directly to a third-to-last switch among the number M of network switches, the method being implemented using a computing device connected to the topology structure and comprising steps of:

a) activating a number (j) of network switches included in the to-be-tested stack as activated switches, the number (i) of network switches including a first switch and last (j−1) network switches in the to-be-tested stack, j being an integer not smaller than 5;

b) deactivating two of the activated switches excepting the last switch, the first switch and the third-to-last switch as deactivated switches;

c) decoupling the last switch and the third-to-last switch from the other activated switches, and resetting the last switch and the third-to-last switch;

d) disabling settings of LACP between the last switch and the switch device, disabling settings of LACP between the last switch and the neighboring device, and performing a reset configuration operation to reconfigure a connection setting between the last switch and the switch device and a connection setting between the last switch and the neighboring device;

e) disabling settings of LACP between the third-to-last switch and the switch device, disabling settings of LACP between the third-to-last switch and the neighboring device, and performing a reset configuration operation to reconfigure a connection setting between the third-to-last switch and the switch device and a connection setting between the third-to-last switch and the neighboring device;

f) establishing settings of LACP between the last switch and each of the activated switches that is not one of the last switch and the third-to-last switch;

g) configuring a connection setting between the third-to-last switch and the first switch; and

h) configuring a connection setting between the third-to-last switch and the last switch.

6 . The method of claim 5 , wherein in step b), two of the network switches that are arranged in a second-to-last position in the to-be-tested stack and a fourth-to-last position in the to-be-tested stack, respectively, are disabled.

7 . The method of claim 5 , wherein step f) is executed after it is determined that a number of the network switches which are currently activated, and none of which are the third-to-last switch, is not smaller than 3.

8 . The method of claim 5 , further comprising, after step f), steps of:

deactivating the number (j) of activated switches; and

in a case where there is a network switch that has not yet been activated,

adding one to the number (j),

activating the number (j) of network switches included in the to-be-tested stack, the number (j) of network switches including the first switch and the last (j−1) network switches in the to-be-tested stack,

disconnecting connections between the network switches that are established previously excepting the connection between the last switch and the third-to-last switch, and

repeating step b).