mc license info
The mc license info command displays information about the AIStor deployment’s license status.
The command shows:
- License expiration date
- Deployment registration status
- License type (commercial or trial)
- Associated SUBNET account information
When a license is expired, the expiry date displays in red to highlight the issue.
For complete information about license management and renewal procedures, see Licenses.
Syntax
Parameters
ALIAS
Required
The alias of the AIStor deployment.
--airgap
Optional
Use in environments where the client machine running the AIStor Client does not have network access to SUBNET (for example, airgapped, firewalled, or similar configuration) to display instructions for how to register the deployment with SUBNET.
If the deployment is airgapped, but the local device has network access, you do not need to use the --airgap flag.
Output
The command output varies depending on the license status.
Valid license
When a valid, unexpired license is installed, the command displays:
- License expiration date
- Organization information
- Deployment details
- SUBNET account information
Expired license
When an expired license is installed, the command displays the license information with the expiry date highlighted in red.
The red highlighting indicates the deployment is operating in one of the following states:
- Grace period - Full functionality maintained, but renewal recommended
- Safe mode - Read-only access, write operations blocked
For more information about license states, see License expiration.
To renew an expired license, use mc license update.
No license installed
When no license is installed, the command displays an error message:
License is not installed. Please run 'mc license update <alias>' to install a license.
To install a license, use mc license register to register the deployment with SUBNET, or use mc license update to retrieve the latest license from SUBNET or apply a license file.
Global flags
This command supports any of the global flags.