H3C案例查看:如何使用 HPE RESTful Interface Tool 导出服务器的BIOS...
1. 通过交互模式导出目标服务器BIOS配置
a. 执行ilorest

b. 登录目标服务器iLO,命令格式为:login <iLO_IP> -u <iLO_User> -p <iLO_Password>

c. 选择目标类型,命令格式为:select <object>
例如:Gen10服务器BIOS目标类型为Bios.v1_0_0,(可以输入types命令查看目标服务器支持的所有目标类型)

d. 保存BIOS配置,命令:save

e. 默认保存路径为C:\Users\<username>\Documents\ilorest.json,如果需要指定目录及文件名,使用-f参数

2. 通过一条完整命令导出目标服务器BIOS配置
命令格式为:ilorest save --url=<iLO_IP> -u <iLO_User> -p <iLO_Password> --selector=<types> -f <Path\Filename>

赞 (0)