Configuring Smart Licensing
Before you begin, ensure you have:
-
Created a Smart Licensing account on https://software.cisco.com.
-
Registered your products on https://software.cisco.com using the Product Instance Registration tokens created as part of a Smart Account or Virtual Account.
-
Enabled a communication path between the UPF system to the CSSM server or Cisco.com.
Enable Smart Licensing
configure
license smart product upf
license smart enable
end
NOTE: Before enabling Smart Licensing, Product Type must be configured to enable default licenses that are based on product type.
Enter the following command to verify the configuration:
show configuration | grep license
Register the Device with Cisco
Using the Product Instance Registration token ID provided when you registered the products on https://software.cisco.com, register the system using the following EXEC mode command:
license smart register idtoken token
The system now automatically reports an entitlement usage count to the CSSM server and receives a compliance status. This also removes the system from "Evaluation Mode".
To show the compliance status, enter any of the following EXEC mode commands:
show license status
show license summary
show license statistics
The registration for the system is renewed automatically every 180 days. If needed, use the following EXEC mode command to renew the registration information manually:
license smart renew id
The license authorization for the system is renewed automatically every 30 days. If needed, use the following EXEC mode command to renew the license authorization manually:
license smart renew auth
To unregister a device, enter the following EXEC mode command:
license smart deregister
Changing Smart Transport URL
Smart Agent uses Smart Transport to communicate to Cisco CSSM server. Smart Transport uses the configured URL to identify the destination URL where CSSM is reachable. This will not initiate any communication with Cisco. If needed, enter the following configuration mode commands:
configure
license smart transport smart
license smart url https_link
Handling Out of Compliance
If there are not enough licenses in the virtual account for a given SKU, CSSM sends an Out Of Compliance (OOC) message to the device. The system stops allowing extra sessions until the OOC state is cleared. The OOC state is cleared when the device receives an authorized response.