Port Channel: Minimum Link Count

Minimum number of links per port-channel indicates the least number of links that need to be operationally UP in order to declare the port-channel as operationally UP. Users can provide an optional "min-link-count" per EFA port-channel during the PO create and PO update operations, which further gets configured on the SLX port-channel, .

Default value of min-link-count for a port-channel is 1, which is same as the SLX default value.

Update the min-link-count attribute value using min-link-count operation.

Provide the PO “min-link-count” during PO create and PO update operations. EFA validates the po-member-port-count >= po-min-link-count per device

Note

Note

During the upgrade from EFA 2.3.0 to EFA 2.4.0, the min-link-count for the port-channels is set to the default value 1.

2.3.2 to 2.4.0 Upgrade Handling

Note

Note

Single Homed to Dual Homed PO conversion is not allowed in EFA 2.4.0.

Port-Channel Create

efa tenant po create --name <po-name> --tenant <tenant-name> --description <po-description> 
        --speed <100Mbps|1Gbps|10Gbps|25Gbps|40Gbps|100Gbps> --negotiation <active|passive|static> 
	 --port <list-of-po-members> --min-link-count <min-link-count> 
        --number <po-number> --lacp-timeout <short|long>

Port-Channel Update

efa tenant po update --name <po-name> --tenant <tenant-name> 
         --operation <port-add|port-delete|lacp-timeout|description|min-link-count>
         --port <list-of-po-members> --lacp-timeout string <short|long> --min-link-count <min-link-count> 
         --description <po-description>

Example

efa tenant po create --name ten1po1 --tenant ten1 --port 10.20.246.15[0/1-2],10.20.246.16[0/1-2] 
--speed 10Gbps --negotiation active --description tenant1po1 --min-link-count 2

efa tenant po create --name ten1po2 --tenant ten1 --port 10.20.246.15[0/3],10.20.246.16[0/3] 
--speed 10Gbps --negotiation active 

efa tenant po update --name ten1po1 --tenant ten1 --operation port-delete --port 
10.20.246.15[0/1],10.20.246.16[0/1] --min-link-count 1

efa tenant po update --name ten1po1 --tenant ten1 --operation port-add --port 
10.20.246.15[0/1],10.20.246.16[0/1] --min-link-count 2

efa tenant po update --name ten1po1 --tenant ten1 --operation min-link-count --min-link-count 1

efa tenant po update --name ten1po1 --tenant ten1 --operation min-link-count --min-link-count 2

efa tenant po show
+---------+--------+----+--------+-------------+----------+---------+---------------------+------------+-------------+-------------+
|  Name   | Tenant | ID | Speed  | Negotiation | Min Link |  Lacp   |        Ports        |   State    |  Dev State  |  App State  |
|         |        |    |        |             |  Count   | Timeout |                     |            |             |             |
+---------+--------+----+--------+-------------+----------+---------+---------------------+------------+-------------+-------------+
| ten1po1 |  ten1  | 1  | 10Gbps |   active    |    2     |  long   | 10.20.246.15[0/1-2] | po-created | provisioned | cfg-in-sync |
|         |        |    |        |             |          |         | 10.20.246.16[0/1-2] |            |             |             |
+---------+--------+----+--------+-------------+----------+---------+---------------------+------------+-------------+-------------+
| ten1po2 |  ten1  | 2  | 10Gbps |   active    |    1     |  long   |  10.20.246.15[0/3]  | po-created | provisioned | cfg-in-sync |
|         |        |    |        |             |          |         |  10.20.246.16[0/3]  |            |             |             |
+---------+--------+----+--------+-------------+----------+---------+---------------------+------------+-------------+-------------+

Switch Config

Rack1-Device1# show running-
config interface Port-channel
interface Port-channel 1
 minimum-links 2
 description tenant1po1
 no shutdown
!
interface Port-channel 2
 description EFA Port-channel ten1po2
 no shutdown
!
Rack1-Device1#
Rack1-Device2# show running-
config interface Port-channel
interface Port-channel 1
 minimum-links 2
 description tenant1po1
 no shutdown
!
interface Port-channel 2
 description EFA Port-channel ten1po2
 no shutdown
!
Rack1-Device2#