You can set the maximum transmission unit (MTU) and CDP status for a virtual switch. The CDP status shows which Cisco switch port is connected to which uplink.

Specify one of the options listed in Connection Options for vCLI Host Management Commands in place of <conn_options>.

  • Set the MTU for a vSwitch.
    vicfg-vswitch <conn_options> -m 9000 vSwitch1
    The MTU is the size, in bytes, of the largest protocol data unit the switch can process. When you set this option, it affects all uplinks assigned to the virtual switch.
  • Set the CDP value for a vSwitch. You can set status to down, listen, advertise, or both.
    vicfg-vswitch <conn_options> --set-cdp 'listen'