www/content/blog/commands/ipmi.md

20 lines
548 B
Markdown
Raw Normal View History

2020-04-28 17:29:52 +02:00
---
title: "ipmitool"
date: 2018-03-05
description: some ipmitool command examples
tags:
2021-03-12 18:12:41 +01:00
- toolbox
2020-04-28 17:29:52 +02:00
---
## Usage examples
2020-04-28 17:29:52 +02:00
- 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 :
```sh
2020-04-28 17:29:52 +02:00
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
```