思科采用人工翻译与机器翻译相结合的方式将此文档翻译成不同语言,希望全球的用户都能通过各自的语言得到支持性的内容。 请注意:即使是最好的机器翻译,其准确度也不及专业翻译人员的水平。 Cisco Systems, Inc. 对于翻译的准确性不承担任何责任,并建议您总是参考英文原始文档(已提供链接)。
本文描述聪明准许软件配置,操作和排除故障在Cisco IOS XR版本5.2.0和以上。聪明准许被开发为了寻址在Cisco平台和操作系统的多种功能和应用程序的许可权要求管理(Oss)运行。
聪明的许可证申请运行不仅在ASR9000 (ASR9K) Cisco IOS XR的,而且在运行Cisco IOS和Cisco IOS XE Oss的多种平台。此简单的应用程序非常地减少必要的努力管理多样化的Cisco设备、系统和平台并且带来大量需求的简单准许管理、权利和运作成本。
聪明的许可证申请的使用的方法是一个动态‘下拉式’方法;ASR9K设备发起呼叫并且拉从Cisco后端服务器的信息。Cisco后端服务器不会首次任何呼叫或连接与任何设备,然而总是回应,当连接请求来自希望注册和接受权利的设备。
初始建立对从设备的运算符的很少人工干预是安全和容易,并且可以为与一个正常工具指令语言(TcL)或Python Expect脚本的更大的环境被自动化。Cisco后端服务器提供的报告设备,可访问通过一个正常浏览器,将帮助有设备他们的库存簿记的用户,功能配置了准许和出于标准(OOC)和动态地移动他们的资源,不用需要reprovision或要求技术支持。
聪明准许使用标准的HTTP安全(HTTPS)作为传输机制为了到达Cisco后端服务器。技术上讲,只有是需要的为了enable (event)在ASR9K设备的聪明的准许功能配置的一条线路:
RP/0/RSP0/CPU0:SAMDD(admin-config)#license smart enable
对HTTPS的设备默认值传输和在成功的注册请求,立即查询后端服务器权利。它返回被核准的二者之一,意味着设备有功能的许可证或者OOC,意味着权利二者之一不失踪存在,或者到期。
Note: 许可证标准状态在任何情况下不会影响设备的功能。当前聪明的许可证申请根据荣誉制度并且通过系统日志或控制台日志通知管理员至于标准或OOC状态。没有功能障碍在任何情况下由于因此准许或缺乏。然而, Cisco鼓励产生更多公开性用户关于设备他们的库存,许可证消耗,在聚合/总数使用的每个设备和功能的标准,等等。
Note:对后端服务器的HTTP技术支持在CY2019贬抑,然而对卫星服务器的HTTP将作动。
聪明准许能共存与传统准许,但是仅他们中的一个可以在指定时候是活跃的。您能容易地交换在他们之间与配置的添加或删除从管理飞机的。ASR9K系统不要求任何重新加载也不为此‘交换机’重新启动发生。传统准许完全地将被替换与聪明准许在将来版本。
如果ASR9K设备不使用要求准许的一个功能,则自动地系统在Authorized State,并且进一步行动不需要采取。仅在‘配置要求一个许可证的’功能系统将设法从Cisco后端服务器动态地获取许可证。
这是准许型号之间的一些区别。注意仅他们中的一个在指定时候是活跃的。
传统(被锁定的节点)准许 |
聪明(动态)准许 |
---|---|
您必须获得许可证和在每个设备上手工安装它通过PAK文件。 |
软件安装不是需要/必要的。设备起动使用的HTTP/HTTPS呼叫到家会话并且请求许可证和被配置为。 |
许可证附加对机箱,移动或者reprovisioning要求备份或重新安装。所有是消耗时间的人工操作。 |
许可证附加对您的帐户。Unconfigure在当前机箱使用的功能和重新配置在需要使用同一个许可证的一个新的机箱的功能。当新设备通过呼叫到家进程时,起动HTTP/HTTPS请求reprovision动态地发生。 |
NODE锁着的许可证-许可证与一特定设备/slot产生关联。 |
准许在客户已经创建的池,是帐户特定的公司,并且可以与所有ASR9K设备一起使用在您的公司中。 |
普通的安装基础位置为了查看许可证购买的或软件使用趋势。 许可证簿记需要为各自的机箱/系统手工被维护。 |
许可证在Cisco后端服务器安全地存储,可访问的24x7x365。许可证计数是每个客户/池,并且许多设备可以是同一个池的一部分。 |
额外的许可证要求新的PAK文件和人工干预/交互作用用设备。 |
额外的许可证可以通过对Cisco URL和帐户的点在后端服务器创建的Web浏览器调用。基本上点和点击操作。 |
没有容易的平均值从一个设备调用许可证到另一个。 |
许可证可以被移动在产品实例之间,不用ANY软件安装。您能从一个池容易地也调用许可证到其他与Web接口。 |
此图表显示在两准许的计划之间的比较。
聪明的准许步骤是非常容易和直观的。当您购买齿轮/设备时,您能定购您同时需要的许可证或以后定购他们。在许可证的购买和设置的履行用Cisco :
这是注册过程开始Web接口的速成教学:
亦称虚拟帐户许可证池用于逻辑上安置和组织许可证每组织的需要。它是一个容器许可证,要求一个许可证的功能的注册的设备。您能创建每个站点一个池,每个部门,等等。
许可证可以从一个池容易地调用到另一个。
Idtoken是此帐户生成的键,用于注册ASR9K设备。它可以是有效的从一天到一年。令牌的唯一的使用是注册设备,并且以后那不是需要的。令牌是可以被复制到TcL或Python脚本为了自动化远程设备已注册文本的流。
例如,您能创建一个令牌一天和发送它到远程手将使用的远程站点设备已注册。它在一天到期,并且远程手不能使用它为了注册任何其它设备。即使它用于注册不属于您的公司的设备,您将容易地看到在产品实例的设备选中并且能采取行动为了取消许可证。
报告动态地生成各种各样库存,并且可以被导出到脱机使用、簿记或者分析的Excel格式。
许可证选项显示多种ASR9K设备要求的许可证,显示每个许可证计数和状态。转移链路项目,当您直接地点击它和到/从在帐户时的所有池容易地调用许可证可以使用。
事件Log选项记录设备的活动与Syslog类型格式的池并且记录动作每个设备或帐户的用户采取,例如注册, deregistration,等等。接口为定位或调试是容易和直观的。
此示例看一看在如何从传统准许升级到聪明准许。注意在某些情况下聪明准许也许是默认值。
为了检查传统准许,一些个命令可以从admin飞机运行。这是有不同的输出,当与聪明准许比较的一些。
Note:传统准许是在Cisco IOS XR版本5.3.0的默认授权模式和前。
RP/0/RSP1/CPU0:ROA(admin)#show license pools
Pool: Owner
Feature: A9K-24X10-OPT-LIC A9K-24X10-VID-LIC A9K-24X10G-AIP-SE A9K-24X10G-AIP-TR
A9K-2X100-OPT-LIC A9K-2X100-VID-LIC A9K-2X100G-AIP-SE A9K-2X100G-AIP-TR
A9K-36X10-OPT-LIC A9K-36X10-VID-LIC A9K-36X10G-AIP-SE A9K-36X10G-AIP-TR
A9K-400G-AIP-SE A9K-400G-AIP-TR A9K-400G-OPT-LIC A9K-400G-VID-LIC
A9K-800G-AIP-SE A9K-800G-AIP-TR A9K-800G-OPT-LIC A9K-800G-VID-LIC
A9K-ADV-OPTIC-LIC A9K-ADV-VIDEO-LIC A9K-AIP-LIC-B A9K-AIP-LIC-E
RP/0/RSP1/CPU0:ROA(admin)#show license allocated
FeatureID: A9K-800G-AIP-SE (Slot based, Permanent)
Total licenses 1
Status: Allocated 1
Pool: Owner
Total licenses in pool: 1
Status: Operational: 1
Locations with licenses: (Active/Allocated) [SDR]
0/0/CPU0 (0/1) [Owner]
传统准许命令的一子集可能从exec飞机也运行,但是它是一个好想法从admin飞机运行他们,有详尽列表。
RP/0/RSP1/CPU0:ROA#show license ?
WORD Feature ID
active Currently checked-out/being used by applications.
allocated Allocated to a slot but not used.
available Not currently active.
evaluation Display the evaluation licenses.
expired Display evaluation licenses already expired.
location Show information for a specific location
log The operational or administrative logs.
| Output Modifiers
<cr>
聪明准许未被启用,但是这是什么系统显示。
即使配置不适用, call_home默认内置的配置文件使用HTTPS,指向Cisco后端服务器通过系统管理端口。后请参阅更多在call_home在本文。
RP/0/RSP1/CPU0:ROA#show run call-home
% No such configuration item(s)
RP/0/RSP1/CPU0:ROA#show call-home detail | i https
http proxy: Not yet set up
HTTP address(es): https://tools.cisco.com/its/service/oddce/services/DDCEService
对于最小值配置,您只需要第1步和第4.步。步骤的其余是对于信息,验证和报告。
RP/0/RSP1/CPU0:ROA(admin-config)#license smart enable
RP/0/RSP1/CPU0:ROA(admin-config)#commit
RP/0/RSP1/CPU0:ROA#show run call-home
call-home
service active
contact-email-addr sch-smart-licensing@cisco.com
profile CiscoTAC-1
active
destination transport-method http
RP/0/RSP1/CPU0:ROA(admin)#show license version
Cisco Smart Licensing Agent, Version 1.1.4_throttle/16
RP/0/RSP1/CPU0:ROA(admin)#license smart register idtoken
NjgyMWM2NDItMzI5My00YzQ2LThmMDItMzhhNWI2Mzk2YWUwLTE0MzUzMzM3%
0aMDQwNDB8SWRzSGkvR0d2MWZTZEhzK2RWUmJWMmh0U1ZIa2tBVzBLZKl1ZHhs%0AZGRPbz0%3D%0A ?
force Force Registration
<cr>
license smart register: Registration process is in progress. Please check
the syslog for the registration status and result
关键字强制关于以前注册的设备重写并且消除任意信息。应该稀少和在特殊情况下使用关键字强制。或者,网页用户界面可以用于为了从帐户清除设备。
RP/0/RSP1/CPU0:ROA(admin)#show license register-status
Registration Status: Completed
Registration Start Time: Wed Dec 17 2014 13:07:23 PST
Next ID Cert Renew Time: Mon Jun 15 2015 14:07:45 PST
Next ID Cert Expiration Time: Thu Dec 17 2015 13:01:41 PST
Last Response Time: Wed Dec 17 2014 13:07:45 PST
Last Response Message: OK: OK
如果状态‘没有完成’,您将看到在控制台或Syslog的消息。这是成功的系统消息:
RP/0/RSP1/CPU0:Dec 17 13:07:45.285 : licmgr[310]: SMART_LIC-6-AGENT_REG_SUCCESS:
Smart Agent for Licensing Registration with Cisco licensing cloud successful
RP/0/RSP1/CPU0:Dec 17 13:08:18.357 : licmgr[310]: SMART_LIC-3-OUT_OF_COMPLIANCE:
One or more entitlements are out of compliance':
RP/0/RSP1/CPU0:ROA(admin)#show license entitlement | i Tag | e Not | u sort
Tag: regid.2014-04.com.cisco.A9K-24X10-OPT-LIC,
1.0_66d3ccf7-a374-4409-a3f9-6bc56d645f1c, Version: 1.0, Enforce Mode:
Out of compliance
Tag: regid.2014-04.com.cisco.A9K-24X10-VID-LIC,1.0_9f03b94f-3c76-4a39-82f2
-1b53cdf5cb15, Version: 1.0, Enforce Mode: Out of compliance
Tag: regid.2014-04.com.cisco.A9K-24X10G-AIP-TR,1.0_e5d7cec3-e8e3-43c6-88c9
-a113b76679f8, Version: 1.0, Enforce Mode: Out of compliance
Tag: regid.2014-06.com.cisco.A9K-2X100-OPT-LIC,1.0_0f74bb00-42af-4c4d-b162
-bcb346c7510a, Version: 1.0, Enforce Mode: Out of compliance
Tag: regid.2014-06.com.cisco.A9K-2X100-VID-LIC,1.0_a482b964-6371-4aad-8e82
-2083c5749205, Version: 1.0, Enforce Mode: Out of compliance
Tag: regid.2014-06.com.cisco.A9K-2X100G-AIP-SE,1.0_ce447831-e4af-4def-a98b
-3297fab65561, Version: 1.0, Enforce Mode: Out of compliance
Tag: regid.2014-06.com.cisco.A9K-36X10-OPT-LIC,1.0_92a8597a-f591-4afc-adeb
-9b212cee11be, Version: 1.0, Enforce Mode: Out of compliance
聪明准许或传统准许CLI在指定时候是可用的,不是两个。
池名字用于组织/分类设备。您能使用每个区域一个池/地理或者部门或者功能区域或者财务分组,等等。每家公司能决定他们如何希望分类许可证。并且请注意它是非常易用的您的正常浏览器为了查看,更改或者移动许可证在池之间,添加或者更改许可证计数和那么容易地执行没有任何帮助从Cisco,独立地,日以继夜。
RP/0/RSP1/CPU0:ROA(admin)#show license pool
Assigned Pool Info: PATRICK_NO_LIC
RP/0/RSP1/CPU0:ROA(admin)#license smart deregister
license smart deregister: Success
License command "license smart deregister " completed successfully.
RP/0/RSP1/CPU0:ROA(admin)#show license register-status
Registration Status: Not Registered
RP/0/RSP1/CPU0:ROA(admin)#show license features
Platform Feature ID:
A9K-ADV-OPTIC-LIC
A9K-ADV-VIDEO-LIC
A9K-iVRF-LIC
A9K-AIP-LIC-B
A9K-AIP-LIC-E
A9K-MOD80-AIP-TR
A9K-MOD80-AIP-SE
A9K-MOD160-AIP-TR
A9K-MOD160-AIP-SE
A9K-2X100G-AIP-TR
. . . output snipped . . .
为了明白应用程序的技工,您需要有其组件基本的了解。对于软件的操作或配置,然而,前期知识不是必要除之外遵从发布的指南。此部分为希望认识详细资料的技术人员和工程师更打算。
聪明准许在几个方案可以配置从属在需求关于安全、可管理性和用户的操作模式。
例如:
除HTTPS的技术支持之外,在允许更加了不起的控制水平对的虚拟路由转发(VRF)设置可能也配置软件运行许可证信息如何的被传输。
此外,本地支持IPv6和只要求在系统为了communciate的一个有效IP6地址用在互联网的Cisco后端服务器。
这些配置假设, ASR9K配置有域名系统(DNS)或IPv4/IPv6域主机,以便能解析主机名为了到达外部网络。
网络时间协议(NTP)的配置是必要为了保持系统与后端证书服务器同步。
RP/0/RSP0/CPU0:ROA#show run domain
domain name cisco.com
domain list cisco.com
domain name-server 171.70.168.183
domain name-server 2001:420:68d:4001::a
RP/0/RSP0/CPU0:ROA#show run | i ipv6 host
Building configuration...
domain ipv6 host tools.cisco.com 2001:420:1101:5::a
Apache配置是超出本文的范围,但是有在能通过步骤走您的互联网的许多好文件。为了展示功能, Apache为在端口80的一个简单的代理被配置。请参阅显示的亚帕基的mod_proxy的调试输出这里。
对于聪明准许,然而,配置是非常简单的,提及代理服务器的名字和端口。配置将寄请求给代理服务器而不是直接联系Cisco后端服务器。代理服务器将联系服务器在配置任何传输转发请求;HTTPS是推荐的。除http代理mybastion.cisco.com端口80外,没有需要其他配置。
RP/0/RSP0/CPU0:ROA#show run call-home
call-home
service active
http-proxy mybastion.cisco.com port 80
contact-email-addr sch-smart-licensing@cisco.com
profile CiscoTAC-1
active
destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
destination transport-method http
输入巧妙的寄存器idtoken <idtoken>的注册admin命令许可证并且注意到输出显示ASR9K做的请求/响应。注释时间戳和成功列计数器。
RP/0/RSP0/CPU0:ROA#show call-home smart-licensing statistics
Success: Successfully sent and response received.
Failed : Failed to send or response indicated error occurred.
Inqueue: In queue waiting to be sent.
Dropped: Dropped due to incorrect call-home configuration.
Msg Subtype Success Failed Inqueue Dropped Last-sent (GMT-08:00)
----------------------------------------------------------------------
ENTITLEMENT 1 0 0 0 2015-01-12 21:06:56
DEREGISTRATION 0 0 0 0 n/a
REGISTRATION 1 0 0 0 2015-01-12 21:06:21
ACKNOWLEDGEMENT 1 0 0 0 2015-01-12 21:06:38
这是显示Apache访问日志的片断请求在端口443出去, HTTPS协议。
root@mybastion:/var/log/httpd #tail -f proxy-*
==> proxy-error.log <==
[Mon Jan 12 21:06:10 2015] [debug] mod_proxy_connect.c(70): proxy: CONNECT:
canonicalising URL tools.cisco.com:443
[Mon Jan 12 21:06:10 2015] [debug] proxy_util.c(1515): [client 172.27.130.65] proxy:
*: found forward proxy worker for tools.cisco.com:443
[Mon Jan 12 21:06:21 2015] [debug] mod_proxy_connect.c(109): [client 172.27.130.65]
(70014)End of file found: proxy: CONNECT: error on client - ap_get_brigade
[Mon Jan 12 21:06:21 2015] [debug] mod_proxy_connect.c(425): proxy: CONNECT:
finished with poll() - cleaning up
==> proxy-access.log <==
172.27.130.65 - - [12/Jan/2015:21:06:10 -0800] "CONNECT tools.cisco.com:443 HTTP/1.1" 200 -
在此方案中传输网关应用程序在Linux上安装或Windows主机和配置收到准许从在用户地的ASR9K设备请求并且传递他们到Cisco后端服务器。欲知更多信息,请参阅传输网关配置和用户指南。
在ASR9K的配置是一条线路。这是示例; 参考为您的环境需要的确切的配置的文档。
call-home
profile CiscoTAC-1
destination address http
https://TG-IP-or-FQDN/Transportgateway/services/DeviceRequestHandler
VRF准许对管理数据流的更多控制并且对聪明准许是几乎透明的。然而,当聪明的准许软件设法到达Cisco后端服务器时,一线路配置是必要为了做基础软件参见VRF表而不是全局表。
显示的字符串这里是在系统配置的VRF名字。
RP/0/RSP0/CPU0:ROA(config)#http client vrf MGMT
验证的输出示例: Call Home工作是否适当地显示得这里。
RP/0/RSP0/CPU0:ROA#show call-home detail
Current call home settings:
call home feature : enable
call home message's from address: mylab-roa@cisco.com ; optional, any address
call home message's reply-to address: pasoltan@cisco.com ; optional,
recipient address
vrf for call-home messages: Not yet set up ; Not supported natively yet
contact person's email address: sch-smart-licensing@cisco.com ; default
contact person's phone number: +1-408-526-8438 ; optional
street address: 1550 Soltani Lane, Cisco System Drive, North Pole, NP 99709
customer ID: Not yet set up
contract ID: Not yet set up
site ID: BUILDING20-125 ; optional
source interface: Not yet set up ; can be configured to use a specific interface.
Mail-server[1]: Address: bastion.cisco.com Priority: 1 ; optional
Mail-server[2]: Address: 171.68.58.10 Priority: 10 ; optional
Mail-server[3]: Address: 173.37.183.72 Priority: 20 ; optional
http proxy: Not yet set up ; when configured will change.
Smart licensing messages: enabled
Profile: CiscoTAC-1 (status: ACTIVE) ; default profile supported.
Can not be renamed, deleted, but can be modified, activated, deactivated.
aaa-authorization: disable ; optional
aaa-authorization username: callhome (default) ; default
data-privacy: normal ; can be configured to use the hostname or not.
syslog throttling: enable
Rate-limit: 5 message(s) per minute
Snapshot command: Not yet set up
; Non-smart licensing configuration for alerts, data collection, defaults.
Available alert groups:
Keyword State Description
---------------------- ------- -------------------------------
configuration Enable configuration info
environment Enable environmental info
inventory Enable inventory info
snapshot Enable snapshot info
syslog Enable syslog info
Profiles:
Profile Name: CiscoTAC-1
Profile status: ACTIVE
Profile mode: Full Reporting
Reporting Data: Smart Call Home, Smart Licensing
Preferred Message Format: xml
Message Size Limit: 3145728 Bytes
Transport Method: http
Email address(es): callhome@cisco.com
HTTP address(es): ; Only configuration needed if default is not desired.
http://tools.cisco.com/its/service/oddce/services/DDCEService
https://tools.cisco.com/its/service/oddce/services/DDCEService
Periodic inventory info message is scheduled every 23 day of the month at 11:2
Alert-group Severity
------------------------ ------------
environment minor
inventory normal
Syslog-Pattern Severity
------------------------ ------------
.* critical
您能配置Call Home执行Syslog和诊断数据集以及核心转储或者安排完成的它与聪明的准许差事一起发送事件的电子邮件通知等等。
您能查看您的与您聪明的准许用户名和密码的Call Home收集的信息在https://tools.cisco.com/sch/reports/deviceReport.do。
请参阅在“相关信息”部分连接的本文关于如何使用此功能的更多信息为了有益于您的环境。并且电子邮件通知示例在“零星物品”部分。
没有调试聪明的准许软件的严格的规则由于包括程序包的许多组件。然而,一些个普通的方法方法通常缩小问题。这是一些建议。
首先调查Syslog。您将获得一些线索至于应该首先检查什么组件。在这些消息您看到一些认证问题和疏忽传送Call Home HTTP信息;终于恢复通信。
RP/0/RSP0/CPU0:ROA#sh log | i SMART
RP/0/RSP1/CPU0:Dec 17 20:01:28.522 : licmgr[308]: SMART_LIC-3-ID_CERT_RENEW_FAILED:
ID certificate renewal failed: Response error: {"product_instance_identifier":
["ProductInstance '8baecfb5-2688-429b-8519-10a3f0dec6b5' is not valid"]}
RP/0/RSP1/CPU0:Dec 17 20:01:34.273 : licmgr[308]: SMART_LIC-3-AUTH_RENEW_FAILED:
Authorization renewal with Cisco licensing cloud failed: Response error:
LS_UNMATCH_SIGNED_DATA: Signed data and certificate does not match
RP/0/RSP0/CPU0: Dec 17 18:26:24.009 : licmgr[314]: SMART_LIC-3-COMM_FAILED:
Communications failure with Cisco licensing cloud: Fail to send out Call Home
HTTP message
RP/0/RSP0/CPU0:Dec 17 18:28:03.057 : licmgr[314]: SMART_LIC-3-AGENT_REG_FAILED:
Smart Agent for Licensing Registration with Cisco licensing cloud failed:
Communication message send error
RP/0/RSP0/CPU0:Dec 17 18:30:09.247 : licmgr[314]: SMART_LIC-5-COMM_RESTORED:
Communications with Cisco licensing cloud restored
RP/0/RSP0/CPU0:Dec 17 18:30:21.923 : licmgr[314]: SMART_LIC-6-AGENT_REG_SUCCESS:
Smart Agent for Licensing Registration with Cisco licensing cloud successful
检查show命令输出为了获得在什么状态的把柄机箱/组件在。您看到移动性、互联网协议安全(IPsec)和光学许可证。
RP/0/RSP0/CPU0:ROA#admin show license entitlement
Entitlement:
Tag: regid.2014-06.com.cisco.A9K-MOBILE-LIC,1.0_e447924c-0a6f-41be-9202-8ae60fcc2972,
Version: 1.0, Not In Use
Requested Time : NA, Requested Count: NA
Vendor String:
Tag: regid.2014-09.com.cisco.A9K-IPSEC-20G-LIC,1.0_a165db99-eb3f-474b-bdf0-
ce4b140d9b45, Version: 1.0, Not In Use
Requested Time : NA, Requested Count: NA
Vendor String:
Tag: INSTALLMGR, Version: 1.0, Not In Use
Requested Time : NA, Requested Count: NA
Vendor String:
Tag: regid.2014-04.com.cisco.A9K-24X10-OPT-LIC,1.0_66d3ccf7-a374-4409-a3f9-
6bc56d645f1c, Version: 1.0, Enforce Mode: Out of compliance
Requested Time : Mon Jan 12 2015 20:47:07 PST, Requested Count: 1
Vendor String:
... output snipped ...
检查许可证标准。
RP/0/RSP0/CPU0:ROA#admin show license status
Compliance Status: Out of compliance
检查哪个池是活跃的。
RP/0/RSP0/CPU0:ROA#admin show licence pool
Assigned Pool Info: PATRICK_NO_LIC
Chcek准许认证。
RP/0/RSP0/CPU0:ROA#admin show license cert
Licensing Certificates:
ID Cert Info:
Start Date: Mon Jan 12 2015 21:00:13 PST. Expiry Date: Tue Jan 12 2016 21:00:13 PST
Serial Number: 24724
Version: 3
Subject/SN: 60fe47f8-aaaa-40fc-ae3e-fae9c7b6d0ac
Common Name: 138091632beb1f2e38069e9eec8f9c626de471ac::1,2
Signing Cert Info:
Start Date: Wed Sep 11 2013 12:05:34 PST. Expiry Date: Sun May 30 2038 12:48:46 PST
Serial Number: 3
Version: 3
检查准许版本。
RP/0/RSP0/CPU0:ROA#admin show license version
Cisco Smart Licensing Agent, Version 1.1.4_throttle/16
此命令显示对呼叫到家尝试的统计数据,成功并且/或者发生故障。
RP/0/RSP1/CPU0:ROA#show call-home smart-licensing statistics
Success: Successfully sent and response received.
Failed : Failed to send or response indicated error occurred.
Inqueue: In queue waiting to be sent.
Dropped: Dropped due to incorrect call-home configuration.
Msg Subtype Success Failed Inqueue Dropped Last-sent (GMT-08:00)
----------------------------------------------------------------------
ENTITLEMENT 1 0 0 0 2014-12-17 21:08:35
DEREGISTRATION 1 0 0 0 2014-12-17 14:33:17
REGISTRATION 1 0 0 0 2014-12-17 21:07:53
ACKNOWLEDGEMENT 1 0 1 0 2014-12-17 21:08:09
RENEW 1 0 0 0 2014-12-17 21:08:57
因为在ASR9K和Cisco Cloud之间的传输由它,管理其次检查跟踪文件call_home进程。
RP/0/RSP0/CPU0:ROA#show call-home trace error last 2
81 wrapping entries (576 possible, 320 allocated, 0 filtered, 81 total)!
Jan 28 10:10:29.729 call_home/error 0/RSP0/CPU0 t10 call_home_http_resp_data(),
httpc response error, Host name resolution failed
Jan 28 10:10:39.730 call_home/error 0/RSP0/CPU0 t19 call_home_events_handler() failure status 67
检查smartlic跟踪。这些跟踪显示许可证交互作用用Cisco Cloud服务器。
RP/0/RSP0/CPU0:ROA#admin show license trace smartlic last 2
987 wrapping entries (1088 possible, 0 filtered, 987 total)
Jan 28 20:10:36.245 smartlicense/smartlic 0/RSP0/CPU0 t3 [2302054]
Failed to bind to SysDB - 'Subsystem(2091)' detected the 'success' condition
'Code(45)': Unknown Error(292)
Jan 28 20:10:36.245 smartlicense/smartlic 0/RSP0/CPU0 t3 [2302054]
SMART ERROR - SASACKExpirationJob: expirySeconds=3842
此进程是主要接口对聪明准许在ASR9K并且考虑在多种组件之间的胶浆。
RP/0/RSP1/CPU0:ROA#admin show license trace
557 wrapping entries (576 possible, 0 filtered, 5403 total)
Dec 17 13:08:18.358 license/licmgr 0/RSP1/CPU0 t3 [3125351] SLA Debug :
Client search success pkg/bin/rsi_agent (No error)
Dec 17 13:08:18.358 license/licmgr 0/RSP1/CPU0 t3 [3125351] SLA Debug :
A9K-MOD160-AIP-SE regid.2014-06.com.cisco.A9K-MOD160-AIP-SE,
1.0_7f1b3d9c-a183-41d1-8d0b-d98dcc2751a8 (No error)
虽然代码的平台从属的(PD)零件是一个动态连接库,有一重要的角色在触发要求许可证权利。因此它解决问题关于许可证类型,计数,等等。
RP/0/RSP1/CPU0:ROA#admin show license trace platform all last 5
1849 wrapping entries (5440 possible, 3136 allocated, 0 filtered, 183450 total)
Dec 17 20:43:33.480 vkg_lic/audit 0/RSP1/CPU0 t1 Agent Client Audit Cmd Start: ver:1,
node:0x00000041 cmd:Audit(5) req:Mobile(9) feature:A9K-MOBILE-LIC(13) grant:
Not Pending(0)
Dec 17 20:43:33.480 vkg_lic/audit 0/RSP1/CPU0 t1 Agent Client Audit Cmd Start #2:
client restarted:False up for a day:True
Dec 17 20:43:33.480 vkg_lic/audit 0/RSP1/CPU0 t1 AUDIT Reply License Start:
request:Mobile(9) slot:4 grant:Not Pending(0)
Dec 17 20:43:33.480 vkg_lic/audit 0/RSP1/CPU0 t1 AUDIT Reply License End:
request:Mobile(9) slot:4 grant:Not Pending(0) rc: 0x00000000 No error
Dec 17 20:43:33.480 vkg_lic/audit 0/RSP1/CPU0 t1 Agent Client Cmd End:Audit(5),
slot:4 rc:0x00000000 No error
如果所有发生故障,则请打开调试并且输入一个根据要求要求证书或权利的续订。此调试应该收集在ASR9K和Cisco Cloud服务之间的所有处理。
RP/0/RSP0/CPU0:ROA#debug smartlic
RP/0/RSP1/CPU0:ROA#show debug
#### debug flags set from tty 'aux0_RSP1_CPU0' ####
smartlic debug flag is ON with value 0
直接UI/Cisco Cloud服务器调试不是可用的。发送一个电子邮件到与所有问题的asr9k-smart-lic@cisco.com。
RP/0/RSP1/CPU0:ROA#show run call-home
call-home
service active
site-id BUILDING20-125
sender reply-to pasoltan@cisco.com
sender from roa@cisco.com
alert-group syslog
alert-group snapshot
alert-group inventory
mail-server 171.68.58.10 priority 10
mail-server 173.37.183.72 priority 20
mail-server 2001:420:303:2008::24 priority 2
mail-server mybastion.cisco.com priority 1
phone-number +1-408-526-8438
contact-email-addr sch-smart-licensing@cisco.com
street-address 1550 E.Tasman Drive, San Jose, CA 9513
profile CiscoTAC-1
active
destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
reporting smart-call-home-data
reporting smart-licensing-data
destination transport-method http
RP/0/RP1/CPU0:ROA#call-home send "show run call; admin show platform"
email pasoltan@cisco.com msg-format long-text
Sending ondemand CLI output call-home message ...
Please wait. This may take some time ...
RP/0/RSP1/CPU0:ROA#show call-home smart-licensing statistics
Success: Successfully sent and response received.
Failed : Failed to send or response indicated error occurred.
Inqueue: In queue waiting to be sent.
Dropped: Dropped due to incorrect call-home configuration.
Msg Subtype Success Failed Inqueue Dropped Last-sent (GMT-08:00)
----------------------------------------------------------------------
ENTITLEMENT 1 0 0 0 2014-12-17 21:08:35
DEREGISTRATION 1 0 0 0 2014-12-17 14:33:17
REGISTRATION 1 0 0 0 2014-12-17 21:07:53
ACKNOWLEDGEMENT 1 0 1 0 2014-12-17 21:08:09
RENEW 1 0 0 0 2014-12-17 21:08:57
RP/0/RSP1/CPU0:ROA#show run int M*
interface MgmtEth0/RSP0/CPU0/0
cdp
ipv4 address 172.27.130.64 255.255.255.128
ipv6 address fe80::172:27:130:64 link-local
ipv6 address 2001:420:303:2008:0:28:1:64/80
... snipped output ...
RP/0/RSP1/CPU0:ROA#ping tools.cisco.com
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:420:1201:5::a, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 44/45/49 ms
RP/0/RSP1/CPU0:ROA#ping ipv4 tools.cisco.com
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 173.37.145.8, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 43/44/45 ms