CSR1000V:Troubleshooting - Licensing

From DocWiki

Jump to: navigation, search

Troubleshooting Smart Licensing issues on a Cisco Cloud Services Router CSR1000V.


Contents

Useful show Commands

The following command provides informative self-diagnostic information. Additional info, including output examples, is available here.

show self-diagnostics


The following commands can provide additional information useful for troubleshooting.

show license udi

show version

show license status

show license detail

show license all

show platform hardware throughput level

show platform software vmem info

show platform software system all


Throughput Configured, Smart License Not Applied

ultra-smart#sh self-diag
Checking license ....[OK]
Checking throughput ....
 Error: Operating in default low throughput (100kbps)
 Cause: a} could be in transition of obtaining throughput license or b) possibly throughput set is OUT OF COMPLIANCE 
 Suggestion: a} wait to acquire new license or b) set the throughput rate to thelicense purchased using 'cli' platform hardware throughput level MB


License Installation Failure

Scenario: UDI Mismatch

Symptom:

% Error: The device with UDI CSR1000V:9X0MPX08JS8 not found.

Troubleshooting tips:

Confirm that the UDI value seen in the license matches the system UDI value.


Scenario: Invalid License File

Symptom:

% Error: License installation failed with error: XML parsing failed

Troubleshooting tips:

When generating the license file make sure to enter the Product id “CSR1000V” and 11 character Serial Number of the CSR (alphanumeric UDI value as seen in “show license udi”) correctly.

Here is a sample license file generated for Product ID CSR1000V and UDI value 9ABCDEFGHI1:

<?xml version="1.0" encoding="UTF-8"?><CISCO_WT_ARTIFACTS version="1.0"><CISCO_WT_LICENSE version="1.0"><FEATURE_NAME>ax_100M</FEATURE_NAME><FEATURE_VERSION>1.0</FEATURE_VERSION><UDI><PID>CSR1000V</PID><SN>9ABCDEFGHI1</SN></UDI><SOURCE>Cisco HQ</SOURCE><CREATE_DATE>2015-07-16T20:19:46</CREATE_DATE><LICENSE_LINE_HASH hashAlgo="SHA1">PHZ87FH1vKTQnuLy6EP+6FVudsY=</LICENSE_LINE_HASH><TYPE>PERMANENT</TYPE><LICENSE_LINE><![CDATA[12 ax_100M 1.0 LONG NORMAL STANDALONE EXCL INFINITE_KEYS INFINITE_KEYS NEVER NEVER NiL NiL SLM_CODE CL_ND_LCK NiL *1ZKLCD997XQNPDF400 NiL NiL NiL 5_MINS <UDI><PID>CSR1000V</PID><SN>9ABCDEFGHI1</SN></UDI><T></T> CXbkU,6YY0x9aLEawhYI3gFw,O1G0YrWKNsoVD3mluVZXSvppcY:UJ:27FhnlPro3,YfyJn0ngocH1dzKxYIO4Vnb5UYko0EJO3NU7HIy46Y3OajZtlm12VvhmYBGFv7NQ3B$<WLC>AQEBIf8B//9tnOGw4wjQ08vpTldDq/anYYNZ3lFz4aXmuTyqLUC/ +r7s/gPLqOHjJg3nYsIjG0Ouyy8y+ccgDOSO0SM=</WLC>]]></LICENSE_LINE><USER_MODIFIABLE_COMMENT fieldRestrictions="Max 99 ASCII characters in length."></USER_MODIFIABLE_COMMENT></CISCO_WT_LICENSE> 


Scenario: CSR fails to send out HTTP message to Smart license server

Symptom:

%SMART_LIC-3-AGENT_REG_FAILED: Smart Agent for Licensing Registration with Cisco licensing cloud failed: Fail to send out Call Home HTTP message. %SMART_LIC-3-COMM_FAILED: Communications failure with Cisco licensing cloud: Fail to send out Call Home HTTP message.

Troubleshooting tips:

Use ping to check connectivity to smart license backend server.

If the HTTP traffic interface is in a VRF, include the additional configuration ip http client source-interface GigabitEthernet1.


Scenario: CSR registration fails because the CSR is already registered with Smart license server

Symptom:

%SMART_LIC-3-AGENT_REG_FAILED: Smart Agent for Licensing Registration with Cisco licensing cloud failed: Response error: {"sudi":["The product 'regid.2013-08.com.cisco.CSR1000V,1.0_1562da96-9176-4f99-a6cb-14b4dd0fa135' and sudi {\"suvi\"=>nil, \"uuid\"=>nil, \"host_identifier\"=>nil, \"udi_pid\"=>\"CSR1000V\", \"udi_serial_number\"=>\"9NEK5KN5495\", \"udi_vid\"=>nil, \"mac_address\"=>nil} have already been registered."]}

Troubleshooting tips:

To re-register the CSR, use the license smart register idtoken {idtoken} force command.

Rating: 3.3/5 (3 votes cast)

Personal tools