Apparatus and method for preventing one way connectivity loops in a computer network
First Claim
1. A layer 2 switch, comprising:
- a plurality of ports, at least one port of said plurality of ports capable of being set to a status of uplinkguard enabled (UG status);
first circuits for running the spanning tree protocol (STP) in said layer 2 switch, said STP capable of selecting said at least one port as either a designated port or as a root port;
second circuits for running uplinkguard enabled process, and said uplinkguard enabled process determining whether or not a port set to UG status has been selected by STP as a designated port; and
, blocking circuits to set said at least one port into blocked state, said blocking circuits setting said at least one port into blocked state in response to said at least one port being both in uplinkguard enabled status and selected by STP as a designated port.
1 Assignment
0 Petitions
Accused Products
Abstract
Ports of a switch are assigned by a person, for example a network manager, to be for communication up the spanning tree toward the root switch (“up ports”), or down the spanning tree away from the root switch (“down ports”). This assignment is made by enabling “Uplinkguard” status for a desired up port, and by connecting the desired port to a switch which it is desired to place in the higher layer of the spanning tree. A port having Uplinkguard enabled is prevented, for example by software or firmware in its switch, from transitioning to a designated role. Uplinkguard-enabling a port, by preventing the port from transitioning to the designated role, has at least two consequences: preventing the port from being selected by the STP to transmit to lower switches in the spanning tree; and, preventing the port from transmitting when a one way connectivity fault develops on that port. A port with Uplinkguard enabled may transition to root port role. In the event that there is one way connectivity from a port, that port will not receive BPDU messages, and if the port is in blocked state, it will believe that it should take over and become the designated port for the external link to which it is connected. Uplinkguard prevents the port from transitioning to designated role. When the port attempts to transition into designated role, Uplinkguard forces the port to transition into blocked role, thereby eliminating formation of loops caused by one way connectivity faults.
65 Citations
32 Claims
-
1. A layer 2 switch, comprising:
-
a plurality of ports, at least one port of said plurality of ports capable of being set to a status of uplinkguard enabled (UG status);
first circuits for running the spanning tree protocol (STP) in said layer 2 switch, said STP capable of selecting said at least one port as either a designated port or as a root port;
second circuits for running uplinkguard enabled process, and said uplinkguard enabled process determining whether or not a port set to UG status has been selected by STP as a designated port; and
, blocking circuits to set said at least one port into blocked state, said blocking circuits setting said at least one port into blocked state in response to said at least one port being both in uplinkguard enabled status and selected by STP as a designated port. - View Dependent Claims (2, 3)
-
-
4. A layer 2 switch, comprising:
-
a plurality of ports, at least one port of said plurality of ports capable of being set to a status of Uplinkguard enabled (UG status);
first circuits for maintaining said at least one port in blocked status, and for transitioning said port into forwarding status;
second circuits for running Uplinkguard enabled process, and said Uplinkguard enabled process determining whether or not a port set to UG status has been transitioned to forwarding status; and
,blocking circuits to set said at least one port into blocked state, said blocking circuits setting said at least one port into blocked state in response to said at least one port being both in UG enabled status and transitioned into forwarding status, and said at least one port not being a root port when in forwarding status.
-
-
5. A method of managing a switch for use in a computer network, comprising:
-
providing a plurality of ports, at least one port of said plurality of ports capable of being set to a status of uplinkguard enabled status (UG status);
setting said at least one port to UG status;
running a spanning tree protocol (STP) in said switch, said STP capable of selecting said at least one port as either a designated port or as a root port;
running uplinkguard enabled process, and said uplinkguard process determining whether or not a port set to UG status has been selected by STP as a designated port; and
,setting said at least one port into blocked status, in response to said at least one port being both in uplinkguard enabled status and selected by STP as a designated port. - View Dependent Claims (6, 7)
-
-
8. A method of managing a switch for use in a computer network, comprising:
-
providing a plurality of ports, at least one port of said plurality of ports capable of being set to a status of uplinkguard enabled (UG status);
setting said at least one port to UG status, said at least one port being in blocking status;
transitioning said at least one port from blocking status to forwarding status;
determining whether or not said at least one port set to UG status has been transitioned to forwarding status, and if said at least one port is not a root port; and
setting said at least one port into blocked state in response to said at least one port being both in UG status and transitioned into forwarding status, and said at least one port not being a root port.
-
-
9. A data structure stored in a memory of a computer network switch, said data structure having entries, said entries having a “
- state”
field and a “
role”
field, said state field having the value of “
blocked”
or the value of “
forwarding”
, comprising;a first entry having the role field set to “
root port” and
the state field set to forwarding;
a second entry having the role field set to “
designated port” and
the state field set to forwarding;
a third entry having the role field set to “
blocked port” and
the state field set to blocked; and
,a fourth entry having the role field set to “
uplinkguard enabled” and
the state field set to blocked.
- state”
-
10. A computer readable memory device, comprising:
- said computer readable memory device containing instructions for practice of the method of
managing a switch for use in computer network, the method having, providing a plurality of ports, at least one port of said plurality of ports capable of being set to a status of uplikguard enabled status (UG status);
setting said at least one port to UG status;
running a spanning tree protocol (STP) in said switch, said STP capable of selecting said at least one port as either a designated port or as a root port;
running uplinkguard enabledp process, and said uplinkguard process determining whether or not a port to UG status has been selected by STP as a designated port; and
,setting said at least one port into blocked status, in response to said at least one port being both in uplinkguard enabled status and selected by STP as a designated port.
- said computer readable memory device containing instructions for practice of the method of
-
11. A network switch, comprising:
-
a plurality of ports, at least one port of said plurality of ports having a status, said status being set to a status of capable of transmitting to other switches lower in a spanning tree protocol (hereinafter STP), OR being set to a status of NOT being able to transmit to other switches lower in the STP (hereinafter referred to as uplinkguard enabled status, or UG status);
first circuits for running the spanning tree protocol (STP) in said network switch, said STP capable of selecting said at least one port as either a designated port or as a root port;
second circuits for running an uplinkguard enabled process, and said uplinkguard enabled process determining whether or not a port set to UG status has been selected by STP as a designated port; and
,blocking circuits to set said at least one port into blocked state, said blocking circuits setting said at least one port into blocked state in response to said at least one port being both in UG status and selected by STP as a designated port. - View Dependent Claims (12, 13, 14)
-
-
15. A network switch, comprising:
-
first circuits for maintaining said at least one port in blocked status, and for transitioning said port into forwarding status;
second circuits for running Uplinkguard enabled process, and said Uplinkguard enabled process determining or not a port set to UG status has been transitioned to forwarding status; and
,blocking circuits to set said at least one port into blocked state, said blocking circuits setting said at least one port into blocked state is response to said at least one port being both in UG enabled status and transitioned into forwarding status, and said at least one port not being a root port when in forwarding status.
-
-
16. A method for operating a network switch, comprising:
-
setting a status at for at least one port of a plurality of ports, said status being set to either a status of capable of transmitting to other switches lower in spanning tree protocol (spanning tree protocol is hereinafter STP), OR being set to a status of NOT being able to transmit to other switches lower in the STP (hereinafter referred to as uplinkguard enabled status, or UG status);
setting said at least one port to UG status;
running the spanning tree protocol (STP) in said network switch, said STP capable of selecting said at least one port as either a designated port or as a root port;
running an uplinkguard enabled process and said uplinkguard enabled process determining whether or not a port set to UG status has been selected by STP as a designated port; and
,setting said at least one port into blocked state in response to said at least one port being both in UG status and selected by STP as a designated port. - View Dependent Claims (17, 18, 19, 20)
-
-
21. A network switch, comprising:
-
means for setting a status at least one port of a plurality of ports, said status being set to either a status of capable of transmitting to other switches lower in a spanning tree protocol (spanning tree protocol is hereinafter STP), OR being to a status of NOT being able to transmit to other switches lower in the STP (hereinafter referred to as uplinkguard enabled status, or UG status);
means for setting said at least one port to UG status;
means for running the spanning tree protocol (STP) in said network switch, said STP capable of selecting said at least one port as either a designated port or as a root port;
means for running an uplinkguard enabled process, and said unlinkguard enabled process determining whether or not a port set to UG status has been selected by STP as a designated port; and
,means for setting said at least one port into blocked state in response to said at least one port being both in UG status and selected by STP as a designated port. - View Dependent Claims (22, 23, 24, 25)
-
-
26. A computer readable media, comprising:
- said computer readable media having instructions written thereon for execution on a processor for the practice of the method having,
setting a status at for at least one port of a plurality of parts, said status being set to either a status of capable of transmitting to other switches lower in a spanning tree protocol (spanning tree protocol is hereinafter STP), OR being set to a status of NOT being able to transmit to other switches lower in the STP (hereinafter referred to as uplink guard enabled status, or UG status);
setting said at least one port to UG status;
running the spanning tree protocol (STP) in said network switch, said STP capable of selecting said at least one port as either a designated port or as a root port;
running an uplinkguarg enabled process, and said uplinkguard enabled process determining whether or not a port set to UG status has been selected by STP as a designated port; and
,setting said at least one port into blocked state in response to said at least one port being both in UG status and selected by STP as a designated port.
- said computer readable media having instructions written thereon for execution on a processor for the practice of the method having,
-
27. A method for operating a network switch, comprising:
-
enabling a status of a selected port of the switch to upguard enabled status (hereinafter UG status), the UG status preventing the port from transmitting to a switch lower in a spanning tree established by executing a spanning tree protocol (hereinafter STP), the spanning tree protocol capable of selecting a root port to communicate to a switch upstream in the spanning tree and capable of selecting a designated port to communicate downstream to a switch lower in the spanning tree;
executing the spanning tree protocol (STP), and the STP selecting the selected port as a designated port; and
setting the selected port into blocked state in response to the at least one port being both in UG status and selected by STP as a designated port, the blocked state preventing the selected port from transmitting to a switch lower in the spanning tree. - View Dependent Claims (28)
-
-
29. A network switch, comprising:
-
means for enabling a status of a selected port of the switch to upguard enabled status (hereinafter UG status), the UG status preventing the port from transmitting to a switch lower in a spanning tree establised by executing a spanning tree protocol (hereinafter STP), the spanning tree protocol capable of selecting a root port to communicate to a switch upstream in the spanning tree and capable of selecting a designated port to communicate downstream to a switch lower in the spanning tree;
means for executing the spanning tree protocol (STP), and the STP selecting the selected port as a designated port; and
means for setting the selected port into blocked state in response to the at least one port being both in UG status and selected port from transmitting to a switch lower in the spanning tree. - View Dependent Claims (30)
-
-
31. A network switch, comprising:
-
a first circuit to enable a status of a selected port of the switch to upguard enabled status (hereinafter UG status), the UG status preventing the port from transmitting to a switch lower in a spanning tree established by executing a spanning tree protocol (hereinafter UG status), the UG status preventing the port from transimtting to a switch lower in a spanning tree established by executing a spanning tree protocol (hereinafter STP), the spanning tree protocol capable of selecting a root port to communicate to a swithc upstream in the spanning tree and capable of selecting a designated port to communicate downstream to a switch lower in the spanning tree;
a second circuit to execute the spanning tree protocol (STP), and the STP selecting the selected port as a designated port; and
a third circuit to set the selected port into blocked state in response to the at least one port being both in UG status and selected by STP as a designated port, the blocked state preventing the selected port from transmitting to a switch lower in the spanning tree. - View Dependent Claims (32)
-
Specification