Hi guys
I wrote a script for enable LLDP on standard switch. but it didn't work out.
I don't know what to do next.
I'm using powershell 5 and powercli 6.5
BTW: How can I make my script have highlight keywords in here.
$vmhost_all = Get-VMHost
foreach ($vmhost in $vmhost_all) {
$esxcli = Get-EsxCli -VMHost $vmhost
$esxcli.network.vswitch.standard.set(“both“,$null,“vSwitch0“ )
}
Afaik, LLDP is only available on distributed switches.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Afaik, LLDP is only available on distributed switches.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
This might get late for you, but FTR, look at http://blog.shanonolsson.com/2014/01/03/lldp-and-standard-virtual-switches/
I'm using this to get an APIC to discover an ESXi with LLDP, I see the LLDP packets so it seems to be working.
(yet no, the APIC is not seeing it )