Cisco2911路由器部分:

oes-sw-48#telnet10.201.27.190/source-interfacevlan1

Trying10.201.27.190...Open


UserAccessVerification

Password:

SZXYDJY-2911>en

Password:

SZXYDJY-2911#shlicense

Index1Feature:ipbasek9

Periodleft:Lifetime

LicenseType:Permanent //购买时永久的license

LicenseState:Active,InUse

LicenseCount:Non-Counted

LicensePriority:Medium

Index2Feature:securityk9 //IOS feature set的名字

Periodleft:NotActivated // 没有激活前的license状态

PeriodUsed:0minute0second

LicenseType:EvalRightToUse

LicenseState:Active,NotinUse,EULAnotaccepted

LicenseCount:Non-Counted

LicensePriority:None

Index3Feature:uck9

Periodleft:NotActivated

PeriodUsed:0minute0second

LicenseType:EvalRightToUse

LicenseState:Active,NotinUse,EULAnotaccepted

LicenseCount:Non-Counted

LicensePriority:None

Index4Feature:datak9

Periodleft:Lifetime

LicenseType:RightToUse // 本文就是使用该方式永久免费地激活cisco的license

LicenseState:Active,InUse //如果无显示In Use,则feature也同样没有被激活,仍然使用不了。

LicenseCount:Non-Counted

LicensePriority:Low

Index5Feature:NtwkEssSuitek9

Periodleft:NotActivated

PeriodUsed:0minute0second

LicenseType:EvalRightToUse

LicenseState:Active,NotinUse,EULAnotaccepted

LicenseCount:Non-Counted

LicensePriority:None

Index6Feature:CollabProSuitek9

Periodleft:NotActivated

PeriodUsed:0minute0second

LicenseType:EvalRightToUse

LicenseState:Active,NotinUse,EULAnotaccepted

LicenseCount:Non-Counted

LicensePriority:None

Index7Feature:ios-ips-update

Periodleft:NotActivated

PeriodUsed:0minute0second

LicenseType:EvalRightToUse

LicenseState:Active,NotinUse,EULAnotaccepted

LicenseCount:Non-Counted

LicensePriority:None

Index8Feature:SNASw

Periodleft:NotActivated

PeriodUsed:0minute0second

LicenseType:EvalRightToUse

LicenseState:Active,NotinUse,EULAnotaccepted

LicenseCount:Non-Counted

LicensePriority:None

Index9Feature:hseck9

Index10Feature:cme-srst

Periodleft:NotActivated

PeriodUsed:0minute0second

LicenseType:EvalRightToUse

LicenseState:Active,NotinUse,EULAnotaccepted

LicenseCount:0/0(In-use/Violation)

LicensePriority:None

Index11Feature:mgmt-plug-and-play

Index12Feature:mgmt-lifecycle

Index13Feature:mgmt-assurance

Index14Feature:mgmt-onplus

Index15Feature:mgmt-compliance

SZXYDJY-2911#license?

call-homeLicensecall-homeinformation

clearClearlicenseinformation

commentCommentlicenseinformation

installInstalllicenseinformation

modifyModifylicense

purgepurgelicense(s)

revokeRevokelicenseinformation

right-to-useoperationsforRightToUselicenses

saveSavelicenseinformation

SZXYDJY-2911#licenseright-to-use?

moveMovetopermanentmode //此为license永久使用的方式的关键

SZXYDJY-2911#licenseright-to-usemove?

WORDlicensename// 这里就是把需要激活的license(feature set)的名字敲上。

SZXYDJY-2911#conft //进入全局模式

SZXYDJY-2911(config)#license?

acceptAcceptallfurtherLicenseAgreements

agentConfigureLIC_AGENT

bootlicensebootconfigcommands //将license上面的move动作进行boot生效,如不敲此命令,则就没有上show license中的In Use的状态。

call-homelicensecall-homeconfigcommands

featureLicensefeatures

SZXYDJY-2911(config)#licenseboot?

modulewhichmoduletoboot

SZXYDJY-2911(config)#licensebootmodule?

c2900licensebootmoduleforc2900

SZXYDJY-2911(config)#licensebootmodulec2900?

technology-packageproducttechnologygroup

SZXYDJY-2911(config)#licensebootmodulec2900technology-package?

CollabProSuitek9CollabProSuitek9technology

NtwkEssSuitek9NtwkEssSuitek9technology

appxk9appxtechnology

datak9datatechnology

securityk9securitytechnology

uck9unifiedcommunicationstechnology //以上为可以激活的一些feature set

SZXYDJY-2911(config)#licensebootmodulec2900technology-packageuck9?

disabledisablethetechnology //也可以直接disable掉已经激活的feature set

<cr> //回车就直接激活该feature set

SZXYDJY-2911(config)#exit

SZXYDJY-2911#shlicense //在路由器重启完成后,直接再使用show license检查下各license的状态

Index1Feature:ipbasek9

Periodleft:Lifetime

LicenseType:Permanent

LicenseState:Active,InUse

LicenseCount:Non-Counted

LicensePriority:Medium

