01-Fundamentals Configuration Guide

HomeSupportRoutersCR16000-F SeriesConfigure & DeployConfiguration GuidesH3C CR16000-F Routers Configuration Guides-Release795x-6W10001-Fundamentals Configuration Guide
08-Target configuration management configuration

Managing target configuration

About target configuration

Target configuration enables you to configure and verify intended settings before merging them into the running configuration.

You can configure target configuration command lines in the following views:

·          Private-mode system view and its lower-level views.

·          Exclusive-mode system view and its lower-level views.

Commands available for real-time configuration are all available for target configuration.

Private-mode views and exclusive-mode views have an extra tilde sign (~) in their prompts as compared to their counterpart real-time-mode views. For more information about views, see "Using the CLI."

Committing the target configuration command lines

About committing the target configuration command lines

A commit operation commits all target configuration command lines. After a successful commit operation, the system creates a configuration rollback point.

Restrictions and guidelines

As a best practice, do not execute the commit command frequently. The system creates a configuration rollback point after each successful commit operation. Executing the command frequently increases device load and might cause commit failures.

Procedure

1.        (Optional.) Specify the maximum number of rollback points:

a.    Enter real-time-mode system view.

system-view

b.    Specify the maximum number of rollback points.

configuration commit max-number max-number

By default, the maximum number of rollback points is not specified. There is no limit to the number of rollback points.

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.        Enter private-mode system view or exclusive-mode system view.

system-view { exclusive | private }

3.        Configure features as required.

For more information about configuring features, see the configuration guides.

4.        (Optional.) Display target configuration command lines.

display target-configuration

Incorrect target configuration command lines will affect the operation of the network. Use this command to verify that all target configuration command lines are correct.

5.        Commit the target configuration command lines.

commit [ best-effort ] [ force ] [ label labelname ] [ save-running filename ] [ confirmed [ seconds | minutes minutes ] ] [ show-error ] [ clear-error ] [ description text ]

6.        (Optional.) Roll back the running configuration.

configuration replace { commit-id commit-id | file filename | label labelname | last number }

To reclaim target configuration command lines that have been committed, use this command to roll back the running configuration as required.

Display and maintenance commands for target configuration

Execute the following commands in private-mode system view, exclusive-mode system view, or their lower-level views:

·          display target-configuration

·          reset target-configuration

Execute the following commands in any view:

·          display configuration commit diff

·          display configuration commit list

·          display configuration sessions

Execute the reset configuration commit command in user view.

 

Task

Command

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 ]

Display device configuration sessions.

display configuration sessions

Display the target configuration command lines.

display target-configuration [ failure [ brief ] | merge | success ]

Clear old rollback points.

reset configuration commit number

Clear the target configuration command lines.

reset target-configuration [ command [ text ] ]

 

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