Monday, 9 December 2019

NEXUS LICENSE

NEXUS LICENSE

To obtain the license go to:

www.cisco.com/web/go/license

After obtaining the license Obtain the serial number for your device by entering the show license host-id command.
The host ID is also referred to as the device serial number.

switch# show license host-id
License hostid: VDH=FOX064317SQ

First copy the license from your laptop to Nexus.

#copy tftp: bootflash:license_file.lic
will ask for vrf interface : management
Ip address of remote : 100.100.0.2
Copied.....

Note: Use ip address for management like 100.100.0.1 for Nexus management interface and use 100.100.0.2 for the laptop

Now install the license file

switch# install license bootflash:license_file.lic
Installing license ..done
To see the installed license
switch# show license brief

MPLS_PKG.lic
To see the details of license:
switch# show license
To see the features set of license

# show license usage vdc-all

After you installed the license, see the features of mpls 
for which you have installed the license.

# show features-set 

Now install the features-set of mpls

(config)# install feature-set service mpls

Now activate the mpls feature 
(config)#feature mpls
(config)#feature ldp

Uninstalling Licenses

Uninstall the Enterprise.lic file by using the clear license filename command, where filename is the name of the installed license key file.
switch# clear license Enterprise.lic
Do u want to continue:yes
Clearing license ..done
Backing Up an Installed License
You can back up your license key file to a remote server or to an external device by using the copy command.
This example saves all licenses installed on your device to a .tar file and copies it to a remote UNIX-based server:
switch# copy licenses bootflash:Enterprise.tar
Backing up license done 
switch# copy bootflash:lEnterprise.tar tftp://10.10.1.1//Enterprise.tar
See the link of cisco for further readings:
http://www.cisco.com/en/US/docs/switches/datacenter/sw/nx-os/licensing/guide/Cisco_NX-OS_Licensing_Guide_chapter1.html

Rollback features in nexus
Checkpoints allow you to create a “snapshot” of the current configuration at a given point in time. This is a very useful feature to for change management and should be used before a change, and use again if you need to roll-back a change. To create a checkpoint: CoreSwitch1.VDC1.RWC# checkpoint Initial ............................Done CoreSwitch1.VDC1.RWC# To view the checkpoint that you just created, or to see what has been created: CoreSwitch1.VDC1.RWC# show checkpoint summary User Checkpoint Summary ----------------------------------------------- 1) Initial: Created by admin Created at Thu, 00:55:02 10 Jun 2010 You may also save the checkpoint to bootflash: CoreSwitch1.VDC1.RWC# checkpoint file bootflash: ExampleCheckpoint Done CoreSwitch1.VDC1.RWC# dir 11139 Jun 10 00:59:36 2010 ExampleCheckpoint To rollback a checkpoint, depending on where you stored the checkpoint, the command syntax is: CoreSwitch1.VDC1.RWC# rollback running-config checkpoint Initial or CoreSwitch1.VDC1.RWC# rollback running-config file bootflash:ExampleCheckpoint