Update to Enabling vSwitch CDP (vMA 4.1)

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.

This entry was posted in Virtualization. Bookmark the permalink.

One Response to Update to Enabling vSwitch CDP (vMA 4.1)

  1. Pingback: EnterpriseAdmins.org » Blog Archive » Free VMware Transition to ESXi Essentials course

Leave a Reply

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

*

Notify me of followup comments via e-mail. You can also subscribe without commenting.