Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I tell if the license has been correctly applied to the chassis?

Describes how to FULLY CHECK if the license you believe should be installed is actually installed. Includes checking for redundancy across flash card serial numbers and matching SPC/SMC card configurations. See a separate MOP in Documentation Downloads section on how to install a license.

 

There already exists a MOP to explain how to install a license, and this MOP is located in the Library section under Documentation, then MOPs in iSupport. This article is not designed to re-explain that process, but rather to troubleshoot later if a problem is detected OR to confirm if the license is installed properly.

If the wrong license is applied, one that is either missing features or is deficient in the number of sessions, then this will usually be caught by the system logging, snmp traps and alerts/alarms feature.

Run the command “show license info” to display what the system considers is current for the license. The license “key number” should be the number of the license you believe should be installed, and the contents (features and session limits ) should match what you believe should be the contents. If not, then you need to (re-)apply the license – see the MOP for how to do this.

Another area of the output to check is the Status section. It should look like this:

Status:

CF Device 1 : Matches CF on SPC 8

CF Device 2 : Matches CF on SPC 9

License Status : Good (Redundant)

What this means is that the serial numbers of the compact flash cards on both SPC/SMC cards match the serial numbers that are encrypted into the license. If this is not the case for one of the flash cards, then you would see this:

Status:
CF Device 1            Matches CF on SPC 8
CF Device 2            Does not match either SPC
License Status         Good (Not Redundant)

You can view what the license expects the serial number to be at the top of the output:

CF Device 1   Model:         "SanDiskSDCFJ-4096"

               Serial Number: "012005I0107O0815"

CF Device 2   Model:         "SanDiskSDCFJ-4096"

               Serial Number: "012207H0607X3654"

And you can view the actual serial numbers of the compact flashes which reside on SPC/SMC cards 8 and 9 with the command

show card info

Card 8:

Slot Type               : SMC

Card Type               : System Management Card

Compact Flash           : Present

   Type                 : 3919M disk

   Model                 : SanDiskSDCFJ-4096

   Serial Number         : 012005I0107O0815

Card 9:

Slot Type               : SMC

Card Type               : System Management Card

Operational State       : Active

Compact Flash           : Present

   Type                 : 3919M disk

   Model                 : SanDiskSDCFJ-4096

   Serial Number         : 012207H0607X3654

Note in the above case they both match, as they should. The order does not matter, so, swapping SPC cards between slots 8 and 9 is fine and will still result in a reported match for both.

A mismatch should not ordinarily occur, but could happen if an SPC/SMC card was replaced at one point without swapping the compact flash card from the card being replaced to the replacement card. In this case, the choices are to either replace the flash that doesn’t match with the one that does, if you still have it available, or, to contact Starent for a replacement license.

Continuing, if you have confirmed that the correct license is installed matching both flash cards, then next is to check if the current configuration was saved to the flash for the lowest-numbered boot priority configuration. IF this has NOT been done, the previous license will become active again if the chassis is reloaded for any reason. To check, run the command:

show boot

and note what is the lowest-numbered boot priority configuration file. Then view the actual configuration file with the command:

show file url /flash/<config file name.cfg>

The license contents in encrypted format will be at the top of the scrolled file, and will look something like this:

license key "\

VER=1|C1M=SanDiskSDCFJ-4096|C1S=012005I0107O0815|C2M=SanDiskSDCFJ-4096\

|C2S=012207H0607X3654|DOI=1232493097|DOE=1248131497|ISS=1|NUM=99999|CM\

T=Test_PO:QUOTE2441,NHQT0415|CM2=27|LSP=100000\

0|LSA=1000000|FIS=Y|FR4=Y|FTC=Y|FSR=Y|FI6=Y|FLI=Y|FPF=Y|FFA=Y|FCA=Y|FD\

A=Y|FDU=Y|FTP=Y|FVP=Y|BVP=Y|FAA=Y|FDQ=Y|FRO=Y|FVI=Y|SIG=MCwCFFwIDoiYHf\

ishNp5LNnID+56VENTAhQJxo3hiPyb96NOM23q/40in+mHPA"

Look for “NUM=<license number>” within the string to confirm the license number that should be installed.

If it is the same license number, the last item to check is if the SPC/SMC cards have had their file-systems synched. You can check this with:

               card spc synchronize filesystem /flash

If the output shows any files not synched, then you can run the command again with the no option to do so, and you are done:

                           card spc synchronize filesystem /flash –no

If it is not the same license number, then the current configuration (which has already been confirmed as correct in the steps above) needs to be saved to the config file:

                           save configuration /flash/<lowest boot order.cfg> –bo –no

            AND, Both SPC/SMC cards (cards 8 and 9) need to have all the files on their flash cards synched as follows:

                           card spc synchronize filesystem /flash –no

If you do not sync the file-systems, then if an SPC/SMC switchover occurs, the old license will become the active license, which could have immediate system impact depending on the differences between the licenses and the subscriber load and configuration.

Imported from Starent Networks Knowledgebase Article # 10401

Version history
Revision #:
1 of 1
Last update:
‎01-25-2012 08:12 AM
Updated by:
 
Everyone's tags (3)