wendu 发表于 2018-7-13 12:25:13

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

  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: 0minute0second
  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: 0minute0second
  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: 0minute0second
  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: 0minute0second
  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: 0minute0second
  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: 0minute0second
  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: 0minute0second
  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-useoperations for Right To Use licenses
  save          Save license information
  SZXYDJY-2911#license right-to-use ?
  moveMove to permanent mode//此为license永久使用的方式的关键
  SZXYDJY-2911#license right-to-use move ?
  WORDlicense 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-homelicense call-home config commands
  feature    License features
  SZXYDJY-2911(config)#license boot ?
  modulewhich module to boot
  SZXYDJY-2911(config)#license boot module ?
  c2900license boot module for c2900
  SZXYDJY-2911(config)#license boot module c2900 ?
  technology-packageproduct technology group
  SZXYDJY-2911(config)#license boot module c2900 technology-package ?
  CollabProSuitek9CollabProSuitek9 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 ?
  disabledisable 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: 0minute0second
  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: 0minute0second
  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: 0minute0second
  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: 0minute0second
  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: 0minute0second
  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
  
  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: 8weeks 4days
  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-useActivate/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
  deactivateDeactivate a right-to-use license
  oes-sw-48#license right-to-use activate ?
  ipbase      IPBase License Level
  ipservicesIPServices License Level   //ipbase和ipservice都是可以被right-to-use方式激活的feature set
  oes-sw-48#    license right-to-use activateipservices ?
  acceptEULAAcceptthe 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: 8weeks 4days
  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]
查看完整版本: 如何永久免费激活cisco交换机和路由器的License(Right To Use方式)