license delete unit

Deletes an XML software license and restores the default license option.
Syntax
license delete unit unit_id [ all | index license_index]
Parameters
unit_id

Specifies the unit ID number. For a standalone device, the unit number is 1. For a stack unit, use the assigned stack unit number.

all
Deletes all XML licenses on the specified unit.
index license_index
Specifies the software license file, and is generated by the member unit. The license index number is the license file you want to delete from a unit. The license index number is not unique across stack units, and you must specify both the unit number and the index number to delete a license from a specific unit. For example, an ICX7250-8X10G-LIC-POD license is installed on both stack unit 3, index 1, and stack unit 5, index 1. Because the index numbers are the same, you must specify both the unit number and the index number to delete a license from a specific unit.
Modes

Privileged EXEC level.

Usage Guidelines

Use the license delete perpetual command to delete an SAU license.

On the ICX 7450 and ICX 7250 devices, if more than one non-node locked license file is installed, the deletion of the license file sequence should start from the software license file identified by index 1. If this is not done, any attempt to delete the license file returns an error 141(LICENSE_IN_USE).

Examples

The following example delete the license file as specified.

device# license delete unit 1 index 1
device# license delete unit 1 index 2

Use the all option to delete all license files for a specific unit.

device# license delete unit 1 all
History
Release version Command history
07.1.00 This command was introduced.
08.0.80 The description was updated to indicate that it deletes XML license files only. It does not delete SAU licenses.