Networking, UCS: Cisco Nexus License Installation
The following is a quick run through of installing a license file for a Cisco Nexus device.
First check and see if there are any current licenses installed. This being a new switch, there aren’t any.
nexus_5000# sh license nexus_5000#
Licenses are normally tied to “host IDs”. Below shows the host ID of the switch.
nexus_5000# sh license host-id License hostid: VDH=3WI246599Z
The license file is not local to the switch yet, so below I fetch it via TFTP.nexus_5000# copy tftp://127.0.0.1:69/Cisco_license/NX5KLIC.lic bootflash: vrf default_vrf
Trying to connect to tftp server...... Connection to Server Established. [ ] 0.50KB TFTP get operation was successful
Next, the license is installed with the “install license” command.
nexus_5000# install license bootflash:NX5KLIC.lic Installing license .....done
Now that the license has been added, use “show license” to confirm.
nexus_5000# show license
NX5KLIC.lic:
SERVER this_host ANY
VENDOR cisco
INCREMENT ENTERPRISE_PKG cisco 1.0 permanent uncounted \
VENDOR_STRING=
MDS_SWIFTN5010= \
HOSTID=VDH=3WI246529Z \
NOTICE="
200903360467890433
1 \
RMA license" SIGN=DDWD62626W7f
INCREMENT FC_FEATURES_PKG cisco 1.0 permanent uncounted \
VENDOR_STRING=
MDS_SWIFTN5010= \
HOSTID=VDH=3WI246529Z \
NOTICE="
200903360467890433
2 \
RMA license" SIGN=VVSVDS848SFW
Another way is to see the names of the installed licenses.
nexus_5000# show license brief NX5KLIC.lic
To be safe, copy the running configuration to startup.
nexus_5000# copy running-config startup-config
Also, here I copy the configuration to TFTP backup.
nexus_5000# copy running-config tftp://127.0.0.1:69/Cisco_config/ns5k2_startup vrf default_vrf Trying to connect to tftp server...... Connection to Server Established. [# ] 4.50KB TFTP put operation was successful
Notes: All IP, license files, and hashes were changed. The installation process is pretty strait forward. The managment console (GUI) should also be able to provide this function.

How to setup a Linux TFTP server: http://blog.colovirt.com/2009/03/31/linuxnetworkingsecurity-tftp-deamon-setup-and-cisco-configuration-backup/
Anonymous said this on April 8, 2010 at 2:35 pm
[...] This post was mentioned on Twitter by Kevin Goodman, Intrahost feed. Intrahost feed said: Networking, UCS: Cisco Nexus License Installation « Colocation to …: Colocation to Virtualization. and linux bet… http://bit.ly/dh3DnY [...]
Tweets that mention Networking, UCS: Cisco Nexus License Installation « Colocation to Virtualization -- Topsy.com said this on April 9, 2010 at 4:00 pm