本文主要是介绍Cisco Catalyst3850交换机RTU license使用方法,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
1 情况说明
客户处采购了4台3850-14T交换机,在配置的时候发现OSPF不支持,
查询原因为当前license不支持 (lanbase, 只能支持2层功能)
报错如下:
Access-3850-1(config)#router ospf 100
Protocol not in this image
2 如何处理?
开启RTU license,加载ip service类型的license
开启RTU License后正常。如下图:
Access-3850-1(config)#router ospf 100
Access-3850-1(config-router)#
3 扫盲: 啥是RTU license What is RTU License ?
A Right to Use license scheme is an honor-based model for licensing. Licenses are not tied to an unique device identifier (UDI), product ID, or serial number.
看到上面所说的了吗? honor-based model ,说人话就是你应该购买license,但你可以直接使用。不买就用的就是臭不要脸。
我的理解,实际上就是cisco为了简化license安装和加载,以前的交换机或路由器上要加载license需要几步:
- 购买了license后,登录cisco.com官网
- 输入license信封上的key,并输入交换机的SN进行绑定,—>生成license文件—>下载下来
- 通过install license命令进行安装
现在不需要这么繁琐了,可以直接加载使用。
4 具体操作方法
4.1 无法运行OSPF, 报错
Access-3850-1(config)#router ospf 100
Protocol not in this image
4.2 查看license
Access-3850-1#show license right-to-use usage Slot# License Name Type usage-duration(y:m:d) In-Use EULA
-----------------------------------------------------------------------1 ipservices permanent 0 :0 :0 no no 1 ipservices evaluation 0 :0 :0 no no 1 ipbase permanent 0 :0 :0 no no 1 ipbase evaluation 0 :0 :0 no no 1 lanbase permanent 0 :0 :0 yes yes //这就是当前的license 类型1 apcount evaluation 0 :0 :0 no no 1 apcount base 0 :0 :0 no no 1 apcount adder 0 :0 :0 no no
4.3 启用ipservices license
3850-1#license right-to-use activate ipservices all acceptEULA
% switch-1:stack-mgr:Reboot the switch to invoke the highest activated License level
4.4 Reload 重启交换机
3850-1#reload
Reload command is being issued on Active unit, this will reload the whole stack
Proceed with reload? [confirm]
3.5 重启完成,查看license
3850-1#show license right-to-use usage Slot# License Name Type usage-duration(y:m:d) In-Use EULA1 ipservices permanent 0 :0 :0 yes yes //加载了ip service1 ipservices evaluation 0 :0 :0 no no 1 ipbase permanent 0 :0 :0 no no 1 ipbase evaluation 0 :0 :0 no no 1 lanbase permanent 0 :0 :0 no yes 1 apcount evaluation 0 :0 :0 no no 1 apcount base 0 :0 :0 no no 1 apcount adder 0 :0 :0 no no
3.6 再次启用ospf进程
3850-1(config)#router os 100
IP routing not enabled报了个错,但这个和license无关,是因为没有开ip routing***开启ip routing***3850-1(config)#ip routing
3850-1(config)#router ospf 100
3850-1(config-router)#router ospf 100
其他查看命令
3850-1#license right-to-use activate ?apcount configure the AP-count licenses on the switchipbase activate ipbase license on the switchipservices activate Ipservices license on the switchlanbase activate lanbase license on the switch3850-1#license right-to-use activate ipservices all acceptEULA
% switch-1:stack-mgr:Reboot the switch to invoke the highest activated License level3850-1#show license right-to-use usage Slot# License Name Type usage-duration(y:m:d) In-Use EULA
-----------------------------------------------------------------------1 ipservices permanent 0 :0 :0 no yes 1 ipservices evaluation 0 :0 :0 no no 1 ipbase permanent 0 :0 :0 no no 1 ipbase evaluation 0 :0 :0 no no 1 lanbase permanent 0 :0 :0 yes yes 1 apcount evaluation 0 :0 :0 no no 1 apcount base 0 :0 :0 no no 1 apcount adder 0 :0 :0 no no 不加eula参数,需要确认agreement.3850-1#license right-to-use activate ipservices all
PLEASE READ THE FOLLOWING TERMS CAREFULLY. INSTALLING THE LICENSE OR LICENSE KEY PROVIDED FOR ANY CISCO PRODUCT FEATURE OR USING SUCH PRODUCT FEATURE CONSTITUTES YOUR FULL ACCEPTANCE OF THE FOLLOWING TERMS. YOU MUST NOT PROCEED FURTHER IF YOU ARE NOT WILLING TO BE BOUND BY ALL THE TERMS SET FORTH HEREIN. Use of this product feature requires an additional license from Cisco, together with an additional payment. You may use this product feature subject to the Cisco end user license agreement http://www.cisco.com/en/US/docs/general/warranty/English/EU1KEN_.html, together with any supplements relating to such product feature. It is your responsibility to make payment to Cisco for your use of the product feature if not already licensed to do so. Your acceptance of this agreement for the software features on one product shall be deemed your acceptance with respect to all such software on all Cisco products you purchase which includes the same software. (The foregoing notwithstanding, you must purchase a license for each software feature you use, so that if you enable a software feature on 1000 devices, you must purchase 1000 licenses for use.) This license may be transferrable from another Cisco device of the same model for the same functionality if such license already is owned. Activation of the software command line interface will be evidence of your acceptance of this agreement. By clicking the "accept" button or typing "yes" you are indicating you have read and agree to be bound by all the terms provided herein.ACCEPT (yes/no) : yes
% switch-1:stack-mgr:Reboot the switch to invoke the highest activated License level3850-1#reload System configuration has been modified. Save? [yes/no]: y
Building configuration...
Compressed configuration from 3001 bytes to 1475 bytes[OK]Reload command is being issued on Active unit, this will reload the whole stack
Proceed with reload? [confirm]3850-1#show license right-to-use default Slot# License Name Type Count
------------------------------------------1 lanbase permanent N/A 1 apcount base 0 3850-1#show license right-to-use de
3850-1#show license right-to-use deta
3850-1#show license right-to-use detail
Index 1: License Name: ipservicesPeriod left: LifetimeLicense Type: permanentLicense State: Active, In useLicense Count: Non-CountedLicense Location: Slot 1
Index 2: License Name: ipservicesPeriod left: 90License Type: evaluationLicense State: Not ActivatedLicense Count: Non-CountedLicense Location: Slot 1
Index 3: License Name: ipbasePeriod left: LifetimeLicense Type: permanentLicense State: Not ActivatedLicense Count: Non-CountedLicense Location: Slot 1
Index 4: License Name: ipbasePeriod left: 90License Type: evaluationLicense State: Not ActivatedLicense Count: Non-CountedLicense Location: Slot 1
Index 5: License Name: lanbasePeriod left: LifetimeLicense Type: permanentLicense State: Active, Not In useLicense Count: Non-CountedLicense Location: Slot 1
Index 6: License Name: apcountPeriod left: 90License Type: evaluationLicense State: Not ActivatedLicense Count: 50License Location: Slot 1
Index 7: License Name: apcountPeriod left: LifetimeLicense Type: baseLicense State: Not ActivatedLicense Count: 0License Location: Slot 1
Index 8: License Name: apcountPeriod left: LifetimeLicense Type: adderLicense State: Not ActivatedLicense Count: 0License Location: Slot 13850-1#show license right-to-use summary License Name Type Count Period left
-----------------------------------------------ipservices permanent N/A Lifetimeapcount base 0 Lifetimeapcount adder 0 Lifetime--------------------------------------------License Level In Use: ipservices
License Level on Reboot: ipservices
Evaluation AP-Count: Disabled
Total AP Count Licenses: 0
AP Count Licenses In-use: 0
AP Count Licenses Remaining: 0
这篇关于Cisco Catalyst3850交换机RTU license使用方法的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!