Table Of Contents
Cisco Software Activation and Compatibility Document
Understanding Software Licenses
Getting and Installing Software Licenses
Installing Software Licenses by Using the Cisco License Manager
Installing Software Licenses Using Cisco License Call Home
Installing Software Licenses Using the Cisco IOS CLI
Rehosting Software Licenses Using the Cisco License Manager
Rehosting Software Licenses Using Cisco License Call Home
Requesting that Software Licenses be Remailed Using Cisco License Call Home
Managing the Software Licenses Using the Cisco IOS CLI
Displaying Software License Information
Examples of Activating Software
Using TFTP to Install a Software License
Using Cisco License Call Home to Rehost a Software License
Using Cisco License Call Home to Resend a Software License File
Changing the Software License on the Switch
Activating Software in Mixed Hardware Stacks
Configuration Guidelines in Mixed Hardware Switch Stacks
Obtaining Documentation and Submitting a Service Request
Cisco Software Activation and Compatibility Document
August 28, 2008
This document describes the Cisco software activation process and the feature compatibility of Catalyst switches. Use this document with the Catalyst 3750-E, 3750, 3560-E, and 3560 switches.
For more information, see these documents on Cisco.com:
•
Getting Started with Cisco License Manager 1.0 on Windows XP
•
Cisco License Manager online help
•
API Reference Guide for Cisco License Manager on Windows XP
•
Catalyst 3750-E and 3560-E switch software documents (software configuration guide, command reference, and system message guide)
•
Catalyst 3750 switch software documents
•
Catalyst 3560 switch software documents
Note
Unless otherwise noted, for complete syntax and usage information for the commands used in this document, see the Cisco Software Activation Tasks and Commands feature module.
For information about how Cisco implements Cisco IOS software activation, go to this URL:
http://www.cisco.com/en/US/products/ps9677/products_ios_technology_home.html
For more information about software activation concepts, tasks, and commands:
•
See the Cisco Software Activation Tasks and Commands feature module at this URL:
http://www.cisco.com/en/US/docs/ios/csa/configuration/guide/csa_commands.html
•
Use the Search field on Cisco.com to locate Cisco IOS software documentation. For example, if you want information about static routes, you can enter Cisco Software Activation Tasks and Commands in the search field.
For a complete list of documents, see the "Related Publications" section.
The document has this information:
•
Configuration Guidelines in Mixed Hardware Switch Stacks
•
Obtaining Documentation and Submitting a Service Request
Software Activation
Catalyst 3750-E and 3560-E switches run the universal software image that has the Cisco IOS code for multiple feature sets. To enable a specific feature set, you must use the software activation feature to install the software license for that feature set. With software activation, you can
•
Generate a software license.
•
Install the software license on your switch.
•
Enable a feature set.
•
Upgrade a feature set.
Beginning with Cisco IOS Release 12.2(46)SE, the switches support these features:
•
Temporary software licenses
•
Rehosting a software license
•
Cisco License Call Home
Note
Catalyst 3750 and 3560 switches run feature-specific software releases and do not support software activation.
Catalyst 3750-E and 3560-E switches support either the noncryptographic or the cryptographic universal software image.
This section has this information:
•
Understanding Software Licenses
•
Getting and Installing Software Licenses
•
Displaying Software License Information
•
Examples of Activating Software
•
Activating Software in Mixed Hardware Stacks
Note
To connect your management station or PC to the Cisco Product License Registration Portal, use a file transfer protocol such as the Xmodem Protocol or TFTP.
If you are connecting your PC to the Cisco License Manager server, you do not need to use one of these protocols.
Feature Sets
Catalyst 3750-E and 3560-E switches support these feature sets:
•
IP base
•
IP services
•
Advanced IP service
The software licenses are not affected by Cisco IOS software upgrades.
Catalyst 3750-E and 3560-E switches are backward-compatible with Catalyst 3750 and 3560 switches. For detailed information about the feature compatibility between the switches, see the "Feature Compatibility" section.
Table 1 describes the feature sets supported on Catalyst 3750-E and 3560-E switches and the software images supported on Catalyst 3750 and 3560 switches.
Table 1 Supported Feature Combinations
Feature Combination Feature Set on the Catalyst 3750-E and 3560-E Switches Software Image on the Catalyst 3750 and 3560 SwitchesLayer 2+, basic Layer 3 routing
IP base, noncryptographic
IP base, noncryptographic
Layer 2+ and basic Layer 3 routing, Kerberos, SSH1 , and SSL2
IP base, cryptographic
IP base, cryptographic
Layer 2+ and full Layer 3 routing
IP services, noncryptographic
IP services, noncryptographic
Layer 2+ and full Layer 3 routing, Kerberos, SSH, and SSL
IP services, cryptographic
IP services, cryptographic
Layer 2+, Layer 3 routing, and unicast routing of IPv63 packets
Advanced IP services, noncryptographic
—
Layer 2+, Layer 3 routing, unicast routing of IPv6 packets, Kerberos, SSH, and SSL
Advanced IP services, cryptographic
Advanced IP services, cryptographic
1 SSH = Secure Shell
2 SSL = Secure Socket Layer
3 IPv6 = IP Version 6
Understanding Software Licenses
A software license applies only to a specific feature set. A Catalyst 3750-E or 3560-E switch can have more than one software license, but you can enable only one license at a time.
By default, if more than one software license is installed on the switch, this hierarchy determines the first software license to locate in the flash memory and to install:
1.
Advanced IP services
2.
IP services
3.
IP base
If all three licenses are installed on the switch, the switch uses the highest license level, the advanced IP services feature set.
To run the IP base feature set on the switch:
•
If the switch is running a software image earlier than Cisco IOS 12.2(46)SE, remove the IP services and advanced IP services licenses from the switch, save the switch running configuration, and reload the switch.
•
If the switch is running Cisco IOS Release 12.2(46)SE or later, enter the license boot level ipbase privileged EXEC command, save the switch running configuration, and reload the switch.
The switch supports permanent and temporary software licenses.
The permanent license is node-locked because it is bound to the unique device identifier (UDI) of the switch and can only be used on that switch. When you order a new switch, the switch has the permanent software license that you selected.
A temporary software license is limited to a usage period and can be one of these types:
•
Embedded evaluation license in the software image
The evaluation license is node-locked and is valid for 60 days.
You can use this license to minimize network downtime if a switch fails and the replacement switch does not have the same software license. You can also use the license to evaluate a feature set on the switch.
•
Extension license
You can get this license from Cisco TAC. It is node-locked and is valid for 60 days.
•
Grace-period license
During the rehost process, when the license on a switch is revoked and transferred to another switch, this license is automatically installed to prevent network disruption. It is valid for 60 days.
After the usage period expires, the switch continues to use the temporary software license until it is restarted. Before it restarts, warning messages state the switch is running the feature set without a valid license. After the switch restarts, the switch uses a valid software license based on the previously described hierarchy. If the switch does not have a valid license, it uses the IP base software license. For examples of using a temporary license, see the "Changing the Software License on the Switch" section.
For more information about software licenses, see the Cisco Software Activation Conceptual Overview feature module at this URL:
http://www.cisco.com/en/US/docs/ios/csa/configuration/guide/csa_overview.html
Getting and Installing Software Licenses
This section has these procedures:
•
Installing Software Licenses by Using the Cisco License Manager
•
Installing Software Licenses Using Cisco License Call Home
•
Installing Software Licenses Using the Cisco IOS CLI
•
Rehosting Software Licenses Using the Cisco License Manager
•
Rehosting Software Licenses Using Cisco License Call Home
•
Requesting that Software Licenses be Remailed Using Cisco License Call Home
•
Managing the Software Licenses Using the Cisco IOS CLI
Getting Software Licenses
Use one of these methods to get a software license:
•
When ordering a switch, specify the software image and feature set to be installed.
•
If you want your switch to run a different feature set, purchase the software license for that feature set, and get a product activation key (PAK). Use one of these processes to install the software license:
–
Use the Cisco License Manager.
a.
Enter the PAK in the GUI.
b.
The Cisco License Manager installs the software license for you.
–
Use the Cisco Product License Registration Portal.
a.
To register your software license by using the PAK, go to www.cisco.com/go/license.
b.
The software license file is e-mailed to you. We recommend that you copy the file on your switch flash memory.
c.
Install the software license on the switch by using Cisco IOS CLI commands.
–
Use the Cisco License Call Home feature.
•
Rehost the software license.
–
Revoke a license from a source switch, and transfer it to a destination switch.
–
We recommend that you use the Cisco License Manager when rehosting a software license.
–
You cannot rehost an evaluation software license.
•
Request that the software license file be remailed from the Cisco Product License Registration Portal if the file is corrupted.
Cisco Product License Registration Portal
Follow these steps to get a PAK and a software license for a feature set:
Step 1
After deciding on the feature set that you want, contact Cisco TAC to request a PAK.
Step 2
After you purchase the software license, the PAK is sent to you.
Step 3
Go to the Cisco Product License Registration Portal at www.cisco.com/go/license.
Step 4
Use the PAK and the switch UDI to create a software license file.
Step 5
The software license file is e-mailed to you.
Cisco License Manager
With Cisco License Manager, you can perform these tasks from one application:
•
Automatically discover software licenses on your switches
•
Install software licenses
•
Track the software license status in your network
Use the Cisco License Manager GUI to perform all of these licensing tasks. You can also use the Cisco License Manager application programming interface (API) to write programs for your specific licensing tasks.
http://www.cisco.com/en/US/products/ps7138/index.html
Cisco License Manager supports devices running the cryptographic or noncryptographic universal software images. For more information, see these documents on Cisco.com:
•
Getting Started with Cisco License Manager for Windows XP guide at this URL:
http://www.cisco.com/en/US/products/ps7138/prod_installation_guides_list.html
•
Other Cisco License Manager documentation at this URL:
http://www.cisco.com/en/US/products/ps7138/tsd_products_support_series_home.html
•
HTTPS - HTTP Server and Client with SSL 3.0 feature description for Cisco IOS Release 12.2(15)T at this URL:
http://www.cisco.com/en/US/docs/ios/12_2t/12_2t15/feature/guide/ftsslsht.html
Cisco License Call Home
The Cisco License Call Home feature supports these tasks only on a switch running the cryptographic universal software license:
•
Installing the software license
•
Rehosting the license
•
Requesting that the software license be remailed
You can use CLI commands to connect the switch to the Cisco licensing infrastructure. For more information on the License Call Home feature and the Cisco licensing process, see the Cisco Software Activation Tasks and Command feature module on Cisco.com.
For more information about the License Call Home feature and about transferring software licenses, see the Cisco Software Activation Conceptual Overview feature module on Cisco.com.
For information about the License Call Home interface, see the Cisco Software Activation Tasks and Commands feature module on Cisco.com.
Installing Software Licenses by Using the Cisco License Manager
Use Cisco License Manager to install and manage software licenses on the switch.
Follow these guidelines when using Cisco License Manager:
•
Cisco License Manager only runs on a server with Windows XP.
•
Firewalls are not allowed between the Cisco License Manager server and a GUI client.
•
For device notification to be successful, ensure that the Cisco License Manager hostname exists in the Domain Name Service (DNS) or that the device has the Cisco License Manager hostname and IP address configured to receive messages.
•
Configure your switch to allow Cisco License Manager to manage software licenses by using the ip http server privileged EXEC command and the license agent default authenticate none global configuration command. For a summary of these commands, see the Getting Started with Cisco License Manager on Windows XP guide. For detailed instructions about enabling Cisco License Agent on your device, see the Cisco License Agent documentation.
•
Make sure that there is a valid connection from the Cisco License Manager server to Cisco.com.
For additional requirements and guidelines, see the Getting Started with Cisco License Manager for Windows XP guide on Cisco.com.
Installing Software Licenses Using Cisco License Call Home
Beginning in privileged EXEC mode, follow these steps to install a software license and to restart the switch.
Installing Software Licenses Using the Cisco IOS CLI
Beginning in privileged EXEC mode, follow these steps to install a software license and to restart the switch.
Rehosting Software Licenses Using the Cisco License Manager
In the Cisco License Manager GUI, follow these steps to revoke a software license from the source switch and to transfer it to the destination switch:
Step 1
Select the source switch.
Step 2
Select the software license to revoke from the source switch.
Step 3
Select the destination switch.
Step 4
Transfer the software license to the destination switch.
Rehosting Software Licenses Using Cisco License Call Home
Beginning in privileged EXEC mode, follow these steps to revoke a software license from the source switch and to transfer it to the destination switch.
Command PurposeStep 1
Log in to the switch by using the console port, the Ethernet management port, or a Telnet session.
Step 2
license call-home revoke udi destination-udi file-sys:file-sys//lic-save-location [switch switch-num]
Revoke a software license, and create a rehost ticket using the Cisco License Call Home feature:
•
udi destination-udi—Unique device identifier (UDI) of the switch to which the software license is transferred.
•
file-sys:file-sys//lic-save-location—Location to which the rehost ticket is saved. These options are supported:
–
Local flash file system syntax on a standalone Catalyst 3560-E switch:
flash:Local flash file system syntax on a Catalyst 3750-E standalone switch or stack member:
flash member-number:The member-number can be from 1 to 9.
–
FTP syntax: ftp:[[//username[:password]@location]/directory]/
license-file.xml–
HTTP server syntax:
http://[[username:password]@]{hostname | host-ip}[/directory]/license-file.xml–
Secure HTTP server syntax:
https://[[username:password]@]{hostname | host-ip}[/directory]/license-file.xml–
Null destination for copies syntax:
null:–
NVRAM file system syntax:
nvram:–
Remote Copy Protocol (RCP) syntax: rcp:[[//username@location]/directory]/license-file.xml
–
System memory syntax:
system:–
TFTP syntax:
tftp:[[//location]/directory]/license-file.xml•
(Optional) switch switch-num—Stack member (source switch) from which the software license is transferred or revoked. This parameter is supported only on
Catalyst 3750-E switches.Step 3
After entering the previous command, you are prompted to
1.
Enter your CCO user name and password and to select the software license to transfer to the destination switch.
2.
Accept the end user license agreement (EULA).
3.
Enter user information for the new license.
The software license file is e-mailed to you.
Step 4
show license detail
Verify that the software license has been transferred.
Step 5
Install the software license file on the switch, and enable the software license on the switch. See the "Installing Software Licenses Using the Cisco IOS CLI" section.
Requesting that Software Licenses be Remailed Using Cisco License Call Home
Beginning in privileged EXEC mode, follow these steps to request that a software license be remailed:
Command PurposeStep 1
Log in to the switch with a valid license by using the console port, the Ethernet management port, or a Telnet session.
Step 2
license call-home resend dest-lic-location [switch switch-num]
Request that the software license file be remailed from the Cisco Product License Registration Portal. Enter these options:
•
dest-lic-location—Location to which the software license file is saved.
•
(Optional) switch switch-num—Stack member number. This parameter is supported only on Catalyst 3750-E switches.
Step 3
After entering the previous command, you are prompted to
1.
Enter your CCO user name and password and to select the software license to transfer to the destination switch.
2.
Enter your e-mail address.
The software license file is saved in the dest-lic-location specified in Step 2. The software license file is also e-mailed to you. You can use either file.
Step 4
Install the software license file on the switch. See the "Installing Software Licenses Using the Cisco IOS CLI" section.
If the software license file is saved on the switch, such as in the flash memory, enable the software license and restart the switch.
If the software license file is not saved on the switch, such as on a secure HTTP server, save the file on the switch, enable the software license, and restart the switch.
Managing the Software Licenses Using the Cisco IOS CLI
You can perform any of these tasks:
•
Removing a software license from the switch:
–
In software releases earlier than Cisco IOS Release 12.2(46)SE, enter the license clear license-level [switch switch-num] privileged EXEC command.
Use the license-level parameter to specify the software license to remove.
Use the switch switch-num parameter to specify the stack member. The switch switch-num option is supported only on Catalyst 3750-E switches.
–
In Cisco IOS Release 12.2(46)SE or later, if the software license is in use (active):
a.
Enter the license boot level license-level global configuration command to specify a license level different from the current one.
b.
Restart the switch to enable new software license.
c.
Enter the license clear license-level [switch switch-num] privileged EXEC command to remove previous software license.
–
In Cisco IOS Release 12.2(46)SE or later, enter the license clear license-level [switch switch-num] privileged EXEC command to remove an unused software license.
•
Backing up and saving software license information—Enter the license save {credential url | url} privileged EXEC command.
–
Use the credential url parameter to save the device credential information and to specify the URL to which the information is saved.
–
Use the url parameter to specify the URL of the software image.
•
Recovering from a corrupt license:
–
Use the Cisco License Call Home feature to request that the software license file be remailed.
–
Use the Cisco IOS CLI commands to re-install an uncorrupted version of the license on the switch.
Displaying Software License Information
To display information about the software licenses on your switch, use one of these methods:
•
Use Cisco License Manager to view license and device information. In the GUI, the discovery and polling features collect all the license and device information that appears in the Properties window. For detailed instructions, see the Cisco License Manager online help.
•
Use the Cisco IOS privileged EXEC commands in Table 2.
Table 2 Commands for Displaying Software License Information
Command Descriptionshow license agent {counters | session}
Displays the information about the software license agent.
For information about the show license agent privileged EXEC command, see the Cisco Software Activation Tasks and Commands feature module.
show license [all [switch switch-num] | detail [feature-name | switch switch- num] | feature [switch switch-num] | file [switch switch-num] | statistics [switch switch-num] | status [switch switch-num] | udi [switch switch-num]]
Displays information about the software license.
For information about the show license privileged EXEC command, see the Cisco IOS Software Licensing feature module at this URL:
http://www.cisco.com/en/US/docs/ios/12_2/12_2se/feature/guide/se_cisl.html
show version
Displays the software licenses installed on the switch.
For information about this command, including examples of command output, see the Catalyst 3750-E and 3560-E Switch Command Reference on Cisco.com.
This is an example of output from the show license command:
Switch# show license detailIndex: 1 Feature: advipservices Version: 1.0License Type: PermanentLicense State: Active, In UseLock type: Node lockedVendor info <PID>WS-C3750E-24PD-S</PID><SN>CAT1033R2KD</SN>License Addition: ExclusiveLicense Generation version 135266304License Priority: MediumLicense Count: Non-CountedIndex: 2 Feature: ipbase Version: 1.0License Type: PermanentLicense State: Active, Not in UseLock type: Node lockedVendor info <PID>WS-C3750E-24PD-S</PID><SN>CAT1033R2KD</SN>License Addition: ExclusiveLicense Generation version 135266304License Priority: MediumLicense Count: Non-CountedIndex: 3 Feature: ipservices Version: 1.0License Type: PermanentLicense State: Active, Not in UseLock type: Node lockedVendor info <PID>WS-C3750E-24PD-S</PID><SN>CAT1033R2KD</SN>License Addition: ExclusiveLicense Generation version 135266304License Priority: MediumLicense Count: Non-CountedThis is an example of output from the show license feature command:
Switch# show license featureFeature name Enforcement Evaluation Clear Allowed Enabledadvipservices yes yes yes noipservices yes yes yes noipbase no no yes yesThis is an example of output from the show license file command:
Switch# show license fileLicense Store: Primary License StorageStore Index: 0License: 11 advipservices 1.0 LONG NORMAL STANDALONE EXCL INFINITE_KEYS INFINITE_KEYS NEVER NEVER NiL SLM_CODE CL_ND_LCK NiL *1GXTAN6SWZLFGPL400 NiL NiL NiL 5_MINS <UDI><PID>WS-C3750E-24PD-S</PID><SN>CAT1033R2KD</SN></UDI> 0HurYu7c2pSyykIVdJe7f2PfK8FP9JozlqB:9uZHhFVkMHbB17q6GZYHB9lQs9bffknap1x9JPevJ:lWGPyhOZVpYs8A:ZXi9r7vW67ct2LcLjbQDsxlw3DMKpI2c9591234$<WLC>AQEBIQAB///O1IhupmYJseU4uN7uAuI8vmuaMU/JLIEFY0w7gjwGBuuMNMxetNM/4mI30pPbC3scqvPiAmWSaEmUT56rstk6gvmj+EQKRfD9A0ime1czrdKxfILT0LaXT416nwmfp92Tya6vIQ4FnlBdqJ1sMzXeSq8PmVcTU9A4o9hil9vKur8N9F885D9GVF0bJHciT5M=</WLC>Comment:Hash: /DjCLyoejF4OnAUcu8buXPtA+s8=Store Index: 1License: 11 ipbase 1.0 LONG NORMAL STANDALONE EXCL INFINITE_KEYS INFINITE_KEYS NEVER NEVER NiL SLM_CODE CL_ND_LCK NiL *1GXTAN6SWZLFGPL400 NiL NiL NiL 5_MINS <UDI><PID>WS-C3750E-24PD-S</PID><SN>CAT1033R2KD</SN></UDI> 6OKG2h1SUGiUwXJ9AoixV:EAeJwNjZzqnMKEoE0zVYLA0fKLuu:oAiuqFV:klYxef,XYLv8xsEN51Veh4qNOW8LkCMjHu1uyfKka:xU3M39NfUwMCeiU:P,THWvJ0zSejf3c$<WLC>AQEBIQAB//+xIhXYlKd1gNvLPLu+9kCQBa844qSPYCctDtPxgCm5K3hnsN/+l2wSYNshE55JRcIcqvPiAmWSaEmUT56rstk6gvmj+EQKRfD9A0ime1czrdKxfILT0LaXT416nwmfp92Tya6vIQ4FnlBdqJ1sMzXeSq8PmVcTU9A4o9hil9vKur8N9F885D9GVF0bJHciT5M=</WLC><output truncated>This is an example of output from the show license statistics command:
Switch# show license statisticsAdministrative statusInstall success count: 0Install failure count: 0Install duplicate count: 0Comment add count: 0Comment delete count: 0Clear count: 0Save count: 0Save cred count: 0Client statisticsRequest success count 1Request failure count 0Release count 0Global Notify count 0This is an example of output from the show license status command:
Switch# show license statusLicense Type Supportedpermanent Non-expiring node locked licenseextension Expiring node locked licenseevaluation Expiring non node locked licenseLicense Operation Supportedinstall Install licenseclear Clear licenseannotate Comment licensesave Save licenserevoke Revoke licensecall-home License call-homeCall-home Operation Supportedshow pak Display license pak via call-homeinstall Install license via call-homerevoke Revoke license via call-homeresend Fetch license via call-homeDevice statusDevice Credential type: DEVICEDevice Credential Verification: PASSRehost Type: DC_OR_ICSWIFT url statusSwift URL set to default value : https://tools.cisco.com/SWIFT/LicensingThis is an example of output from the show license udi command for a Catalyst 3750-E-only switch stack:
Switch# show license udiDevice# PID SN UDI-----------------------------------------------------------------------------*2 WS-C3750E-48PD-S CAT1033R1XU WS-C3750E-48PD-S:CAT1033R1XU5 WS-C3750E-48PD-S CAT1033R1KF WS-C3750E-48PD-S:CAT1033R1KFIn a mixed hardware stack, the show license udi command output shows only the Catalyst 3750-E UDIs because only those member switches support the software activation process. For example, in a mixed hardware stack with a Catalyst 3750 switch as the stack master and a Catalyst 3750-E switch as the stack member, this output appears when you enter the show switch privileged EXEC command on the Catalyst 3750 stack master:
Switch# show switchSwitch/Stack Mac Address : 0012.7f43.b680H/W CurrentSwitch# Role Mac Address Priority Version State----------------------------------------------------------1 Member 0012.8092.2900 9 1 Ready*3 Master 0012.7f43.b680 1 0 ReadyWhen you enter the show license udi command on the Catalyst 3750 stack master, this output appears for all the stack members that support software activation:
Switch# show license udiDevice# PID SN UDI-----------------------------------------------------------------------------1 WS-C3750E-24TD-EF CAT1007R02W WS-C3750E-24TD-EF:CAT1007R02WThis is an example of output from the show license udi switch 1 command on the stack master, which shows that the UDI is for the local switch, switch 1:
Switch# show license udi switch 1Device# PID SN UDI-----------------------------------------------------------------------------*1 WS-C3750E-24TD-EF CAT1007R02W WS-C3750E-24TD-EF:CAT1007R02WIf you enter the show license udi switch 3 command on the stack master, this output appears for all of the stack members that support software activation. It is the same as the show license udi command output:
Switch# show license udi switch 3Device# PID SN UDI-----------------------------------------------------------------------------1 WS-C3750E-24TD-EF CAT1007R02W WS-C3750E-24TD-EF:CAT1007R02WIf a mixed hardware stack has a Catalyst 3750 member switch, this is an example of output when you enter the show license udi command on any Catalyst 3750 member:
Switch# show license udi switch 5% Slot 5 does not exist or is not licensableExamples of Activating Software
This section has this information:
•
Using TFTP to Install a Software License
•
Using Cisco License Call Home to Rehost a Software License
•
Using Cisco License Call Home to Rehost a Software License
•
Changing the Software License on the Switch
Using TFTP to Install a Software License
After you get a software license file from the Cisco Product License Registration Portal, this example shows how to use TFTP to install the license on a switch:
Switch# copy tftp flash:Address or name of remote host [ ]? 10.0.0.1Source filename [ ]? license_name-ipsDestination filename [license_name-ips]?Accessing tftp://172.20.244.138/r1fs-ips...Loading license_name-ips from 172.20.244.138 (via GigabitEthernet1/0/1): ![OK - 1161 bytes]1161 bytes copied in 0.059 secs (19678 bytes/sec)If you enter the show flash: privileged EXEC command, the command output shows that the software license file is in the flash memory but that the feature set is not enabled.
Switch# license install flash: license_name-ipsInstalling licenses from "flash: license_name-ips "Installing...Feature:ipservices...Successful:Supported1/1 licenses were successfully installed0/1 licenses were existing licenses0/1 licenses were failed to installSwitch#19:46:56: %IOS_LICENSE_IMAGE_APPLICATION-6-LICENSE_LEVEL: Next reboot level = ipservices and License = ipservicesAfter installing the license for the IP services feature set on the switch, you can enter the show version privileged EXEC command to display the software license information. In this example, the switch is currently running the IP base feature set.
Switch# show version<output truncated>License Level: ipbase Type: PermanentNext reboot license Level: ipservices<output truncated>Restart the switch to enable the IP services feature set.
Use the show version command to display the software license information after restarting the switch:
Switch# show version<output truncated>License Level: ipservicesLicense Type: PermanentNext reboot license Level: ipservices<output truncated>Using Cisco License Call Home to Rehost a Software License
This example shows show to revoke a software license from a source switch, Switch 2, and transfer it to a destination switch, Switch 3. Switch 2 and Switch 3 are members of a switch stack.
Before revoking the license from Switch 2, enter the show license udi privileged EXEC command to get the PID and UDI of Switch 3.
Switch# show license udiDevice# PID SN UDI-----------------------------------------------------------------------------*1 WS-C3750E-48TD-S CAT1109W085 WS-C3750E-48TD-S:CAT1109W0852 WS-C3750E-48TD-S CAT1109W08W WS-C3750E-48TD-S:CAT1109W08W3 WS-C3750E-24PD-S CAT1118R0FF WS-C3750E-24PD-S:CAT1118R0FFEnter the license call-home revoke udi destination-udi file-sys:file-sys//lic-save-location [switch switch-num] privileged EXEC command to revoke the software license on Switch 2:
Switch# license call-home revoke udi WS-C3750E-24PD-S:CAT1118R0FF flash2:rt switch 2CCO User name : johndoeCCO password :Retrieving the sku from swift ..........!.................1. SKU Name : 3750E-AISK9LCBQTYSKU Type : FeatureDescription : For Internal purposes onlyOrdered Qty : 1Available Qty : 1Feature List :Feature name: advipservices Count: UncountedPlatform Supported : C3750E2. SKU Name : 3750E-IPSLCB-QTYSKU Type : FeatureDescription : For Internal purposes onlyOrdered Qty : 1Available Qty : 1Feature List :Feature name: ipservices Count: UncountedPlatform Supported : C3750E3. All of the abovePlease select the sku number you want to revoke : 2Retrieving the permission ticket from swift ..........!................Output file saved ..... to flash2:rtRetrieving the rehost ticket from the device ..........Following Permanent license(s) will be revoked from this deviceFeature Name: ipservices :Uncounted<Following Extension license(s) will be installed in this device

