Member link status change handling for aggregate interfaces
First Claim
Patent Images
1. A method, comprising:
- establishing a respective encapsulation list for each of a plurality of aggregate interfaces of a network device, each of the encapsulation lists specifying addresses for a plurality of member links of the respective aggregate interface, wherein at least one of the encapsulation lists specifies addresses for member links different from members links specified by others of the plurality of encapsulation lists;
associating a plurality of masks with the plurality of encapsulation lists of the aggregate interfaces, wherein each of the plurality of masks corresponds to one of the plurality of encapsulation lists, and wherein each of the plurality of masks identifies a current state of each member link in the corresponding aggregate interface, and wherein the current state comprises one of an inactive state and an active state;
receiving a data unit;
selecting an aggregate interface of the plurality of aggregate interfaces for forwarding the data unit;
identifying the encapsulation list for the selected aggregate interface; and
selecting the mask that corresponds to the identified encapsulation list;
determining active member links in the identified encapsulation list of the selected aggregate interface by identifying active member link addresses in the encapsulation list based on the selected mask; and
forwarding the data unit on one of the active member links.
1 Assignment
0 Petitions
Accused Products
Abstract
A method is provided for handling member link state changes in an aggregate interface. An aggregate interface may be established to include a number of member links. A mask may be associated with the aggregate interface, where the mask identifies a current state of each member link in the aggregate interface. The mask is retrieved and used to identify active links in the aggregate interface when packets are received for forwarding on the aggregate interface.
48 Citations
13 Claims
-
1. A method, comprising:
-
establishing a respective encapsulation list for each of a plurality of aggregate interfaces of a network device, each of the encapsulation lists specifying addresses for a plurality of member links of the respective aggregate interface, wherein at least one of the encapsulation lists specifies addresses for member links different from members links specified by others of the plurality of encapsulation lists; associating a plurality of masks with the plurality of encapsulation lists of the aggregate interfaces, wherein each of the plurality of masks corresponds to one of the plurality of encapsulation lists, and wherein each of the plurality of masks identifies a current state of each member link in the corresponding aggregate interface, and wherein the current state comprises one of an inactive state and an active state; receiving a data unit; selecting an aggregate interface of the plurality of aggregate interfaces for forwarding the data unit; identifying the encapsulation list for the selected aggregate interface; and selecting the mask that corresponds to the identified encapsulation list; determining active member links in the identified encapsulation list of the selected aggregate interface by identifying active member link addresses in the encapsulation list based on the selected mask; and forwarding the data unit on one of the active member links. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A network device comprising:
-
a packet forwarding engine circuitry configured to receive a data unit for forwarding on one of a plurality of aggregate interfaces, wherein each of the plurality of the aggregate interfaces comprises a set of member links, wherein each of the sets of member links includes member links different from members links of other sets of member links; an encapsulation component configured to retrieve, from a plurality of encapsulation lists, an encapsulation list associated with the data unit, wherein the encapsulation list includes addresses associated with the member links in the one of the plurality of the aggregate interfaces, and wherein each of the plurality of encapsulation lists corresponds to one of the plurality of aggregate interfaces; the encapsulation component further configured to retrieve a mask associated with the one of the plurality of the aggregate interfaces, the mask identifying a current state of each member link in the one of the plurality of the aggregate interfaces; the encapsulation component further configured to identify an active member link in the one of the plurality of the aggregate interfaces based on the mask; and a load balancing component configured to forward the data unit on the identified active member link. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A network device, comprising:
logic configured to; receive a packet; identify a flow associated with the packet, wherein the flow designates a plurality of mask addresses and a plurality of list addresses each of which associated with one of a plurality of aggregate interfaces, wherein at least one of the list addresses specifies addresses for member links of the one of the plurality of aggregate interfaces different from members links specified by others of the plurality of list of addresses; retrieve a mask from the plurality of mask addresses that includes state identifiers indicating a current state of each member link in the one of the plurality of the aggregate interfaces; retrieve a list from the plurality of the list addresses based on the retrieved mask, wherein the list includes addresses for active links identified in the retrieved mask; and forward the packet to an active link address identified in the list. - View Dependent Claims (13)
Specification