IPMI command use for PowerEdge C-series
IPMI command use for PowerEdge C-series
IPMI Commands for Dell PowerEdge C-series
Note: root/root works for web GUI, but not for IPMI. You’ll need to create a new user with SOL privileges to use ipmitool.
Power Control Commands
Control the power state of your server:
1
2
3
4
5
6
7
8
9
10
11
# Power on the server
ipmitool -H 10.1.1.62 -U jonas -P jonas chassis power on
# Power off the server
ipmitool -H 10.1.1.62 -U jonas -P jonas chassis power off
# Reset the server
ipmitool -H 10.1.1.62 -U jonas -P jonas chassis power reset
# Soft shutdown
ipmitool -H 10.1.1.62 -U jonas -P jonas chassis power soft
Server Identification
Flash the identification light to locate the server physically:
1
2
# Flash ID light for 3 seconds
ipmitool -H 10.1.1.62 -U jonas -P jonas chassis identify 3
Monitoring and Diagnostics
Event Logs
View the system event log:
1
2
# Show event log
ipmitool -H 10.1.1.62 -U jonas -P jonas sel list
Sensor Information
Get sensor data in different formats:
1
2
3
4
5
# Show sensors (format A - sensor data repository)
ipmitool -H 10.1.1.62 -U jonas -P jonas sdr list
# Show sensors (format B - current readings)
ipmitool -H 10.1.1.62 -U jonas -P jonas sensor
Individual Sensor Status
Check a specific sensor’s status:
1
2
# Get status of a specific fan
ipmitool -H 10.1.1.62 -U jonas -P jonas sensor get FAN_1
Advanced Commands
Using Raw Commands
Get the hostname using raw IPMI commands:
1
2
3
4
# Get hostname using raw commands
ipmitool -H 10.1.1.62 -U jonas -P jonas raw 0x06 0x59 0x00 0xd1 0x00 0x00
# Output example:
# 11 00 00 0e 50 6f 77 65 72 45 64 67 65 20 43 36 32 32
Decoding Raw Output
Convert the hex output to readable format using Python:
1
2
3
# Python example to decode the hex output
>>> "506f77657245646765204336".decode("hex")
'PowerEdge C6' # This is our hostname
This post is licensed under
CC BY 4.0
by the author.