This procedure explains how to configure smart licensing on the Cisco NCS 1010 platform to enable automated license management and compliance.
Specific License Reservation (SLR) lets you reserve a license for your product instance from the CSSM. To reserve specific licenses for NCS 1010, perform these steps:
Procedure
-
Deregister the device, if it was already registered for the license, using the license smart deregister command.
Example:
RP/0/RP0/CPU0:iso#license smart deregister Thu Jul 19 13:33:30.048 UTC RP/0/RP0/CPU0:iso# Jul 19 13:17:33.126 UTC: http_client[232] %SECURITY-XR_SSL-6-CERT_VERIFY_INFO : SSL Certificate verification: Certificate can be used for purpose it was meant to be License command "license smart deregister " completed successfully. -
Generate the request code using the license smart reservation request local command.
Example:
RP/0/RP0/CPU0:iso#license smart reservation request local Thu Jul 19 13:33:47.241 UTC Enter this request code in the Cisco Smart Software Manager portal: CB-ZNCS1010-SA:FCB2546B08T-BBTQDthRu-BA -
Use the generated code and generate the authorization code through Cisco Smart Software Manager. See Reserve licenses using Cisco Smart Software Manager.
-
Enter the run command to launch the iso XR Linux bash shell.
Example:
RP/0/RP0/CPU0:iso#run RP/0/RP0/CPU0:Jul 19 13:35:20.236: run_cmd[67213]: %INFRA-INFRA_MSG.5-RUN_LOGIN : User Cisco logged into shell from con0/RP0/CP0 -
Create a file using the vim file name command.
Example:
[node0_RP0_CPU0:~]$vim smart1 -
Copy the authorization code in the file and type :wq to save and exit the file.
-
Use the exit command to exit the shell.
Example:
[node0_RP0_CPU0:~]$exit logout RP/0/RP0/CPU0:Jul 19 13:45:21.146 UTC run-cmd[67213] %INFRA_MSG-5-LOGOUT : User cisco logged out of shell from con0/RP0/CPU0 -
Install the authorization code using the license smart reservation install file command.
Example:
RP/0/RP0/CPU0:iso#license smart reservation install file /disk0:/smart1 Thu Jul 19 13:46:22.877 UTC RP/0/RP0/CPU0:Jul 19 13:46:22.946 UTC: plat_sl_client[368]: %LICENSE-PLAT_CLIENT-6-STATE_CHANGE : Licensing platform state changing from UNREGISTERED to REGISTERED RP/0/RP0/CPU0:Jul 19 13:46:22.946 UTC: smartlicserver[247]: %LICENSE-SMART_LIC-6-AGENT_REG_SUCCESS : Smart Agent for Licensing Registration successful. udi PID:NCS1010-SA,SN:FCB2546B08T Reservation install file successful Last Confirmation code 8572aa81Note
You can verify the number of reservations in the Cisco smart software manger portal and can view the product instance name changed to a UDI.
-
Verify the udi using the show license udi command.
Example:
RP/0/RP0/CPU0:iso#show license udi Thu Jul 19 13:43:19.731 UTC UDI: PID:NCS1010-SA,SN:FCB2546B08T -
Verify the license reservation using the command show license status.
Example:
RP/0/RP0/CPU0:P2A_DT_08#show license status Thu Jul 19 15:45:27.137 UTC Smart Licensing is ENABLED Utility: Status: DISABLED License Reservation is ENABLED Data Privacy: Sending Hostname: yes Callhome hostname privacy: DISABLED Smart Licensing hostname privacy: DISABLED Version privacy: DISABLED Transport: Type: Transport Off Registration: Status: REGISTERED - SPECIFIC LICENSE RESERVATION Export-Controlled Functionality: ALLOWED Initial Registration: SUCCEEDED on Jul 19 2022 15:21:24 UTC License Authorization: Status: AUTHORIZED - RESERVED on Jul 19 2022 15:21:24 UTC Export Authorization Key: Features Authorized: <none> Miscellaneous: Custom Id: <empty>