- Table of Contents
-
- 01-Fundamentals Configuration Guide
- 00-Preface
- 01-CLI configuration
- 02-FTP and TFTP configuration
- 03-Target configuration management configuration
- 04-RBAC configuration
- 05-File system management configuration
- 06-Login management configuration
- 07-Automatic configuration
- 08-Software upgrade configuration
- 09-Configuration file management configuration
- 10-ISSU configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
03-Target configuration management configuration | 54.79 KB |
Committing the target configuration command lines
Verifying and maintaining target configuration
Displaying and clearing rollback point information
Displaying configuration session information
Managing target configuration
Committing the target configuration command lines
Procedure
1. (Optional.) Specify the maximum number of rollback points:
a. Enter real-time-mode system view.
system-view
b. Set the maximum number of rollback points.
configuration commit max-number max-number
By default, the maximum number of rollback points is 100.
To create a new rollback point when the number of rollback points reaches the maximum, the system deletes the oldest rollback point.
c. Return to user view.
quit
2. (Optional.) Roll back the running configuration.
configuration replace { file filename | last number | commit-id commit-id | label labelname }
CAUTION: This operation will cause settings not at the rollback point to be lost, which might cause service interruption. When you perform configuration rollback, make sure you fully understand its impact on your network. |
To reclaim target configuration command lines that have been committed, use this command to roll back the running configuration as required. For more information about this command, see configuration file management commands in Fundamentals Command Reference.
Verifying and maintaining target configuration
Displaying and clearing rollback point information
Perform display tasks in any view.
· Display the configuration differences between a rollback point and the running configuration or between two rollback points.
display configuration commit diff [ at commit-id | last number | since commit-id ]
· Display rollback point information.
display configuration commit list [ number | label ] [ verbose ]
To clear old rollback points, execute the following command in user view:
reset configuration commit number
CAUTION: Use this command with caution. You cannot restore the rollback points cleared by using this command. |
Displaying configuration session information
To display device configuration sessions, such as CLI, NETCONF, CWMP, and SNMP sessions, execute the following command in any view:
display configuration sessions