- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
07-License Management Commands | 56.23 KB |
License management commands
display license
Use display license to display registration information for license-based features.
Syntax
display license ap [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
ap: Displays the number of APs specified in the license.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display AP node-based licenses.
<Sysname> display license ap
No. SN License Key Activation Key AP Number
--------------------------------------------------------------------------------
1 210235A35JB05B000432 0E60F01DD07102DE532C 0D52EE737B54801DE699 32
2 210235A35JB05B000432 AC09B720407102CBA657 0C3E25FC6FEA1021B933 32
3 210235A35JB05B000432 6C5AC902A07102682A41 A15054E026AB0CBC3583 32
No. Activation key AP Number Available Time Left
--------------------------------------------------------------------------------
1 jS6HJ-fnDvq-x9Kpu-CYm@G-$i2mf-@mSNV-JKDU9 32 0
2 wejnX-rvapn-/K6W9-umsAw-DjAuH-MWPug-emn+q 32 Forever
3 yUBB@-/F2ez-AyM/w-nX/XV-uZp$R-:beSz-q5h89 32 Forever
Table 1 Command output
Field |
Description |
SN |
Serial number of the device. |
License Key |
License key. You can obtain the license key from New H3C Technologies Co., Ltd. Software License Certificate that you purchase. |
Activation Key |
Activation key. You can obtain the activation key by registering the license key, device SN, and the check sum at the H3C registration center. NOTE: To get the device SN and check sum, use the display device serial-number command. |
AP Number |
Number of APs that are allowed by the license. |
Available Time Left |
Remaining time of the license. |
license append
Use license append to register a feature with the device.
Syntax
license append license-key activation-key
Views
System view
Default command level
2: System level
Parameters
license-key: Specifies the license key, a string of 20 characters.
activation-key: Specifies the activation key, a string of 20 characters.
Usage guidelines
Reboot the device to make the license effective.
Support for this command depends on the device model. For more information, see About the H3C Access Controllers Command References.
Examples
# Register a license-based feature with the device.
<Sysname> system-view
[Sysname] license append 2DAB078A707102F6E499 8156824B365F5FAAB822
The license is added successfully. To make it take effect, reboot the device.
license register
Use license register to register a feature with the device.
Syntax
license register ap activation-key
Views
User view
Default command level
3: Manage level
Parameters
ap: Registers a license to increase the maximum number of online APs.
activation-key: Activation key of a license, in the format of XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX.
Usage guidelines
Before registering the license, purchase a system software license.
To obtain the activation key, follow these steps:
1. Use the display device serial-number command to display the device SN and check sum.
2. Obtain the license key provided by the software license certificate.
3. Visit the license registration center, use the device SN, check sum, and the license key to apply for the activation key.
Examples
# Register an AP node-based license.
<Sysname> license register ap M4rVZ-AijZx-$MmwG-A4Z2S-@iVNV-tcex5-jRCtR
Info: Register successfully.