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

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

在日常的工作和机房设备维护的时候,针对常见的思科设备,需要永久性的激活序列号授权(就是俗称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

modifyModify license

purge purge license(s)

revokeRevoke 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

featureLicense 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

NtwkEssSuitek9NtwkEssSuitek9 technology

appxk9appx technology

datak9data technology

securityk9security 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授权文件的

modifyModify license

revokeRevoke 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 ?

activateActivate 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

cisco C560X系列交换机的LIC导入方法类似与路由器、防火墙的导入方式,首先您购买的设备包装箱内,会有一份cisco 的LIC授权书(就是一张纸),在授权书内,大部分都是废话(个人觉得),只有卖袜一串串码是有用的,我们一般称他为PAK码,您需要cisco的CCO帐号(没卜睁有CCO帐号,可在cisco网站上注册一个,免费的),登陆cisco网站,在您的帐号下,需要输入PAK码来兑换成您的LIC激活码,得到LIC激活码后,使用类似与防火墙、或者路由器的方式,使用命令即可激型配岁活,上传2份文件,分别是:

PAK码兑换LIC激活码的方式以及激活LIC的方式,以供参考。


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/tougao/12142327.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-21
下一篇 2023-05-21

发表评论

登录后才能评论

评论列表(0条)

保存