Table 1 hponcfg Command Line Arguments (continued)
Argument | Function |
This argument resets the iLO 2, iLO 3 or iLO 4 to factory defaults. | |
These arguments display simple help messages. |
HPONCFG return codes
This section provides description about the return code after running the command.
Table 2 hponcfg return codes
Value | Meaning |
ERROR: A general system error detected while running HPONCFG | |
0 | Script succeeded. |
1 | Script failed |
2 | ERROR : Unable to shutdown the iLo Channel Interface |
3 | Firmware flash is in progress. Please wait for a while. |
4 | General error detected while checking firmware flash. |
5 | iLO |
| Please enable |
| To Enable |
| Set iLO Security Override Switch to ON and |
| Use iLO |
| functionality. |
7 | You are not a root/superuser. Only root/superuser can access the utility. |
9 | ERROR: Please specify firmware level as numeric input |
10 | Could not get status of the |
13 - 20 | ERROR: Failed to capture the configuration |
If the script itself fails, errors are reported in the log file created by HPONCFG.
HPONCFG command file contents
The hponcfg command can be used to perform the following tasks:
•Obtain an entire configuration
•Obtain a specific configuration
•Set a configuration
Obtaining an entire configuration
The hponcfg command can be used to obtain an entire configuration from an iLO 2, iLO 3 or iLO 4. In this case, the utility executes from the command line without specification of an input file. The name of the output file is given on the command line. For example:
/opt/hp/tools # ./hponcfg
In this example, the utility indicated that it obtained the data successfully and wrote it to the output file as requested. The following is a typical example of the contents of the output file:
<HPONCFG VERSION="1.1">
6Introduction