The set configuration commit command sets a user label for a configuration rollback point.
The clear configuration commit command deletes a user label for a configuration rollback point.
By default, no user label is set for configuration commit.
Parameter | Description | Value |
---|---|---|
commit-id |
Specifies the ID of a configuration rollback point. |
The id is a string of 1 to 20 characters and generated by the system automatically. |
label label-string |
Specifies a user label for a configuration rollback point. The parameter value must be unique in the system and in one-to-one mappings with commit-id. |
The value is a string of 1 to 256 case-sensitive characters. It can be any visible ASCII character except for the space. However, the string can contain spaces if it is enclosed with double quotation marks (" "). The string cannot start with a digit or be a hyphen (-). |
Usage Scenario
Prerequisites
Before deleting a configuration rollback point, run the display configuration commit list or display configuration commit changes command to check whether a configuration rollback point can be deleted.
Follow-up Procedure
Run the display configuration commit list command to view information about the user label for a configuration rollback point.
Run the display configuration commit list command to display the configuration commit label information.
Precautions
If the set configuration commit command is run several times, the latest configuration overwrites the previous configuration.