US20220321268A1 - Review and retry for minimum speed port channel - Google Patents

Review and retry for minimum speed port channel Download PDF

Info

Publication number
US20220321268A1
US20220321268A1 US17/341,905 US202117341905A US2022321268A1 US 20220321268 A1 US20220321268 A1 US 20220321268A1 US 202117341905 A US202117341905 A US 202117341905A US 2022321268 A1 US2022321268 A1 US 2022321268A1
Authority
US
United States
Prior art keywords
interfaces
port channel
programmed
programming
speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US17/341,905
Other versions
US11483102B1 (en
Inventor
Utkarsha VERMA
Victor Wen
Vamsi ANNE
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Arista Networks Inc
Original Assignee
Arista Networks Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Arista Networks Inc filed Critical Arista Networks Inc
Priority to US17/341,905 priority Critical patent/US11483102B1/en
Assigned to ARISTA NETWORKS, INC. reassignment ARISTA NETWORKS, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ANNE, VAMSI, VERMA, UTKARSHA, WEN, VICTOR
Priority to US17/947,622 priority patent/US11742998B2/en
Publication of US20220321268A1 publication Critical patent/US20220321268A1/en
Application granted granted Critical
Publication of US11483102B1 publication Critical patent/US11483102B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end
    • H04L1/188Time-out mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/28Timers or timing mechanisms used in protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/20Arrangements for detecting or preventing errors in the information received using signal quality detector
    • H04L1/208Arrangements for detecting or preventing errors in the information received using signal quality detector involving signal re-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/50Overload detection or protection within a single switching element
    • H04L49/501Overload detection
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Definitions

  • a port channel is a virtual interface which generally refers to an aggregate of one or more interfaces (Ethernet ports) on a switch to provide improved performance such as higher bandwidth, load balancing, link redundancy, and the like.
  • a port channel can be referred to as a channel group, a link aggregation group (LAG), and the like.
  • a port channel provides a communication link between two devices supported by matching channel group interfaces on each device.
  • the port channel can be established between a switch and another switch or between a switch and a host.
  • FIG. 1 shows an illustrative example to explain configuring a port channel in accordance with the present disclosure.
  • FIGS. 2A, 2B, 2C illustrate high level operations in accordance with some embodiments of the present disclosure.
  • FIGS. 3A, 3B, 3C illustrate high level operations in accordance with some embodiments of the present disclosure.
  • FIG. 4 shows a network device of the present disclosure.
  • a port channel can be set up between a switch and another switch or between a switch and a host (e.g., a server).
  • a host e.g., a server
  • the present disclosure will refer to a switch-to-switch configuration with the understanding that the present disclosure is also applicable to a switch-to-host configuration.
  • LACP Link Aggregation Control Protocol
  • corresponding member interfaces on each switch perform a Link Aggregation Control Protocol (LACP) negotiation to program the member interfaces to a state of “collecting” (meaning ready to receive packets) and “distributing” (meaning ready to transmit packets) before they are declared “active” in the port channel.
  • LACP Link Aggregation Control Protocol
  • the port channel's speed is checked to see if the channel group can provide a minimum speed (min-speed) required for the port channel. If the minimum speed requirement is satisfied, then LACP negotiation is performed on each member interface to program interfaces comprising the port channel.
  • the partner switch can and will proceed to the “distributing” state according to the LACP protocol and complete its programming for all the interfaces, including the ones which are partially programmed on the actor switch.
  • the partner switch will start sending traffic towards the actor which may not be able to bridge, route, or otherwise process the received traffic.
  • the port channel on the actor can be functionally link-down but still have interfaces programmed partially or completely. This may cause problems with forwarding traffic on this port channel.
  • the partner may send the traffic on a partially programmed port channel which may then be blackholed on the actor switch.
  • the port channel on the actor can be functionally link-up but with less than the minimum required aggregate speed and therefore causing traffic congestion.
  • the present disclosure provides a timer-based review sequence which reviews and un-programs the member interfaces of a port channel to remove the member interfaces from the port channel if minimum speed requirements are not fulfilled, and a retry sequence to retry programming member interfaces of the port channel that have previously failed programming and were un-programmed from the port channel due to minimum speed requirements:
  • the present disclosure supports minimum speed configuration—that is the total speed of all the interfaces configured in the port channel which is needed to bring the port channel up.
  • the minimum speed feature is applicable for both:
  • the feature is applicable to both static LAGs/port channels and LACP LAGs/port channels.
  • the disclosed system will re-evaluate minimum speed on Collecting (programmed for Rx/receiving) and/or Distributing (programmed for Tx/transmitting) state changes. It will be appreciated that without this feature:
  • embodiments of the disclosed system will evaluate minimum speed after a review-timeout that is user configurable. If the total speed of active member interfaces in the port channel is less than the configured minimum speed, the system will un-program the member interfaces (for example, remove the member interfaces from the port channel) and bring the port channel functionally down. In accordance with some embodiments, the system can inform a network administrator by logging a corresponding message indicating an interface having insufficient speed.
  • the system will re-evaluate minimum speed on the port channel. If the total speed of new plus old member interfaces does not fulfil the minimum speed requirements, then the new member is not made active in the port channel and the port channel continues to stay link-down. If the total speed of new plus old member interfaces fulfils a minimum speed of the port channel, then the system will re-enable all the interfaces for that port channel to perform LACP negotiation.
  • the port channel will become functionally “link-up.” After a review-timeout, provided that the minimum speed is fulfilled, the system can notify the user, for example, by logging an appropriate message. Otherwise, the system can bring the port channel link down and notify the user by logging the appropriate syslog message.
  • the system will move the interface out of the Collecting state.
  • the system will periodically re-enable the interface for LACP negotiation after a retry-timeout (e.g., 360 seconds) until it can progress to Collecting and Distributing. Meanwhile, if the port channel becomes “link-up” because a sufficient number of interfaces entered Collecting and Distributing states, the system will enable the interface for LACP negotiation.
  • the system will re-enable the interfaces configured in that port channel to perform LACP negotiation. After a review-timeout, if the minimum speed condition is satisfied, the system will log an appropriate syslog message to indicate the condition is satisfied and the port channel will continue to remain link-up. Otherwise, the system will log an appropriate syslog message to indicate the condition is not satisfied, and the system will un-program the interfaces, bringing the port channel functionally link down.
  • FIG. 1 shows examples of port channels (logical links) 102 a, 102 b between actor switch 104 and two partner devices 106 a, 106 b.
  • a partner device can be another switch ( 106 a ) or a host computer ( 106 b ).
  • Port channel 102 b between actor switch 104 and host computer 106 b comprises wired connections between physical interfaces (physical links) et14, et15 on the actor switch and respective interfaces et31, et32 on the host computer partner device.
  • port channel 102 a between the actor switch and the partner switch comprises three wired connections between physical interfaces et11, et12, et13 on the actor switch and respective interfaces et21, et22, et23 on the partner switch. Interfaces comprising a port channel can be referred to as member interfaces or simply members.
  • the actor switch will be referred to herein as actor, and similarly partner device will be referred to as partner.
  • LACP Link Aggregation Control Protocol
  • LACP is an example of a protocol that specifies a well-defined negotiation sequence, and is commonly used to bundle several physical links together to form a port channel.
  • LACP will be the example whenever reference is made to port channel negotiation or bringing up member interfaces in a port channel, with the understanding that the present disclosure can be adapted to variants of LACP, other similar protocols, and processes.
  • negotiation is performed for each pair of member interfaces comprising the port channel, where corresponding respective pairs of members on the actor and on the partner negotiate a sequence of operational states. For example, consider the port channel between the actor and the partner computer host.
  • the port channel comprises member pair et14/et31 and member pair et15/et32.
  • the actor will run a negotiation sequence on et14 and corresponding pair member et31 on the partner host computer, and another negotiation sequence on et15 with corresponding pair member et32 on the partner.
  • the actor can deem the port channel to be “link-up” when it has completed all its negotiation sequences with the partner, and begin transmitting packets over the port channel.
  • the partner can deem the port channel to be “link-up” when it has completed its negotiation sequence with the actor, and begin transmitting packets over the port channel.
  • Actor 104 can include port sequencer logic 108 to control the state of each of its member interfaces in accordance with the present disclosure in connection with negotiating with corresponding members on the partner.
  • Each pair of members between the actor and the partner exchange state information in order to become operational.
  • members et11 (actor) and et21 (partner) can exchange packets of state information with each other as each member progresses through a sequence of operational states to become an operational pair in the port channel.
  • the port sequence logic in the actor can sequence a member interface (e.g., et11) through the following states during the negotiation sequence with its corresponding member in the partner:
  • a member interface e.g., et11
  • the discussion will now turn to a description of sequencing the state of member interfaces in a port channel in accordance with the present disclosure.
  • the port sequencer logic represents a collection of processes or threads to perform sequencing operations in accordance with the present disclosure.
  • LACP will be used when an example for port channel negotiation between actor and partner is required.
  • a member interface that is programmed to the collecting state (intermediate communication state) will be referred to as a “partially programmed” member.
  • a member interface that is programmed to both the collecting and distributing state (final communication state) will be referred to as a “fully programmed” member.
  • port channel negotiation between actor and partner can involve intermediate states in addition to the collecting state and the collecting/distributing state.
  • intermediate states in addition to the collecting state and the collecting/distributing state.
  • FIGS. 2A, 2B, and 2C show a high level representation of operations and processing by the actor switch to manage the states of the member interfaces comprising a port channel in accordance with the present disclosure.
  • the actor can include computer executable program code, which when executed by a processor (e.g., 408 , FIG. 4 ), can cause the actor to perform processing in accordance with FIGS. 2A, 2B, and 2C .
  • FIG. 2A can represent a process or thread to perform initial processing on a port channel in response to setting a minimum speed (min-speed) parameter.
  • FIG. 2B can represent a process or thread that is invoked in response to expiration of a review timer
  • FIG. 2C can represent a process or thread that is invoked in response to expiration of a retry timer.
  • FIG. 2 A A first figure.
  • the actor triggers setting the min-speed for the port channel.
  • the min-speed setting specifies a minimum data speed of the port channel, and can be expressed in suitable units such as bits per second (bps, e.g., 1 Gbps, 5 Gbps, etc.).
  • bps bits per second
  • any of a number of activities can trigger a min-speed configuration.
  • setting the min-speed can be triggered when a port channel is first configured, when a member interface is configured, and so on.
  • Setting the min-speed can also be triggered when a user manually changes the min-speed setting for an already configured port channel.
  • a user e.g., network administrator
  • CLI command line interface
  • further processing can be based on a quantity referred to as the “configured speed” of the port channel.
  • the configured speed of the port channel can be defined as the sum of the individual data speeds of the member interfaces on the actor that comprise the port channel. If the configured speed of the port channel is less than the min-speed, then processing can be deemed complete. If the configured speed of the port channel is greater than or equal to the min-speed, then processing can continue to operation 206 . If the configured speed does not meet min-speed, then further processing is not required because the port channel as configured cannot meet the specified min-speed. For example, suppose a port channel is configured with three members, each capable of 1 Gbps, then the configured speed is 3 Gbps. If the min-speed is set at 5 Gbps, then the configured speed of this port channel is less than the specified min-speed.
  • the actor switch can respond to the user with a suitable error message, and processing relating to the present disclosure can be deemed complete.
  • the actor when the configured speed of the port channel meets the min-speed, the actor enables all the member interfaces for negotiation and programming.
  • bringing up a port channel includes negotiating with the partner to bring up the respective pairs of member interfaces on the actor and the partner.
  • the actor can program the member interfaces to advance their respective states from an initial “un-programmed” state to a final collecting and distributing state during the negotiation process with the corresponding member interface on the partner.
  • the actor initiates a review timer.
  • the review timer can run for a predetermined review time.
  • the review time can be a system default value that a user can change, for example, via a suitable CLI command.
  • the review time is defaulted to 180 seconds. It is noted that some members may not be able to be successfully programmed to the collecting and distributing state. This aspect of the present disclosure is addressed below. Processing can be deemed complete.
  • the actor performs review operations (review phase) in response to the review timer expiring. For example, when the review timer expires, the actor can receive a notification in the form of an interrupt, or in some cases the actor can periodically poll the timer to know the current status, and so on. Note that the N branch of decision point 204 bypasses starting the review timer when the port channel does not meet the min-speed setting, in which case the review timer does not start and FIGS. 2B and 2C will not get triggered.
  • the actual speed of the port channel is the sum of the constituent member interfaces that are in the collecting and distributing state.
  • the actor un-programs all the member interfaces comprising the port channel.
  • the actual speed of the port channel is the sum of the constituent member interfaces that are fully programmed. For example, suppose a member of a port channel gets “stuck” in the collecting state (partially programmed member) and the actor cannot program the member to the collecting and distributing state (fully programmed member); e.g., due to miswiring, hardware issues in the switch, negotiation issue with the partner, etc. As such, the actual speed of the port channel would be computed without that partially programmed member. Accordingly, the actual speed may not meet the min-speed setting absent the partially programmed member.
  • the partner may be able to complete its port channel negotiating sequence and deem the port channel to be link-up.
  • the data speed of the port channel will be less than min-speed.
  • the actor can un-program all the member interfaces of the port channel when the actual speed of the port channel is less than the min-speed. This prevents the partner from designating the port channel to be link-up so that the port channel is not used by either the actor or the partner. Additional detail of this aspect of the present disclosure in accordance with some embodiments is described below.
  • the actor initiates a retry timer.
  • the retry timer can run a timer for a predetermined retry time.
  • the retry time can be a fixed system default value.
  • the retry time can be user programmable, for example, via a suitable CLI command. In a particular instance, for example, the retry time is defaulted to 600 seconds.
  • the retry timer provides a delay to allow partially programmed interfaces to clear their issues. Processing in the review phase can be deemed complete.
  • the actor performs retry operations (retry phase) in response to the retry timer expiring. For example, when the retry timer expires, the actor can receive a notification in the form of an interrupt, or in some cases the actor can periodically poll the timer to know the current status, and so on. Note that the Y branch of decision point 214 bypasses starting the retry timer when the port channel meets the min-speed setting, in which case the retry timer does not trigger the operations of FIG. 2C .
  • the actor enables one or more member interfaces for negotiation and programming to retry programming the member interfaces.
  • bringing up a port channel includes negotiating with the partner to bring up the respective pairs of member interfaces on the actor and the partner.
  • the actor in some embodiments, can program the member interfaces to advance their respective states from the collecting state to the collecting and distributing state while negotiating with the corresponding member interface on the partner. Additional detail of this aspect of the present disclosure in accordance with some embodiments is described below.
  • the processing shown in FIGS. 2B and 2C can be initiated in response to the actor detecting a state change in a member of the port channel.
  • the actor can initiate an instance of the review timer which will invoke FIG. 2B and the subsequent processing that follows.
  • the discussion will now turn to a more detailed description of sequencing the state of member interfaces in a port channel in accordance with the present disclosure.
  • the port sequencer logic represents a collection of processes or threads to perform sequencing operations in accordance with the present disclosure. It will be appreciated that in some embodiments, the partner device can be configured to operate in accordance with the present disclosure.
  • FIGS. 3A, 3B, and 3C show operations and processing by the actor switch to manage the states of the member interfaces comprising a port channel in accordance with the present disclosure.
  • the actor can include computer executable program code, which when executed by a processor (e.g., 408 , FIG. 4 ), can cause the actor to perform processing in accordance with FIGS. 3A, 3B, and 3C .
  • FIG. 3A can represent a process or thread to perform initial processing on a port channel in response to setting a minimum speed (min-speed) parameter.
  • FIG. 3B can represent a process or thread that is invoked in response to expiration of a review timer
  • FIG. 3C can represent a process or thread that is invoked in response to expiration of a retry timer.
  • FIG. 3 A A first figure.
  • the actor triggers setting the min-speed for the port channel, as explained in operation 202 .
  • the configured speed of the port channel is less than the min-speed, then processing can be deemed complete. If the configured speed of the port channel is greater than or equal to the min-speed, then processing can continue to operation 306 .
  • the sum of the individual data speeds of the member interfaces comprising the port channel represents the configured speed of the port channel. If the configured speed does not meet min-speed, then further processing is not required because the port channel as configured cannot meet the specified min-speed.
  • the actor switch can respond to the user with a suitable error message, and processing relating to the present disclosure can be deemed complete.
  • the actor when the configured speed of the port channel meets the min-speed, the actor enables all the member interfaces of the port channel for negotiation and programming.
  • bringing up a port channel includes negotiating with the partner to bring up the respective pairs of member interfaces on the actor and the partner.
  • the actor in some embodiments, can program the member interfaces to advance their respective states from an initial “un-programmed” state to an intermediate partially programmed state during the negotiation process with the corresponding member interface on the partner.
  • the actor initiates a review timer when at least one member I/F has reached the collecting state.
  • the review timer can run for a predetermined period of time, referred to herein as the review time.
  • the review time can be a system default value that a user can change via a suitable CLI command.
  • the review time is defaulted to 180 seconds.
  • the review timer can be a background process so that the actor switch can continue with other activities.
  • the actor continues negotiating the member interfaces. As the actor continues negotiating the port channel with the partner, the actor will program the member interfaces to advance their respective states from the collecting state to a final collecting and distributing state. It is noted that some members may not be able to be successfully programmed to the collecting and distributing state. This aspect of the present disclosure is addressed below. Processing can be deemed complete.
  • the actor performs review operations (review phase) in response to the review timer expiring. For example, when the review timer expires, the actor can receive a notification in the form of an interrupt, or in some cases the actor can periodically poll the timer to know the current status, and so on. Note that the N branch of decision point 304 bypasses starting the review timer when the port channel does not meet the min-speed setting, in which case the review timer does not start and the operations of FIG. 3B and FIG. 3C are not triggered.
  • processing can be deemed complete. If the actual speed of the port channel is less than the min-speed, then processing can continue to operation 316 .
  • the actor identifies any partially programmed member interfaces in the port channel, including any interfaces that could not be programmed to the collecting state.
  • a port channel is brought up by negotiating each pair of member interfaces comprising the port channel, where corresponding respective pairs of members on the actor and on the partner negotiate a sequence of operational states.
  • Each member interface on the actor negotiates with a corresponding member on the partner and advances through a sequence of operational states as a result of the negotiation.
  • actor-side member interfaces may not advance to the collecting and distributing state (e.g., the member may get stuck in the collecting state) or may not even reach the collecting state, and can be referred to as partially programmed member interfaces.
  • Member interfaces that are in the collecting and distributing state can be referred to as fully programmed member interfaces.
  • the actor can identify such partially programmed interfaces to be handled in the retry phase.
  • the actor un-programs all the member interfaces comprising the port channel.
  • the actual speed of the port channel is the sum of those member interfaces that are in the collecting and distributing state. Accordingly, the actual speed of the port channel may not meet the min-speed due to the presence of one or more partially programmed members. Nonetheless, because some members on the actor side are fully programmed, the partner may be able to complete its port channel negotiating sequence and deem the port channel to be link-up. However, because not all members on the actor can transmit, the data speed of the port channel will be less than min-speed.
  • the actor can un-program all the member interfaces comprising the port channel when the actual speed of the port channel is less than the min-speed. Doing so prevents the partner from designating the port channel to be link-up so that the port channel is not used by either the actor or the partner.
  • the actor initiates a retry timer as discussed above in connection with operation 218 . Processing in the review phase can be deemed complete.
  • the actor performs retry operations (retry phase) in response to the retry timer expiring. For example, when the retry timer expires, the actor can receive a notification in the form of an interrupt, or in some cases the actor can periodically poll the timer to know the current status, and so on. Note that the Y branch of decision point 314 bypasses starting the retry timer when the port channel meets the min-speed setting, in which case the operations of FIG. 3C will not be triggered.
  • the actor enables the previously identified partially programmed member interfaces (operation 316 ) for negotiation and programming. Recall that all member interfaces of the port channel, including the previously identified member interfaces, had been un-programmed at operation 318 . Accordingly, with the present disclosure, the actor can enable each of the previously identified interfaces, now un-programmed, to begin negotiating with their corresponding interfaces on the partner to advance these interfaces from their un-programmed state to the collecting state.
  • the actor initiates another instance of the review timer when at least one of the previously identified member interfaces has been programmed to the collecting state.
  • the actor continues negotiating and programming the previously identified interfaces to attempt advancing those interfaces to the fully programmed collecting and distributing state.
  • the actor can continue negotiating each of the previously identified interfaces with their corresponding interfaces on the partner to advance the previously identified interfaces to the collecting and distributing state.
  • an “effective speed” of the port channel is greater than or equal to the min-speed setting, the processing can continue to operation 322 .
  • the term “effective speed” refers to the sum of (1) the speeds of any previously identified partially programmed interfaces that are now fully programmed and (2) the speed of the interfaces that were previously determined at operation 316 as being fully programmed. If the effective speed is less than the min-speed setting, then processing in the retry phase can be deemed complete. Note that an effective speed that does not meet the min-speed setting indicates some of the previously identified partially programmed interfaces could not be fully programmed. Because the review timer was initiated at operation 326 , such interfaces will be identified in the review phase.
  • the actor enables the interfaces that were previously determined as being fully programmed for negotiation and programming.
  • the actor can begin negotiating each such interface with its corresponding interface on the partner to advance its state to fully programmed. Processing in the retry phase can be deemed complete. Note that some interfaces that were previously determined to be fully programmed may fail to become fully programmed. Because the review timer was initiated at operation 326 , such interfaces will be identified in the review phase.
  • the processing shown in FIGS. 3B and 3C can be initiated in response to the actor detecting a state change in a member of the port channel.
  • the actor can initiate an instance of the review timer which will invoke FIG. 3B and the subsequent processing that follows.
  • FIG. 4 depicts an example of a network device 400 in accordance with some embodiments of the present disclosure.
  • network device 400 can be a switch (e.g., actor switch, FIG. 1 ).
  • network device 400 includes a management module 402 , an internal fabric module 404 , and a number of I/O modules 406 a - 406 p.
  • Management module 402 includes the control plane (also referred to as control layer) of network device 400 and can include one or more management CPUs 408 for managing and controlling operation of network device 400 in accordance with the present disclosure.
  • Each management CPU 408 can be a general purpose processor, such as but not limited to an Intel®/AMD® x86 or ARM® processor, that operates under the control of software stored in a memory (not shown), such as dynamic random access memory (DRAM).
  • Control plane refers to all the functions and processes that determine which path to use, such as routing protocols, spanning tree, and the like.
  • Internal fabric module 404 and I/O modules 406 a - 406 p collectively represent the data plane of network device 400 (also referred to as data layer, forwarding plane, etc.). Internal fabric module 404 is configured to interconnect the various other modules of network device 400 . Each I/O module 406 a - 406 p includes one or more input/output ports (interfaces) 410 a - 410 p that are used by network device 400 to send and receive network packets. Each I/O module 406 a - 406 p can also include a packet processor 412 a - 412 p.
  • Each packet processor 412 a - 412 p can comprise a forwarding hardware component (e.g., application specific integrated circuit (ASIC), field programmable array (FPGA), digital processing unit, graphics coprocessors, content-addressable memory, and the like) configured to make wire speed decisions on how to handle incoming (ingress) and outgoing (egress) network packets.
  • ASIC application specific integrated circuit
  • FPGA field programmable array
  • graphics coprocessors e.g., graphics coprocessors, content-addressable memory, and the like
  • some aspects of the present disclosure can be performed wholly within the data plane.
  • a method in a network device for configuring a port channel comprising a plurality of member interfaces of the network device comprises (a) initiating a first timer to run for a first period of time; (b) in response to (i) expiration of the first timer and (ii) a communication speed of the port channel being less than a predetermined speed, wherein the communication speed is a sum of speeds associated with member interfaces in the plurality of member interfaces that are fully programmed, the method includes: (c) un-programming each of the plurality of member interfaces; (d) initiating a second timer to run for a second period of time; (e) in response to expiration of the second timer, enabling programming for each member interface in a first subset of the plurality of member interfaces followed by enabling programming for each member interface in a second subset of the plurality of member interfaces; and (f) initiating the first timer to run for the first period of time; and (g) performing one or more sets of
  • the first subset comprises member interfaces that were not fully programmed upon expiration of the first timer
  • the second subset comprises member interfaces that were fully programmed upon expiration of the first timer
  • the method further comprises enabling programming for each member interface in the second subset of the plurality of member interfaces when speeds associated with member interfaces in the first subset that become fully programmed plus speeds associated with member interfaces in the second subset is greater than or equal to the predetermined speed.
  • the given member interface when a given member interface is enabled for programming, performs programming during running of the first timer.
  • a given member interface can be programmed to a collecting state or a collecting and distributing state, wherein the given member interface is deemed to be fully programmed when it is in the collecting and distributing state.
  • enabling programming for a given interface includes the given interface communicating with a corresponding interface on a second network device, wherein the communication results in the given interface becoming fully programmed or failing to become fully programmed.
  • a method in a network device for configuring a port channel comprise: (a) enabling programming of each of a plurality of member interfaces of a port channel, wherein a member interface that is enabled for programming can be programmed to an intermediate communication state or a final communication state; (b) determining a communication speed of the port channel, wherein the communication speed of the port channel is computed as a sum of speeds of member interfaces that are programmed to the final communication state; (c) in response to the communication speed of the port channel being less than a threshold speed, un-programming each of the plurality of member interfaces; and (d) enabling programming of one or more of the plurality of member interfaces.
  • the operations (b)-(d) are repeated until the communication speed of the port channel is greater than or equal to the threshold speed.
  • the method further comprises delaying for a first period of time between operations (a) and (b). In some embodiments, the method further comprises performing programming operations during the first period of time on member interfaces that are enabled for programming.
  • the one or more of the plurality of member interfaces are member interfaces that were not programmed to the final communication state prior to un-programming each of the plurality of member interfaces.
  • enabling programming of one or more of the plurality of member interfaces in operation (d) includes enabling programming only for member interfaces that were not programmed to the final communication state.
  • the method further comprises enabling for programming member interfaces that could be programmed to the final communication state subsequent to enabling programming only for member interfaces that were not programmed to the final communication state.
  • enabling programming for a given interface includes the given interface communicating with a corresponding interface on a second network device, wherein the communication results in the given interface becoming programmed to the final communication state or failing to be programmed to the final communication state.
  • a network device comprises: a plurality of interfaces; one or more computer processors; and a computer-readable storage medium comprising instructions for controlling the one or more computer processors to: configure a port channel with a subset of the plurality of interfaces, including enable programming for all of the interfaces of the port channel; detect that a communication speed of a port channel is less than a predetermined threshold speed, wherein first interfaces of the port channel are deemed fully programmed and second interfaces of the port channel are deemed not fully programmed, wherein the communication speed of the port channel is a sum of speeds associated with the first interfaces of the port channel; in response to detecting that the communication speed of the port channel is less than the predetermined threshold speed, un-program all of the interfaces of the port channel; and at a time subsequent to un-programming each of the interfaces of the port channel, re-enable programming of the interfaces of the port channel.
  • re-enabling programming of the interfaces of the port channel includes re-enabling programming of the second interfaces of the port channel only, followed by re-enabling programming of the first interfaces of the port channel.
  • the computer-readable storage medium further comprises instructions for controlling the one or more computer processors to re-enable programming of the first interfaces of the port channel only when speeds associated with the second interfaces that become fully programmed plus speeds associated with the first interface is greater than or equal to the predetermined threshold speed.
  • the network device when a given interface of the port channel is enabled for programming, the network device communicates with a corresponding interface on a second network device to which the given interface is connected, wherein the communication results in the given interface being fully programmed or not fully programmed.
  • the computer-readable storage medium further comprises instructions for controlling the one or more computer processors to delay for a predetermined period of time prior to re-enabling programming of the interfaces of the port channel.
  • a given member interface can be programmed to a collecting state or a collecting and distributing state, wherein the given member interface is deemed to be fully programmed when it is in the collecting and distributing state.

Abstract

A review and retry mechanism ensures a port channel can be configured to provide and maintain a minimum data speed. A timer-based review sequence reviews the constituent interfaces of a port channel to determine if a minimum speed requirement is met. If the minimum speed cannot be fulfilled, the port-channel member interfaces are un-programmed and removed from the port-channel, rendering the port-channel functionally inactive, thereby preventing network traffic loss. A timer-based retry sequence attempts to program the constituent interfaces. The minimum speed requirement of the interfaces is checked in the next review cycle. If the minimum speed requirement is met, then the review and retry mechanism halts and the port channel continues to remain active; otherwise, the interfaces are un-programmed and the process repeats.

Description

    CROSS REFERENCE TO RELATED APPLICATIONS
  • Pursuant to 35 U.S.C. § 119(e), this application is entitled to and claims the benefit of the filing date of U.S. Provisional App. No. 63/170,138 filed Apr. 2, 2021, the content of which is incorporated herein by reference in its entirety for all purposes.
  • BACKGROUND
  • The present disclosure relates to port channels. A port channel is a virtual interface which generally refers to an aggregate of one or more interfaces (Ethernet ports) on a switch to provide improved performance such as higher bandwidth, load balancing, link redundancy, and the like. A port channel can be referred to as a channel group, a link aggregation group (LAG), and the like.
  • A port channel provides a communication link between two devices supported by matching channel group interfaces on each device. The port channel can be established between a switch and another switch or between a switch and a host.
  • The “speed” of a port channel refers to the sum of the speeds (bandwidth or data rate) of the port channel's constituent interfaces; the interfaces in the channel group. For example, suppose a port channel comprises the following interfaces and data rates (generally specified as bits per second): Et1 (10 Gbps), Et4 (1 Gbps), and Et7 (5 Gbps). The speed of the port channel would be 10+1+5=16 Gbps.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • With respect to the discussion to follow and in particular to the drawings, it is stressed that the particulars shown represent examples for purposes of illustrative discussion and are presented in the cause of providing a description of principles and conceptual aspects of the present disclosure. In this regard, no attempt is made to show implementation details beyond what is needed for a fundamental understanding of the present disclosure. The discussion to follow, in conjunction with the drawings, makes apparent to those of skill in the art how embodiments in accordance with the present disclosure may be practiced. Similar or same reference numbers may be used to identify or otherwise refer to similar or same elements in the various drawings and supporting descriptions. In the accompanying drawings:
  • FIG. 1 shows an illustrative example to explain configuring a port channel in accordance with the present disclosure.
  • FIGS. 2A, 2B, 2C illustrate high level operations in accordance with some embodiments of the present disclosure.
  • FIGS. 3A, 3B, 3C illustrate high level operations in accordance with some embodiments of the present disclosure.
  • FIG. 4 shows a network device of the present disclosure.
  • DETAILED DESCRIPTION
  • As noted above a port channel can be set up between a switch and another switch or between a switch and a host (e.g., a server). For discussion purposes, the present disclosure will refer to a switch-to-switch configuration with the understanding that the present disclosure is also applicable to a switch-to-host configuration.
  • In some configurations, when a port channel between two switches (actor and partner) is first configured, corresponding member interfaces on each switch perform a Link Aggregation Control Protocol (LACP) negotiation to program the member interfaces to a state of “collecting” (meaning ready to receive packets) and “distributing” (meaning ready to transmit packets) before they are declared “active” in the port channel. Conventionally, the port channel's speed is checked to see if the channel group can provide a minimum speed (min-speed) required for the port channel. If the minimum speed requirement is satisfied, then LACP negotiation is performed on each member interface to program interfaces comprising the port channel.
  • While going through LACP negotiation, it is possible that some of the interfaces on one switch (actor), for one reason or another, cannot be fully (completely) programmed; in other words, not programmed at all or are programmed to the “collecting” state only and cannot proceed to be programmed to the “distributing” state. Accordingly, only some of the interfaces in the port channel may become active. So, from a hardware programming perspective, there may not be enough fully programmed interfaces (i.e., programmed to collecting and distributing state) to satisfy the minimum speed. Because of this, the port channel remains in a functional state referred to as “link-down” with some member interfaces either fully or only partially programmed. However, the partner switch can and will proceed to the “distributing” state according to the LACP protocol and complete its programming for all the interfaces, including the ones which are partially programmed on the actor switch. The partner switch will start sending traffic towards the actor which may not be able to bridge, route, or otherwise process the received traffic.
  • In some situations, the port channel on the actor can be functionally link-down but still have interfaces programmed partially or completely. This may cause problems with forwarding traffic on this port channel. For example, the partner may send the traffic on a partially programmed port channel which may then be blackholed on the actor switch. In other situations, the port channel on the actor can be functionally link-up but with less than the minimum required aggregate speed and therefore causing traffic congestion.
  • The present disclosure provides a timer-based review sequence which reviews and un-programs the member interfaces of a port channel to remove the member interfaces from the port channel if minimum speed requirements are not fulfilled, and a retry sequence to retry programming member interfaces of the port channel that have previously failed programming and were un-programmed from the port channel due to minimum speed requirements:
      • 1. Perform a basic check to see if the configured member interfaces can satisfy minimum speed.
      • 2. Proceed with LACP negotiation to program the member interfaces.
      • 3. Review port channel member interfaces after a user-configurable “review timeout” to determine if the total speed of the interfaces which are fully programmed (collecting and distributing state) in the hardware satisfies the minimum speed requirement or not.
        • a. If the programmed interfaces satisfy the minimum speed requirements. The process is done.
        • b. If the programmed interfaces do not satisfy the minimum speed requirements, the interfaces are un-programmed in the hardware on the actor. This in turn will ensure that the partner also un-programs the port channel member interfaces after LACP PDU exchange. Thus, there is no eventual traffic blackholing.
      • 4. A separate “retry timer” will periodically attempt to re-enable LACP negotiation on the interfaces which were originally stuck in the “collecting state” (partially programmed) hoping the issue gets resolved and these interfaces can get fully programmed. If the issue is actually resolved, and these interfaces plus the ones which were able to be fully programmed originally are able to satisfy the minimum speed requirements, then all the interfaces are re-enabled for LACP negotiation. Meanwhile, the “review-timer” will be running in the background, and it will verify and perform its actions as mentioned in point 3 above.
  • For LACP enabled port channels, the present disclosure supports minimum speed configuration—that is the total speed of all the interfaces configured in the port channel which is needed to bring the port channel up. The minimum speed feature is applicable for both:
      • a port channel with all member interfaces having the same speed
      • a port channel with member interfaces having different speeds
  • In accordance with the present disclosure, the feature is applicable to both static LAGs/port channels and LACP LAGs/port channels. The disclosed system will re-evaluate minimum speed on Collecting (programmed for Rx/receiving) and/or Distributing (programmed for Tx/transmitting) state changes. It will be appreciated that without this feature:
      • While programming the port-channel for the first time, if an interface cannot be programmed as part of the port channel, it is possible that the port channel would remain link-down with some member interfaces fully and partially programmed.
      • From a functionally link-up port channel, if a member interface got un-programmed due to some reason, the port channel may continue to remain link-up with lesser total speed than the configured minimum speed.
        The minimum speed review and re-evaluation (retry) mechanism addresses such cases and automatically enforces minimum speed configuration.
  • For Collecting and/or Distributing state changes, embodiments of the disclosed system will evaluate minimum speed after a review-timeout that is user configurable. If the total speed of active member interfaces in the port channel is less than the configured minimum speed, the system will un-program the member interfaces (for example, remove the member interfaces from the port channel) and bring the port channel functionally down. In accordance with some embodiments, the system can inform a network administrator by logging a corresponding message indicating an interface having insufficient speed.
  • If additional (new) interfaces are configured and they are able to complete LACP negotiation and get programmed as Collecting and Distributing, the system will re-evaluate minimum speed on the port channel. If the total speed of new plus old member interfaces does not fulfil the minimum speed requirements, then the new member is not made active in the port channel and the port channel continues to stay link-down. If the total speed of new plus old member interfaces fulfils a minimum speed of the port channel, then the system will re-enable all the interfaces for that port channel to perform LACP negotiation. If sufficient member interfaces complete LACP negotiation such that the total speed fulfils the minimum speed requirement, the port channel will become functionally “link-up.” After a review-timeout, provided that the minimum speed is fulfilled, the system can notify the user, for example, by logging an appropriate message. Otherwise, the system can bring the port channel link down and notify the user by logging the appropriate syslog message.
  • If any interface remains in the Collecting state, but not in the Distributing state for the duration of the review-timeout, the system will move the interface out of the Collecting state. In an embodiment, the system will periodically re-enable the interface for LACP negotiation after a retry-timeout (e.g., 360 seconds) until it can progress to Collecting and Distributing. Meanwhile, if the port channel becomes “link-up” because a sufficient number of interfaces entered Collecting and Distributing states, the system will enable the interface for LACP negotiation.
  • If minimum speed is reduced for a port channel that is link-down due to minimum speed, and there are sufficient interfaces to satisfy minimum speed requirements, then the system will re-enable the interfaces configured in that port channel to perform LACP negotiation. After a review-timeout, if the minimum speed condition is satisfied, the system will log an appropriate syslog message to indicate the condition is satisfied and the port channel will continue to remain link-up. Otherwise, the system will log an appropriate syslog message to indicate the condition is not satisfied, and the system will un-program the interfaces, bringing the port channel functionally link down.
  • In the following description, for purposes of explanation, numerous examples and specific details are set forth in order to provide a thorough understanding of embodiments of the present disclosure. Particular embodiments as expressed in the claims may include some or all of the features in these examples, alone or in combination with other features described below, and may further include modifications and equivalents of the features and concepts described herein.
  • FIG. 1 shows examples of port channels (logical links) 102 a, 102 b between actor switch 104 and two partner devices 106 a, 106 b. A partner device can be another switch (106 a) or a host computer (106 b). Port channel 102 b between actor switch 104 and host computer 106 b comprises wired connections between physical interfaces (physical links) et14, et15 on the actor switch and respective interfaces et31, et32 on the host computer partner device. Likewise, port channel 102 a between the actor switch and the partner switch comprises three wired connections between physical interfaces et11, et12, et13 on the actor switch and respective interfaces et21, et22, et23 on the partner switch. Interfaces comprising a port channel can be referred to as member interfaces or simply members. The actor switch will be referred to herein as actor, and similarly partner device will be referred to as partner.
  • Typically, a port channel negotiation sequence is performed to bring up a port channel between actor and partner. Link Aggregation Control Protocol (LACP) is an example of a protocol that specifies a well-defined negotiation sequence, and is commonly used to bundle several physical links together to form a port channel. LACP will be the example whenever reference is made to port channel negotiation or bringing up member interfaces in a port channel, with the understanding that the present disclosure can be adapted to variants of LACP, other similar protocols, and processes.
  • In some embodiments, negotiation is performed for each pair of member interfaces comprising the port channel, where corresponding respective pairs of members on the actor and on the partner negotiate a sequence of operational states. For example, consider the port channel between the actor and the partner computer host. The port channel comprises member pair et14/et31 and member pair et15/et32. The actor will run a negotiation sequence on et14 and corresponding pair member et31 on the partner host computer, and another negotiation sequence on et15 with corresponding pair member et32 on the partner.
  • In some embodiments, the actor can deem the port channel to be “link-up” when it has completed all its negotiation sequences with the partner, and begin transmitting packets over the port channel. Likewise, the partner can deem the port channel to be “link-up” when it has completed its negotiation sequence with the actor, and begin transmitting packets over the port channel.
  • Actor 104 can include port sequencer logic 108 to control the state of each of its member interfaces in accordance with the present disclosure in connection with negotiating with corresponding members on the partner. Each pair of members between the actor and the partner exchange state information in order to become operational. For example, members et11 (actor) and et21 (partner) can exchange packets of state information with each other as each member progresses through a sequence of operational states to become an operational pair in the port channel.
  • In some embodiments, the port sequence logic in the actor can sequence a member interface (e.g., et11) through the following states during the negotiation sequence with its corresponding member in the partner:
      • un-programmed—the interface is in an initial un-programmed state
      • collecting—the interface is ready to receive packets from its corresponding interface in the partner
      • collecting and distributing—the interface is ready to transmit packets to its corresponding interface in the partner, in addition to receiving packets.
        It will be appreciated that in other embodiments, the present disclosure can be adapted to process additional states.
  • The discussion will now turn to a description of sequencing the state of member interfaces in a port channel in accordance with the present disclosure. The port sequencer logic represents a collection of processes or threads to perform sequencing operations in accordance with the present disclosure. For discussion purposes, LACP will be used when an example for port channel negotiation between actor and partner is required. Further, for discussion purposes, a member interface that is programmed to the collecting state (intermediate communication state) will be referred to as a “partially programmed” member. A member interface that is programmed to both the collecting and distributing state (final communication state) will be referred to as a “fully programmed” member.
  • It will be appreciated that, in some embodiments, port channel negotiation between actor and partner can involve intermediate states in addition to the collecting state and the collecting/distributing state. Although disclosed embodiments in accordance with the present disclosure account for these two states, it will be appreciated that the present disclosure can be adapted to process additional intermediate states.
  • FIGS. 2A, 2B, and 2C show a high level representation of operations and processing by the actor switch to manage the states of the member interfaces comprising a port channel in accordance with the present disclosure. In some embodiments, for example, the actor can include computer executable program code, which when executed by a processor (e.g., 408, FIG. 4), can cause the actor to perform processing in accordance with FIGS. 2A, 2B, and 2C.
  • The operation and decision blocks described below can be allocated for execution among one or more concurrently executing processes and/or threads. For example, FIG. 2A can represent a process or thread to perform initial processing on a port channel in response to setting a minimum speed (min-speed) parameter. As explained below, FIG. 2B can represent a process or thread that is invoked in response to expiration of a review timer, and FIG. 2C can represent a process or thread that is invoked in response to expiration of a retry timer. These processes or threads are collectively represented in FIG. 1 as the port sequencer logic.
  • FIG. 2A
  • At operation 202, the actor triggers setting the min-speed for the port channel. The min-speed setting specifies a minimum data speed of the port channel, and can be expressed in suitable units such as bits per second (bps, e.g., 1 Gbps, 5 Gbps, etc.). It will be appreciated that any of a number of activities can trigger a min-speed configuration. For example, setting the min-speed can be triggered when a port channel is first configured, when a member interface is configured, and so on. Setting the min-speed can also be triggered when a user manually changes the min-speed setting for an already configured port channel. In some embodiments, for example, a user (e.g., network administrator) can set the min-speed setting using a suitable command line interface (CLI), for example, over a maintenance port, via a central controller, using a web application, and so on.
  • At decision point 204, further processing can be based on a quantity referred to as the “configured speed” of the port channel. Each interface on the actor has an associated data speed. The configured speed of the port channel can be defined as the sum of the individual data speeds of the member interfaces on the actor that comprise the port channel. If the configured speed of the port channel is less than the min-speed, then processing can be deemed complete. If the configured speed of the port channel is greater than or equal to the min-speed, then processing can continue to operation 206. If the configured speed does not meet min-speed, then further processing is not required because the port channel as configured cannot meet the specified min-speed. For example, suppose a port channel is configured with three members, each capable of 1 Gbps, then the configured speed is 3 Gbps. If the min-speed is set at 5 Gbps, then the configured speed of this port channel is less than the specified min-speed. In some embodiments, the actor switch can respond to the user with a suitable error message, and processing relating to the present disclosure can be deemed complete.
  • At operation 206, when the configured speed of the port channel meets the min-speed, the actor enables all the member interfaces for negotiation and programming. As noted above, bringing up a port channel includes negotiating with the partner to bring up the respective pairs of member interfaces on the actor and the partner. During negotiation, the actor can program the member interfaces to advance their respective states from an initial “un-programmed” state to a final collecting and distributing state during the negotiation process with the corresponding member interface on the partner. In some embodiments, there can be one or more intermediate states. For example, in the case of LACP, there can be an intermediate collecting state.
  • At operation 208 the actor initiates a review timer. In some embodiments, the review timer can run for a predetermined review time. For example, the review time can be a system default value that a user can change, for example, via a suitable CLI command. In a particular instance, for example, the review time is defaulted to 180 seconds. It is noted that some members may not be able to be successfully programmed to the collecting and distributing state. This aspect of the present disclosure is addressed below. Processing can be deemed complete.
  • FIG. 2B
  • At operation 212, the actor performs review operations (review phase) in response to the review timer expiring. For example, when the review timer expires, the actor can receive a notification in the form of an interrupt, or in some cases the actor can periodically poll the timer to know the current status, and so on. Note that the N branch of decision point 204 bypasses starting the review timer when the port channel does not meet the min-speed setting, in which case the review timer does not start and FIGS. 2B and 2C will not get triggered.
  • At decision point 214, if the actual speed of the port channel is greater than or equal to the min-speed, then processing can be deemed complete. If the actual speed of the port channel is less than the min-speed, then processing can continue to operation 216. The actual speed of the port channel is the sum of the constituent member interfaces that are in the collecting and distributing state.
  • At operation 216, when the actual speed of the port channel is less than the min-speed, the actor un-programs all the member interfaces comprising the port channel. As noted above, the actual speed of the port channel is the sum of the constituent member interfaces that are fully programmed. For example, suppose a member of a port channel gets “stuck” in the collecting state (partially programmed member) and the actor cannot program the member to the collecting and distributing state (fully programmed member); e.g., due to miswiring, hardware issues in the switch, negotiation issue with the partner, etc. As such, the actual speed of the port channel would be computed without that partially programmed member. Accordingly, the actual speed may not meet the min-speed setting absent the partially programmed member. Nonetheless, because some members on the actor side are fully programmed, the partner may be able to complete its port channel negotiating sequence and deem the port channel to be link-up. However, because not all members on the actor can transmit, the data speed of the port channel will be less than min-speed. In accordance with the present disclosure, the actor can un-program all the member interfaces of the port channel when the actual speed of the port channel is less than the min-speed. This prevents the partner from designating the port channel to be link-up so that the port channel is not used by either the actor or the partner. Additional detail of this aspect of the present disclosure in accordance with some embodiments is described below.
  • At operation 218, the actor initiates a retry timer. In some embodiments, the retry timer can run a timer for a predetermined retry time. For example, the retry time can be a fixed system default value. In some embodiments, the retry time can be user programmable, for example, via a suitable CLI command. In a particular instance, for example, the retry time is defaulted to 600 seconds. The retry timer provides a delay to allow partially programmed interfaces to clear their issues. Processing in the review phase can be deemed complete.
  • FIG. 2C
  • At operation 222, the actor performs retry operations (retry phase) in response to the retry timer expiring. For example, when the retry timer expires, the actor can receive a notification in the form of an interrupt, or in some cases the actor can periodically poll the timer to know the current status, and so on. Note that the Y branch of decision point 214 bypasses starting the retry timer when the port channel meets the min-speed setting, in which case the retry timer does not trigger the operations of FIG. 2C.
  • At operation 224, the actor enables one or more member interfaces for negotiation and programming to retry programming the member interfaces. As noted above, bringing up a port channel includes negotiating with the partner to bring up the respective pairs of member interfaces on the actor and the partner. During negotiation, the actor in some embodiments, can program the member interfaces to advance their respective states from the collecting state to the collecting and distributing state while negotiating with the corresponding member interface on the partner. Additional detail of this aspect of the present disclosure in accordance with some embodiments is described below.
  • At operation 226 the actor initiates another instance of the review timer. Processing in the retry phase can be deemed complete.
  • In accordance with some embodiments, the processing shown in FIGS. 2B and 2C can be initiated in response to the actor detecting a state change in a member of the port channel. For example, the actor can initiate an instance of the review timer which will invoke FIG. 2B and the subsequent processing that follows.
  • The discussion will now turn to a more detailed description of sequencing the state of member interfaces in a port channel in accordance with the present disclosure. The port sequencer logic represents a collection of processes or threads to perform sequencing operations in accordance with the present disclosure. It will be appreciated that in some embodiments, the partner device can be configured to operate in accordance with the present disclosure.
  • FIGS. 3A, 3B, and 3C show operations and processing by the actor switch to manage the states of the member interfaces comprising a port channel in accordance with the present disclosure. In some embodiments, for example, the actor can include computer executable program code, which when executed by a processor (e.g., 408, FIG. 4), can cause the actor to perform processing in accordance with FIGS. 3A, 3B, and 3C.
  • The operation and decision blocks described below can be allocated for execution among one or more concurrently executing processes and/or threads. For example, FIG. 3A can represent a process or thread to perform initial processing on a port channel in response to setting a minimum speed (min-speed) parameter. As explained below, FIG. 3B can represent a process or thread that is invoked in response to expiration of a review timer, and FIG. 3C can represent a process or thread that is invoked in response to expiration of a retry timer. These processes or threads are collectively represented in FIG. 1 as the port sequencer logic.
  • FIG. 3A
  • At operation 302, the actor triggers setting the min-speed for the port channel, as explained in operation 202.
  • At decision point 304, if the configured speed of the port channel is less than the min-speed, then processing can be deemed complete. If the configured speed of the port channel is greater than or equal to the min-speed, then processing can continue to operation 306. As explained above, the sum of the individual data speeds of the member interfaces comprising the port channel represents the configured speed of the port channel. If the configured speed does not meet min-speed, then further processing is not required because the port channel as configured cannot meet the specified min-speed. In some embodiments, the actor switch can respond to the user with a suitable error message, and processing relating to the present disclosure can be deemed complete.
  • At operation 306, when the configured speed of the port channel meets the min-speed, the actor enables all the member interfaces of the port channel for negotiation and programming. As noted above, bringing up a port channel includes negotiating with the partner to bring up the respective pairs of member interfaces on the actor and the partner. During negotiation, the actor in some embodiments, can program the member interfaces to advance their respective states from an initial “un-programmed” state to an intermediate partially programmed state during the negotiation process with the corresponding member interface on the partner.
  • At operation 308 the actor initiates a review timer when at least one member I/F has reached the collecting state. In some embodiments, the review timer can run for a predetermined period of time, referred to herein as the review time. For example, the review time can be a system default value that a user can change via a suitable CLI command. In a particular instance, for example, the review time is defaulted to 180 seconds. In accordance with some embodiments, the review timer can be a background process so that the actor switch can continue with other activities.
  • At operation 310, the actor continues negotiating the member interfaces. As the actor continues negotiating the port channel with the partner, the actor will program the member interfaces to advance their respective states from the collecting state to a final collecting and distributing state. It is noted that some members may not be able to be successfully programmed to the collecting and distributing state. This aspect of the present disclosure is addressed below. Processing can be deemed complete.
  • FIG. 3B
  • At operation 312, the actor performs review operations (review phase) in response to the review timer expiring. For example, when the review timer expires, the actor can receive a notification in the form of an interrupt, or in some cases the actor can periodically poll the timer to know the current status, and so on. Note that the N branch of decision point 304 bypasses starting the review timer when the port channel does not meet the min-speed setting, in which case the review timer does not start and the operations of FIG. 3B and FIG. 3C are not triggered.
  • At decision point 314, if the actual speed of the port channel is greater than or equal to the min-speed, then processing can be deemed complete. If the actual speed of the port channel is less than the min-speed, then processing can continue to operation 316.
  • At operation 316, when the actual speed of the port channel is less than the min-speed, the actor identifies any partially programmed member interfaces in the port channel, including any interfaces that could not be programmed to the collecting state. As explained above, a port channel is brought up by negotiating each pair of member interfaces comprising the port channel, where corresponding respective pairs of members on the actor and on the partner negotiate a sequence of operational states. Each member interface on the actor negotiates with a corresponding member on the partner and advances through a sequence of operational states as a result of the negotiation. Some of the actor-side member interfaces may not advance to the collecting and distributing state (e.g., the member may get stuck in the collecting state) or may not even reach the collecting state, and can be referred to as partially programmed member interfaces. Member interfaces that are in the collecting and distributing state can be referred to as fully programmed member interfaces.
  • In accordance with the present disclosure, the actor can identify such partially programmed interfaces to be handled in the retry phase.
  • At operation 318, the actor un-programs all the member interfaces comprising the port channel. Recall that in some embodiments, the actual speed of the port channel is the sum of those member interfaces that are in the collecting and distributing state. Accordingly, the actual speed of the port channel may not meet the min-speed due to the presence of one or more partially programmed members. Nonetheless, because some members on the actor side are fully programmed, the partner may be able to complete its port channel negotiating sequence and deem the port channel to be link-up. However, because not all members on the actor can transmit, the data speed of the port channel will be less than min-speed. In accordance with the present disclosure, the actor can un-program all the member interfaces comprising the port channel when the actual speed of the port channel is less than the min-speed. Doing so prevents the partner from designating the port channel to be link-up so that the port channel is not used by either the actor or the partner.
  • At operation 320, the actor initiates a retry timer as discussed above in connection with operation 218. Processing in the review phase can be deemed complete.
  • FIG. 3C
  • At operation 322, the actor performs retry operations (retry phase) in response to the retry timer expiring. For example, when the retry timer expires, the actor can receive a notification in the form of an interrupt, or in some cases the actor can periodically poll the timer to know the current status, and so on. Note that the Y branch of decision point 314 bypasses starting the retry timer when the port channel meets the min-speed setting, in which case the operations of FIG. 3C will not be triggered.
  • At operation 324, the actor enables the previously identified partially programmed member interfaces (operation 316) for negotiation and programming. Recall that all member interfaces of the port channel, including the previously identified member interfaces, had been un-programmed at operation 318. Accordingly, with the present disclosure, the actor can enable each of the previously identified interfaces, now un-programmed, to begin negotiating with their corresponding interfaces on the partner to advance these interfaces from their un-programmed state to the collecting state.
  • At operation 326, the actor initiates another instance of the review timer when at least one of the previously identified member interfaces has been programmed to the collecting state.
  • At operation 328, the actor continues negotiating and programming the previously identified interfaces to attempt advancing those interfaces to the fully programmed collecting and distributing state. In some embodiments, for example, the actor can continue negotiating each of the previously identified interfaces with their corresponding interfaces on the partner to advance the previously identified interfaces to the collecting and distributing state.
  • At decision point 330, if an “effective speed” of the port channel is greater than or equal to the min-speed setting, the processing can continue to operation 322. As used herein, the term “effective speed” refers to the sum of (1) the speeds of any previously identified partially programmed interfaces that are now fully programmed and (2) the speed of the interfaces that were previously determined at operation 316 as being fully programmed. If the effective speed is less than the min-speed setting, then processing in the retry phase can be deemed complete. Note that an effective speed that does not meet the min-speed setting indicates some of the previously identified partially programmed interfaces could not be fully programmed. Because the review timer was initiated at operation 326, such interfaces will be identified in the review phase.
  • At operation 332, when the effective speed meets the min-speed setting, this indicates that enough of the previously identified partially programmed interfaces have been successfully fully programmed such that enabling the interfaces that were previously determined as being fully programmed should result in a port channel that meets the min-speed setting. Accordingly, the actor enables the interfaces that were previously determined as being fully programmed for negotiation and programming. In some embodiments, for example, the actor can begin negotiating each such interface with its corresponding interface on the partner to advance its state to fully programmed. Processing in the retry phase can be deemed complete. Note that some interfaces that were previously determined to be fully programmed may fail to become fully programmed. Because the review timer was initiated at operation 326, such interfaces will be identified in the review phase.
  • In accordance with some embodiments, the processing shown in FIGS. 3B and 3C can be initiated in response to the actor detecting a state change in a member of the port channel. For example, the actor can initiate an instance of the review timer which will invoke FIG. 3B and the subsequent processing that follows.
  • The discussion will now turn to a description of various failure scenarios to illustrate processing by the actor to verify that the port channel meets the min-speed setting in accordance with the present disclosure. Each scenario begins with the following configuration/initial conditions:
      • the port channel is configured with four 1 Gbps (member) interfaces et1, et2, et3, et4
      • initially, et1 and et2 can be fully programmed
      • initially, et3 and et4 can only be partially programmed
      • min-speed is set to 4 Gbps
    Scenario 1
  • In this scenario, we consider the following situation:
      • et1, et2 remain in a condition that they can be fully programmed after having been un-programmed
      • the condition of et3, et4 changes so they can be fully programmed
  • Initial configuration
      • enable negotiation and programming for all four member interfaces
      • start review timer when at least one member reaches collecting state
      • NOTE—min-speed will not be met because et3 and et4 are only partially programmed
  • First review phase (review timer expires)
      • detect that actual speed of port channel is less than min-speed due to et3 and et4 being partially programmed (decision 314)
      • identify partially programmed members to be et3, et4 (operation 316)
      • un-program all members (operation 318)
      • start retry timer—this gives time for the condition(s) that limited et3 and et4 to the partially programmed state to correct
  • First retry phase (retry timer expires)
      • enable partially programmed members et3 and et4, which are currently un-programmed, for negotiation/programming (operation 324)
      • start review timer when at least one member reaches collecting state (operation 326)
      • continue negotiation/programming of et3 and et4 (operation 328)
      • detect that the et3, et4 are fully programmed and the effective speed meets min-speed (decision 330)
      • enable previous fully programmed members et1 and et2, which are currently un-programmed, for negotiation/programming (operation 332)
      • NOTE—for this scenario, et3 and et4 will become fully programmed, the port channel will be reviewed for min-speed when the review timer expires
  • Second review phase (review timer expires)
      • detect that actual speed of port channel is greater than or equal to min-speed
      • the port channel remains link-up, with all the members active in it
    Scenario 2
  • In this scenario, we consider the following situation:
      • et1, et2 remain in a condition that they can be fully programmed after having been un-programmed
      • et3, et4 changes so they can be fully programmed, but not until after an additional review/retry cycle
  • Initial configuration
      • enable negotiation and programming for all four member interfaces
      • start review timer when at least one member reaches collecting state
      • NOTE—min-speed will not be met because et3 and et4 are only partially programmed
  • First review phase (review timer expires)
      • detect that actual speed of port channel is less than min-speed due to et3 and et4 being partially programmed
      • identify partially programmed members to be et3, et4
      • un-program all members
      • start retry timer—this gives time for the condition(s) that limited et3 and et4 to the partially programmed state to correct
  • First retry phase (retry timer expires)
      • enable partially programmed members et3 and et4, which are currently un-programmed, for negotiation/programming
      • start review timer when at least one member reaches collecting state
      • continue negotiation/programming of et3 and et4
      • detect that the et3, et4 are partially programmed and the effective speed does not meet min-speed
      • NOTE—for this scenario, et3 and et4 again only reach the partially programmed state, so min-speed will not be met; et1 and et2 are not enabled (operation 332 is bypassed)
  • Second review phase (review timer expires)
      • detect that actual speed of port channel is less than min-speed due to et3 and et4 still being partially programmed
      • identify partially programmed members to be et3, et4 (again)
      • un-program et3 and et4, noting that et1 and et2 had been un-programmed and had not been re-enabled for negotiation/programming
      • start retry timer—this provides another chance for the condition(s) that limited et3 and et4 to the partially programmed state to correct
  • Second retry phase (retry timer expires)
      • enable partially programmed members et3 and et4, which are currently un-programmed, for negotiation/programming
      • start review timer when at least one member reaches collecting state
      • continue negotiation/programming of et3 and et4
      • detect that the et3, et4 are fully programmed and the effective speed meets min-speed
      • enable previous fully programmed members et1 and et2, which are still un-programmed, for negotiation/programming
      • NOTE—for this scenario et3 and et4 will become fully programmed, the port channel will be reviewed for min-speed when the review timer expires
  • Third review phase (review timer expires)
      • detect that actual speed of port channel is greater than or equal to min-speed
      • the port channel remains link-up, with all the members active in it
    Scenario 3
  • In this scenario, we consider the following situation:
      • et2 remains in a condition that it can be fully programmed after having been un-programmed
      • the condition of et3, et4 changes so they can be fully programmed
      • the condition of et1 changes so that it cannot be fully programmed after having been un-programmed
  • Initial configuration
      • enable negotiation and programming for all four member interfaces
      • start review timer when at least one member reaches collecting state
      • NOTE—min-speed will not be met because et3 and et4 are only partially programmed
  • First review phase (review timer expires)
      • detect that actual speed of port channel is less than min-speed due to et3 and et4 being partially programmed
      • identify partially programmed members to be et3, et4
      • un-program all members
      • start retry timer—this gives time for the condition(s) that limited et3 and et4 to the partially programmed state to correct
  • First retry phase (retry timer expires)
      • enable partially programmed members et3 and et4, which are currently un-programmed, for negotiation/programming
      • start review timer when at least one member reaches collecting state
      • continue negotiation/programming of et3 and et4
      • detect that the et3, et4 are fully programmed and the effective speed meets min-speed
      • enable previous fully programmed members et1 and et2, which are currently un-programmed, for negotiation/programming
      • NOTE—recall from above that for this scenario the condition of et1 changes so that it cannot become fully programmed after having been un-programmed
  • Second review phase (review timer expires)
      • detect that actual speed of port channel is less than min-speed due to et1 being partially programmed
      • identify partially programmed members to be et1
      • un-program all members
      • start retry timer—this provides a chance for the condition(s) that limited et1 to the partially programmed state to correct
  • Second retry phase (retry timer expires)
      • enable partially programmed member et1, which is currently un-programmed, for negotiation/programming
      • start review timer when at least one member reaches collecting state
      • continue negotiation/programming of et1
      • detect that the et1 is fully programmed and the effective speed meets min-speed
      • enable previous fully programmed members et2, et3, et4, which are un-programmed, for negotiation/programming
      • NOTE—assume that et2-et4 remain good, and et1 becomes good
  • Third review phase (review timer expires)
      • detect that actual speed of port channel is greater than or equal to min-speed
      • the port channel remains link-up, with all the members active in it
  • FIG. 4 depicts an example of a network device 400 in accordance with some embodiments of the present disclosure. In some embodiments, network device 400 can be a switch (e.g., actor switch, FIG. 1). As shown, network device 400 includes a management module 402, an internal fabric module 404, and a number of I/O modules 406 a-406 p. Management module 402 includes the control plane (also referred to as control layer) of network device 400 and can include one or more management CPUs 408 for managing and controlling operation of network device 400 in accordance with the present disclosure. Each management CPU 408 can be a general purpose processor, such as but not limited to an Intel®/AMD® x86 or ARM® processor, that operates under the control of software stored in a memory (not shown), such as dynamic random access memory (DRAM). Control plane refers to all the functions and processes that determine which path to use, such as routing protocols, spanning tree, and the like.
  • Internal fabric module 404 and I/O modules 406 a-406 p collectively represent the data plane of network device 400 (also referred to as data layer, forwarding plane, etc.). Internal fabric module 404 is configured to interconnect the various other modules of network device 400. Each I/O module 406 a-406 p includes one or more input/output ports (interfaces) 410 a-410 p that are used by network device 400 to send and receive network packets. Each I/O module 406 a-406 p can also include a packet processor 412 a-412 p. Each packet processor 412 a-412 p can comprise a forwarding hardware component (e.g., application specific integrated circuit (ASIC), field programmable array (FPGA), digital processing unit, graphics coprocessors, content-addressable memory, and the like) configured to make wire speed decisions on how to handle incoming (ingress) and outgoing (egress) network packets. In accordance with some embodiments some aspects of the present disclosure can be performed wholly within the data plane.
  • FURTHER EXAMPLES
  • In accordance with the present disclosure, a method in a network device for configuring a port channel comprising a plurality of member interfaces of the network device comprises (a) initiating a first timer to run for a first period of time; (b) in response to (i) expiration of the first timer and (ii) a communication speed of the port channel being less than a predetermined speed, wherein the communication speed is a sum of speeds associated with member interfaces in the plurality of member interfaces that are fully programmed, the method includes: (c) un-programming each of the plurality of member interfaces; (d) initiating a second timer to run for a second period of time; (e) in response to expiration of the second timer, enabling programming for each member interface in a first subset of the plurality of member interfaces followed by enabling programming for each member interface in a second subset of the plurality of member interfaces; and (f) initiating the first timer to run for the first period of time; and (g) performing one or more sets of operations (b)-(f) until the communication speed of the port channel is greater than or equal to the predetermined speed.
  • In some embodiments, the first subset comprises member interfaces that were not fully programmed upon expiration of the first timer, and the second subset comprises member interfaces that were fully programmed upon expiration of the first timer.
  • In some embodiments, the method further comprises enabling programming for each member interface in the second subset of the plurality of member interfaces when speeds associated with member interfaces in the first subset that become fully programmed plus speeds associated with member interfaces in the second subset is greater than or equal to the predetermined speed.
  • In some embodiments, when a given member interface is enabled for programming, the given member interface performs programming during running of the first timer.
  • In some embodiments, a given member interface can be programmed to a collecting state or a collecting and distributing state, wherein the given member interface is deemed to be fully programmed when it is in the collecting and distributing state.
  • In some embodiments, enabling programming for a given interface includes the given interface communicating with a corresponding interface on a second network device, wherein the communication results in the given interface becoming fully programmed or failing to become fully programmed.
  • In accordance with the present disclosure, a method in a network device for configuring a port channel, comprise: (a) enabling programming of each of a plurality of member interfaces of a port channel, wherein a member interface that is enabled for programming can be programmed to an intermediate communication state or a final communication state; (b) determining a communication speed of the port channel, wherein the communication speed of the port channel is computed as a sum of speeds of member interfaces that are programmed to the final communication state; (c) in response to the communication speed of the port channel being less than a threshold speed, un-programming each of the plurality of member interfaces; and (d) enabling programming of one or more of the plurality of member interfaces.
  • In some embodiments, the operations (b)-(d) are repeated until the communication speed of the port channel is greater than or equal to the threshold speed.
  • In some embodiments, the method further comprises delaying for a first period of time between operations (a) and (b). In some embodiments, the method further comprises performing programming operations during the first period of time on member interfaces that are enabled for programming.
  • In some embodiments, the one or more of the plurality of member interfaces are member interfaces that were not programmed to the final communication state prior to un-programming each of the plurality of member interfaces.
  • In some embodiments, enabling programming of one or more of the plurality of member interfaces in operation (d) includes enabling programming only for member interfaces that were not programmed to the final communication state. In some embodiments, the method further comprises enabling for programming member interfaces that could be programmed to the final communication state subsequent to enabling programming only for member interfaces that were not programmed to the final communication state.
  • In some embodiments, enabling programming for a given interface includes the given interface communicating with a corresponding interface on a second network device, wherein the communication results in the given interface becoming programmed to the final communication state or failing to be programmed to the final communication state.
  • In accordance with the present disclosure, a network device comprises: a plurality of interfaces; one or more computer processors; and a computer-readable storage medium comprising instructions for controlling the one or more computer processors to: configure a port channel with a subset of the plurality of interfaces, including enable programming for all of the interfaces of the port channel; detect that a communication speed of a port channel is less than a predetermined threshold speed, wherein first interfaces of the port channel are deemed fully programmed and second interfaces of the port channel are deemed not fully programmed, wherein the communication speed of the port channel is a sum of speeds associated with the first interfaces of the port channel; in response to detecting that the communication speed of the port channel is less than the predetermined threshold speed, un-program all of the interfaces of the port channel; and at a time subsequent to un-programming each of the interfaces of the port channel, re-enable programming of the interfaces of the port channel.
  • In some embodiments, re-enabling programming of the interfaces of the port channel includes re-enabling programming of the second interfaces of the port channel only, followed by re-enabling programming of the first interfaces of the port channel. In some embodiments, the computer-readable storage medium further comprises instructions for controlling the one or more computer processors to re-enable programming of the first interfaces of the port channel only when speeds associated with the second interfaces that become fully programmed plus speeds associated with the first interface is greater than or equal to the predetermined threshold speed.
  • In some embodiments, when a given interface of the port channel is enabled for programming, the network device communicates with a corresponding interface on a second network device to which the given interface is connected, wherein the communication results in the given interface being fully programmed or not fully programmed.
  • In some embodiments, the computer-readable storage medium further comprises instructions for controlling the one or more computer processors to delay for a predetermined period of time prior to re-enabling programming of the interfaces of the port channel.
  • In some embodiments, a given member interface can be programmed to a collecting state or a collecting and distributing state, wherein the given member interface is deemed to be fully programmed when it is in the collecting and distributing state.
  • The above description illustrates various embodiments of the present disclosure along with examples of how aspects of the present disclosure may be implemented. The above examples and embodiments should not be deemed to be the only embodiments, and are presented to illustrate the flexibility and advantages of the present disclosure as defined by the following claims. Based on the above disclosure and the following claims, other arrangements, embodiments, implementations and equivalents may be employed without departing from the scope of the disclosure as defined by the claims.

Claims (20)

1. A method in a network device for configuring a port channel comprising a plurality of member interfaces of the network device, the method comprising:
(a) initiating a first timer to run for a first period of time;
(b) in response to (i) expiration of the first timer and (ii) a communication speed of the port channel being less than a predetermined speed, wherein the communication speed is a sum of speeds associated with member interfaces in the plurality of member interfaces that are fully programmed:
(c) un-programming each of the plurality of member interfaces;
(d) initiating a second timer to run for a second period of time;
(e) in response to expiration of the second timer, enabling programming for each member interface in a first subset of the plurality of member interfaces followed by enabling programming for each member interface in a second subset of the plurality of member interfaces; and
(f) initiating the first timer to run for the first period of time; and
(g) performing one or more sets of operations (b)-(f) until the communication speed of the port channel is greater than or equal to the predetermined speed.
2. The method of claim 1, wherein the first subset comprises member interfaces that were not fully programmed upon expiration of the first timer, and the second subset comprises member interfaces that were fully programmed upon expiration of the first timer.
3. The method of claim 1, further comprising enabling programming for each member interface in the second subset of the plurality of member interfaces when speeds associated with member interfaces in the first subset that become fully programmed plus speeds associated with member interfaces in the second subset is greater than or equal to the predetermined speed.
4. The method of claim 1, wherein when a given member interface is enabled for programming, the given member interface performs programming during running of the first timer.
5. The method of claim 1, wherein a given member interface can be programmed to a collecting state or a collecting and distributing state, wherein the given member interface is deemed to be fully programmed when it is in the collecting and distributing state.
6. The method of claim 1, wherein enabling programming for a given interface includes the given interface communicating with a corresponding interface on a second network device, wherein the communication results in the given interface becoming fully programmed or failing to become fully programmed.
7. A method in a network device for configuring a port channel, the method comprising:
(a) enabling programming of each of a plurality of member interfaces of a port channel, wherein a member interface that is enabled for programming can be programmed to an intermediate communication state or a final communication state;
(b) determining a communication speed of the port channel, wherein the communication speed of the port channel is computed as a sum of speeds of member interfaces that are programmed to the final communication state;
(c) in response to the communication speed of the port channel being less than a threshold speed, un-programming each of the plurality of member interfaces; and
(d) enabling programming of one or more of the plurality of member interfaces.
8. The method of claim 7, wherein the operations (b)-(d) are repeated until the communication speed of the port channel is greater than or equal to the threshold speed.
9. The method of claim 7, further comprising delaying for a first period of time between operations (a) and (b).
10. The method of claim 9, further comprising performing programming operations during the first period of time on member interfaces that are enabled for programming.
11. The method of claim 7, wherein the one or more of the plurality of member interfaces are member interfaces that were not programmed to the final communication state prior to un-programming each of the plurality of member interfaces.
12. The method of claim 7, wherein enabling programming of one or more of the plurality of member interfaces in operation (d) includes enabling programming only for member interfaces that were not programmed to the final communication state.
13. The method of claim 12, further comprising enabling for programming member interfaces that could be programmed to the final communication state subsequent to enabling programming only for member interfaces that were not programmed to the final communication state.
14. The method of claim 7, wherein enabling programming for a given interface includes the given interface communicating with a corresponding interface on a second network device, wherein the communication results in the given interface becoming programmed to the final communication state or failing to be programmed to the final communication state.
15. A network device comprising:
a plurality of interfaces;
one or more computer processors; and
a computer-readable storage medium comprising instructions for controlling the one or more computer processors to:
configure a port channel with a subset of the plurality of interfaces, including enable programming for all of the interfaces of the port channel;
detect that a communication speed of a port channel is less than a predetermined threshold speed, wherein first interfaces of the port channel are deemed fully programmed and second interfaces of the port channel are deemed not fully programmed, wherein the communication speed of the port channel is a sum of speeds associated with the first interfaces of the port channel;
in response to detecting that the communication speed of the port channel is less than the predetermined threshold speed, un-program all of the interfaces of the port channel; and
at a time subsequent to un-programming each of the interfaces of the port channel, re-enable programming of the interfaces of the port channel.
16. The network device of claim 15, wherein re-enabling programming of the interfaces of the port channel includes re-enabling programming of the second interfaces of the port channel only, followed by re-enabling programming of the first interfaces of the port channel.
17. The network device of claim 16, wherein the computer-readable storage medium further comprises instructions for controlling the one or more computer processors to re-enable programming of the first interfaces of the port channel only when speeds associated with the second interfaces that become fully programmed plus speeds associated with the first interface is greater than or equal to the predetermined threshold speed.
18. The network device of claim 15, wherein when a given interface of the port channel is enabled for programming, the network device communicates with a corresponding interface on a second network device to which the given interface is connected, wherein the communication results in the given interface being fully programmed or not fully programmed.
19. The network device of claim 15, wherein the computer-readable storage medium further comprises instructions for controlling the one or more computer processors to delay for a predetermined period of time prior to re-enabling programming of the interfaces of the port channel.
20. The network device of claim 15, wherein a given member interface can be programmed to a collecting state or a collecting and distributing state, wherein the given member interface is deemed to be fully programmed when it is in the collecting and distributing state.
US17/341,905 2021-04-02 2021-06-08 Review and retry for minimum speed port channel Active US11483102B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US17/341,905 US11483102B1 (en) 2021-04-02 2021-06-08 Review and retry for minimum speed port channel
US17/947,622 US11742998B2 (en) 2021-04-02 2022-09-19 Review and retry for minimum speed port channel

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US202163170138P 2021-04-02 2021-04-02
US17/341,905 US11483102B1 (en) 2021-04-02 2021-06-08 Review and retry for minimum speed port channel

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/947,622 Continuation US11742998B2 (en) 2021-04-02 2022-09-19 Review and retry for minimum speed port channel

Publications (2)

Publication Number Publication Date
US20220321268A1 true US20220321268A1 (en) 2022-10-06
US11483102B1 US11483102B1 (en) 2022-10-25

Family

ID=83449302

Family Applications (2)

Application Number Title Priority Date Filing Date
US17/341,905 Active US11483102B1 (en) 2021-04-02 2021-06-08 Review and retry for minimum speed port channel
US17/947,622 Active US11742998B2 (en) 2021-04-02 2022-09-19 Review and retry for minimum speed port channel

Family Applications After (1)

Application Number Title Priority Date Filing Date
US17/947,622 Active US11742998B2 (en) 2021-04-02 2022-09-19 Review and retry for minimum speed port channel

Country Status (1)

Country Link
US (2) US11483102B1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6374115B1 (en) * 1997-05-28 2002-04-16 Transcrypt International/E.F. Johnson Method and apparatus for trunked radio repeater communications with backwards compatibility
US7558874B1 (en) * 2008-11-12 2009-07-07 International Business Machines Corporation Energy efficient ethernet via dynamic adapter driver link speed negotiation
US20130308455A1 (en) * 2012-05-21 2013-11-21 Cisco Technology, Inc. Methods and apparatus for load balancing across member ports for traffic egressing out of a port channel
US20180054355A1 (en) * 2016-08-19 2018-02-22 Hewlett Packard Enterprise Development Lp Micro-services for configuring switches
US20180115469A1 (en) * 2016-10-21 2018-04-26 Forward Networks, Inc. Systems and methods for an interactive network analysis platform
US20210028987A1 (en) * 2019-07-23 2021-01-28 EMC IP Holding Company, LLC System and method for network validation architecture for clustered and federated storage systems
US20210218628A1 (en) * 2020-01-14 2021-07-15 Dell Products L.P. Aggregated networking device maintenance system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10345541A1 (en) * 2003-09-30 2005-04-28 Siemens Ag Method for setting the transmission parameters of grouped, broadband transmission channels
JP4648207B2 (en) * 2006-01-31 2011-03-09 富士通株式会社 Transmission apparatus and line speed changing method
US20120189259A1 (en) * 2010-12-15 2012-07-26 Leviton Manufacturing Co., Inc. Pre-terminated fiber devices, systems, and methods

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6374115B1 (en) * 1997-05-28 2002-04-16 Transcrypt International/E.F. Johnson Method and apparatus for trunked radio repeater communications with backwards compatibility
US7558874B1 (en) * 2008-11-12 2009-07-07 International Business Machines Corporation Energy efficient ethernet via dynamic adapter driver link speed negotiation
US20130308455A1 (en) * 2012-05-21 2013-11-21 Cisco Technology, Inc. Methods and apparatus for load balancing across member ports for traffic egressing out of a port channel
US20180054355A1 (en) * 2016-08-19 2018-02-22 Hewlett Packard Enterprise Development Lp Micro-services for configuring switches
US20180115469A1 (en) * 2016-10-21 2018-04-26 Forward Networks, Inc. Systems and methods for an interactive network analysis platform
US20210028987A1 (en) * 2019-07-23 2021-01-28 EMC IP Holding Company, LLC System and method for network validation architecture for clustered and federated storage systems
US20210218628A1 (en) * 2020-01-14 2021-07-15 Dell Products L.P. Aggregated networking device maintenance system

Also Published As

Publication number Publication date
US11742998B2 (en) 2023-08-29
US20230027800A1 (en) 2023-01-26
US11483102B1 (en) 2022-10-25

Similar Documents

Publication Publication Date Title
US11356319B2 (en) Distinguishing network vs server issues when diagnosing application performance problems
EP1754071B1 (en) System and method for detecting link failures
JP6105155B2 (en) Method and system for exchanging information between same end-to-end systems in DRNI
US7284067B2 (en) Method for integrated load balancing among peer servers
US9660864B2 (en) Staged port initiation of inter switch links
US20080253295A1 (en) Network system and node apparatus
US8289839B2 (en) Scaling BFD sessions for neighbors using physical / sub-interface relationships
US20080205402A1 (en) Network resource teaming on a per virtual network basis
US20160065479A1 (en) Distributed input/output architecture for network functions virtualization
EP3955530A1 (en) Managing network ports in a virtualization environment
US20080259797A1 (en) Load-Balancing Bridge Cluster For Network Nodes
WO2007022238A2 (en) High-availability networking with intelligent failover
US10530636B2 (en) Link management method, device and system in virtual machine environment
WO2015167597A1 (en) Data plane to forward traffic based on communications from a software defined networking (sdn) controller during control plane failure
CN109245961B (en) Link quality detection method, device, storage medium and equipment
CN112491700B (en) Network path adjustment method, system, device, electronic equipment and storage medium
US9984028B2 (en) Redundancy for port extender chains
CN107948063B (en) Method for establishing aggregation link and access equipment
EP1803259B1 (en) Carrier class resilience solution for switched ethernet local area networks (lans)
CN114303349A (en) Bidirectional Forwarding Detection (BFD) offload in virtual network interface controllers
WO2021050435A1 (en) Determining connectivity between compute nodes in multi-hop paths
WO2017000096A1 (en) Link recovery method and network device
CN113364678B (en) Data transmission system, method, device, electronic equipment and computer readable medium
WO2017041577A1 (en) Method and device for managing link aggregation member port packet loss
US11425030B2 (en) Equal cost multi-path (ECMP) failover within an automated system (AS)

Legal Events

Date Code Title Description
AS Assignment

Owner name: ARISTA NETWORKS, INC., CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:VERMA, UTKARSHA;WEN, VICTOR;ANNE, VAMSI;REEL/FRAME:056472/0169

Effective date: 20210607

FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCF Information on status: patent grant

Free format text: PATENTED CASE