In a previous article Enabling vSwitch Cisco Discovery Protocol (CDP) I discussed enabling CDP on a standard vSwitch using vMA. Today I deployed the vMA 4.1 and started configuring an ESXi 4.1 host — only to find out that vifpinit had been deprecated in 4.1. Here is a slightly updated post that will do the same thing using the newer vifptarget command:

sudo vifp addserver esxhostname.domain.name --username "root" --password "MyAdminPassword01"
vifptarget --set esxhostname.domain.name
vicfg-vswitch -B both vSwitch0
vicfg-vswitch -b vSwitch0

I had a handful of hosts to configure and was able to paste the above block of code into vMA (using SSH) and configure all of them rather quickly.

1 comment

Leave a Reply

Your email address will not be published. Required fields are marked *

© 2026 Enterprise Admins.org. Design inspired by the Clarity Design System. Not affiliated with or endorsed by Broadcom or VMware.