
Document ID: 116445
Updated: Aug 22, 2013
Contributed by Charles Youssef, Cisco TAC Engineer.
Introduction
This document describes a problem encountered when you attempt to install a license on a Cisco Nexus 7000 Series switch, and provides a solution to the problem.
Problem
When you attempt to install a license on a Nexus 7000 Series switch via the install license command, the switch returns the this error:
Nexus7k# install license bootflash:MDSxxxxxxxx.lic
Installing license failed:
SERVER line in license should have "this_host ANY"
Solution
This error indicates that there is a formatting problem with the license file, usually with missing carriage return characters. In order to fix this problem, edit the license file with this procedure:
- Open the .lic file with a text editor.
- Copy and paste the file contents into a new text file.
- Ensure the text is formatted similar to this:
SERVER this_host ANY
VENDOR cisco
INCREMENT FM_SERVER_PKG cisco 1.0 permanent uncounted \
VENDOR_STRING=<LIC_SOURCE>MDS_SWIFT</LIC_SOURCE><SKU>M9200FMS1K9-INTRL</SKU> \
HOSTID=VDH=xxxxxxxxxxx \
NOTICE="<LicFileID>xxxxxxxxxxx</LicFileID><LicLineID>1</LicLineID> \
<PAK>xxxxxxxxx</PAK>" SIGN=xxxxxxxx - Save the file as type all files (encoding ANSI).
- Copy the new file to the switch bootflash, and attempt to install it again with the install license command.
Open a Support Case (Requires a Cisco Service Contract.)
Related Cisco Support Community Discussions
The Cisco Support Community is a forum for you to ask and answer questions, share suggestions, and collaborate with your peers.
Refer to Cisco Technical Tips Conventions for information on conventions used in this document.