Cisco UCS Configuration Utility
Overview
The Cisco UCS Configuration Utility is a tool that allows you to modify the server parameters of the following:
-
BIOS
-
Cisco IMC
-
CMC
This utility provides an option to view the currently set values of the BIOS, CMC and Cisco IMC parameters in an XML or a text file. To modify the values of these parameters, you must extract the currently set values to a text file, modify them, and apply the text file. For more information on modifying BIOS, CMC and Cisco IMC parameters, see Using the Utility.
Note |
Using this utility, you can modify only those parameters that are supported by Cisco IMC. |
Supported Operating Systems and Servers
List of Commands
The Cisco UCS Configuration Utility provides a set of commands that you can use to view and modify the BIOS and parameters.
Command |
Description |
---|---|
ucscfg help |
To view help information on ucscfg commands and usage. |
ucscfg show text /bios |
To view the values of BIOS parameters in text file format. The output displays the currently set values for each parameter. |
ucscfg show xml /bios |
To view the values of BIOS parameters in XML file format. The output displays the currently set values for each parameter. This command is supported only on S3260M4 and C460M4 Servers. |
ucscfg show xml /cimc |
To view the values of CIMC parameters in a XML file format. Output displays the currently set values for each parameter. |
ucscfg show text /cimc |
To view the values of CIMC parameters in text file format. The output displays the currently set values for each parameter. |
ucscfg show text /bios > filename.txt |
To redirect the text output of the BIOS parameters to a text file outside of the utility. This file displays the currently set BIOS parameters. Use this file to modify all the BIOS parameters. |
ucscfg show text /cimc > filename.txt |
To redirect the text output of the CIMC parameters to a text file outside of the utility. This file displays the currently set CIMC parameters. Use this file to modify all the CIMC parameters. |
ucscfg batch setbios filename.txt |
To apply the changes made to the BIOS parameters. This command supports only the text file format. The XML format is not supported. The configured BIOS tokens would take effect in the next host reboot. |
ucscfg batch setcimc filename.txt |
To apply the changes made to the Cisco IMC parameters. This command supports only the text file format. The XML format is not supported. The configured CIMC parameters would get applied immediately after few CIMC auto-reboots. |
ucscfg batch -ignore setcimc filename.txt |
To apply the changes made to the Cisco IMC parameters, ignoring the BIOS version of the server mentioned in the text file with the actual BIOS version running on the server and to proceed with applying the changes. You can create your own file. For more information on creating your own file, see Creating a Text File. |
ucscfg ipfilter get |
To view the IP filter status and the range of IP addresses set as IP filter. To provide secure access to the server, you can now set a filter to allow only a selected set of IPs to access it. This option provides four slots for storing IP addresses (IP Filter 1, 2, 3, and 4). You can either assign a single IP address or a range of IP addresses while setting the IP filters. Once you set the IP filter, you might be unable to access the server using any other IP address. |
ucscfg ipfilter get > filename.txt |
To redirect the text output of the CIMC parameters to a text file outside of the utility. Sample content of IP filter configuration:
|
ucscfg ipfilter set filename.txt |
To set the IP filter status and a single IP address or a range of IP addresses as IP filter. |
ucscfg single-ip get |
To check if the server is in single IP or in normal mode. |
ucscfg single-ip set enabled port-number |
To enable the single IP mode on the server. |
ucscfg single-ip set disabled port-number |
To disable the single IP mode on the server. |
Command |
Description |
||
---|---|---|---|
ucscfg bootorder get > filename.txt |
To redirect the text output of the boot order to a text file outside the utility. This file displays the configured boot order of the server. Use this file to modify boot order. |
||
ucscfg bootorder set filename.txt |
To modify the current boot order setting of the server. You can create your own file to add or modify the configured boot order. |
||
ucscfg export CMC filename passphrase |
To export or push out the CMC configuration to the file.
|
||
ucscfg export BMC1 filename.txt passphrase |
To export or push out the Node-1 BMC configuration to the file.
|
||
ucscfg export BMC2 filename.txt passphrase |
To export or push out the Node-2 BMC configuration to the file.
|
||
ucscfg tech-support generate |
To generate the technical support log. |
||
ucscfg tech-support status |
To check the status of technical support log which is in progress. |
||
ucscfg tech-support cancel |
To check the status of technical support log generation which is in progress. |
||
ucscfg tech-support download |
To download the technical support file available in BMC to the host. This does not clean up the technical support file in BMC on completion of download. that is, the same technical support file can be downloaded again. |
||
ucscfg tech-support export |
To generate and download the Technical support file from BMC to the host. This command cleans up the technical support file in BMC on download completion. |
||
ucscfg tech-support cleanup |
To clear the technical log file available on BMC. |
Command |
Description |
---|---|
ucscfg bootorder set parameter |
To set the first boot device on the server. The field parameter can have one of the following values:
|
Using the Utility
You can use the Cisco UCS Configuration Utility to modify the values of the BIOS, CMC and Cisco IMC parameters of a server. With the utility, you can view the currently set values of the parameters in an XML file along with the list of valid values, and then modify the values in a text file and apply those changes.
Note |
|
SUMMARY STEPS
- Open the Cisco UCS Configuration Utility.
- View the configured values and the list of valid values for BIOS or Cisco IMC parameters.
- To modify the parameters for the BIOS or the Cisco IMC, generate a text file with the currently set values of the parameters, and make changes in the text file. To generate a text file on a Windows server, run the following command:
- Modify the parameters in the text file, and save the files.
- Apply the text files.
- Reboot the server immediately to update the BIOS parameters with the new values.
- To export or import the Cisco IMC or CMC configuration, run the following commands:
- To export or import the Cisco UCS VIC configuration, run the following commands:
- To perform firmware update related tasks, run the following commands:
- To set the IP filter status and a single IP address or a range of IP addresses as IP filter, run the following command:
DETAILED STEPS
Step 1 |
Open the Cisco UCS Configuration Utility. |
||
Step 2 |
View the configured values and the list of valid values for BIOS or Cisco IMC parameters.
For BIOS: ucscfg show xml /bios For Cisco IMC: ucscfg show xml /cimc |
||
Step 3 |
To modify the parameters for the BIOS or the Cisco IMC, generate a text file with the currently set values of the parameters, and make changes in the text file. To generate a text file on a Windows server, run the following command: For BIOS: ucscfg show text /bios > bios.txt For Cisco IMC: ucscfg show text /cimc > cimc.txt On Linux servers, run the following commands: For BIOS: ucscfg show text /bios > bios.txt For Cisco IMC: ucscfg show text /cimc > cimc.txt The values of the parameters for BIOS and Cisco IMC are saved in the bios.txt and cimc.txt files. |
||
Step 4 |
Modify the parameters in the text file, and save the files. |
||
Step 5 |
Apply the text files. For BIOS: ucscfg batch setbios bios.txt For Cisco IMC: ucscfg batch setcimc cimc.txt |
||
Step 6 |
Reboot the server immediately to update the BIOS parameters with the new values. If you do not reboot the server immediately, the BIOS parameters are not updated and remain unchanged. When you modify the parameters again and reboot the server immediately, the changes made in the second attempt are reflected. Prior changes made to the BIOS parameters are not updated on the server. |
||
Step 7 |
To export or import the Cisco IMC or CMC configuration, run the following commands: For exporting: ucscfg export <CMC or BMC> filename passphrase For importing: ucscfg import <CMC or BMC> filename passphrase |
||
Step 8 |
To export or import the Cisco UCS VIC configuration, run the following commands: |
||
Step 9 |
To perform firmware update related tasks, run the following commands: To initiate firmware update with a delay: ucscfg fwupdate fwupdate_config To view the status of the firmware update that is in progress: ucscfg fwupdate_status To cancel the firmware update that is in progress: ucscfg fwupdate_cancel |
||
Step 10 |
To set the IP filter status and a single IP address or a range of IP addresses as IP filter, run the following command: ucscfg ipfilter set filename To view the IP filter details, run the following command: ucscfg ipfilter get |
Creating a Text File
To modify the values of the BIOS and Cisco IMC parameters, the utility allows you to create a file outside of the utility, and then apply the changes using the utility. You can use this option when you need to modify one or two options of the BIOS or Cisco IMC. Prior to creating this text file, it is recommended that you generate the XML file to view the currently set values and the permissible values for the BIOS and Cisco IMC parameters.
SUMMARY STEPS
- Open the Cisco UCS Configuration Utility.
- View the configured values and the list of valid values for BIOS or Cisco IMC parameters.
- Using this XML output file as a reference, create a text file with the options that you need to modify.
- Apply the text files using the following commands:
- Reboot the server immediately to update the BIOS parameters with the new values.
DETAILED STEPS
Step 1 |
Open the Cisco UCS Configuration Utility. |
||
Step 2 |
View the configured values and the list of valid values for BIOS or Cisco IMC parameters.
For BIOS: ucscfg show xml /bios For Cisco IMC: ucscfg show xml /cimc |
||
Step 3 |
Using this XML output file as a reference, create a text file with the options that you need to modify. While creating the text file, you must abide by the following guidelines:
For example, the following content in the XML file shows the currently set value and the possible values for the POST Error Pause parameter. The currently set value for this parameter is Enabled.
To disable this
parameter, you must include the content underlined above from the XML file into
the text file:
|
||
Step 4 |
Apply the text files using the following commands: For BIOS: ucscfg batch setbios bios.txt For Cisco IMC: ucscfg batch setcimc cimc.txt When you apply the text file, the utility first determines if the BIOS version of the server matches with the version mentioned in the text file. If the server versions do not match, an error message is displayed and the changes are not applied. Optionally, you can apply the parameter changes without checking the BIOS versions. To do so, run the following command: ucscfg batch -ignore setcimc cimc.txt |
||
Step 5 |
Reboot the server immediately to update the BIOS parameters with the new values. |
Additional Information
Related Cisco UCS Documentation
Documentation Roadmaps
For a complete list of all B-Series documentation, see the Cisco UCS B-Series Servers Documentation Roadmap available at the following URL: https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/overview/guide/UCS_roadmap.html
For a complete list of all C-Series documentation, see the Cisco UCS C-Series Servers Documentation Roadmap available at the following URL: https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/overview/guide/ucs_rack_roadmap.html.
For information on supported firmware versions and supported UCS Manager versions for the rack servers that are integrated with the UCS Manager for management, refer to Release Bundle Contents for Cisco UCS Software.
Other Documentation Resources
Follow Cisco UCS Docs on Twitter to receive document update notifications.
Documentation Feedback
To provide technical feedback on this document, or to report an error or omission, please send your comments to ucs-docfeedback@external.cisco.com. We appreciate your feedback.