设为首页 收藏本站
查看: 3559|回复: 0

[经验分享] 如何永久免费激活cisco交换机和路由器的License(Right To Use方式)

[复制链接]
累计签到:1 天
连续签到:1 天
发表于 2016-1-15 08:51:03 | 显示全部楼层 |阅读模式
Cisco2911路由器部分:
oes-sw-48#telnet 10.201.27.190 /source-interface vlan 1
Trying 10.201.27.190 ... Open

User Access Verification
Password:
SZXYDJY-2911>en
Password:
SZXYDJY-2911#sh license
Index 1 Feature: ipbasek9                       
        Period left: Life time
        License Type: Permanent  //购买时永久的license
        License State: Active, In Use
        License Count: Non-Counted
        License Priority: Medium
Index 2 Feature: securityk9     //IOS feature set的名字               
        Period left: Not Activated  // 没有激活前的license状态
        Period Used: 0  minute  0  second  
        License Type: EvalRightToUse
        License State: Active, Not in Use, EULA not accepted
        License Count: Non-Counted
        License Priority: None
Index 3 Feature: uck9                           
        Period left: Not Activated
        Period Used: 0  minute  0  second  
        License Type: EvalRightToUse
        License State: Active, Not in Use, EULA not accepted
        License Count: Non-Counted
        License Priority: None
Index 4 Feature: datak9                        
        Period left: Life time
        License Type: RightToUse   // 本文就是使用该方式永久免费地激活cisco的license
        License State: Active, In Use //如果无显示In Use,则feature也同样没有被激活,仍然使用不了。
        License Count: Non-Counted
        License Priority: Low
Index 5 Feature: NtwkEssSuitek9                 
        Period left: Not Activated
        Period Used: 0  minute  0  second  
        License Type: EvalRightToUse
        License State: Active, Not in Use, EULA not accepted
        License Count: Non-Counted
        License Priority: None
Index 6 Feature: CollabProSuitek9               
        Period left: Not Activated
        Period Used: 0  minute  0  second  
        License Type: EvalRightToUse
        License State: Active, Not in Use, EULA not accepted
        License Count: Non-Counted
        License Priority: None
Index 7 Feature: ios-ips-update                 
        Period left: Not Activated
        Period Used: 0  minute  0  second  
        License Type: EvalRightToUse
        License State: Active, Not in Use, EULA not accepted
        License Count: Non-Counted
        License Priority: None
Index 8 Feature: SNASw                          
        Period left: Not Activated
        Period Used: 0  minute  0  second  
        License Type: EvalRightToUse
        License State: Active, Not in Use, EULA not accepted
        License Count: Non-Counted
        License Priority: None
Index 9 Feature: hseck9                        
Index 10 Feature: cme-srst                       
        Period left: Not Activated
        Period Used: 0  minute  0  second  
        License Type: EvalRightToUse
        License State: Active, Not in Use, EULA not accepted
        License Count: 0/0  (In-use/Violation)
        License Priority: None
Index 11 Feature: mgmt-plug-and-play            
Index 12 Feature: mgmt-lifecycle                 
Index 13 Feature: mgmt-assurance                 
Index 14 Feature: mgmt-onplus                    
Index 15 Feature: mgmt-compliance               
SZXYDJY-2911#license ?
  call-home     License call-home information
  clear         Clear license information
  comment       Comment license information
  install       Install license information  
  modify        Modify license
  purge         purge license(s)
  revoke        Revoke license information
  right-to-use  operations for Right To Use licenses
  save          Save license information
SZXYDJY-2911#license right-to-use ?
  move  Move to permanent mode  //此为license永久使用的方式的关键
SZXYDJY-2911#license right-to-use move ?
  WORD  license name    //  这里就是把需要激活的license(feature set)的名字敲上。
SZXYDJY-2911#conf t     //进入全局模式            
SZXYDJY-2911(config)#license ?
  accept     Accept all further License Agreements
  agent      Configure LIC_AGENT
  boot       license boot config commands  //将license上面的move动作进行boot生效,如不敲此命令,则就没有上show license中的In Use的状态。
  call-home  license call-home config commands
  feature    License features
SZXYDJY-2911(config)#license boot ?
  module  which module to boot
SZXYDJY-2911(config)#license boot module ?
  c2900  license boot module for c2900
SZXYDJY-2911(config)#license boot module c2900 ?
  technology-package  product technology group
SZXYDJY-2911(config)#license boot module c2900 technology-package ?
  CollabProSuitek9  CollabProSuitek9 technology
  NtwkEssSuitek9    NtwkEssSuitek9 technology
  appxk9            appx technology
  datak9            data technology
  securityk9        security technology
  uck9              unified communications technology   //以上为可以激活的一些feature set

SZXYDJY-2911(config)#license boot module c2900 technology-package uck9 ?
  disable  disable the technology   //也可以直接disable掉已经激活的feature set
  <cr>  //回车就直接激活该feature set

SZXYDJY-2911(config)#exit
SZXYDJY-2911#sh license   //在路由器重启完成后,直接再使用show license检查下各license的状态
Index 1 Feature: ipbasek9                       
        Period left: Life time
        License Type: Permanent
        License State: Active, In Use
        License Count: Non-Counted
        License Priority: Medium
