Smart License

本文介绍了思科通过构建智能软件管理器门户简化客户许可管理的计划。详细解释了如何在特定平台如Cisco5520WLC和Cisco8540WLC上启用和配置SmartSoftwareLicensing,包括注册SmartAccount的步骤,以及使用SmartSoftwarelicensing的限制。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

思科启动了通过构建思科智能软件管理器门户来简化客户许可管理的计划。 它可以帮助客户了解他们购买的许可证以及他们使用的许可证。 其他各种思科产品已经启用Smart Enabled,随着此版本(我这里学习的版本是Release 8.5)的推出,Smart Licensing现在将在以下平台上提供:

  • Cisco 5520 WLC (AIR-CT5520-K9)

  • Cisco 8540 WLC (AIR-CT8540-K9)

  • Cisco vWLC (L-AIR-CTVM-5-K9)

  • Cisco 3504 WLC (AIR-CT3504-K9) 

我们需要注册Smart Account,注册方式可以参考:How to Request a Smart Account

 

1、使用Smart Software licensing的限制

  • 如果您启用了思科智能许可证并且控制器已在思科智能帐户上注册,我们建议您执行以下步骤。
    • We recommend you to perform the following procedure if you have the Cisco Smart License enabled and the controller is registered on Cisco Smart Account.

      Perform this procedure before upgrading the controller's boot image.

      1. Deregister the controller running the old build from the Cisco Smart Software Manager (CSSM).

      2. Upgrade the controller with new boot image.

      3. Reregister the upgraded controller with new build on Cisco Smart Software Manager (CSSM).

    • If you try to deregister the controller when CSSM is not reachable, the controller is deregistered internally. This results in a stale entry in CSSM. The workaround for this issue is that you must remove the stale entry from CSSM manually.

    • Token-id that is generated for Cisco 5520 or 8450 WLC cannot be used with Cisco vWLC.

    • Call-Home supports only HTTP and HTTPS mode of communication.

    • Call-Home does not support email mode of communication.

    • After the switch over to Smart Licensing mechanism some of the parameter reports, for example: runtime statistics will not be cumulative reports.

    • To create a new profile and avoid Smart Licensing transport mode from being disabled, ensure that the active profile is disabled using config call-home tac-profile status disable before creating the new profile.

    • Do not use a non-tac profile using call-home data reporting format as this will disable Smart Licensing service
    • There might be a difference in the timestamps when the WLC is in a different time zone, as the WLC is set to local time zone time, whereas the Smart License server is set to UTC time.
    • In a Smart License active HA pair, when the primary WLC stops functioning, and the standby WLC takes over as the new primary, and initiates a reboot. After reboot, the device losses its registration information. Manually registering the device with the Cisco Smart License Manager or rebooting and re-pairing the primary and stand-by devices helps resolve this issue.
    • On a Smart License active HA pair, any attempt to deregister before the switch over to active secondary from active primary is complete, and the renew message is sent, the deregistration process may fail
    • In a Smart License active HA pair, the stand-by device displays evaluation authorization state, this parameter gets updated to display the correct values after the switch over is complete and the WLC is the active controller
    • To free the license on the server in a situation, where the license mechanism is changed to Right To Use (RTU) from Smart Licensing, it is mandatory to manually deregister the device(要在许可证机制从智能许可更改为使用权限(RTU)的情况下释放服务器上的许可证,必须手动取消注册设备). 

 

 

2、配置Cisco Smart Software Licensing

  • 开启Smart Software Licensing: config licensing smart-license dns-server ip-address
    • 注意:选择激活licensing机制需要重启设备!
  • 要在设备重新启动后注册或取消注册设备并保留设备注册状态,请输入以下命令: 

    license smart {register | deregister} idtoken

  • 查看licensing状态:show license {status | summary | udi | all}              
    • 注意Smart License服务与控制器运行异步同步。 因此,在完成同步之前,在执行show命令时,将显示本地控制器信息,并且当下次调用show命令时,将显示来自Smart License的更新值。     
  • Clear the Cisco Smart Software Licensing statistics:clear stats smart-lic          

 

转载于:https://www.cnblogs.com/MomentsLee/p/11547826.html

smart-license是一款用于安全加固的开源项目。主要服务于非开源产品、商业软件、具备试用功能的付费软件等,为软件提供授权制的使用方式。smart-license适用场景非开源产品、商业软件、收费软件。 限制产品的传播性,每个客户拥有专属 License。 同一款软件发行包根据 License 的不同提供不同的服务能力。 限定软件授权时效smart-license特色开源,代码完全公开,License的生成原理是透明的。 易用,提供二进制包,直接基于命令行生成 License。 安全,生成的 License 在一定程度上具备防篡改能力,破解难度大。 安全加固,采用非对称加密方式对 License源数据 进行预处理,防止伪造Licensesmart-license使用方式生成License 1、下载smart-license.tar.gz包,解压 2、进入bin目录执行以下命令,例如:./license.sh 1d HelloWorld。 1d:表示授权效期1天,即一天后该License便过期。支持的效期格式包括: h,1h:1小时; 2h:2小时 d,1d:1天; 10d:10天 y,1y:1年; 2y:2年 HelloWorld:表示待加密的license内容。 实际场景下可以通过license授权不同的产品功能和有效期,例如:./license.sh 1y features_1:on;features_2:off; 如果待授权的license内容为文件,可以采用同样的命令,例如:./license.sh 1y config.properties 3、执行成功后,会在当前目录下生成 License:license.txt以及 License源文件:source.txt。 注意:license.txt是提供给客户的授权文件;而source.txt是由软件提供方持有,其中包含加密私钥,需要妥善保使用License 1、引入Maven依赖 org.smartboot.license license-client 1.0.0-SNAPSHOT 2、载入License。如若License已过期,则会触发异常。 public class LicenseTest { public static void main(String[] args) throws Exception { File file=new File("license.txt"); License license = new License(); LicenseConfig licenseConfig=license.loadLicense(file); System.out.println(licenseData.getOriginal()); } } 3、获取licenseData并以此配置启动软件。smart-license截图
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值