如何永久免费激活cisco交换机和路由器的LicenseRight To Use方

 我来答
xialiang112
2016-03-21 · TA获得超过3212个赞
知道大有可为答主
回答量:3575
采纳率:89%
帮助的人:585万
展开全部
在日常的工作和机房设备维护的时候,针对常见的思科设备,需要永久性的激活序列号授权(就是俗称license的东西),下面给大家指点一条明路。命令行的作者附在文后。
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 http://www.luyouqiwang.com/cisco/

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
Storm代理
2023-05-30 广告
StormProxies是全球大数据IP资源服务商,其住宅代理网络由真实的家庭住宅IP组成,可为企业或个人提供满足各种场景的代理产品。点击免费测试(注册即送1G流量)StormProxies有哪些优势?1、IP+端口提取形式,不限带宽,IP... 点击进入详情页
本回答由Storm代理提供
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式