aboutsummaryrefslogtreecommitdiff
path: root/content/blog/commands/ipmi.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/blog/commands/ipmi.md')
-rw-r--r--content/blog/commands/ipmi.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/content/blog/commands/ipmi.md b/content/blog/commands/ipmi.md
new file mode 100644
index 0000000..93ca26d
--- /dev/null
+++ b/content/blog/commands/ipmi.md
@@ -0,0 +1,19 @@
+---
+title: "ipmitool"
+linkTitle: "ipmitool"
+date: 2018-03-05
+description: >
+ ipmitool
+---
+
+- launch ipmi shell : `ipmitool -H XX.XX.XX.XX -C3 -I lanplus -U <ipmi_user> shell`
+- launch ipmi remote text console : `ipmitool -H XX.XX.XX.XX -C3 -I lanplus -U <ipmi_user> sol activate`
+- Show local ipmi lan configuration : `ipmitool lan print`
+- Update local ipmi lan configuration :
+{{< highlight sh >}}
+ipmitool lan set 1 ipsrc static
+ipmitool lan set 1 ipaddr 10.31.149.39
+ipmitool lan set 1 netmask 255.255.255.0
+mc reset cold
+{{< /highlight >}}
+