取消
显示结果 
搜索替代 
您的意思是: 
cancel
1042
查看次数
0
有帮助
1
回复

9800 无法从使命行注册idtoken

id404
Spotlight
Spotlight

从文档上看到9800注册token的命令是

Device# license smart register idtoken XXXXXX

但我的9800 注册时无法输入 register idtoken

 

WLC#license smart register idtoken
                               ^
% Invalid input detected at '^' marker.


WLC#license smart ?
authorization      Authorization
clea                   Clear
export               Get or return an export authorization key
factory              Execute Smart Licensing Factory commands
import               Import authcode, policies, trustcode etc
save                 Save
sync                 Sync with CSLU/CSSM.
trust                  Establish trust between PI and CSLU/CSSM.

1 个已接受解答

已接受的解答

ilay
VIP
VIP

将register改为trust即可

1.确定你的设备使用的直连CSSM的方式

通过命令行 show run | in license 或者show run all | in license查看transport是否为"smart"

EWC_TEST#sh run | in license
license smart url default           <------
license smart url smart https://smartreceiver.cisco.com/licservice/license
license smart transport smart       <------

2. 从CSSM上获取 token-id

3. 使用命令行安装token-id即可 license smart trust idtoken TOKEN_ID_STRING { local | all } [force]

EWC_TEST#license smart trust idtoken TOKEN_ID_STRING ?
  all    Establish trust on all devices in HA setup.
  local  Establish trust on local device.

EWC_TEST#license smart trust idtoken TOKEN_ID_STRING local ?
  force  Force CSSM to generate new trust code.
  <cr>   <cr>

EWC_TEST#license smart trust idtoken TOKEN_ID_STRING local force 

 

在原帖中查看解决方案

1 条回复1

ilay
VIP
VIP

将register改为trust即可

1.确定你的设备使用的直连CSSM的方式

通过命令行 show run | in license 或者show run all | in license查看transport是否为"smart"

EWC_TEST#sh run | in license
license smart url default           <------
license smart url smart https://smartreceiver.cisco.com/licservice/license
license smart transport smart       <------

2. 从CSSM上获取 token-id

3. 使用命令行安装token-id即可 license smart trust idtoken TOKEN_ID_STRING { local | all } [force]

EWC_TEST#license smart trust idtoken TOKEN_ID_STRING ?
  all    Establish trust on all devices in HA setup.
  local  Establish trust on local device.

EWC_TEST#license smart trust idtoken TOKEN_ID_STRING local ?
  force  Force CSSM to generate new trust code.
  <cr>   <cr>

EWC_TEST#license smart trust idtoken TOKEN_ID_STRING local force 

 

入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接