summaryrefslogtreecommitdiffstats
path: root/docs/ipmitool-commands-cheatsheet.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ipmitool-commands-cheatsheet.md')
-rw-r--r--docs/ipmitool-commands-cheatsheet.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/ipmitool-commands-cheatsheet.md b/docs/ipmitool-commands-cheatsheet.md
index bb72083..050b927 100644
--- a/docs/ipmitool-commands-cheatsheet.md
+++ b/docs/ipmitool-commands-cheatsheet.md
@@ -10,27 +10,27 @@ if the ipmitool is outside the BMC (i.e on the network) then set the interface a
### Set the interface mode
-ipmitool lan set <channel> ipsrc static
+```ipmitool lan set <channel> ipsrc static```
### Set the IP Address
-ipmitool lan set <channel> ipaddr <ip>
+```ipmitool lan set <channel> ipaddr <x.x.x.x>```
### Set the network mask
-ipmitool lan set <channel> netmask <mask>
+```ipmitool lan set <channel> netmask <x.x.x.x>```
### Set the default gateway
-ipmitool lan set <channel> defgw ipaddr <ip>
+```ipmitool lan set <channel> defgw ipaddr <x.x.x.x>```
### Set the VLAN
-ipmitool lan set <channel> vlan id <id>
+```ipmitool lan set <channel> vlan id <id>```
### Delete the VLAN
-ipmitool lan set <channel> vlan id off
+```ipmitool lan set <channel> vlan id off```
NOTE: The user can group multiple set operations since the IPMI daemon
waits for 10 seconds after each set operation before applying the configuration.
OpenPOWER on IntegriCloud