license delete unit

Deletes an XML software license and restores the default license option.
Syntax
license delete unitunit_id [ all|indexlicense_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.
indexlicense_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.
Modes

Privileged EXEC mode

Usage Guidelines

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

Note: ICX 7150-ES and ICX 8100 devices do not support license commands.

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.