Index2Feature:securityk9

Periodleft:NotActivated

PeriodUsed:0minute0second

LicenseType:EvalRightToUse

LicenseState:Active,NotinUse,EULAnotaccepted

LicenseCount:Non-Counted

LicensePriority:None

Index3Feature:uck9

Periodleft:NotActivated

PeriodUsed:0minute0second

LicenseType:EvalRightToUse

LicenseState:Active,NotinUse,EULAnotaccepted

LicenseCount:Non-Counted

LicensePriority:None

Index4Feature:datak9

Periodleft:Lifetime

LicenseType:RightToUse

LicenseState:Active,InUse

LicenseCount:Non-Counted

LicensePriority:Low

Index5Feature:NtwkEssSuitek9

Periodleft:NotActivated

PeriodUsed:0minute0second

LicenseType:EvalRightToUse

LicenseState:Active,NotinUse,EULAnotaccepted

LicenseCount:Non-Counted

LicensePriority:None

Index6Feature:CollabProSuitek9

Periodleft:NotActivated

PeriodUsed:0minute0second

LicenseType:EvalRightToUse

LicenseState:Active,NotinUse,EULAnotaccepted

LicenseCount:Non-Counted

LicensePriority:None

Index7Feature:ios-ips-update

Periodleft:NotActivated

PeriodUsed:0minute0second

LicenseType:EvalRightToUse

LicenseState:Active,NotinUse,EULAnotaccepted

LicenseCount:Non-Counted

LicensePriority:None

Index8Feature:SNASw

Periodleft:NotActivated

SZXYDJY-2911#exit

[Connectionto10.201.27.190closedbyforeignhost]

oes-sw-48#shlicens

oes-sw-48#shlicense

Index1Feature:ipservices

Periodleft:Lifetime

LicenseType:PermanentRightToUse

LicenseState:Active,InUse

LicensePriority:High

LicenseCount:Non-Counted

Index2Feature:ipbase

Periodleft:8weeks4days

LicenseType:Evaluation

LicenseState:Active,NotinUse,EULAnotaccepted

LicensePriority:None

LicenseCount:Non-Counted

Index3Feature:lanbase

Periodleft:Lifetime

LicenseType:Permanent

LicenseState:Active,NotinUse

LicensePriority:Medium

LicenseCount:Non-Counted

Cisco3750交换机部分:


首先看下的IOS版本,Cisco交换机只有在IOS 15.0以上的部分版本支持right-to-use激活

oes-sw-48#shversion

CiscoIOSSoftware,C3750ESoftware(C3750E-UNIVERSALK9-M),Version15.0(2)SE7,RELEASESOFTWARE(fc1)

TechnicalSupport:http://www.cisco.com/techsupport

Copyright(c)1986-2014byCiscoSystems,Inc.

CompiledThu23-Oct-1412:32byprod_rel_team

ROM:BootstrapprogramisC3750Ebootloader

BOOTLDR:C3750EBootLoader(C3750X-HBOOT-M)Version12.2(58r)SE1,RELEASESOFTWARE(fc1)

oes-sw-48uptimeis49weeks,4days,15hours,11minutes

SystemreturnedtoROMbypower-on

Systemrestartedat01:27:32UTCWedMar302011

Systemp_w_picpathfileis"flash:/c3750e-universalk9-mz.150-2.SE7.bin"

oes-sw-48#license?

call-homeLicensecall-homeinformation

clearClearlicenseinformation

commentCommentlicenseinformation

installInstalllicenseinformation//license install方式都是需要官方购买license授权文件的

modifyModifylicense

revokeRevokelicenseinformation

right-to-useActivate/Deactivateright-to-uselicenses//此为right-to-use激活方式的关键!

saveSavelicenseinformation

oes-sw-48#licenseright-to-use?

activateActivatearight-to-uselicense

deactivateDeactivatearight-to-uselicense

oes-sw-48#licenseright-to-useactivate?

ipbaseIPBaseLicenseLevel

ipservicesIPServicesLicenseLevel //ipbase和ipservice都是可以被right-to-use方式激活的feature set

oes-sw-48#licenseright-to-useactivateipservices?

acceptEULAAccepttheEULAwithoutreadingitnow

switchSwitchlicenseinformation

<cr> //直接敲回车就行了!


oes-sw-48#showlicense //在交换机重启完成后,直接再使用show license检查下各license的状态

Index1Feature:ipservices

Periodleft:Lifetime

LicenseType:PermanentRightToUse //使用RightToUse方式激活获得了永久的license授权。

LicenseState:Active,InUse

LicensePriority:High

LicenseCount:Non-Counted

Index2Feature:ipbase

Periodleft:8weeks4days

LicenseType:Evaluation//非永久的license都是有使用期限的

LicenseState:Active,NotinUse,EULAnotaccepted

LicensePriority:None

LicenseCount:Non-Counted

Index3Feature:lanbase

Periodleft:Lifetime

LicenseType:Permanent

LicenseState:Active,NotinUse

LicensePriority:Medium

LicenseCount:Non-Counted