Cisco NCS 1010 and NCS 1020 Datapath Configuration Guide, IOS XR Releases 26.x.x

PDF

Cisco NCS 1010 and NCS 1020 Datapath Configuration Guide, IOS XR Releases 26.x.x

Reuse licenses with the SLR deactivation method

Want to summarize with AI?

Log in

This procedure explains how to reuse purchased licenses from a common license pool for device upgrades, temporarily, by releasing licenses with Smart License Reservation (SLR) deactivation.


You can release some of the purchased licenses belonging to a common license pool, and reuse the same to upgrade new devices that are added into your network, for a temporary period. Later on, you must purchase the licenses for the new devices.

Procedure

  1. Deregister the device for which you want to release the licenses, and enable Flexible Consumption Model (FCM) (if not enabled)

    Example:

    RP/0/RP0/CPU0:ios#smart license deregister
    RP/0/RP0/CPU0:ios#config
    RP/0/RP0/CPU0:ios(config)#license smart flexible-consumption enable
    RP/0/RP0/CPU0:ios(config)#commit
    RP/0/RP0/CPU0:ios#end
  2. Generate the request code using the license smart reservation request local command.

    Example:

    RP/0/RP0/CPU0:ios(config)#license smart reservation request local
    Fri Jul  1 07:11:56.541 UTC
    Enter this request code in the Cisco Smart Software Manager portal:
    CC-ZNCS1010-SA:FCB2530B11E-BBTQDthRu-BE
    
  3. Use the generated code and generate the authorization code through Cisco Smart Software Manager. See Reserve licenses using Cisco Smart Software Manager.

    Note

    While reserving licenses in CSSM, under the Select Licenses tab, enter the number of licenses only for the RTU licenses, and leave the number of licenses as 0 for SIA licenses.

  4. Enter the run command to launch the iso XR Linux bash shell.

    Example:

    RP/0/RP0/CPU0:iso#run
    
    RP/0/RP0/CPU0:Jul 1 7:35:20.281: run_cmd[67213]: %INFRA-INFRA_MSG.5-RUN_LOGIN : User Cisco logged into shell from con0/RP0/CP0
  5. Create a file using the vim file name command.

    Example:

    [node0_RP0_CPU0:~]$vim smart1
  6. Copy the authorization code in the file and type :wq to save and exit the file.

  7. Use the exit command to exit the shell.

    Example:

    [node0_RP0_CPU0:~]$exit
    logout
    RP/0/RP0/CPU0:Jul 1 7:45:21.146 UTC run-cmd[67213] %INFRA_MSG-5-LOGOUT : User cisco logged out of shell from con0/RP0/CPU0
  8. 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 1 7: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 1 7: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 8572aa81
    Note

    You can verify the number of reservations in the Cisco smart software manger portal.

  9. Verify the license reservation using the command show license platform summary.

    Example:

    RP/0/RP0/CPU0:test#show license platform summary
    Fri Jul  1 07:24:07.016 UTC
    Collection: LAST: Fri Jul 01 2022 07:48:34 UTC
                NEXT: Fri Jul 01 2022 07:48:34 UTC
    Reporting:  LAST: Fri Jul 01 2022 07:48:34 UTC
                NEXT: Fri Jul 01 2022 07:48:34 UTC
    SIA Status: Node is in deactivated state
    
  10. After the node is deactivated and the licenses are freed on the CSSM server, use those licenses to perform software upgrade on another node for a temporary period.