Hostsvc/net/vswitch setpolicy

From VI-Toolkit
Jump to navigation Jump to search

vimsh hostsvc/net/vswitch_setpolicy

Usage: vswitch_setpolicy [OPTIONS] vswitch

Changes the policies of a virtual switch.


      Allow promiscuous mode.

      Allow MAC address to be changed.

      Allow forged transmits.

      Enabled shaper.

      Average bandwidth.

      Peak bandwidth.

      Burst size.

      List of active NICs.

      Order in which failover should occur.

      Detecting failover using link speed check

      The speed for link speed check method

      Detecting failover using link duplex check

      The duplexity for link duplex check method

      Detecting failover using link error percentage

      The error percentage for link error percentage check method

      Detecting failover using the beacon

      Nic-Teaming policy.

      Apply the teaming policy to inbound frames as well.

      Notify switches when detects a link failure.

      Whether or not to use rolling failover.

      Checksum offload

      TCP segment offload

      Scatter gather


This works on ESX 3.5 U3 forum reference

vmware-vim-cmd /hostsvc/net/vswitch_setpolicy --failurecriteria-check-beacon 1 vSwitch0