思科智能许可证转换技巧(Cisco Smart License Conversion Trick)
Posted momentslee
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了思科智能许可证转换技巧(Cisco Smart License Conversion Trick)相关的知识,希望对你有一定的参考价值。
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
Switch#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/
以上是关于思科智能许可证转换技巧(Cisco Smart License Conversion Trick)的主要内容,如果未能解决你的问题,请参考以下文章
购买思科的网络电话,为啥还需要购买思科的license许可?一定要有这个license许可吗?
通过思科模拟器CISCO PACKET TRACER学习网络12——静态NAT