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). This 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

You can enable Smart License reservation through PCF Ops Center CLI.

  1. Log in to PCF Ops Center CLI and use the following configuration:

    config terminal 
      license smart reservation 
      commit 
      end 

    NOTES:

    • license smart reservation —Enables license reservation.

Generating Smart License Reservation Request Code

You can generate the Smart License reservation request code through PCF Ops Center CLI.

  1. Log in to PCF Ops Center CLI and using the following configuration to enable the reservation:

    config terminal 
      license smart reservation  
      commit 
      end 
  2. Use the following configuration to request a reservation code:

    license smart reservation request 

    Example:

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

    NOTES:

    • license smart reservation —Enables license reservation request code.

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

      Important

      You need to copy the generated license request code from the PCF Ops Center CLI.

Generating an Authorization Code from CSC

You can 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 PCF Ops Center CLI in the Reservation Request Code text-box.

  4. Select the Licenses: Click the Reserve a Specific License radio button and select UCC 5G PCF 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

You can reserve Smart License for the deployed product using the authorization code generated in CSC.

  1. Log in to PCF Ops Center CLI and use the following configuration:

    license smart reservation install 
    authorization_code 

    Example:

    pcf# 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.PCF_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 PCF BASE</displayName>
    <tagDescription>Ultra Cloud Core - Policy Control Function (PCF), Base Minimum</tagDescription>
    <subscriptionID></subscriptionID></entitlement></entitlements></authorizationCode>
    <signature>MEYCIQC/9v5LpgFoEk2l4omIgjjk83g5WXjzs09kQnsO8D0jRgIhAMh+D6DRuYmqh1TlfJoZxNte0fPKw6fHEY5CEF3+kPQj</signature>
    <udi>P:PCF,S:6GKJ2OA-NMUWA7Y</udi></specificPLR>
    pcf# 
    
  2. Verify the status of smart licensing using the following command.

    show license all 

    Example:

    pcf# 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 PCF BASE (PCF_BASE)
      Description: Ultra Cloud Core - Policy Control Function (PCF), 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:PCF,SN:6GKJ2OA-NMUWA7Y
    
    Agent Version
    =============
    Smart Agent for Licensing: 3.0.13
    

    NOTES:

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

Returning the Reserved License

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

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

    1. Log in to the PCF Ops Center CLI and use the following configuration:

      license smart reservation return 

      Example:

      pcf# license smart reservation return 
      reservation-return-code CJ6m3k-RAvu6b-hMNmwf-mrdcko-NoSwKL-tF7orz-9aNtEu-yVjGAm-D6j
      pcf# 
      
    2. Copy the license reservation return code generated in PCF Ops Center CLI.

    3. Log in to your CSC account.

    4. Select your product instance from the list.

    5. Choose Actions > Remove.

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

    NOTES:

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

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

    1. Log in to the PCF Ops Center CLI and use the following configuration 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. Choose Actions > Remove.

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

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

    show license all 
    Example:
    pcf# 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 PCF BASE (PCF_BASE)
      Description: Ultra Cloud Core - Policy Control Function (PCF), Base Minimum
      Count: 1
      Version: 1.0
      Status: EVAL MODE
      Export status: RESTRICTED_NOTALLOWED
      Feature Name: <empty>
      Feature Description: <empty>
    
    Product Information
    ===================
    UDI: PID:PCF,SN:6GKJ2OA-NMUWA7Y
    
    Agent Version
    =============
    Smart Agent for Licensing: 3.0.13
    
    pcf#