当前位置:网站首页>Use ipmitool to configure BMC network and user information of X86 server
Use ipmitool to configure BMC network and user information of X86 server
2022-07-01 02:33:00 【Count words and lines】
When you don't know the server BMC(Baseboard Management Controller) Management of IP And user information , You can install on the system where the server is installed ipmitool Tools , Then configure directly through in band BMC Network and IP Etc , There is no need to restart the machine to find BMC Steps for setting the configuration interface .
The following example is configured in band , If you want to configure through out of band , stay ipmitool Add... After the order “–H BMCip –U username –P password” Equal parameter .
1. Set up BMC Internet information
1) Show BMC Of IP Address information ( Other channel numbers such as 2,3,4 Wait to view the information of the channels that the device can use , Usually configure channels 1, In the following order 1 All represent configuration channels 1)
# ipmitool lan print 1
# ipmitool channel info 1
2) Set up channels 1 Using static IP Address .
# ipmitool lan set 1 ipsrc static
3) Set up BMC Of IP Address .
# ipmitool lan set 1 ipaddr 192.168.100.142
4) Set up BMC The subnet mask for .
# ipmitool lan set 1 netmask 255.255.255.0
5) Set up IPMI Gateway for .
# ipmitool lan set 1 defgw ipaddr 192.168.100.254
6) confirm BMC Of IP Address information
# ipmitool lan print 1
Set in Progress : Set Complete
Auth Type Support : MD5 PASSWORD
Auth Type Enable : Callback : MD5 PASSWORD
: User : MD5 PASSWORD
: Operator : MD5 PASSWORD
: Admin : MD5 PASSWORD
: OEM :
IP Address Source : Static Address
IP Address : 192.168.100.142
Subnet Mask : 255.255.255.0
MAC Address : 00:1e:67:54:6d:ca
SNMP Community String : public
IP Header : TTL=0x00 Flags=0x00 Precedence=0x00 TOS=0x00
BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Disabled
Gratituous ARP Intrvl : 0.0 seconds
Default Gateway IP : 192.168.100.254
Default Gateway MAC : 00:00:00:00:00:00
Backup Gateway IP : 0.0.0.0
Backup Gateway MAC : 00:00:00:00:00:00
802.1q VLAN ID : Disabled
802.1q VLAN Priority : 0
RMCP+ Cipher Suites : 0,1,2,3,4,6,7,8,9,11,12,13,15,16,17,18
Cipher Suite Priv Max : caaaaaaaaaaaaaa
: X=Cipher Suite Unused
: c=CALLBACK
: u=USER
: o=OPERATOR
: a=ADMIN
: O=OEM
Bad Password Threshold : Not Available
2. Set up BMC Users of
1) List BMC User information .
# ipmitool user list 1
ID Name Callin Link Auth IPMI Msg Channel Priv Limit
1 false false true ADMINISTRATOR
2 lenovo false true true ADMINISTRATOR
3 three false false true ADMINISTRATOR
4 test1 false false true ADMINISTRATOR
5 test2 false false true ADMINISTRATOR
6 true false false NO ACCESS
7 true false false NO ACCESS
8 true false false NO ACCESS
9 true false false NO ACCESS
10 true false false NO ACCESS
11 true false false NO ACCESS
12 true false false NO ACCESS
13 true false false NO ACCESS
14 true false false NO ACCESS
15 true false false NO ACCESS
2) Create new users ( You can directly change the password of the management user , Do not create new users )
# ipmitool user set name 6 test3 (6 Is one of the unused users listed in the above command ID Number )
3) Set the user's password
# ipmitool user set password 6 len0vO (6 Is the user test3 Users of ID Number )
4) Give permissions to the new user
# ipmitool channel setaccess 1 6 callin=on ipmi=on link=on privilege=4 (6 Is the user test3 Users of ID Number )
5) Check and confirm the user's information
# ipmitool user list 1
ID Name Callin Link Auth IPMI Msg Channel Priv Limit
1 false false true ADMINISTRATOR
2 lenovo false true true ADMINISTRATOR
3 three false false true ADMINISTRATOR
4 test1 false false true ADMINISTRATOR
5 test2 false false true ADMINISTRATOR
6 test3 true true true ADMINISTRATOR
7 true false false NO ACCESS
8 true false false NO ACCESS
9 true false false NO ACCESS
10 true false false NO ACCESS
11 true false false NO ACCESS
12 true false false NO ACCESS
13 true false false NO ACCESS
14 true false false NO ACCESS
15 true false false NO ACCESS
Good configuration BMC After the network and users of , You can log in to the management interface of the server through the browser , Daily management of equipment ( It is usually used for monitoring and fault diagnosis ).
边栏推荐
猜你喜欢
How to add a condition for an associated table in an SQL statement [null value required or not required]
centos 安装多个版本的php并切换
pycharm 软件deployment 灰色 无法点
(summary I) Halcon Foundation's target finding features + becoming a regular
How to realize the scene linkage of intelligent lock, lamp and intelligent curtain motor in zhiting?
Image preloading in JS
Sampling Area Lights
MnasNet学习笔记
项目管理是什么?
Pytorch —— 基礎指北_貳 高中生都能看懂的[反向傳播和梯度下降]
随机推荐
SWT / anr problem - SWT caused by long execution time of native method
Calculate special bonus
【做题打卡】集成每日5题分享(第一期)
手机上怎么开户?还有,在线开户安全么?
UE4渲染管线学习笔记
How to learn and read code
Pulsar的Proxy支持和SNI路由
如何在智汀中实现智能锁与灯、智能窗帘电机场景联动?
[punch in questions] integrated daily 5 questions sharing (phase I)
How do the top ten securities firms open accounts? Also, is it safe to open an account online?
Machine learning 9-universal approximator radial basis function neural network, examining PDA and SVM from a new perspective
Ernie-gram, 显式、完备的 n-gram 掩码语言模型,实现了显式的 n-gram 语义单元知识建模。
股票开账户如何优惠开户?还有,在线开户安全么?
522. Longest special sequence II
@The difference between configurationproperties and @value
【微信小程序開發】樣式匯總
halcon数组的一些使用
Xception学习笔记
Pulsar Geo Replication/灾备/地域复制
map数组函数