Index 2 Feature: securityk9                     
        Period left: Not Activated
        Period Used: 0  minute  0  second  
        License Type: EvalRightToUse
        License State: Active, Not in Use, EULA not accepted
        License Count: Non-Counted
        License Priority: None
Index 3 Feature: uck9                           
        Period left: Not Activated
        Period Used: 0  minute  0  second  
        License Type: EvalRightToUse
        License State: Active, Not in Use, EULA not accepted
        License Count: Non-Counted
        License Priority: None
Index 4 Feature: datak9                        
        Period left: Life time
        License Type: RightToUse
        License State: Active, In Use
        License Count: Non-Counted
        License Priority: Low
Index 5 Feature: NtwkEssSuitek9                 
        Period left: Not Activated
        Period Used: 0  minute  0  second  
        License Type: EvalRightToUse
        License State: Active, Not in Use, EULA not accepted
        License Count: Non-Counted
        License Priority: None
Index 6 Feature: CollabProSuitek9               
        Period left: Not Activated
        Period Used: 0  minute  0  second  
        License Type: EvalRightToUse
        License State: Active, Not in Use, EULA not accepted
        License Count: Non-Counted
        License Priority: None
Index 7 Feature: ios-ips-update                 
        Period left: Not Activated
        Period Used: 0  minute  0  second  
        License Type: EvalRightToUse
        License State: Active, Not in Use, EULA not accepted
        License Count: Non-Counted
        License Priority: None
Index 8 Feature: SNASw                          
        Period left: Not Activated
SZXYDJY-2911#exit
[Connection to 10.201.27.190 closed by foreign host]
oes-sw-48#sh licens
oes-sw-48#sh license
Index 1 Feature: ipservices     
        Period left: Life time
        License Type: PermanentRightToUse
        License State: Active, In Use
        License Priority: High
        License Count: Non-Counted
Index 2 Feature: ipbase         
        Period left: 8  weeks 4  days
        License Type: Evaluation
        License State: Active, Not in Use, EULA not accepted
        License Priority: None
        License Count: Non-Counted
Index 3 Feature: lanbase        
        Period left: Life time
        License Type: Permanent
        License State: Active, Not in Use
        License Priority: Medium
        License Count: Non-Counted
Cisco3750交换机部分:


首先看下的IOS版本,Cisco交换机只有在IOS 15.0以上的部分版本支持right-to-use激活
oes-sw-48#sh version
Cisco IOS Software, C3750E Software (C3750E-UNIVERSALK9-M), Version 15.0(2)SE7, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2014 by Cisco Systems, Inc.
Compiled Thu 23-Oct-14 12:32 by prod_rel_team
ROM: Bootstrap program is C3750E boot loader
BOOTLDR: C3750E Boot Loader (C3750X-HBOOT-M) Version 12.2(58r)SE1, RELEASE SOFTWARE (fc1)
oes-sw-48 uptime is 49 weeks, 4 days, 15 hours, 11 minutes
System returned to ROM by power-on
System restarted at 01:27:32 UTC Wed Mar 30 2011
System image file is "flash:/c3750e-universalk9-mz.150-2.SE7.bin"
oes-sw-48#license ?
  call-home     License call-home information
  clear         Clear license information
  comment       Comment license information
  install       Install license information  //license install方式都是需要官方购买license授权文件的
  modify        Modify license
  revoke        Revoke license information
  right-to-use  Activate/Deactivate right-to-use licenses //此为 right-to-use激活方式的关键!
  save          Save license information
oes-sw-48#license right-to-use ?
  activate    Activate a right-to-use license
  deactivate  Deactivate a right-to-use license
oes-sw-48#license right-to-use activate ?
  ipbase      IPBase License Level
  ipservices  IPServices License Level   //ipbase和ipservice都是可以被right-to-use方式激活的feature set
oes-sw-48#    license right-to-use activate ipservices ?
  acceptEULA  Accept  the EULA without reading it now
  switch      Switch license information
  <cr>        //直接敲回车就行了!

oes-sw-48#show license    //在交换机重启完成后,直接再使用show license检查下各license的状态
Index 1 Feature: ipservices     
        Period left: Life time
        License Type: PermanentRightToUse  //使用RightToUse 方式激活获得了永久的license授权。
        License State: Active, In Use
        License Priority: High
        License Count: Non-Counted
Index 2 Feature: ipbase         
        Period left: 8  weeks 4  days
        License Type: Evaluation  //非永久的license都是有使用期限的
        License State: Active, Not in Use, EULA not accepted
        License Priority: None
        License Count: Non-Counted
Index 3 Feature: lanbase        
        Period left: Life time
        License Type: Permanent
        License State: Active, Not in Use
        License Priority: Medium
        License Count: Non-Counted


运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-164594-1-1.html 上篇帖子: Cisco SG 300-52交换机升级操作步骤 下篇帖子: cisco IP SLA+Track实现静态路由的冗余切换 永久免费 路由器 交换机 如何
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表