vSwitches are set to detect Cisco port information by default. You can also set the CDP mode so that a vSwitch makes information available to the Cisco switch administrator.

1

Log in directly to your ESX host's console.

2

View the current CDP mode for the a vSwitch by entering the esxcfg-vswitch -b <vSwitch> command.

If CDP is disabled, the mode will be shown as down.

3

Change the CDP mode by entering the esxcfg-vswitch -B <mode> <vSwitch> command.

Mode

Description

down

CDP is disabled.

listen

ESX detects and displays information about the associated Cisco switch port, but information about the vSwitch is not available to the Cisco switch administrator.

advertise

ESX makes information about the vSwitch available to the Cisco switch administrator, but does not detect and display information about the Cisco switch.

both

ESX detects and displays information about the associated Cisco switch and makes information about the vSwitch available to the Cisco switch administrator.