联想服务器重置ipmi密码,超微主板重置IPMI密码

换了超微的服务器主板,因为是二手的板子,IPMI密码不知,默认ADMIN/ADMIN不对,进不去。在主板BIOS中只找到了IP地址的相关设置,没能找到密码以及用户名的相关设置。经百度发现:超微主板官方提供了ipmicfg工具可以进行重置,运行平台支持DOS、Windows、Linux。相关地址在

前去下载了IPMICFG软件,解压缩,包中包含了Linux和Windows平台的IPMICFG软件,找到对应的运行即可C:\Users\Administrator\Desktop\Windows\64bit>IPMICFG-Win.exe -help

IPMICFG Version 1.30.0 (Build 190710)

Copyright(c) 2019 Super Micro Computer, Inc.

Usage: IPMICFG params (Example: IPMICFG -m 192.168.1.123)

-help                 Display a list of commands.

-m                    Show IP and MAC.

-m IP                 Set IP (format: ###.###.###.###).

-a MAC                Set MAC (format: ##:##:##:##:##:##).

-k                    Show Subnet Mask.

-k Mask               Set Subnet Mask (format: ###.###.###.###).

-dhcp                 Get the DHCP status.

-dhcp on              Enable the DHCP.

-dhcp off             Disable the DHCP.

-g                    Show Gateway IP.

-g IP                 Set Gateway IP (format: ###.###.###.###).

-r                    BMC cold reset.

option: -d | Detected IPMI device for BMC reset.

-garp on              Enable the Gratuitous ARP.

-garp off             Disable the Gratuitous ARP.

-fd                   Reset to the factory default.

option: -d | Detected IPMI device for BMC reset.

-fdl                  Reset to the factory default. (Clean LAN)

option: -d | Detected IPMI device for BMC reset.

-fde                  Reset to the factory default. (Clean FRU & LAN)

option: -d | Detected IPMI device for BMC reset.

-ver                  Get Firmware revision.

-vlan                 Get VLAN status.

-vlan on    Enable the VLAN and set the VLAN tag.

If VLANtag is not given it uses previously saved value.

-vlan off             Disable the VLAN.

-selftest             Checking and reporting on the basic health of BMC.

-raw                  Send a RAW IPMI request and print response.

Format: NetFn Cmd [Data1 ... DataN]

-fru info             Show FRU inventory area Info.

-fru list             Show all FRU values.

-fru cthelp           Show chassis type code.

-fru help             Show help of FRU Write.

-fru           Show FRU field value.

-fru    Write FRU.

-fru backup     Backup FRU to file .

-fru restore    Restore FRU from file .

-fru tbackup    Backup FRU to file .

-fru trestore   Restore FRU from file .

-fru ver      Get/Set FRU version. (v1 v2 are BCD format)

-sel info             Show SEL info.

-sel list             Show SEL records.

-sel del              Delete all SEL records.

-sel raw              Show SEL raw data.

-sdr [full]           Show SDR records and reading.

-sdr del      Delete SDR record.

-sdr ver      Get/Set SDR version. (v1 v2 are BCD format)

-nm nmsdr             Display NM SDR.

-nm seltime           Get SEL time.

-nm deviceid          Get ME Device ID.

-nm reset             Reboots ME.

-nm reset2default     Force ME reset to Default.

-nm updatemode        Force ME to Update Mode.

-nm selftest          Get Self Test Results.

-nm listimagesinfo    List ME Images information.

-nm oemgetpower       OEM Power command for ME.

-nm oemgettemp        OEM Temp. command for ME.

-nm pstate            Get Max allowed CPU P-State.

-nm tstate            Get Max allowed CPU T-State.

-nm cpumemtemp        Get CPU/Memory temperature.

-nm hostcpudata       Get host CPU data.

-fan                  Get Fan Mode.

-fan            Set Fan Mode.

-pminfo [full]        Power supply PMBus health.

-psfruinfo            Power supply FRU health.

-psbbpinfo            Battery backup power status.

-autodischarge        Set auto discharge by days.

-discharge    Manually discharge battery.

-user list            List user privilege information.

-user help            Show user privilege code.

-user add    Add user.

-user del    Delete user.

-user level  Update user privilege.

-user setpwd          Update user password.

-conf upload    Upload IPMI configuration form binary file.

             option: -p | Bypass warning message.

-conf download  Download IPMI configuration to binary file.

-conf tupload   Upload IPMI configuration from text file.

             option: -p | Bypass warning message.

-conf tdownload       Download IPMI configuration to text file.

-clrint               Clear chassis intrusion.

-reset         Reset System and force to boot from device.

-soft          Initiate a soft-shutdown for OS and force to boot from

device.

-ipv6 mode            Show IPv6 mode.

-ipv6 mode      Set IPv6 mode.

-ipv6 autoconfig      Show IPv6 auto configuration.

-ipv6 autoconfig on   Enable IPv6 auto configuration.

-ipv6 autoconfig off  Disable IPv6 auto configuration.

-ipv6 list            List IPv6 static address.

-ipv6 duid            Show IPv6 DUID.

-ipv6 dns [IPv6 addr] Get/Set IPv6 DNS server.

-ipv6 add         Add IPv6 static address.

-ipv6 remove      Remove IPv6 static address.

-ipv6 route           Display IPv6 static route.

-ipv6 route on        Enable IPv6 static route.

-ipv6 route off       Disable IPv6 static route.

-ipv6 route list      List IPv6 static router info.

-ipv6 route       Set IPv6 static router information.

-ipv6 route clear     Clear IPv6 static router information.

-nvme list            Display the existing NVME SSD list.

-nvme info            NVME SSD information.

-nvme rescan          Rescan all devices by in band.

-nvme insert     Insert SSD by out of band.

-nvme locate          Locate SSD. (in band)

-nvme locate     Locate SSD. (out of band)

-nvme stoplocate      Stop Locate SSD. (in band)

-nvme stoplocate      Stop Locate SSD. (out of band)

-nvme remove          Remove NVME device. (in band)

 [option1] option1: 0  | Do eject after remove (Default).

[option2]            option1: 1  | Do not eject after remove.

option2: -p | Bypass warning message.

-nvme remove          Remove NVME device. (out of band)

   option: -p | Bypass warning message.

[opiton]

-nvme smartdata       NVME S.M.A.R.T data.

[HDD Name]

-tp info              Get MCU Info.

-tp info        Get MCU Type Info. (type: 1 - 3)

-tp nodeid            Get Node ID.

-tas info             Get TAS Information.

-tas pause            Pause TAS Service.

-tas resume           Resume TAS Service.

-tas refresh          Trigger TAS to recollect data.

-tas clear            Clear TAS collected data in BMC.

-tas period      Set TAS update period .

-tas exec        Execute a user's specified command.

-summary              FW and BIOS Information.

-hostname [value]     Get/Set host name.

-dcmi cap             List DCMI Capabilities Info.

-dcmi power           Get DCMI power reading.

-dcmi ctl [value]     Get/Set DCMI management controller ID string.

-mel download   Download BMC maintenance event log to a file.

-mel clear            Clear BMC maintenance event log.

重置密码需要两步,先查看用户列表,拿到用户ID:C:\Users\Administrator\Desktop\Windows\64bit>IPMICFG-Win.exe -user list

Maximum number of Users          : 10

Count of currently enabled Users : 2

User ID | User Name        | Privilege Level | Enable

------- | ---------        | --------------- | ------

2 | ADMIN            | Administrator   | Yes

拿到ADMIN的ID后重置密码C:\Users\Administrator\Desktop\Windows\64bit>IPMICFG-Win.exe -user setpwd 2 

Done.

Web再次尝试登陆,成功登录!

a629c79f3a904555982ba5101ab7bb23.png

Done!

  • 1
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值