Users without Access to Cisco Software Central

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

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

Enabling and Generating Smart License Reservation Request Code

To enable and generate the Smart License reservation request code:

  1. Log in to cnSGW-C Ops Center CLI.

  2. To enable reservation, use the following configuration:

    config terminal 
      license smart reservation  
      end 
    NOTES:
    • license smart reservation —Enables license reservation.

  3. To request for a reservation code, use the following command:

    license smart reservation request 

    NOTES:

    • license smart reservation request —Generates the license reservation request code.

      Important

      Copy the generated license request code from the SGW Ops Center CLI to your local machine for further use.

    Example:

    license smart reservation request
    reservation-request-code CE-ZcnSGWc:JC5LXHI-2KVPPIQ-AwjEHYoEo-F8
    Message from confd-api-manager at 2020-07-13 08:27:27...
    Global license change NotifyReservationInProgress reason code Success - Successful.

Generating an Authorization Code from CSC

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

  1. Log in to your CSC account.

  2. Click License Reservation.

  3. Enter the Request Code: Paste the license reservation request code copied from the SGW Ops Center CLI in the Reservation Request Code text-box.

  4. Select the Licenses: Click Reserve a Specific License radio button and select UCC 5G SGW BASE.

    Note

    In the Reserve text box, enter the value 1.

  5. Review your selection.

  6. Click Generate Authorization Code.

  7. Download the response file: The authorization code is generated and displayed on-screen. Click Download as File to download the authorization code.

  8. Click Close.

Reserving Smart Licensing

To reserve Smart License for the deployed product using the authorization code generated in CSC:

  1. Log in to cnSGW-C Ops Center CLI and use the following command:

    license smart reservation install authorization_code 

    NOTES:

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

    Example:

    license smart reservation install
    Value for 'key' (<string>): CAAAsJ-iwTYvW-puASse-nLGbcj-NJwnCo-EpxZ
    Message from confd-api-manager at 2020-07-13 08:30:00...
    Global license change NotifyReservationInstalled reason code Success - Successful.
    Message from confd-api-manager at 2020-07-13 08:30:01...
    Global license change NotifyRegisterSuccess reason code Success - Successful
  2. Verify the smart licensing status 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 - UNIVERSAL LICENSE RESERVATION
      Export-Controlled Functionality: Allowed
      Initial Registration: SUCCEEDED on Mon Jul 13 08:29:59 GMT 2020
      Last Renewal Attempt: None
    
    License Authorization:
      Status: AUTHORIZED - RESERVED on Mon Jul 13 08:29:59 GMT 2020
    
    Utility:
      Status: DISABLED
    
    Transport:
      Type: CALLHOME
    
    Evaluation Period:
      Evaluation Mode: Not In Use
      Evaluation Period Remaining: 88 days, 23 hr, 28 min, 54 sec
    
    License Usage
    =============
    License Authorization Status:
      Status: AUTHORIZED - RESERVED on Mon Jul 13 08:29:59 GMT 2020
      Last Communication Attempt: SUCCEEDED on Jul 13 08:29:59 2020 GMT
      Next Communication Attempt: NONE
      Communication Deadline: NONE
    
    cnSGWc_1K (cnSGWc_1K)
      Description: Ultra Cloud Core - Serving Gateway Function (cnSGWc), 1K Sessions
      Count: 1
      Version: 1.0
      Status: AUTHORIZED
      Export status: RESTRICTED_ALLOWED
      Feature Name: <empty>
      Feature Description: <empty>
    
    Product Information
    ===================
    UDI: PID:cnSGWc,SN:JC5LXHI-2KVPPIQ
    
    Agent Version
    =============
    Smart Agent for Licensing: 3.0.13

Returning the Reserved License

To return the reserved license, use the following procedure:

  1. When the license reservation authorization code is installed in the SGW Ops Center:

    1. Log in to the cnSGW-C Ops Center CLI and use the following command:

      license smart reservation return 

      NOTES:

      • license smart reservation return —Returns a reserved Smart License.

      Example:

      license smart reservation return
      reservation-return-code CAAsJA-vNGQbQ-YmwMTz-ZnN4Kb-eekEy7-jeo
      Message from confd-api-manager at 2020-07-13 08:32:37...
      Global license change NotifyReservationReturned reason code Success - Successful.
      
    2. Copy the license reservation return code generated in SGW Ops Center CLI to your local machine for further use.

    3. Log in to your CSC account.

    4. Select your product instance from the list.

    5. Click Actions > Remove.

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

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

    1. Log in to the cnSGW-C Ops Center CLI and use the following command to generate the return code:

      license smart reservation return 
      authorization_code 
      Important

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

    2. Log in to your CSC account.

    3. Select your product instance from the list.

    4. Click Actions > Remove.

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

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

    show license all 
    Example:
    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: 88 days, 23 hr, 23 min, 54 sec
      Last Communication Attempt: SUCCEEDED on Jul 13 08:29:59 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: 88 days, 23 hr, 23 min, 54 sec
    
    License Usage
    =============
    License Authorization Status: EVALUATION MODE
      Evaluation Period Remaining: 88 days, 23 hr, 23 min, 54 sec
    
    cnSGWc_1K (cnSGWc_1K)
      Description: Ultra Cloud Core - Serving Gateway Function (cnSGWc), 1K Sessions
      Count: 1
      Version: 1.0
      Status: EVAL MODE
      Export status: RESTRICTED_NOTALLOWED
      Feature Name: <empty>
      Feature Description: <empty>
    
    Product Information
    ===================
    UDI: PID:cnSGWc,SN:JC5LXHI-2KVPPIQ
    
    Agent Version
    =============
    Smart Agent for Licensing: 3.0.13