A link aggregation (e.g., as set forth in IEEE 802.3ad) is a computer networking term which describes using multiple links (e.g., Ethernet network cables and/or ports in parallel) as one logical port to increase the link speed beyond the limits of any one single link Other terms used for link aggregation may include Ethernet trunking, network interface card (NIC) teaming, port teaming, NIC bonding, and/or link aggregation group (LAG). LAG will be used hereinafter to refer to link aggregation.
LAG is an inexpensive way to set up a high-speed backbone network that may transfer more datagrams than any one single port or device can utilize. A “datagram(s)” may include any type or form of data, such as packet or non-packet data. LAG may permit several devices to communicate simultaneously at their full single-port speed, while not permitting any one single device to monopolize all available backbone capacity. Network datagrams may be dynamically distributed across ports so that administration of what datagrams actually flow across a given port may be taken care of automatically with the LAG.
LAGs also provide reliability. Should one of the multiple ports used in a LAG fail, network traffic (e.g., datagrams) may be dynamically redirected to flow across the remaining good ports in the LAG. The redirection may be triggered when a switch learns that a media access control (MAC) address has been automatically reassigned from one LAG port to another port in the same LAG. The switch may send the datagrams to the new LAG port, and the network may continue to operate with virtually no interruption in service.
A LAG protocol (LAP), such as the LAP set forth in IEEE 802.3ad, allows one or more links to be aggregated together to form a LAG. Once implemented, the LAG can be configured and reconfigured quickly and automatically with a low risk of duplication or rendering of frames.
Typical Ethernet LAG arrangements fail to utilize information beyond a binary up/down state of the member links (e.g., ports) in the LAG. That is, a link is either available for datagram(s) to be transmitted across it (e.g., up), or not available for use under any circumstances (e.g., down). The health of a typical LAG link can not be monitored while the LAG link is actively used. When a typical LAG link comes into service, a timer can be used to determine how long the link has to be up before datagram(s) are transmitted across it. However, during this time period, the link can not be used under any circumstances, even failure of other links in the LAG.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an embodiment of the invention and, together with the description, explain the invention. In the drawings:
The following detailed description of the invention refers to the accompanying drawings. The same reference numbers in different drawings may identify the same or similar elements. Also, the following detailed description does not limit the invention.
Implementations described herein may provide systems and methods that detect LAG link signal degradation and/or failure conditions, and compare the detected conditions to signal degradation and/or failure threshold ranges. The systems and methods may also generate an alert for the LAG link and may place the LAG link in a disabled timer state and/or a disabled state if the detected conditions of the LAG link are outside the signal degradation and/or failure threshold ranges.
As shown in
Network device 110 may include a variety of network devices. For example, network device 110 may include a computer, a router, a switch, a network interface card (NIC), a hub, a bridge, etc. Links 120 may include a path that permits communication among devices 110, such as wired, wireless, and/or optical connections, input ports, output ports, etc. For example, network device 110-0 may include ports PORT0, PORT1, . . . , PORTN, network device 110-1 may include ports PORT0, PORT1, PORT2, PORT3, and network device 110-2 may include ports PORT0, PORT1, . . . , PORT7. The ports of network devices 110 may be considered part of corresponding links 120 and may be either input ports, output ports, or combinations of input and output ports. While eight ports for network device 110-0, four ports for network device 110-1, and eight ports for network device 110-2 are shown in
In an exemplary implementation, network devices 110 may provide entry and/or exit points for datagrams in network 100. Since Ethernet may be bi-directional, the ports (e.g., PORT0, . . . , and PORTN) of network device 110-0 may send and/or receive datagrams. The ports (e.g., PORT0, PORT1, PORT2, and PORT3) of network device 110-1 and the ports (e.g., PORT0, . . . , and PORT7) of network device 110-2 may likewise send and/or receive datagrams.
A LAG may be established between network devices 110-0 and 110-1. For example, ports PORT0, . . . , and PORT3 of network device 110-0 may be grouped together into a LAG110-0 that may communicate bi-directionally with ports PORT0, PORT1, PORT2, and PORT3 of network device 110-1, via links 120-0, 120-1, 120-2, and 120-3. Ports PORT0, PORT1, PORT2, and PORT3 of network device 110-1 may be grouped together into a LAG110-0. LAG110-0 and LAG110-1 may permit ports PORT0, PORT1, PORT2, and PORT3 of network device 110-0 and ports PORT0, PORT1, PORT2, and PORT3 of network device 110-1 to communicate bi-directionally. Datagrams may be dynamically distributed between ports (e.g., PORT0, PORT1, PORT2, and PORT3) of network device 110-0 and ports (e.g., PORT0, PORT1, PORT2, and PORT3) of network device 110-1 so that administration of what datagrams actually flow across a given link (e.g., links 120-0, . . . , and 120-3) may be automatically handled by LAG110-0 and LAG110-1.
In another implementation, a LAG may be established between network devices 110-0 and 110-2. For example, ports PORTN-3, . . . , and PORTN of network device 110-0 may be grouped together into a LAG110-N that may communicate bi-directionally with ports PORT0, PORT1, PORT2, and PORT3 of network device 110-2, via links 120-N-3, 120-N-2, 120-N-1, and 120-N. Ports PORT0, PORT1, PORT2, and PORT3 of network device 110-2 may be grouped together into a LAG110-2. LAG110-N and LAG110-2 may permit ports PORTN-3, . . . , and PORUTN of network device 110-0 and ports PORT0, PORT1, PORT2, and PORT3 of network device 110-2 to communicate bi-directionally. Datagrams may be dynamically distributed between ports (e.g., PORTN-3, . . . , and PORTN) of network device 110-0 and ports (e.g., PORT0, PORT1, PORT2, and PORT3) of network device 110-2 so that administration of what datagrams actually flow across a given link (e.g., links 120-N-3, . . . , and 120-N) may be automatically handled by LAG110-N and LAG110-2. With such an arrangement, network devices 110 may transmit and receive datagrams simultaneously on all links within a LAG established by network devices 110.
Every port in network devices 110 may be associated with a real MAC address. Datagrams originating from a port may include the real MAC address of the port in a source MAC address field, and datagrams transmitted to a port may include the real MAC address of the port in a destination MAC address field. Under the seven layer OSI reference model, the LAG layer may be a sub-layer of the data link layer and may be located above the MAC sub-layer. The LAG layer may replace the MAC addresses of a port in a LAG with a LAG MAC address. For example, LAG110-0 may replace the MAC addresses of ports PORT0, . . . , PORT3 with a LAG MAC address. Thus, datagrams exiting a port of a LAG may have the LAG MAC address in a source address field of the Ethernet frame, and datagrams entering a port of a LAG may have the LAG MAC address in a destination address field. In one implementation, the LAG MAC address may be established as set forth in co-pending Application No. (Attorney Docket No. VZ06064), entitled “LINKED AGGREGATION,” filed on the same date herewith, the disclosure of which is incorporated by reference herein in its entirety.
Input ports 210 may carry out data link layer encapsulation and decapsulation. Input ports 210 may look up a destination address of an incoming datagram in a forwarding table to determine its destination port (i.e., route lookup). In order to provide quality of service (QoS) guarantees, input ports 210 may classify datagrams into predefined service classes. Input ports 210 may run data link-level protocols or network-level protocols. In other implementations, input ports 210 may send (e.g., may be an exit point) and/or receive (e.g., may be an entry point) datagrams.
Switching mechanism 220 may be implemented using many different techniques. For example, switching mechanism 220 may include busses, crossbars, and/or shared memories. The simplest switching mechanism 220 may be a bus that links input ports 210 and output ports 230. A crossbar may provide multiple simultaneous data paths through switching mechanism 220. In a shared-memory switching mechanism 220, incoming datagrams may be stored in a shared memory and pointers to datagrams may be switched.
Output ports 230 may store datagrams before they are transmitted on an output link (e.g., link 120). Output ports 230 may include scheduling algorithms that support priorities and guarantees. Output ports 230 may support data link layer encapsulation and decapsulation, and/or a variety of higher-level protocols. In other implementations, output ports 230 may send (e.g., may be an exit point) and/or receive (e.g., may be an entry point) datagrams.
Control unit 240 may interconnect with input ports 210, switching mechanism 220, and output ports 230. Control unit 240 may compute a forwarding table, implement routing protocols, and/or run software to configure and manage network device 110. Control unit 240 may handle any datagram whose destination address may not be found in the forwarding table.
In one implementation, control unit 240 may include a bus 250 that may include a path that permits communication among a processor 260, a memory 270, and a communication interface 280. Processor 260 may include a microprocessor or processing logic that may interpret and execute instructions. Memory 270 may include a random access memory (RAM), a read only memory (ROM) device, a magnetic and/or optical recording medium and its corresponding drive, and/or another type of static and/or dynamic storage device that may store information and instructions for execution by processor 260. Communication interface 280 may include any transceiver-like mechanism that enables control unit 240 to communicate with other devices and/or systems.
Network device 110 may perform certain operations, as described in detail below. Network device 110 may perform these operations in response to processor 260 executing software instructions contained in a computer-readable medium, such as memory 270. A computer-readable medium may be defined as a physical or logical memory device and/or carrier wave.
The software instructions may be read into memory 270 from another computer-readable medium, such as a data storage device, or from another device via communication interface 280. The software instructions contained in memory 270 may cause processor 260 to perform processes that will be described later. Alternatively, hardwired circuitry may be used in place of or in combination with software instructions to implement processes consistent with principles of the invention. Thus, implementations consistent with principles of the invention are not limited to any specific combination of hardware circuitry and software.
LAGs may be created with two or more links (e.g., input ports 210 or output ports 230) of network device 110 with LAG MAC addressing.
Link health monitor 310 may monitor and identify problems with the health (e.g., the operational state) of a link in a LAG. For example, if an active or inactive link has health problems (e.g., loss or degradation of a link signal, a remote link fault message, etc.), link health monitor 310 may provide information indicating such problems. It may be determined based on the problem information whether a link is down (i.e., not operational). For example, if link health monitor 310 detects a signal and does not detect a remote link fault message, link health monitor 310 may provide information indicating signal detection and no remote link fault message to disabled timer portion 320. Disabled timer portion 320 may place the link in a disabled timer state.
Disabled timer portion 320 may include a hold-up timer that may prevent a link from becoming active until the hold-up timer has elapsed. If a link is under control of disabled timer portion 320 (i.e., in a disabled timer state), datagrams may be received by the link but may be prevented from being transmitted by the link. If the hold-up timer has elapsed, disabled timer portion 320 may provide information indicating that the hold-up timer has elapsed, and a link may be made active (i.e., datagrams may be transmitted and/or received by the link). If there are no active links in a LAG, disabled timer portion 320 may provide information indicating that there are no active links in the LAG, and a link may be made active (i.e., in an active state). Such an arrangement may prevent complete failure of a LAG by enabling datagrams to be transmitted and/or received by the activated link. If signal failure or degradation is detected, a manual disable command is received, or a remote disable message is received, link health monitor 310 or disabled timer portion 320 may provide information indicating the aforementioned condition(s) to link disabled portion 330.
As further shown in
Link health monitor 310, as shown in
Signal fail detector 410 may detect signal failure condition(s) for incoming link signal(s) based on errored frames and/or based on an 8B/10B code violation rate. Both errored frames and 8B/10B code violations may be used by signal fail detector 410 so that network device 110 may respond to link failure.
Signal degrade threshold unit 420 may provide a configurable signal degrade threshold range based on errored frames (e.g., about 1 to about 1,000 errored frames in about 100,000 to about 1,000,000 received frames). A configurable signal degrade threshold range based on the 8B/10B code violation rate (e.g., about 10−5 to about 10−9) may also be provided by signal degrade threshold unit 420. Signal degrade threshold unit 420 may also provide a clearing threshold range (i.e., a threshold range indicating a signal is functioning properly) based on errored frames and/or the 8B/10B code violation rate. For example, in one implementation, a clearing threshold range of one-tenth the threshold range for declaring a signal degrade condition may be provided by signal degrade threshold unit 420.
Signal fail threshold unit 430 may provide a configurable signal failure threshold range based on errored frames (e.g., about 1 to about 1,000 errored frames in about 1,000 to about 100,000 received frames). A configurable signal failure threshold range based on the 8B/10B code violation rate (e.g., about 10−3 to about 10−5) may also be provided by signal fail threshold unit 430. Signal fail threshold unit 430 may also provide a clearing threshold range based on errored frames and/or the 8B/10B code violation rate. For example, in one implementation, a clearing threshold range of one-tenth the threshold range for declaring a signal failure condition may be provided by signal fail threshold unit 430.
If a detected signal degrade or signal failure condition is outside of one of the threshold ranges provided by signal degrade threshold unit 420 or signal fail threshold unit 430, threshold alert unit 440 may generate an alert indicating an appropriate signal threshold violation. Threshold alert unit 440 may send the alert, and network device 110 may disable the link as described above and below. In one implementation, for example, to signal that a LAG link should be disabled either through manual disabling, signal degrade condition detection, or signal failure detection, network device 110 may send an event notification of the type “Errored Frame Seconds Summary Event TLV” with the “Errored Frame Second Summary” field set to “1's” (e.g., as set forth in Modified IEEE 802.3ah, Clause 57.5.3.4, item f) to a far end of the LAG link (e.g., to another network device 110 connected to the link). This may indicate to the far end of the link that there may be more Errored Frame Seconds than an allowable upper boundary (e.g., 900 seconds as defined by the “Errored Frame Second Summary” field). If an “Errored Frame Seconds Summary Event TLV” with the “Errored Frame Second Summary” field set to “1's” is received, network device 110 may disable the link Threshold alert unit 440 may also generate an alert when a signal degrade condition or a signal failure condition is cleared.
Although
Disabled timer portion 320, as shown in
Hold-down timer 510 may provide a hold-down time that may be the waiting period for network device 110 to disallow datagram traffic onto a link of a LAG after the link has entered into a troubled state. Hold-down timer 510 may provide a configurable hold-down time range (e.g., of about 0 to 150 milliseconds, where “0” may indicate a link is disabled).
In one implementation, disabled timer portion 320 may signal a link failure by sending a signal with a “Link Fault” flag set to “1” as specified in Modified IEEE 802.3ah-2004, Clause 57.4.2.1. If network device 110 receives the signal with the “Link Fault” flag set to “1”, network device 110 may disable the link once the hold-down time has elapsed.
Although
Link disabled portion 330, as shown in
Maintenance mode enabler 610 may permit a disabled link to be put in maintenance mode for trouble shooting purposes. During maintenance, system datagrams (e.g., datagrams transmitted and/or received by a link when a link is active) may be prevented from being transmitted and/or received by the disabled link, but test datagrams (e.g., datagrams used to test the functionality of a link) may be transmitted and/or received by the disabled link. Test datagrams may be used to determine the operational state of a disabled link, and/or to pinpoint problems with the disabled link.
Link enabler 620 may automatically enable a disabled link and may generate appropriate threshold clearing messages (e.g., to signal degrade threshold unit 420, signal fail threshold unit 430, and threshold alert unit 440 of link health monitor 310) to generate an alert when a signal degrade condition or a signal failure condition is cleared. Link enabler 620 may also accept a manual command to enable a disabled link that is not in maintenance mode. If all of the links in a LAG are disabled and to avoid complete LAG failure, link enabler 620 may automatically enable a disabled LAG link(s) that is not in maintenance mode. For example, in one implementation described above in connection with
In one implementation, link enabler 620 may signal that a link has been made active by sending a signal with a “Link Fault” flag set to “0” as specified in Modified IEEE 802.3ah-2004, Clause 57.4.2.1. If network device 110 receives the signal with the “Link Fault” flag set to “0”, network device 110 may put the link in service (e.g., in the disabled timer state) and may initiate hold-up timer 500.
Although
In other implementations, network device 110 may perform additional tasks that may aid in monitoring the health of links of a LAG, without removing the link from service or from the LAG. For example, network device 110 may permit certain users (e.g., system administrators) to manually enable or disable a LAG link. Network device 110 may also support LAG provisioning across any physical module (e.g., interface modules, carrier modules, etc.) or slot provided within network device 110. In another example, network device 110 may provide the ability to add or remove any link to a particular LAG without impacting datagram traffic. Network device 110 may further deny manual or automatic disabling of a link of a LAG if the LAG is in service and the link is the last remaining active link of the LAG. Network device 110 may also provide a provisioning command enabling a LAG to be put in or out of service. If links of a particular LAG include either protected or unprotected synchronous optical network (SONET) facilities, network device 110 may upgrade the SONET bandwidth with minimum impact to the performance of the LAG.
In another example, network device 110 may support auto-negotiation per IEEE 802.3, Clauses 28 and 37, on LAG links. The auto-negotiation standard may allow devices based on several Ethernet standards (e.g., from 10BaseT to 1000BaseT) to coexist in a network by mitigating the risks of network disruption arising from incompatible technologies. Auto-negotiation may be used by network device 110 as a LAG link disabling mechanism. However, network device 110 may provide a default setting for auto-negotiation that enables (i.e., activates) links of a LAG. Network device 110 may signal a link failure by sending a “Link_Failure” Remote Fault encoding per IEEE 802.3, Clause 37, and may signal that a link has been restored by sending a “No Error, Link OK” Remote Fault encoding per IEEE 802.3, Clause 37. If network device 110 receives a “Link_Failure” Remote Fault encoding, network device 110 may remove the link from service once hold-down timer 510 has elapsed. If network device 110 receives a “No Error, Link OK” Remote Fault encoding, network device 110 may put the link in service in a disabled state and initiate hold-up timer 500.
In still another example, each network device 110 may communicate the states (e.g., active state, disabled state, disabled timer state, maintenance state, etc.) of its LAG links to adjacent network devices 110 connected to the LAG links. Such an arrangement may ensure manageability of signaling between network devices 110 of network 100. Auto-negotiation may support some of such communications by network device 110, but network device 110 may also provide generic mechanisms for communicating LAG link states without interrupting the physical operation of the LAG links with non-compatible systems.
As shown in
Process 700 may detect a LAG link signal failure condition(s) (block 720). For example, in one implementation described above in connection with
As further shown in
Process 700 may generate an alert if the detected signal degrade and/or failure conditions are outside the threshold range(s) (block 740). For example, in one implementation described above in connection with
As further shown in
Systems and methods described herein may detect LAG link signal degradation and/or failure conditions, and may compare the detected conditions to signal degradation and/or failure threshold ranges. The systems and methods may also generate an alert for the LAG link and may place the LAG link in a disabled timer state and/or a disabled state if the detected conditions of the LAG link are outside the signal degradation and/or failure threshold ranges.
The foregoing description of preferred embodiments provides illustration and description, but is not intended to be exhaustive or to limit the invention to the precise form disclosed. Modifications and variations are possible in light of the above teachings or may be acquired from practice of the invention.
For example, while a series of acts have been described with regard to the flowchart of
In another example, although
Aspects of the invention, as described above, may be implemented in many different forms of software, firmware, and hardware in the implementations illustrated in the figures. The actual software code or specialized control hardware used to implement aspects consistent with principles of the invention is not limiting of the invention. Thus, the operation and behavior of the aspects were described without reference to the specific software code—it being understood that one of ordinary skill in the art would be able to design software and control hardware to implement the aspects based on the description herein.
No element, act, or instruction used in the present application should be construed as critical or essential to the invention unless explicitly described as such. Also, as used herein, the article “a” is intended to include one or more items. Where only one item is intended, the term “one” or similar language is used. Further, the phrase “based on” is intended to mean “based, at least in part, on” unless explicitly stated otherwise.
Number | Date | Country | |
---|---|---|---|
Parent | 11550085 | Oct 2006 | US |
Child | 12945414 | US |