summaryrefslogtreecommitdiffstats
path: root/docs/ipmitool-commands-cheatsheet.md
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2018-07-19 20:14:31 +0530
committerVernon Mauery <vernon.mauery@linux.intel.com>2018-07-24 20:53:51 +0000
commit1500a64704cf558a1d08d1cf0db7a4a3d550989a (patch)
tree6c0c600e306e48977ad8672cae8f215876c53ea3 /docs/ipmitool-commands-cheatsheet.md
parentebc886fc52d3f109e4c3b4ee74a510c65557eebe (diff)
downloadphosphor-host-ipmid-1500a64704cf558a1d08d1cf0db7a4a3d550989a.tar.gz
phosphor-host-ipmid-1500a64704cf558a1d08d1cf0db7a4a3d550989a.zip
Correct the formatting of the network commands document
The ipmitool commands are placed in the code block. Change-Id: I787dff9d6acd77ceaa1c6251b4287c2367212cad Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
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