ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

思科智能许可证转换技巧(Cisco Smart License Conversion Trick)

2020-05-23 12:03:08  阅读:2093  来源: 互联网

标签:UTC Conversion Cisco License license Switch Smart


It’s been a while since Cisco has announced Smart License to replace Traditional PAK-based licensing. Overall, this new system brings loads of benefits, such as ability to track license utilization, see all managed instances by hostname, transfer licenses and product instances between virtual accounts (i.e. sub-domains) and many other features. However, it also brings some challenges and surprises that everyone must be aware of.

First of all, keep in mind that eventually everything will be Smart License managed. Cisco made this licensing mandatory for Catalyst switching platforms starting from Fuji 16.9.1, as per below

Starting from Cisco IOS XE Fuji 16.9.1 the Right-To-Use (RTU) licensing mode is deprecated, and the associated license right-to-use command is no longer available on the CLI.

Release Notes for Cisco Catalyst 3850 Series Switches, Cisco IOS XE Fuji 16.9.x

When you upgrade, switches will silently activate EVALUATION mode, which will be valid for the next 90 days, but then, if you do not configure Smart Licensing you automatically go into non-compliance state. It won’t affect basic switch functions, but will definitely affect anything DNA-based (e.g. Assurance). So, keep this in mind and plan carefully.

I was confused initially as all our Catalyst 3850 switches have been purchased using Cisco One license, well before Smart License become mandatory. In fact, we haven’t even had any PAK codes, it was all RTU based. So, one might be guessing how to remain compliant?

Apparently, there’s a very handy command that performs the conversion of RTU license into Smart License. It is the following

license smart conversion start

Note !!!

Make sure you enable Smart License before you perform the conversion. I assume you’ve already setup Smart License Account, there will only show a minimum required config:

Switch(config)#call-home
Switch(cfg-call-home)#source-interface <source-interface>
Switch(cfg-call-home)#vrf <source-vrf>
Switch(cfg-call-home)#exit
Switch(config)#ip http client <source-interface>
Switch(config)#ip name-server <dns1> <dns2>
Switch(config)#ip domain lookup
Switch(config)#exit
Switch#license smart register idtoken <smart-license-token>

Keep in mind, <smart-license-token> will have to be generated via Smart License portal to make sure device is added to correct Virtual Account (VA). Once device is registered, execute RTU to Smart License conversion as shown above, then check your license again and it must be compliant:

Smart Licensing is ENABLED

Utility:
  Status: DISABLED

Data Privacy:
  Sending Hostname: yes
    Callhome hostname privacy: DISABLED
    Smart Licensing hostname privacy: DISABLED
  Version privacy: DISABLED

Transport:
  Type: Callhome

Registration:
  Status: REGISTERED
  Smart Account: <YOUR SMART ACCOUNT>
  Virtual Account: <VIRTUAL-ACCOUNT>
  Export-Controlled Functionality: ALLOWED
  Initial Registration: SUCCEEDED on Oct 28 23:12:38 2019 UTC
  Last Renewal Attempt: None
  Next Renewal Attempt: Apr 25 23:12:37 2020 UTC
  Registration Expires: Oct 27 23:06:33 2020 UTC

License Authorization:
  Status: AUTHORIZED on Oct 29 09:33:34 2019 UTC
  Last Communication Attempt: SUCCEEDED on Oct 29 09:33:34 2019 UTC
  Next Communication Attempt: Nov 28 09:33:33 2019 UTC
  Communication Deadline: Jan 27 09:28:32 2020 UTC

License Conversion:
  Automatic Conversion Enabled: False
  Status: Successful on Oct 29 09:33:31 2019 UTC

Export Authorization Key:
  Features Authorized:
    <none>

As you can see, license is AUTHORIZED (i.e. COMPLIANT state). Go check your Smart License portal and you will notice new licenses in a pool assigned to added devices.

 

 C3850_48_Ipserv represent converted RTU licenses for Catalyst 3850 switches running IP Services RTU at the moment of conversion.

 

Refer to:https://nexp.com.ua/news/cisco-smart-license-conversion-trick/

标签:UTC,Conversion,Cisco,License,license,Switch,Smart
来源: https://www.cnblogs.com/MomentsLee/p/12941899.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有