Introduction
This document describes how to configure and view Cisco Integrated Management Controller (CIMC) settings from the host operating system. It includes procedures to identify the current CIMC IP configuration, update network settings, and reset the CIMC password without rebooting the host operating system.
Prerequisites
Requirements
Familiar with these topics:
- Intelligent Platform Management Interface (IPMI)
- Unified Computing System (UCS) CIMC
Components Used
The information in this document is based on these software and hardware versions:
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, ensure that you understand the potential impact of any command.
Related Products
This document can also be used with these products and operating systems:
- IPMItool
- Linux Operating System (OS)
Issue
This document can be used when the CIMC Internet Protocol (IP) address or CIMC password is not known.
Resolution
Confirm CIMC IP Configuration
1. Run ipmiutil lan to view the current CIMC network settings.
C:\ipmiutil\ipmiutil lan
ipmiutil lan ver 3.16
-- BMC version 2.00, IPMI version 2.0
ipmiutil lan, GetLanEntry for channel 1 ...
Lan Param(0) Set in progress: 00
Lan Param(1) Auth type support: 17 : None MD2 MD5 Pswd
Lan Param(2) Auth type enables: 00 00 00 00 00
Lan Param(3) IP address: 192.0.2.10
Lan Param(4) IP addr src: 01 : Static
Lan Param(5) MAC addr: f4 0f 1b 1e 6f 6a
Lan Param(6) Subnet mask: 255.255.255.224
Lan Param(7) IPv4 header: 40 00 10
Lan Param(10) BMC grat ARP: 02 : Grat-ARP disabled, ARP-resp enabled
Lan Param(11) grat ARP interval: 03 : 1.5 sec
Lan Param(12) Def gateway IP: 192.0.2.1
Lan Param(13) Def gateway MAC: 00 00 00 00 00 00
Lan Param(14) Sec gateway IP: 0.0.0.0
Lan Param(15) Sec gateway MAC: 00 00 00 00 00 00
Lan Param(16) Community string: public
Lan Param(17) Num dest: 04
Lan Param(18) Dest type: 01 00 00 00 00
Lan Param(19) Dest address: 01 00 00 [0.0.0.0] 00 00 00 00 00 00
Lan Param(20) VLAN ID: 01 00
Lan Param(21) VLAN Priority: 00
ipmiutil lan, completed successfully
Expected result: The output displays the current CIMC IP address, IP source, subnet mask, and default gateway.
Reconfigure the CIMC IP Address or Gateway Without Rebooting
Update CIMC network settings
1. To change to DHCP, run ipmiutil lan set -l -D.
C:\ipmiutil\ipmiutil lan set -l -D
Expected result: CIMC obtains its network settings from DHCP.
2. To configure a static IP address, run ipmiutil lan -l -I 192.0.2.55.
C:\ipmiutil\ipmiutil lan -l -I 192.0.2.55
Expected result: CIMC uses the configured static IP address.
3. To configure the default gateway, run ipmiutil lan -l -G 192.0.2.1.
C:\ipmiutil\ipmiutil lan -l -G 192.0.2.1
Expected result: CIMC uses the configured default gateway.
4. To configure the subnet mask, run ipmiutil lan -l -S 255.255.255.0.
C:\ipmiutil\ipmiutil lan -l -S 255.255.255.0
Expected result: CIMC uses the configured subnet mask.
Validation: Run ipmiutil lan and confirm that the output shows the updated network settings.
C:\ipmiutil\ipmiutil lan
Reset the CIMC Password Without Rebooting
Reset the CIMC password
1. Run ipmiutil user list to display the configured CIMC users.
C:\ipmiutil\ipmiutil user list
ipmiutil user ver 3.16
User 1: chan=1 enabled Admin admin
User 2: chan=1 enabled User testuser1
User 3: chan=1 enabled User testuser2
2. In order to reset the password, use the user ID from the previous output.
C:\ipmiutil\ipmiutil user set 1 password
ipmiutil user ver 3.16
GET_USERNAME: 62 72 69, STATUS = 0, CCODE=0
SETUSERNAME - 2 62 72 STATUS =0, CCODE=0
SETUSER_ACCESS - inputData 91 2 12, status = 0 ccode=0
ipmiutil user, completed successfully.
Expected result: The command completes successfully and the selected CIMC user password is updated.
Related Content