Install a License File

Install a license file on the switch to enable licensed features.

Before you begin

  • File Transfer Protocol (FTP) and Trivial File Transfer Protocol (TFTP) support both IPv4 and IPv6 addresses, with no difference in functionality or configuration.

  • You must enable File Transfer Protocol (FTP) or Trivial File Transfer Protocol (TFTP) in the boot configuration flags depending on which protocol you use to download the license file to the device.

  • Ensure that you have the correct license file with the base MAC address of the switch on which you need to install the license. Otherwise, the system does not unblock the licensed features.

Procedure

  1. From a remote station or PC, use FTP or TFTP to download the license file to the device and store the license file in the /intflash directory.
  2. Enter Global Configuration mode:

    enable

    configure terminal

  3. Load the license:

    load-license <filename>

Examples

Log in to the device and load the license. The following example shows a successful operation.

Switch:1(config)#load-license license_5320-48T-8XE_8P_1
Switch:1(config)#2021-09-01T13:48:27.275Z 5320-48T-8XE-VOSS CP1 - 0x000006ef - 00000000 GlobalRouter SW INFO License key successfully loaded from <license_5320-48T-8XE_8P_1>.

Variable Definitions

The following table defines parameters for the copy command.

Variable

Value

<a.b.c.d>

Specifies the IPv4 and IPv6 address of the TFTP server from which to copy the license file.

<file>

Specifies the name of the license file when copied to the flash.

<srcfile>

Specifies the name of the license file on the TFTP server.

The following table defines parameters for the load-license command.

Variable

Value

<filename>

Specifies the name of the license file in the /intflash directory. Use the CLI Help to see the number of characters allowed for the switch.