Configure Smart Software Licensing Using CLI
Perform these steps to register or deregister the device. You can also manually renew the ID certificate and authorization.
Before you begin
You must have purchased the product for which you are adding the license. When you purchase the product, you are provided with a user name and password to the Cisco Smart Software Manager portal, from where you can generate the product instance registration tokens.
Procedure
Step 1 |
To register the device, perform Steps 5 through 8. |
||
Step 2 |
To deregister the device, perform Step 9. |
||
Step 3 |
To renew ID certificate, perform Step 10. |
||
Step 4 |
To renew authorization, perform Steps 11. |
||
Step 5 |
Login to your smart account in Cisco Smart Software Manager ( https://software.cisco.com/#SmartLicensing-Inventory) or smart software manager satellite using the Cisco provided username and password. |
||
Step 6 |
Generate a product instance registration token. Copy or download the token to a text file. The token is used to register and activate a device, and assign the device to a virtual account. |
||
Step 7 |
license smart register idtoken token_ID Example:
In case the token is invalid, the initial registration fails.
In case there is a communication failure between the device and the portal or satellite, the registration fails as seen in the example below. CTC waits for 24 hours before attempting to register the device again. To force the registration, perform Step 8.
|
||
Step 8 |
license smart register idtoken token_ID force Example:
|
||
Step 9 |
license smart deregister When your device is taken off the inventory, shipped elsewhere for redeployment or returned to Cisco for replacement using the return merchandise authorization (RMA) process, you can use the license smart deregister command to cancel the registration on your device. All smart licensing entitlements and certificates on the platform are removed.
Example:
|
||
Step 10 |
license smart renew id ID certificates are renewed automatically after six months. In case, the renewal fails, the product instance goes into unidentified state. You can manually renew the ID certificate. Example:
|
||
Step 11 |
license smart renew auth Authorization periods are renewed by the Smart Licensing system every 30 days. As long as the license is in an 'Authorized' or 'Out-of-compliance' (OOC), the authorization period is renewed. Use the license smart renew auth command to make an on-demand manual update of your registration. Thus, instead of waiting 30 days for the next registration renewal cycle, you can issue this command to instantly find out the status of your license. After 90 days, the authorization period expires and the status of the associated licenses display "AUTH EXPIRED". Use the license smart renew auth command to retry the authorization period renewal. If the retry is successful, a new authorization period begins. Example:
To manually renew the authorization, use the license smart renew auth command. Example:
|
What to do next
You can use the show commands to verify the default Smart Licensing configuration. If any issue is detected, take corrective action before making further configurations.