01-Fundamentals Configuration Guide

HomeSupportRoutersSR6600-M SeriesConfigure & DeployConfiguration GuidesH3C SR6608-M Router Configuration Guides-R9141-6W10101-Fundamentals Configuration Guide
03-Target configuration management configuration

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

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

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

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网