US 11,799,795 B2
Distributing shaped sub interfaces to member ports of a port channel
Athichart Tangpong, Sunnyvale, CA (US); Rajnish Gupta, Fremon, CA (US); and Francois Labonte, Menlo Park, CA (US)
Assigned to ARISTA NETWORKS, INC., Santa Clara, CA (US)
Filed by Arista Networks, Inc., Santa Clara, CA (US)
Filed on May 28, 2021, as Appl. No. 17/333,240.
Prior Publication US 2022/0385592 A1, Dec. 1, 2022
Int. Cl. H04L 12/873 (2013.01); H04L 47/52 (2022.01); H04L 47/22 (2022.01); H04L 47/78 (2022.01); H04L 41/0896 (2022.01); H04L 47/28 (2022.01)
CPC H04L 47/522 (2013.01) [H04L 41/0896 (2013.01); H04L 47/225 (2013.01); H04L 47/28 (2013.01); H04L 47/781 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method for configuring a first port channel subinterface to send associated network traffic through a corresponding one of a plurality of physical interfaces of a port channel of a network device, the method comprising:
receiving, by an anchor interface assigner, a first request to configure a first shape rate for a first port channel subinterface, wherein the shape rate is an amount of bandwidth that the first port channel subinterface is allowed to use, and wherein the first port channel subinterface is capable of being assigned to any of a plurality of physical interfaces of a port channel;
initiating, by the anchor interface assigner, a discovery process, based on the first request, to identify the plurality of physical interfaces, wherein the plurality of physical interfaces comprises a first physical interface and a second physical interface;
generating, by the anchor interface assigner, using the identified plurality of physical interfaces, a physical interface set specifying:
the first physical interface and a first allocated bandwidth associated with the first physical interface, wherein the first allocated bandwidth is a configurable amount of bandwidth allowed to be used on the first physical interface, wherein the first allocated bandwidth is distinct from a first amount of network traffic through the first physical interface, and wherein the first amount of network traffic through the first physical interface is no more than the first allocated bandwidth; and
the second physical interface and a second allocated bandwidth associated with the second physical interface, wherein the second allocated bandwidth is a configurable amount of bandwidth allowed to be used on the second physical interface, wherein the second allocated bandwidth is distinct from a second amount of network traffic through the second physical interface, and wherein the second amount of network traffic through the second physical interface is no more than the second allocated bandwidth;
making a selection, by the anchor interface assigner, using the physical interface set, of the first physical interface based on the first allocated bandwidth being lesser than the second allocated bandwidth;
assigning, by the anchor interface assigner, the first physical interface as a first anchor interface for the first port channel subinterface, wherein any network traffic received or transmitted by the first port channel subinterface is sent through the first anchor interface;
adding, by the anchor interface assigner, the first shape rate to the first allocated bandwidth to obtain a first new allocated bandwidth for the first physical interface, the first new allocated bandwidth being no greater than a physical bandwidth of the first physical interface,
wherein the first new allocated bandwidth is used in a future anchor interface assignment; and
transmitting and receiving, by the first port channel subinterface after the future anchor interface assignment, network traffic through the first anchor interface, the network traffic having a rate which is no more than the first shape rate.