Hello. This is pretty much a similar process to the ASAv Smart Licensing post I made earlier. Ensure you have a working DNS configuration and can resolve names on the internet.
Additionally, ensure you have went to the smart licensing inventory page (https://software.cisco.com/#SmartLicensing-Inventory), generated your token and have it ready to proceed before moving further.
Let’s enable smart licensing. The router will complain if you have a previous call-home profile, so be sure to remove any of those prior to enabling smart licensing. Additionally, this is based on a fresh installation of CSR1000V and therefore does not have any existing PAK or legacy licenses installed. By default, it will generate whatever platform throughput level you input when you deployed the OVA file. I chose a small installation with 1G throughput.
conf t license smart enable exit # license smart register id <ID> *Jan 8 20:47:20.839: %SMART_LIC-6-AGENT_ENABLED: Smart Agent for Licensing is enabled *Jan 8 20:47:20.839: %VXE_THROUGHPUT-6-CSL_TO_SL: Transition to Smart license mode, if there were Active CSL licenses prior to the transition, please reload the box to avoid consuming multiple smart licenses *Jan 8 20:47:20.841: %SMART_LIC-6-HA_ROLE_CHANGED: Smart Agent HA role changed to Active. *Jan 8 20:47:21.844: %PKI-4-NOCONFIGAUTOSAVE: Configuration was modified. Issue "write memory" to save new IOS PKI configuration *Jan 8 20:47:21.845: %CALL_HOME-3-CALL_HOME_FAILED_TO_ENABLE: Failed to enable call-home from Smart Agent for Licensing: The command failed to enable smart call home due to existing active user profile. If you are using a user profile other than "CiscoTAC-1" profile to send data to SCH server in Cisco, please enter "reporting smart-licensing-data" under profile mode to configure that profile for smart licensing. For more details about SCH, please check http://www.cisco.com/go/smartcallhome. *Jan 8 20:47:21.845: %SMART_LIC-3-COMM_FAILED: Communications failure with Cisco licensing cloud: Communications init failure *Jan 8 20:47:51.848: %CALL_HOME-6-CALL_HOME_ENABLED: Call-home is enabled by Smart Agent for Licensing. *Jan 8 20:47:51.848: %SMART_LIC-5-COMM_RESTORED: Communications with Cisco licensing cloud restored *Jan 8 20:48:34.335: %SYS-5-CONFIG_I: Configured from console by console *Jan 8 20:50:53.626: %PKI-4-NOCONFIGAUTOSAVE: Configuration was modified. Issue "write memory" to save new IOS PKI configuration *Jan 8 20:50:59.478: %CALL_HOME-6-SCH_REGISTRATION_IN_PROGRESS: SCH device registration is in progress. Call-home will poll SCH server for registration result. You can also check SCH registration status with "call-home request registration-info" under EXEC mode. *Jan 8 20:50:59.516: %SMART_LIC-6-EXPORT_CONTROLLED: Usage of export controlled features is Allowed *Jan 8 20:50:59.516: %SMART_LIC-6-AGENT_REG_SUCCESS: Smart Agent for Licensing Registration with Cisco licensing cloud successful *Jan 8 20:50:59.517: %VXE_THROUGHPUT-6-LEVEL: Throughput level has been set to 1000 kbps *Jan 8 20:51:03.827: %SMART_LIC-6-AUTH_RENEW_SUCCESS: Authorization renewal with Cisco licensing cloud successful. State=authorized
Now, let’s verify the license status just to be sure.
CSR-WAN1#sh license status Smart Licensing is ENABLED Registration: Status: REGISTERED Smart Account: My Company Inc. Virtual Account: MySmartLicensingAccount Export-Controlled Functionality: Allowed Initial Registration: SUCCEEDED on Jan 08 20:50:59 2018 UTC Last Renewal Attempt: None Next Renewal Attempt: Jul 07 20:50:58 2018 UTC Registration Expires: Jan 08 20:45:47 2019 UTC License Authorization: Status: AUTHORIZED on Jan 08 20:51:03 2018 UTC Last Communication Attempt: SUCCESS on Jan 08 20:51:03 2018 UTC Next Communication Attempt: Feb 07 20:51:02 2018 UTC Communication Deadline: Apr 08 20:45:53 2018 UTC CSR-WAN1#sh ver Cisco IOS XE Software, Version 16.03.05 Cisco IOS Software [Denali], CSR1000V Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 16.3.5, RELEASE SOFTWARE (fc1) <snip> ROM: IOS-XE ROMMON CSR-WAN1 uptime is 2 hours, 37 minutes Uptime for this control processor is 2 hours, 38 minutes System returned to ROM by reload System image file is "bootflash:packages.conf" Last reload reason: Unknown reason <snip> License Level: ax License Type: N/A(Smart License Enabled) Next reload license Level: ax cisco CSR1000V (VXE) processor (revision VXE) with 2043432K/3075K bytes of memory. Processor board ID 9ZK41W2BRIK 5 Gigabit Ethernet interfaces 32768K bytes of non-volatile configuration memory. 3985224K bytes of physical memory. 7774207K bytes of virtual hard disk at bootflash:. 0K bytes of at webui:. Configuration register is 0x2102