ilomconfig export config --xmlfile=filename.xml
A prompt appears asking whether you want to specify a passphrase. The passphrase is used to encrypt sensitive data in the backup file. If you specify a passphrase, the passphrase is required to restore the backed up configuration. If you do not specify a passphrase, sensitive data will not be included in the backup file.
If you choose to encrypt sensitive data in the file, type y, and then specify a passphrase.
If you choose not to include sensitive data in the backup file, type n.
Configuring Oracle ILOM (ilomconfig), Oracle Hardware Management Pack Server CLI Tools User's Guide at https://www.oracle.com/goto/ohmp/docs