1 背景
Here we got Cisco 2901 router
R-Cisco-2901#sh inventory
NAME: "CISCO2901/K9", DESCR: "CISCO2901/K9 chassis, Hw Serial#: FOG123444, Hw Revision: 1.0"
PID: CISCO2901/K9 , VID: V06 , SN: FOG123456
We need security license to enable the dmvpn feature, the current license feature is right-to-use, we need to upgrade to permanent
Show version可以查看license类型
------------------------------------------------------------------------
Technology Technology-package Technology-package
Current Type Next reboot
------------------------------------------------------------------------
ipbase ipbasek9 Permanent ipbasek9
security securityk9 EvalRightToUse securityk9
uc uck9 Permanent uck9
data None None None
2 Config step
2.1 License Registration
从cisco采购的license文件是PAK码,需要到cisco.com进行注册,和设备的SN进行绑定,生成lic文件。链接:http://www.cisco.com/go/license
下面图片是PAK文件内容,红框内即serial number,需要用到这一串SN到cisco注册。
2.2 License install
可以直接从tftp server进行安装,不需要先拷贝到路由器的flash再进行安装。
R-Cisco-2901-FGS#license install tftp://10.46.14.23/hrbFGL1748208A_20191010032540893.lic
Installing licenses from "tftp://10.46.14.23/hrbFGL1748208A_20191010032540893.lic"
Loading hrbFGL1748208A_20191010032540893.lic from 10.46.14.23 (via GigabitEthernet0/1): !
[OK - 1155 bytes]
Installing...Feature:securityk9...Successful:Supported
1/1 licenses were successfully installed
0/1 licenses were existing licenses
0/1 licenses were failed to install
安装成功
安装完成后,立即生效,不需要重启
再次show version查看license status
Router# show version
Technology Package License Information for Module:'c2900'
------------------------------------------------------------------------
Technology Technology-package Technology-package
Current Type Next reboot
------------------------------------------------------------------------
ipbase ipbasek9 Permanent ipbasek9
security securityk9 Permanent securityk9
uc uck9 Permanent uck9
data None None None
Configuration register is 0x2102