Changing Beacon Probing settings using the command line
search cancel

Changing Beacon Probing settings using the command line

book

Article ID: 311349

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

This article describes changing Beacon Probing using the command line. This changes network settings for Network Failure Detection from Link Status Only to Beacon Probing for the vSwitch, virtual machine network, and Service Console.

Environment

VMware vSphere ESXi 6.x
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x

 

Resolution

  • To set vSwitch0 to Beacon Probing, run the command:

    esxcli network vswitch standard policy failover set -f beacon -v vSwitch0

  • To set vSwitch0 to Link Status Only, run the command:

    esxcli network vswitch standard policy failover set -f link -v vSwitch0
  • To verify the setting changes, run the command:

    esxcli network vswitch standard policy failover get -v vSwitch0


    You see output similar to:

    Load Balancing: srcport
    Network Failure Detection: beacon <<<<<
    Notify Switches: true
    Failback: true
    Active Adapters: vmnic1
    Standby Adapters:
    Unused Adapters:



Additional Information

At least 3 or more physical NICs in the team connected to 3 separate physical switches must be assigned to the NIC TEAM to successfully configure Beacon probing, otherwise you see an error similar to:

(vmodl.fault.InvalidArgument)
{
dynamicType = <unset>,
invalidProperty = <unset>,
msg = "A specified parameter was not correct."
}
 
For more information on Beacon Probing, see What is beacon probing?