Skip to content

CLI Reference

bmctools is structured as a hierarchical CLI:

bmctools [global options] <protocol> <group> <command> [options]

Global Options

FlagEnv VariableDefaultDescription
-i, --ip, --hostBMC_HOSTBMC IP address or hostname
-u, --usernameBMC_USERNAMEBMC username
-p, --passwordBMC_PASSWORDBMC password
-m, --manufacturerBMC_MANUFACTURERautoForce vendor: asus dell supermicro gigabyte cisco
-k, --insecureBMC_INSECUREenabledDisable SSL certificate verification
--secureEnable SSL certificate verification
-o, --outputtextOutput format: json json-pretty table text
-v, --verboseoffVerbose output
-d, --debugoffDebug mode (full stack traces)
--no-colorNO_COLORoffDisable coloured output
--versionShow version and exit

redfish — Redfish API Commands

redfish boot — Boot Management

Terminal window
bmctools redfish boot <command> [options]
CommandDescription
get-orderGet the current boot order
get-order --stagedShow staged/pending boot order (ASUS)
set-order -o ORDERSet boot order (comma-separated string)
set-order --order-file FILESet boot order from file (one entry per line)
list-optionsList all available boot options
list-options --no-cacheForce fresh query, bypass cache
find-by-mac -m MACFind boot option by MAC address
find-by-mac -m MAC --type TYPEFilter by type (e.g. PXE)
find-by-alias -a ALIASFind boot option by display name
get-pendingGet pending boot order (ASUS FutureState)
get-overrideShow current boot source override
set-override -t TARGETSet one-time boot override target
set-override -t TARGET --mode MODEOverride mode: Once (default) Continuous Disabled

Override targets: Pxe, Hdd, Cd, BiosSetup, Diags, None

Terminal window
bmctools redfish boot set-order -o "Boot0003,Boot0001,Boot0000,Boot0002"
bmctools redfish boot find-by-mac -m 04:32:01:D8:C0:B0 --type PXE
bmctools redfish boot set-override -t Pxe --mode Once

redfish firmware — Firmware Management

CommandDescription
inventoryGet firmware inventory (BIOS, BMC, NIC versions)
statusGet update service status
update-bios -f FILEUpload and apply a BIOS firmware image
update-bmc -f FILEUpload and apply a BMC firmware image (preserves config)
update-bmc -f FILE --no-preserve-configUpdate BMC without preserving config

redfish system — System Management

CommandDescription
infoShow system information
resetGraceful system reset
reset --type TYPEReset with a specific type
reset-typesList supported reset types for this system

Common reset types: GracefulRestart, ForceRestart, ForceOff, On, GracefulShutdown


redfish tpm — TPM Management (ASUS)

CommandDescription
set-state --state EnabledEnable TPM
set-state --state DisabledDisable TPM

redfish bios — BIOS Settings

Vendor-specific BIOS settings management.


redfish dell — Dell-Specific

CommandDescription
get-nicsList NIC information (name, MAC, link status)
pxe-boot -m MACEnable PXE on a NIC by MAC address and reboot

redfish raw — Raw Endpoint Access

Terminal window
bmctools redfish raw <URI> [options]
Terminal window
bmctools redfish raw /redfish/v1 -o json-pretty
bmctools redfish raw /redfish/v1/Systems
bmctools redfish raw /redfish/v1/Managers/1
bmctools redfish raw /redfish/v1/Chassis/1

ipmi — IPMI Commands

ipmi power

CommandDescription
statusGet current power status
onPower on
offPower off
resetHard reset

ipmi bmc

CommandDescription
reset-warmWarm reset the BMC
reset-coldCold reset the BMC

ipmi sel — System Event Log

CommandDescription
listList SEL entries
list --elistExtended list format
list --rawShow raw data
list --age AGEFilter by age (e.g. 7d, 24h)

ipmi sol — Serial Over LAN

CommandDescription
deactivateDeactivate an active SOL session
looptest [--loops N]SOL loopback test (default: 10 loops)

ipmi raw

Terminal window
bmctools ipmi raw "sdr type Temperature"
bmctools ipmi raw "chassis status"

racadm — RACADM Commands (Dell)

racadm get

Terminal window
bmctools racadm get BIOS.SysProfileSettings
bmctools racadm get iDRAC.Users --format

racadm set

Terminal window
bmctools racadm set <endpoint> [--args ARGS]

racadm storage

CommandDescription
get <endpoint>Get storage configuration
check-vdisk [--format]Check virtual disk status

racadm job

CommandOptionsDescription
view-j JOB_IDView job details
status-j JOB_IDGet job status
wait-j JOB_ID [--timeout SEC]Wait for job completion (default: 300 s)