VMware vSphere

 View Only
  • 1.  How to make a lacp timeout persistant (vDS)

    Posted Dec 29, 2020 03:45 AM

    I configured uplink port as LACP. A timeout of LACPDU set "fast" because of a requirement of VM. 

    Unfortunately, after rebooting ESXi host the timeout setting of LACPDU wads backed to "slow".

    How to make a lacp timeout persistent as "fast" ? 

     

    1. set lacpdu timeout as fast

    [root @Node3:~] esxcli network vswitch dvs vmware lacp timeout set -l -1588987475 -t 1 -s Stg-Dswitch-01

     

    2.confirm lacpdu timeout is fast

    [root@Node3:~] esxcli network vswitch dvs vmware lacp status get -s Stg-Dswitch-01

    Stg-Dswitch-01

       DVSwitch: Stg-Dswitch-01

       Flags: S - Device is sending Slow LACPDUs, F - Device is sending fast LACPDUs, A - Device is in active mode, P - Device is in passive mode

       LAGID: -1588987475

       Mode: Active

       Nic List:

             Local Information:

             Admin Key: 15

             Flags: FA

             Oper Key: 15

             Port Number: 32771

             Port Priority: 255

             Port State: ACT,FTO,AGG,SYN,COL,DIST,

             Nic: vmnic3

             Partner Information:

             Age: 00:00:01

             Device ID: 00:23:04:ee:be:03

             Flags: FA

             Oper Key: 32776

             Port Number: 16665

             Port Priority: 32768

             Port State: ACT,FTO,AGG,SYN,COL,DIST,

             State: Bundled

    3.reboot ESXi

     

    4.lacpdu timeout is backed to slow

    [root@Node1:~] esxcli network vswitch dvs vmware lacp status get -s Stg-Dswitch-01

    Stg-Dswitch-01

       DVSwitch: Stg-Dswitch-01

       Flags: S - Device is sending Slow LACPDUs, F - Device is sending fast LACPDUs, A - Device is in active mode, P - Device is in passive mode

       LAGID: -1588987475

       Mode: Active

       Nic List:

             Local Information:

             Admin Key: 15

             Flags: SA

             Oper Key: 15

             Port Number: 32770

             Port Priority: 255

             Port State: ACT,AGG,SYN,COL,DIST,

             Nic: vmnic2

             Partner Information:

             Age: 00:00:01

             Device ID: 00:23:04:ee:be:03

             Flags: FA

             Oper Key: 32775

             Port Number: 277

             Port Priority: 32768

             Port State: ACT,FTO,AGG,SYN,COL,DIST,

             State: Bundled

     

     

    [Environment]

    vSphere 6.5u2g

    vDS 6.5

     



  • 2.  RE: How to make a lacp timeout persistant (vDS)

    Posted Sep 21, 2022 11:15 AM

    Hello,

    we have the same problem with ESXi7, for me the permanent option doesn't exists.
    Do you know to load the commands on startup?

    Best

    Stefan



  • 3.  RE: How to make a lacp timeout persistant (vDS)

    Posted Sep 29, 2022 02:13 PM

    you have to upgrade your vDS to version 7.0.2, then you can set LACP fast in the vCenter UI:
    https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.networking.doc/GUID-34A96848-5930-4417-9BEB-CEF487C6F8B6.html

    thinkz_0-1664460733631.png

     

    best

    Stefan



  • 4.  RE: How to make a lacp timeout persistant (vDS)

    Posted Oct 18, 2022 03:57 AM

    Hi Stefan,

    Thank you for your information.

    Before upgrading 7.0.2, I used local.sh as workaround.

    After 7.0.2 I could confirm I set it by vCenter UI.

    Regards,

    Kazuki