Based on the license loading and running status, the license module has several states, as listed in Table 1.
License Status |
Description |
---|---|
Default |
Device state when no license is authorized. This state applies when no license file is activated after device shipment, or when the license file is not reactivated after the grace period expires. |
Normal |
State when a commercial license is running normally after being activated. |
Emergency |
State in which a device runs with a large number of existing dynamic resource items, which can be considered as temporarily lifting the license control restriction. The emergency mode can be enabled a maximum of three times for each version, and for a maximum of seven days each time. |
Demo |
State when a trial license runs properly after being activated. The Demo state exists only when a trial license has been approved and activated. |
Trial |
State when the license module is allowed to run based on the authorization policy in the Normal or Demo state. After the state changes from Normal or Demo to Trial, the Trial state lasts a grace period of 60 days. If the license module enters the Trial state from Demo state and the license revoke command is run before the grace period expires, the license automatically enters another 60-day grace period. |
Figure 1 shows license state transition.
Table 2 describes all the events that trigger license state transitions.
No. |
Trigger Event |
---|---|
0 |
A license file fails to be activated, and the license module is not allowed to enter the grace period due to the cause of the activation failure. |
1 |
A commercial license file is successfully activated. |
2 |
A non-commercial license file is successfully activated. |
3 |
A trial license is activated, or license file activation fails and the license module is allowed to enter the grace period (for example, ESNs or versions do not match for the first time). |
4 |
A commercial license becomes invalid, for example, when it is revoked for replacement. |
5 |
The grace period expires. |
6 |
A non-commercial license expires automatically or is manually revoked. |
7 |
The emergency mode is manually enabled. |
8 |
The emergency mode expires after running for seven days. |