CLI Guide

Import a license from a CIFS share to a device, in this case Embedded iDRAC.
racadm license import -u admin -p xxx -f License.xml
-l //192.168.0/licshare -c idrac.embedded.1
Import a license from an NFS share to a device, in this case Embedded iDRAC.
racadm license import -f Licen.xml -l 192.168.0:/share
-c idrac.embedded.1
Import a license by overriding the EULA warning.
racadm license import -u admin -p passwd -f License.xml
-l //192.168.0/licshare -c idrac.embedded.1 -o
Import a license from the local file system using Local RACADM.
racadm license import -f License.xml -c idrac.embedded.1
Import a license from the local file system using Remote RACADM.
racadm -r 192.168.0.1 -u admin -p xxx license import -f C:\Mylicdir\License.xml -c
idrac.embedded.1
Export a license file.
racadm license export -f license.xml -l 192.168.0:/share -u uname -p xxx -c
iDRAC.Embedded.1
Instead of -c, you can use -e <ID> or -t <ID>
For Remote RACADM, if filename is not specified, the files are exported to the directory where RACADM is running.
Export license to an NFS share using transaction ID, in this case transaction 27.
racadm license export -f License.xml -l 192.168.0:/licshare
-t 27
Export license to a CIFS share specifying the entitlement ID, in this case abcdxyz.
racadm license export -u admin -p passwd -f License.xml
-l //192.168.0/licshare -e abcdxyz
Export license to a CIFS share specifying the FQDD. While using the -c option and exporting a license from a device, more than one
license file may be exported. Therefore if a filename is given, an index is appended to the end of the filename such
asLicenseFile0.xml, LicenseFile1.xml. In this case, the device is Embedded iDRAC.
racadm license export -u admin -p xxx -f LicenseFile.xml -l //192.168.0/licshare -c
idrac.embedded.1
Delete licenses on a particular device, in this case Embedded iDRAC.
racadm license delete -c idrac.embedded.1
Delete a license using entitlement ID, in this case xYZabcdefg.
racadm license delete -e xYZabcdefg
Delete a license using transaction ID, in this case 2.
racadm license delete -t 2
Replace a license on a device with a license file on an NFS share using transaction ID. In this case, transaction 27.
racadm license replace -f License.xml -l 192.168.0:/licshare
-t 27
Replace a license on a device with a license file on a CIFS share using transaction ID. In this case, transaction 27.
racadm license replace -u admin -p xxx -f License.xml
-l //192.168.0/licshare -t 27
RACADM Subcommand Details
93