01-26-2017 09:22 AM
Hi:
I'm trying to clean up a box that used to be part of a BNG cluster, to use as a router somewhere else, but I'm not able to clean the old licenses:
RP/0/RSP0/CPU0:ios#show license
Thu Jan 26 16:13:29.906 UTC
FeatureID: A9K-LI-LIC (Slot based, Evaluation[Valid])
Total licenses 1
Available for use 0
Allocated to location 1
Active 0
Store name Permanent
Store index 1
Pool: Owner
Total licenses in pool: 1
Status: Available 0 Operational: 1
Locations with licenses: (Active/Allocated) [SDR]
0/RSP0/CPU0 (0/1) [Owner]
RMA: S/N XXXXXXX: 1 licenses will expire in 90 days
FeatureID: A9K-NV-CLUSTR-LIC (Slot based, Permanent)
Total licenses 2
Available for use 0
Allocated to location 2
Active 0
Store name Permanent
Store index 3
Pool: Owner
Total licenses in pool: 2
Status: Available 0 Operational: 2
Locations with licenses: (Active/Allocated) [SDR]
0/RSP0/CPU0 (0/1) [Owner]
1/RSP0/CPU0 (0/1) [Owner]
RMA: S/N XXXXXXXX: 1 licenses will expire in 90 days
RMA: S/N XXXXXXXX: 1 licenses will expire in 78 days
RP/0/RSP0/CPU0:ios#
SYSTEM CONFIGURATION COMPLETED
RP/0/RSP0/CPU0:TEST#
RP/0/RSP0/CPU0:TEST#
RP/0/RSP0/CPU0:TEST#
RP/0/RSP0/CPU0:TEST#
RP/0/RSP0/CPU0:TEST#admin
Thu Jan 26 16:14:04.159 UTC
RP/0/RSP0/CPU0:TEST(admin)#clear license
Thu Jan 26 16:14:06.245 UTC
Info: This command will clear all license information.
Info: It is strongly recommended to backup existing
Info: licenses first. Note that implicit licenses are
Info: not backed up or restored, but will be created
Info: dynamically as needed.There could also be service
Info: impact if this system is configured with features
Info: that are having hard enforcement license policy.
Info: Please un-configure such features first .
Do you wish to proceed? [yes/no]: yes
Error: License command "clear license" failed.
Error: 'License Manager' detected the 'warning' condition 'No such license'.
Info: There are no features/license pools to be
Info: cleared.
RP/0/RSP0/CPU0:TEST(admin)#LC/0/0/CPU0:Jan 26 16:16:09.293 : pfm_node_lc[306]: %PLATFORM-SFP-2-LOW_RX_POWER_ALARM : Set|envmon_lc[151626]|0x1029028|Port_2/00
LC/0/0/CPU0:Jan 26 16:16:09.297 : pfm_node_lc[306]: %PLATFORM-SFP-2-LOW_RX_POWER_ALARM : Set|envmon_lc[151626]|0x1029029|Port_2/01
p
% Incomplete command.
RP/0/RSP0/CPU0:TEST(admin)#
RP/0/RSP0/CPU0:TEST(admin)#show run
Thu Jan 26 16:17:18.087 UTC
Building configuration...
!! IOS XR Admin Configuration 5.3.2
username aaaaaaa
group root-system
secret 5 XXXXX
!
username cisco
group root-system
secret 5 XXXXXXX
!
end
RP/0/RSP0/CPU0:TEST(admin)#
"license remove" command doesn't work either:
RP/0/RSP0/CPU0:TEST(admin)#license remove A9K-NV-CLUSTR-LIC id 0001.XXXXXXXX
Thu Jan 26 15:28:25.932 UTC
Error: License command "license remove A9K-NV-CLUSTR-LIC 0001.XXXXXXX Owner" failed.
Error: The license UDI does not match any chassis in the system.
RP/0/RSP0/CPU0:TEST(admin)#license remove A9K-NV-CLUSTR-LIC id 0003.XXXXXXXX$
Thu Jan 26 15:28:55.640 UTC
Error: License command "license remove A9K-NV-CLUSTR-LIC 0003.XXXXXXXXX Owner" failed.
Error: 'License Manager' detected the 'warning' condition 'There were still some other licenses active'.
Error: There are not enough licenses available to satisfy
Error: the request. This may be because licenses are
Error: active or allocated (not available), or because
Error: the available licenses are not in the pool
Error: specified by the command.
RP/0/RSP0/CPU0:TEST(admin)#
Is there a way to force-clear all old licenses from the box?
Thanks!
c.
Solved! Go to Solution.
01-29-2017 04:11 PM
Give the process restart a try first and clear the license, if that doesn't work we can delete the DB and restart license manager.
Process restart rsi_agent Delete nvram:/license_opid.puf Admin Process restart licmgr
Thanks,
Sam
01-29-2017 04:11 PM
Give the process restart a try first and clear the license, if that doesn't work we can delete the DB and restart license manager.
Process restart rsi_agent Delete nvram:/license_opid.puf Admin Process restart licmgr
Thanks,
Sam
01-30-2017 06:20 AM
Thank you very much, Sam.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide