6.0.1

Table Of Contents
ESXi Serial Port Modes
ESXi supports four serial port modes.
There are four serial port modes in ESXi:
Logging mode – Logging mode is the default mode in a debug build. Logging mode sends the vmkernel.log
over the serial port.
GDB mode – Use GDB mode for dedicated debugging.
Shell mode – Shell mode is the shell port access, which is similar to SSH.
DCUI mode – DCUI mode is a Direct Console User Interface. This is the user interface that is displayed
when you boot ESXi using a monitor.
N Only COM1 and COM2 ports are supported. USB serial or PCI serial cards are not supported.
Dynamic Switching Keystrokes
ESXi includes a unique keystroke sequence that allows dynamic serial mode switching.
Dynamic Switching Keytrokes
Once the correct keystroke sequence is entered, the system switches the serial port to the desired mode.
Logging mode: Ctrl+G, Ctrl+B, 1
Shell mode: Ctrl+G, Ctrl+B, 2
DCUI mode: Ctrl+G, Ctrl+B, 3
GDB mode: Ctrl+G, Ctrl+B, ?
N Once in GDB mode, you cannot switch modes again using a key sequence. You must use the CLI to
switch modes.
Serial Port Dynamic Switching using the CLI
You can switch serial modes using the CLI.
Dynamic Switching using the CLI
Use esxcfg-advcfg to set the current mode to none. Then set the new desired mode using the CLI.
Logging mode: esxcfg-advcfg -s com1 /Misc/LogPort
Shell mode: esxcfg-advcfg -s com1 /Misc/ShellPort
DCUI mode: esxcfg-advcfg -s com1 /Misc/ConsolePort
GDB mode: esxcfg-advcfg -s com1 /Misc/GDBPort
Example: Example
If the serial mode is set to logging mode, it would require 2 commands to switch it to DCUI mode.
§. > esxcfg-advcfg –s none /Misc/LogPort
§. > esxcfg-advcfg –s com1 /Misc/ConsolePort
vCenter Server and Host Management
174 VMware, Inc.