BMC管理命令--ipmitool

1 安装ipmitool 软件:

apt-get install -y ipmitool
yum install -y ipmitool

2 IPMItool 常用命令:

2.1 BMC配置命令

ipmitool lan print 1 #打印当前ipmi 地址配置信息。
ipmitool lan set 1 ipsrc static  # 设置 id 1 为静态IP地址。
ipmitool lan set 1 ipaddr 10.42.223.71  # 设置 IPMI 地址。
ipmitool lan set 1 netmask 255.255.255.0 # 设置 IPMI 子网掩码。
ipmitool lan set 1 defgw ipaddr 10.42.223.254 # 设置 IPMI 网关。

2.2 配置 IPMI 用户登录账户密码。

Ipmitool user list 1  # 显示 IPMI 用户列表。
ipmitool user set name 2 root #创建用户,一般服务器有默认的超级用户(root,admin,ADMIN),
可以直接修改超级用户的密码,不用重新创建。
ipmitool user set password 2 calvin #创建密码
ipmitool channel setaccess 1 2 callin=on ipi=on link=on privilege=4 #开权限 
ipmitool user list 1 # 查看chanenel1的用户信息
ipmitool user set password 1 abc-123 # 修改用户 id1 的密码 为 abc-123 
posted @   du-z  阅读(609)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· 单线程的Redis速度为什么快?
· 展开说说关于C#中ORM框架的用法!
· Pantheons:用 TypeScript 打造主流大模型对话的一站式集成库
1 安装ipmitool 软件:2 IPMItool 常用命令:2.1 BMC配置命令2.2 配置 IPMI 用户登录账户密码。
点击右上角即可分享
微信分享提示