license delete

Function

The license delete command deletes a specified license file in the $_license directory.

Format

license delete file-name

Parameters

Parameter Description Value
file-name

Specifies the name of the license file to be deleted.

The value is a string of 1 to 127 case-sensitive characters without spaces.

If the name of the license file to be deleted contains only a file name, the license files with this name are deleted from the

$_license directories on the master and slave main control boards in all chassis. If the name of the license file to be deleted contains a complete path, the license file only in this path is deleted.

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
license write

Usage Guidelines

Usage Scenario

To delete unwanted or useless license files in the $_license directory, run the license delete command.

Prerequisites

Unwanted or useless license files are available in the $_license directory.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Delete the license.dat file on the main control board.
<HUAWEI> license delete license.dat
Warning: The contents of file cfcard:/$_license/license.dat cannot be recycled. Continue? [Y/N]:y
Info: Unreserved deleting file cfcard:/$_license/license.dat......Done.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >