VMware Goodies

CDP

Configuring

First verify how CDP is configured:

# esxcfg-vswitch -b vSwitch1

If you want to enable sending of CDP:

# esxcfg-vswitch -B vSwitch1

View CDP information CLI

# vim-cmd hostsvc/net/query_networkhint

 

Change hostname

Networking -> TCP/IP Stacks -> Default TCP/IP Stack -> Edit Settings