First, switch machine, restart
1. Check the status of the switch machine:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-p (password for BMC login username) Power status
2. Boot:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-p (password for BMC login username) Power on
3. Turn off the machine:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-p (password for BMC login username) Power off
4. Restart:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-p (password for BMC login username) Power Reset
Second, user management
Note: The [Channelno] field is optional, Channono is 1 or 8;BMC default has 2 users: the user ID is 1 anonymous, user ID 2 admin users;<> field is required; <privilege Level>:2 for user permissions, 3 for operator permissions, and 4 for administrator permissions;
1. View user information:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-p (password for BMC login username) user list [Channelno]
2. Add Users:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-p (password for BMC login username) User set name <user id> <username>
3. Set the password:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-p (password for BMC login username) user Set password <user id> <password>
4. Set User permissions:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-P (BMC login username password) User priv <user id> <privilege level> [Cha Nnelno]
5. Enable/Disable users:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-P (BMC login username password) User enable/disable <user id>
Third, IP network settings
Note: The [Channelno] field is optional, the Channono is 1 (Share NIC Network) or 8 (BMC Independent Management Network), set the network parameters, you must first set the IP to static, and then other settings;
1. View network information:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-p (password for BMC login username) LAN Print [Channelno]
2. Modify whether the IP is static or DHCP mode:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-p (password for BMC login username) LAN set <ChannelNo> ipsrc <static/dhcp>
3. Modify the IP address:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-p (password for BMC login username) LAN set <ChannelNo> ipaddr <IPAddress>
4. Modify the subnet mask:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-p (password for BMC login username) LAN set <ChannelNo> netmask <NetMask>
5. Modify the default gateway:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-P (BMC login username password) LAN set <ChannelNo> DEFGW ipaddr < default gateway >
Iv. Functions of Sol
Description:<9.6/19.2/38.4/57.6/115.2> where 115.2 represents 115200, that is, *1000 is the baud rate expressed.
1. Set the Sol serial baud rate:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-P (BMC login username password) Sol set volatile-bit-rate <9.6/19.2/38.4/57.6/115.2 >
2. Turn on the Sol feature:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-p (the password for the BMC login user name) Sol Activate
3. Turn off the Sol feature:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-p (the password for the BMC login user name) Sol Deactivate
V. SEL Log View
1. View the SEL log:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-p (password for BMC login username) sel list
Six, FRU information view
1. View FRU Information:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-p (password for BMC login username) fru List
Seven, sdr,sensor information view
1. View the SDR sensor information:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-p (password for BMC login username) SDR
2. View sensor information:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-p (password for BMC login username) sensor list
VIII. MC (Management Unit BMC) status and control
1. Restart the BMC:
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-p (password for BMC login username) MC Reset <warm/cold>
Ix. setting up the BMC iptables firewall
1. Set a section of IP to access the BMC
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-P (BMC login username password) Raw 0x32 0x76 0x01 0x01 ip1 (0xa 0xa 0xa 0xa) ip2 (0xb 0 XB 0XB 0xb)
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-P (BMC login username password) Raw 0x32 0x76 0x09
2. Set an IP to access the BMC
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-P (BMC login username password) Raw 0x32 0x76 0x00 0x01 ip1 (0xa 0xa 0xa 0xa)
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-P (BMC login username password) Raw 0x32 0x76 0x09
3. Cancel Settings
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-P (BMC login username password) Raw 0x32 0x76 0x08
4. Get firewall settings
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-P (BMC login username password) Raw 0x32 0x77 0x01 0x00
5. Block/Open a port
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-P (BMC login username password) Raw 0x32 0x76 0x02 0x00/0x01 0x00 (portno) 0x22 0x00
6. Cancel the setting of a port (6 is the corresponding cancel operation of 5)
Ipmitool-h (BMC management IP address)-I lanplus-u (BMC login user name)-P (BMC login username password) Raw 0x32 0x76 0x06 0x00/0x01 0x00 (portno) 0x22 0x00
Ipmitool Common Operation Instructions