Saturday, August 20, 2011

Troubleshooting Switch License Install Issues

Catalyst 4500:
Cat4k IOS SW licenses are as follows:
 - for 4503/4506, one enhanced L3 license for the supervisor
 - for 4507R/4510R, one enhanced L3 license for the chassis
 
Issue 1: Failed: Specified UDI not found

You get an error message akin to "Failed:Specified UDI not found"
Fix:
 Make sure the license was generated per the above rules for the 4500.   The folks in licensing do not always know which serial number and part  ID to use and will often generate the license mismatched (ie chassis  serial # and Sup Part ID).
Here are the contents of a sample license file.  You'll see the serial number & PID in bold.  Make sure they match.
<?xml version="1.0" encoding="UTF-8"?><CISCO_WT_ARTIFACTS version="1.0"><CISCO_WT_LICENSE

Install Command:
license install bootflash:SPE12345678_20110113112345678.lic
license install tftp://<ip address>/SPE12345678_20110113112345678.lic


Issue 2: License file parsing failed

The license often comes as a Zip file.  If they are not unzipped prior to installation the 4500 will generate the following message:

License file parsing failed with err type 0, reason 2 Fail tag  NULL, Fail attr NULL, Fail errmsg Bad XML form, Last State INIT_BLDG,  Last Known tag 'NotARealTag'
 % Error: License installation failed with error: XML parsing failed
 % Error: License installation failed with error: XML parsing failed

Fix:
You guessed it.  Unzip the file.


Nexus 7000:
Issue 1: SERVER line in license should have "this_host ANY"

On a N7K you will often see the error:
Installing license failed: SERVER line in license should have "this_host ANY"
Fix:
 This is usually caused by a corrupt license file.  To resolve it, follow these steps:
 - Open the .lic file, copy and past its contents into notepad, and save it as type "all files" (encoding ANSI)
 - Transfer the file on the N7k and run the install command
N7K# install license bootflash:MDS20110730051234567.lic
#
Issue 2: License Incorrectly Generated
The licensing team may sometimes incorrectly generate the license for the N7K bundle and not for the chassis. 
Fix:
 Contact licensing and have them issue the correct license for the chassis serial number.
#

Issue 3: Missing License

If you end up seeing the following:

nexus#sh license usage
Feature                      Ins  Lic   Status Expiry Date Comments
                                 Count
--------------------------------------------------------------------------------
LAN_ADVANCED_SERVICES_PKG     No    -   Unused             -
LAN_ENTERPRISE_SERVICES_PKG   Yes   -   In use Never       license missing
--------------------------------------------------------------------------------
**** WARNING: License file(s) missing. ****

This means that the license file is not in the bootflash.  This issue can be seen when a customer with multiple N7Ks receives supervisors with pre-installed licenses and moves the Sup from one chassis to another. Since the license is tied to the chassis, the  above message is reported.
To get around this you simply need to put the file in the bootflash for that supervisor.

You can determine which supervisor belongs to which license by running the following command:
show license host-id
You can take the output of this command and compare it to the name of the .lic file.

2 comments:

  1. Error: License installation failed with error: Permission denied

    ReplyDelete
  2. Network Enhancers - "Delivering Beyond Boundaries": Troubleshooting Switch License Install Issues >>>>> Download Now

    >>>>> Download Full

    Network Enhancers - "Delivering Beyond Boundaries": Troubleshooting Switch License Install Issues >>>>> Download LINK

    >>>>> Download Now

    Network Enhancers - "Delivering Beyond Boundaries": Troubleshooting Switch License Install Issues >>>>> Download Full

    >>>>> Download LINK IT

    ReplyDelete