Con esxcfg-vswitch vSwitch1 -p “Service Console” -v 10
dove per -v = vlan modifico la vlan id del portgroup “Service Console” sullo switch virtuale vSwitch1
Con “esxcfg-vswitch -B both vSwitch0” si abilita il cdp anche in avertise, così dallo switch Cisco è visibile la vm e la vmnic collegata.
formigine_sw_02#sh cdp nei
Capability Codes: R – Router, T – Trans Bridge, B – Source Route Bridge
S – Switch, H – Host, I – IGMP, r – Repeater, P – Phone
Device ID Local Intrfce Holdtme Capability Platform Port ID
GIARDINI-01 Fas 0/12 149 R S I 2801 Fas 0/0
ap-formigine Fas 0/28 149 T AIR-AP123 Fas 0
formigine_sw_01.neg.estense.coop.it
Fas 0/24 129 S I WS-C2950- Fas 0/24
vm9960a Fas 0/17 161 S VMware ES vmnic0
vm9960b Fas 0/16 176 S VMware ES vmnic1