Querying and Redirecting the Serial Port (serialdir)
Function
The serialdir command is used to query and set serial port redirection.
Format
ipmcget -d serialdir
ipmcset -d serialdir -v <option>
Parameters
Parameter |
Description |
Value |
---|---|---|
<option> |
Indicates the serial port to be used. |
The value range of this parameter varies with the server model. Before setting the serial port, run the ipmcget -d serialdir command to query the value range of this parameter. NOTE:
|
Usage Guidelines
- The redirection setting of the SOL port takes precedence over the setting of the serial port on the server panel. If you redirect the SOL port to the system or iBMC serial port that is currently redirected from the serial port on the server panel, the serial port on the server panel will become unavailable temporarily. The serial port on the server panel will restore its original setting only after the SOL port is disconnected.
- If the serial port (serial port on the panel or SOL serial port) is set as the system serial port, you can press Del during the OS startup process to enter the BIOS Setup screen.
Example
# Set the serial port on the server panel as the iBMC serial port.
iBMC:/->ipmcset -d serialdir -v 1 Set serial port direction successfully.
# Query the serial ports connected. The values of Num indicate the <option> values.
iBMC:/->ipmcget -d serialdir Currently connected serial direction : Num Source Destination 1 PANEL COM BMC COM 4 SD100 PANEL COM5 SCCL COM5