一、V7无线控制器license 故障排查:
无线控制器license至关重要,license安装、迁移、时效等因素都会影响AC对AP的管理,情况严重时可能造成断网,所以务必小心操作。
首先要确认license是否能正确安装,然后查看是否生效,逐一排查不生效的原因,最后查看license是否够用。
二、流程图相关操作说明:
对于V7平台无线控制器而言,如果是V7的license用户将生成的激活文件(后缀为.ak)导入设备中,然后在设备的系统视图下执行安装命令,如果是V5的license不存在ak文件,直接安装激活码。
命令:license activation-file install xxxx.ak slot 1(V7风格license)
license activation-key install ?
STRING<1-256> Activation key in the format
xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx(V5的“七段式”license)
注:这里指的是同一台AC注册的未使用的V5 license,在升级V7后可以继续使用。并不是说V5的license可以先卸载,然后升级V7后重新安装。另外如果V5license在V5平台已经注册过,那么AC升级V7后,V5上已经安装的license可以自动继承。
例如:如果安装出错,系统会出现报错,否则视为安装成功。
[AC]license activation-file install xxxxxxxxxx.ak
This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...Failed.
Invalid activation file.
命令:display license device-id slot 1
例如:通过命令查看ak文件是否匹配当前设备
<AC>display license device-id slot 1
SN: 210235A1GDH147000007
SN CHECK_SUM: B4D2A39E
Device ID: cfa0:/license/210235xxxxxxx00007.did
注:显示当前设备的信息,与ak文件名的前20位进行比较判断是否适用于当前设备,V5license则是查看规格列表该AC型号是否支持所要安装license的bom编码。
ak文件进行过加密处理,任何对文件的编辑都能导致文件验证失败。比如用文本编辑器打开ak文件再保存等。
判断方法:从设备上把有问题的ak文件下载到本地,与license网站邮件发出的原始ak文件进行二进制比较是否一致,或者比较两个文件的md5是否一致。
命令:display license
例如:通过命令查看license是否生效
<AC>display license
Slot 1:
cfa0:/license/210231A5ASB1680000052016082614021497192.ak
Feature: APMGR
Product Description: Enhanced Access Controller License,512 APs,for Verticals,for V7
Registered at: 2016-08-26 14:20:59
License Type: Permanent
Current State: In use
Feature和Product Description识别显示正常、Current State处于in use状态则表示license正常生效;多种原因可能造成license不生效最典型的就是临时license时效到期,日常巡检中请多关注,另外license被卸载或者ak文件丢失也会造成license失效。
命令:display license
例如:通过命令查看临时license有效期
<AC>display license
Slot 1:
cfa0:/license/210235A1AMB1570000052015091410025584386.ak
Feature: APMGR
Product Description: Enhanced Access Controller License,128 APs,for Verticals,for V7
Registered at: 2015-09-14 10:04:09
License Type: Trial (days restricted)
Trial Time Left (days): 353 ---剩余有效期
Current State: In use
注:License Type: Trial 表示临时license,Permanent表示永久license
命令:display license
例如:通过命令查看license状态
AC>display license
Slot 1:
cfa0:/license/210231A1USB1610000282016110922342572814.ak
Feature: APMGR
Product Description: Enhanced Access Controller License,128 APs,for Verticals,for V7
Registered at: 2016-11-15 17:40:48
License Type: Permanent
Current State: Uninstalled
Uninstall Key: BntS-t$dY-JYnL-uEqa-STP7-yM8u-ULcb-nyFE
Uninstall Date: 2016-11-15 17:48:26
注:卸载license一般用于license迁移,建议不要随意卸载!
命令:dir license/
例如:查看license文件夹中的ak文件是否对应存在
<AC1>dir license/
Directory of cfa0:/license
0 -rw- 1027 Feb 28 2016 12:34:18 210231A1USB161000028.did
1 -rw- 2572 Feb 28 2016 14:13:50 210231A1USB1610000282016022814112241723.ak
出于V7风格license机制要求,ak文件丢失会导致license失效。携带license信息的ak文件会随着文件系统格式化一同消失的,所以切记要提前保存好ak文件。如果格式化文件系统,只要重新上传ak文件到文件系统根目录的/license/文件夹目录下即可恢复。同时禁止改动license名称,否则会造成与AC已注册license无法对应的问题,最终导致license不生效。
注:V5风格license直接下发到设备硬件中,不存在以上问题。
前期合理规划通常不会出现license不够用的情况,通常发生在现网扩容阶段。
命令:display wlan ap all
例如:通过命令查看剩余license是否足够AP注册。
<AC>display wlan ap all
Total number of APs: 2042
Total number of connected APs: 2003
Total number of connected manual APs: 2003
Total number of connected auto APs: 0
Total number of connected common APs: 0
Total number of connected WTUs: 1890
Total number of inside APs: 0
Maximum supported APs: 3072
Remaining APs: 1182
Total AP licenses: 831
Remaining AP licenses: 358.50
注:普通ap注册占用1个license,终结者分体占用四分之一个license,所以有时候剩余license会显示0.25、0.5、0.75等字样,无需担心。终结者专用wtu license也会除以4显示,比如支持500wtu的license,系统计算时按照500/4=125叠加显示。
有一种情况需要特别注意,V7平台无线控制器使用V7license可以支持license pool特性,即IRF组网下实现主备license相加,例如AC1自身安装了100个 V7 license,AC2自身安装了1024个 V7 license,则IRF堆叠成功后,总的license是1124;如果使用V5license,则延续V51+1热备的要求,只能二者取小,例如AC1自身安装了100个 V5 license,AC2自身安装了1024个 V5 license,则IRF堆叠成功后,总的license是100。
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作