I had to RMA a Cisco ASR920 router due to a faulty port and unable to detect the inserted SFP. I also requested the Cisco TAC License team to generate a new license file (Traditional/PAK license) based on the feature licenses on the previous ASR920 (bundled in a single license). You'll need to use the new chassis serial number to generate the new PAK license.
The RMA ASR920 came with the default IOS-XE version 16.9.3, so it's easy for to upgrade to any 16.x code. I had a previous post regarding the IOS-XE upgrade in a Cisco ASR920. The RMA also doesn't come with new hot-swappable power supply unit (PSU) so you had to swap out the PSU from the old to new ASR920.
RMA_ASR920#copy tftp://172.27.5.3/CAT24071234_20240621080644.lic bootflash:
Destination filename [CAT24071234_20240621080644.lic]?
Accessing tftp://172.27.5.3/CAT24071234_20240621080644.lic...
Loading CAT24071234_20240621080644.lic from 172.27.5.3 (via GigabitEthernet0): !
[OK - 3326 bytes]
3326 bytes copied in 22.088 secs (151 bytes/sec)
RMA_ASR920#dir
Directory of bootflash:/
11 drwx 16384 Jul 1 2020 01:41:57 +00:00 lost+found
46273 drwx 4096 Jul 1 2020 01:42:01 +00:00 .prst_sync
12 -rw- 445862301 Jul 1 2020 01:57:10 +00:00 asr920-universalk9_npe.16.09.03.SPA.bin
23137 drwx 20480 Jun 21 2024 19:00:37 +00:00 tracelogs
7713 drwx 4096 Jun 21 2024 16:43:44 +00:00 .installer
<OUTPUT TRUNCATED>
16 -rw- 3326 Jun 21 2024 19:04:11 +00:00 CAT24071234_20240621080644.lic
1241329664 bytes total (253034496 bytes free)
RMA_ASR920#license install bootflash:CAT24071234_20240621080644.lic
Installing licenses from "bootflash:CAT24071234_20240621080644.lic
Installing...Feature:24portGE-4port10GE...Successful:Supported
Installing...Feature:advancedmetroipaccess...Successful:Supported
Installing...Feature:metroaccess...Failed:
% Error: Duplicate license
2/3 licenses were successfully installed
1/3 licenses were existing licenses
0/3 licenses were failed to install
I noticed the installed and my target advancedmetroipaccess License State was Active, Not in Use.
RMA_ASR920#show license
Index 1 Feature: advancedmetroipaccess
Period left: Life time
License Type: Permanent
License State: Active, Not in Use
License Count: Non-Counted
License Priority: Medium
Index 2 Feature: metroipaccess
Period left: Not Activated
License Type: Evaluation
License State: Active, Not in Use, EULA not accepted
License Count: Non-Counted
License Priority: None
Index 3 Feature: metroaccess
Period left: Life time
License Type: Permanent
License State: Active, In Use
License Count: Non-Counted
License Priority: Medium
Index 4 Feature: atm
Index 5 Feature: oc3
Index 6 Feature: oc12
Index 7 Feature: 1588
Index 8 Feature: 10GEupgradelicense
Index 9 Feature: 24portGE-4port10GE
Period left: Life time
License Type: Permanent
License State: Active, In Use
License Count: Non-Counted
License Priority: Medium
Index 10 Feature: 12x1GEupgradelicense
RMA_ASR920#show license all
License Store: Primary License Storage
StoreIndex: 1 Feature: metroaccess Version: 1.0
License Type: Permanent
License State: Active, In Use
License Count: Non-Counted
License Priority: Medium
StoreIndex: 2 Feature: 24portGE-4port10GE Version: 1.0
License Type: Permanent
License State: Active, In Use
License Count: Non-Counted
License Priority: Medium
StoreIndex: 3 Feature: advancedmetroipaccess Version: 1.0
License Type: Permanent
License State: Active, Not in Use
License Count: Non-Counted
License Priority: Medium
License Store: Built-In License Storage
StoreIndex: 0 Feature: advancedmetroipaccess Version: 1.0
License Type: Evaluation
License State: Inactive
Evaluation total period: 8 weeks 4 days
Evaluation period left: 8 weeks 4 days
Period used: 0 minute 0 second
License Count: Non-Counted
License Priority: None
StoreIndex: 1 Feature: metroipaccess Version: 1.0
License Type: Evaluation
License State: Active, Not in Use, EULA not accepted
Evaluation total period: 8 weeks 4 days
Evaluation period left: 8 weeks 4 days
Period used: 0 minute 0 second
License Count: Non-Counted
License Priority: None
StoreIndex: 2 Feature: metroaccess Version: 1.0
License Type: Evaluation
License State: Inactive
Evaluation total period: 8 weeks 4 days
Evaluation period left: 8 weeks 4 days
Period used: 0 minute 0 second
License Count: Non-Counted
License Priority: None
Per the Cisco link, I had to configure the license boot level and perform a reload command to take effect.
RMA_ASR920#show run | i license boot
license boot level metroaccess
RMA_ASR920#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
RMA_ASR920(config)#license ?
accept Accept all further License Agreements
agent Configure LIC_AGENT
boot license boot config commands
feature License features
smart Smart licensing
udi license udi
RMA_ASR920(config)#license boot ?
level which level to boot
RMA_ASR920(config)#license boot level ?
advancedmetroipaccess Advanced Metro IP Access License Level
metroaccess Metro Access License Level
metroipaccess Metro IP Access License Level
RMA_ASR920(config)#license boot level advancedmetroipaccess ?
<cr> <cr>
RMA_ASR920(config)#license boot level advancedmetroipaccess
% use 'write' command to make license boot config take effect on next boot
RMA_ASR920(config)#end
RMA_ASR920#write memory
Building configuration...
[OK]
RMA_ASR920#show run | i license boot
license boot level advancedmetroipaccess
RMA_ASR920#show license all
License Store: Primary License Storage
StoreIndex: 1 Feature: metroaccess Version: 1.0
License Type: Permanent
License State: Active, In Use
License Count: Non-Counted
License Priority: Medium
StoreIndex: 2 Feature: 24portGE-4port10GE Version: 1.0
License Type: Permanent
License State: Active, In Use
License Count: Non-Counted
License Priority: Medium
StoreIndex: 3 Feature: advancedmetroipaccess Version: 1.0
License Type: Permanent
License State: Active, Not in Use
License Count: Non-Counted
License Priority: Medium
RMA_ASR920#show version
Cisco IOS XE Software, Version 16.x.x
Cisco IOS Software [Gibraltar], ASR920 Software (PPC_LINUX_IOSD-UNIVERSALK9_NPE-M), Version 16.x.x, RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2020 by Cisco Systems, Inc.
Compiled Thu 09-Jul-20 17:13 by mcpre
Cisco IOS-XE software, Copyright (c) 2005-2020 by cisco Systems, Inc.
All rights reserved. Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0. The
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0. For more details, see the
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
software.
ROM: IOS-XE ROMMON
RMA_ASR920 uptime is 23 hours, 12 minutes
Uptime for this control processor is 23 hours, 17 minutes
System returned to ROM by reload
System image file is "bootflash:asr920-universalk9_npe.16.x.x.SPA.bin"
Last reload reason: Reload Command
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
License Level: metroaccess
License Type: Permanent
Next reload license Level: advancedmetroipaccess
Smart Licensing Status: Smart Licensing is DISABLED
cisco ASR-920-x-x (Freescale P2020) processor (revision 1.2 GHz) with 890398K/6147K bytes of memory.
Processor board ID CAT24071234
24 Gigabit Ethernet interfaces
4 Ten Gigabit Ethernet interfaces
32768K bytes of non-volatile configuration memory.
3670016K bytes of physical memory.
1231647K bytes of eMMC flash at bootflash:.
Configuration register is 0x2102
RMA_ASR920#reload
Proceed with reload? [confirm]
Notice the advancemetroipaccess License State was changed to Active, In Use after a reload.
RMA_ASR920#show license
Index 1 Feature: advancedmetroipaccess
Period left: Life time
License Type: Permanent
License State: Active, In Use
License Count: Non-Counted
License Priority: Medium
Index 2 Feature: metroipaccess
Period left: Not Activated
License Type: Evaluation
License State: Active, Not in Use, EULA not accepted
License Count: Non-Counted
License Priority: None
Index 3 Feature: metroaccess
Period left: Life time
License Type: Permanent
License State: Active, Not in Use
License Count: Non-Counted
License Priority: Medium