Users without Access to CSC

The Smart License Reservation feature – Perpetual Reservation – is reserved for customers without access to CSC from their internal environments. With this feature, Cisco allows customers to reserve licenses from their virtual account and tie them to their devices Unique Device Identifier (UDI). Smart License Reservation enables customers to use their devices with reserved licenses in a disconnected mode.

The subsequent sections describe the procedure involved in reserving Smart License for users without access to CSC from their internal environment.

Enabling Smart License Reservation

To enable Smart License reservation through SMF Ops Center CLI:

Log on to SMF Ops Center CLI and use the following configuration.

config 
   license smart reservation 
   commit 
   exit 

NOTES:

license smart reservation : Enable license reservation.

Generating Smart License Reservation Request Code

Note
Before generating the Smart License reservation request code, complete the Enabling Smart License Reservation procedure.

To generate the Smart License reservation request code, use the following command:

license smart reservation request 

Example:

SMF# license smart reservation request 
reservation-request-code CJ-ZSMF:6GKJ2OA-NMUWA7Y-Ai75GxtBs-3B
SMF# 
Message from confd-api-manager at 2020-04-15 05:51:37...
Global license change NotifyReservationInProgress reason code Success - Successful.
SMF# 

NOTES:

  • license smart reservation : Enable license reservation request code.

  • license smart reservation request : Generate the license reservation request code.

    Important

    You must copy the generated license request code from the SMF Ops Center CLI.

Generating an Authorization Code from CSC

To generate an authorization code from CSC using the license reservation request code:

  1. Log on to your CSC account.

  2. Click License Reservation .

  3. Copy the request code from the SMF Ops Center CLI and paste the request code in the Reservation Request Code text-box.

  4. Click Reserve a Specific License option and select UCC 5G SMF BASE.

    Note

    In the Reserve text-box enter the value 1.

  5. Review your selection.

  6. Click Generate Authorization Code.

  7. The authorization code is generated and displayed on-screen. Either click Copy to Clipboard or Download as File to download the authorization code.

  8. Click Close.

Reserving Smart Licensing

There are two methods available to reserve the Smart License:

  • Key-based: Using the copied clipboard content of the authorization code directly from the CSC.

  • URL-based: Using the downloaded file containing the authorization code from CSC, saved on the local server.

To reserve Smart License for the deployed product:

  1. Log on to SMF Ops Center CLI and enter the following command.

    Key-based:

    license smart reservation install authorization_code 

    Example:

    SMF# license smart reservation install 
    Value for 'key' (<string>): <specificPLR><authorizationCode><flag>A</flag><version>C</version>
    <piid>35757dc6-2bdf-4fa1-ba7e-4190f5b6ea22</piid><timestamp>1586929992297</timestamp>
    <entitlements><entitlement><tag>regid.2020-04.com.cisco.SMF_BASE,1.0_60b1da6f-3832-4687-90c9-8879dc815a27</tag>
    <count>1</count><startDate>2020-Apr-08 UTC</startDate><endDate>2020-Oct-05 UTC</endDate>
    <licenseType>TERM</licenseType><displayName>UCC 5G SMF BASE</displayName>
    <tagDescription>Ultra Cloud Core - Session Management Function (SMF), Base Minimum</tagDescription>
    <subscriptionID></subscriptionID></entitlement></entitlements></authorizationCode>
    <signature>MEYCIQC/9v5LpgFoEk2l4omIgjjk83g5WXjzs09kQnsO8D0jRgIhAMh+
    D6DRuYmqh1TlfJoZxNte0fPKw6fHEY5CEF3+kPQj</signature>
    <udi>P:SMF,S:6GKJ2OA-NMUWA7Y</udi></specificPLR>
    SMF# 
    

    URL-based:

    license smart reservation install url { path httpPath 
    [ username username | password password ] } 

    Example:

    SMF# license smart reservation install url { username smf password **** path http://
    209.165.202.155:8000/AuthorizationCode_SN_6OUP5ZY-LMXHB2A.txt }
  2. Verify the smart licensing status by using the following command.

    show license all 

    Example:

    show license all 
    Smart Licensing Status
    =======================
    Smart Licensing is ENABLED
    License Reservation is ENABLED
    
    Registration:
      Status: REGISTERED - SPECIFIC LICENSE RESERVATION 
      Export-Controlled Functionality: Allowed
      Initial Registration: SUCCEEDED on Wed Apr 15 05:53:31 GMT 2020
      Last Renewal Attempt: None
    
    License Authorization:
      Status: AUTHORIZED - RESERVED on Wed Apr 15 05:53:31 GMT 2020 
    
    Utility:
      Status: DISABLED
    
    Transport:
      Type: CALLHOME
    
    Evaluation Period:
      Evaluation Mode: Not In Use
      Evaluation Period Remaining: 83 days, 0 hr, 5 min, 15 sec
    
    License Usage
    =============
    License Authorization Status: 
      Status: AUTHORIZED - RESERVED  on Wed Apr 15 05:53:31 GMT 2020
      Last Communication Attempt: SUCCEEDED on Apr 15 05:53:31 2020 GMT
      Next Communication Attempt: NONE
      Communication Deadline: NONE
    
    UCC 5G SMF BASE (SMF_BASE)
      Description: Ultra Cloud Core - Session Management Function (SMF), Base Minimum
      Count: 1
      Version: 1.0
      Status: AUTHORIZED 
      Export status: NOT RESTRICTED
      Feature Name: <empty>
      Feature Description: <empty>
      Reservation:
        Reservation Status: SPECIFIC INSTALLED
        Total Reserved Count: 1
        Term expiration: 2020-Oct-05 GMT
    
    Product Information
    ===================
    UDI: PID:SMF,SN:6GKJ2OA-NMUWA7Y
    
    Agent Version
    =============
    Smart Agent for Licensing: 3.0.13
    

    NOTES:

    • license smart reservation install key authorization_code : Installs a Smart License Authorization code.

    • license smart reservation install url path : Downloads the file containing the authorization code from CSC, saved on the local server.

Returning the Reserved License

You can return the reserved license to CSC, if required. Use the following procedure to return the reserved license:

  1. When you install the license reservation authorization in the SMF Ops Center.

    1. Log on to the SMF Ops Center CLI and use the following command.

      license smart reservation return 

      Example:

      SMF# license smart reservation return 
      reservation-return-code CJ6m3k-RAvu6b-hMNmwf-mrdcko-NoSwKL-tF7orz-9aNtEu-yVjGAm-D6j
      SMF# 
      
      Note
      If there is an issue with the return code generation, open a case with the Cisco Technical Assistance Center.
    2. Copy the license reservation return code generated in SMF Ops Center CLI.

    3. Log on to your CSC account.

    4. Select your product instance from the list in the Product Instances tab.

    5. Click Actions > Remove.

    6. Paste the license reservation return code in Return Code text-box.

    7. Select Remove Product Instance.

    NOTES:

    • license smart reservation return : Return a reserved Smart License.

  2. When the license reservation authorization code is not installed in the SMF Ops Center.

    1. Log on to the SMF Ops Center CLI and use the following command to generate the return code.

      license smart reservation return 
      authorization_code 

      Paste the license reservation authorization code generated in CSC to generate the return code.

    2. Log on to your CSC account

    3. Select your product instance from the list in the Product Instances tab.

    4. Click Actions > Remove.

    5. Paste the license reservation return code in Return Code text-box.

    6. Select Remove Product Instance.

  3. Verify the smart licensing status by using the following command.

    show license all 
    Example:
    SMF# show license all 
    
    Smart Licensing Status
    =======================
    Smart Licensing is ENABLED
    License Reservation is ENABLED
    
    Registration:
      Status: UNREGISTERED
      Export-Controlled Functionality: Not Allowed
    
    License Authorization:
      Status: EVAL MODE
      Evaluation Period Remaining: 83 days, 0 hr, 5 min, 15 sec
      Last Communication Attempt: SUCCEEDED on Apr 15 05:53:31 2020 GMT
      Next Communication Attempt: NONE
      Communication Deadline: NONE
    
    License Conversion: 
     Automatic Conversion Enabled: true
     Status: NOT STARTED
    
    Utility:
      Status: DISABLED
    
    Transport:
      Type: CALLHOME
    
    Evaluation Period:
      Evaluation Mode: In Use
      Evaluation Period Remaining: 83 days, 0 hr, 5 min, 15 sec
    
    License Usage
    =============
    License Authorization Status: EVALUATION MODE
      Evaluation Period Remaining: 83 days, 0 hr, 5 min, 15 sec
    
    UCC 5G SMF BASE (SMF_BASE)
      Description: Ultra Cloud Core - Session Management Function (SMF), Base Minimum
      Count: 1
      Version: 1.0
      Status: EVAL MODE
      Export status: RESTRICTED_NOTALLOWED
      Feature Name: <empty>
      Feature Description: <empty>
    
    Product Information
    ===================
    UDI: PID:SMF,SN:6GKJ2OA-NMUWA7Y
    
    Agent Version
    =============
    Smart Agent for Licensing: 3.0.13
    
    SMF#
    

Canceling License Reservation Request

To cancel a license reservation request through the SMF Ops Center CLI:

Log on to the SMF Ops Center CLI and use the following command.

license smart reservation cancel