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
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 p_w_picpath 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
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