Users with Access to CSC

This section describes how to configure Smart Licensing if you have access to CSC portal from your environment.

Setting Up the Product and Entitlement in CSC

Before you begin, you need to set up your product and entitlement in the CSC. To set up your product and entitlement:

  1. Log on to your CSC account.

  2. Click Add Product and enter the following details:

    • Product name–Specify the name of the deployed product. For example, cnBNG CP.

    • Primary PM CEC ID–Specify the primary Project Manager's CEC ID for the deployed product.

    • Dev Manager CEC ID–Specify the Development Manager's CEC ID for the deployed product.

    • Description (Optional)–Specify a brief description of the deployed product.

    • Product Type–Specify the product type.

    • Software ID Tag–Specify the software ID Tag provided by the Cisco Accounts team.

  3. Click Create.

  4. Select your product from the Product/Entitlement Setup grid.

  5. From the Entitlement drop-down list, select Create New Entitlement.

  6. Select New Entitlement in Add Entitlement and enter the following details:

    • Entitlement Name–Specify the license entitlement name. For example, CNBNG_CP_SYS_RTU.

    • Description (Optional)–Enter a brief description about the license entitlement.

    • Entitlement Tag–Specify the entitlement tag provided by the Cisco Accounts team.

    • Entitlement Type–Specify the type of license entitlement.

    • Vendor String–Specify the vendor name.

  7. Click Entitlement Allocation.

  8. Click Add Entitlement Allocation.

  9. In New License Allocation, enter the following details:

    • Product – Select your product from the drop-down list.

    • Entitlement – Select your entitlement from the drop-down list.

  10. Click Continue.

  11. In New License Allocation window, enter the following details:

    • Quantity–Specify the number of licenses.

    • License Type–Specify the type of license.

    • Expiring Date–Specify the date of expiry for the license purchased.

  12. Click Create.

  13. Verify the status of Smart Licensing by using the following command.

    show license status 

    Example:

    bng# show license status 
    Smart Licensing is ENABLED
    
    Registration:
      Status: UNREGISTERED
      Export-Controlled Functionality: Not Allowed
    
    License Authorization:
      Status: No licenses in use
      Last Communication Attempt: NONE
    
    License Conversion: 
     Automatic Conversion Enabled: true
     Status: NOT STARTED
    
    Utility:
      Status: DISABLED
    
    Transport:
      Type: Smart Transport
      Registration URL: null
      Utility URL: null 
    bng#

Registering Smart Licensing

You must register the product entitled to the license with CSC. To register, you must generate an ID token from CSC.

  1. Log on to your CSC account.

  2. Click General > New Token and enter the following details:

    • Description–Provide a brief description about the ID token.

    • Expires After–Specify the number of days for the token to expire.

    • Max. Number of Uses–Specify the maximum number of uses.

  3. Click Create Token.

  4. Select New ID token in Product Instance Registration Token.

  5. Click Actions > Copy.

  6. Log on to BNG Ops Center CLI and paste the ID token by using the following command.

    license smart register idtoken 

    Example:

    bng# license smart register
    Value for 'idtoken' (<string>): MTI2Y2FlNTAtOThkMi00YTAxLWE4M2QtOTNhNzNjNjY4ZmFiLTE2MTc4N
    Tky%0AMTA5MDh8ck1jUHNwc3k1ZC9nWFFCSnVEcUp4QU1jTFoxOGxDTU5kQ3lpa25E%0Ab04wST0%3D%0A
    bng# 
    
  7. Verify the Smart Licensing status by using the following command.

    show license status 

    Example:

    show license status 
    Wed Jan  12 14:31:16.858 UTC+00:00
    
    Smart Licensing is ENABLED
    License Reservation is ENABLED
    
    Registration:
      Status: REGISTERED
      Smart Account: BU Production Test 1
      Virtual Account: CNBNG_QA_PROD_TEST
      Export-Controlled Functionality: Allowed
      Initial Registration: SUCCEEDED on Jan 12 14:31:35 2022 GMT
      Last Renewal Attempt: SUCCEEDED on Jan 12 14:31:35 2022 GMT
      Next Renewal Attempt: Jul 11 14:31:35 2022 GMT
      Registration Expires: Jan 12 14:26:55 2023 GMT
    
    License Authorization:
      Status: AUTHORIZED on Jan 12 14:31:40 2022 GMT
      Last Communication Attempt: SUCCEEDED on Jan 12 14:31:40 2022 GMT
      Next Communication Attempt: Feb 11 14:31:40 2022 GMT
      Communication Deadline: Apr 12 14:27:00 2022 GMT
    
    License Conversion: 
     Automatic Conversion Enabled: true
     Status: NOT STARTED
    
    Utility:
      Status: DISABLED
    
    Transport:
      Type: Smart Transport
      Registration URL: null
      Utility URL: null   

    NOTES:

    • license smart register : Register Smart Licensing with CSC.

    • idtoken : Specify the ID token generated from CSC.

Deregistering Smart Licensing

To deregister Smart Licensing:

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

    license smart deregister 
  2. Verify the Smart Licensing status by using the following command:

    show license all 

    Example:

    bng# show license all
    Mon Dec  13 05:29:03.370 UTC+00:00
    
    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: 86 days, 13 hr, 52 min, 39 sec
      Last Communication Attempt: 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: 86 days, 13 hr, 52 min, 39 sec
    
    License Usage
    =============
    License Authorization Status: EVALUATION MODE
      Evaluation Period Remaining: 86 days, 13 hr, 52 min, 39 sec
    
     (CNBNG_CP_SYS_RTU)
      Description: <empty>
      Count: 1
      Version: 1.0
      Status: EVAL MODE
      Export status: NOT RESTRICTED
      Feature Name: <empty>
      Feature Description: <empty>
    
     (CNBNG_CP_SYS_SIA)
      Description: <empty>
      Count: 1
      Version: 1.0
      Status: EVAL MODE
      Export status: NOT RESTRICTED
      Feature Name: <empty>
      Feature Description: <empty>
    
    Product Information
    ===================
    UDI: PID:cnBNG,SN:QHJZRXY-IRNN3JA
    
    Agent Version
    =============
    Smart Agent for Licensing: 3.1.11
    bng#

    NOTES:

    • license smart deregister : Deregisters Smart Licensing from CSC.