{"id":170,"date":"2010-10-07T08:49:40","date_gmt":"2010-10-07T12:49:40","guid":{"rendered":"http:\/\/enterpriseadmins.org\/blog\/?p=170"},"modified":"2010-10-07T08:49:40","modified_gmt":"2010-10-07T12:49:40","slug":"update-to-enabling-vswitch-cdp-vma-4-1","status":"publish","type":"post","link":"https:\/\/enterpriseadmins.org\/blog\/virtualization\/update-to-enabling-vswitch-cdp-vma-4-1\/","title":{"rendered":"Update to Enabling vSwitch CDP (vMA 4.1)"},"content":{"rendered":"<p>In a previous article <a href=\"http:\/\/enterpriseadmins.org\/blog\/?p=91\">Enabling vSwitch Cisco Discovery Protocol (CDP)<\/a> 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 &#8212; 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:<br \/>\n<\/p>\n<pre>\r\nsudo vifp addserver esxhostname.domain.name --username \"root\" --password \"MyAdminPassword01\"\r\nvifptarget --set esxhostname.domain.name\r\nvicfg-vswitch -B both vSwitch0\r\nvicfg-vswitch -b vSwitch0\r\n<\/pre>\n<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8212; only to find out that vifpinit &hellip; <a href=\"https:\/\/enterpriseadmins.org\/blog\/virtualization\/update-to-enabling-vswitch-cdp-vma-4-1\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-170","post","type-post","status-publish","format-standard","hentry","category-virtualization"],"_links":{"self":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/comments?post=170"}],"version-history":[{"count":4,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/170\/revisions"}],"predecessor-version":[{"id":174,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/170\/revisions\/174"}],"wp:attachment":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/media?parent=170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/categories?post=170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/tags?post=170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}