< Home

hrp configuration auto-check warning enable

Function

The hrp configuration auto-check warning enable command enables the alarm function for configuration consistency auto-check.

The undo hrp configuration auto-check warning enable command disables the alarm function for configuration consistency auto-check.

Format

hrp configuration auto-check warning enable

undo hrp configuration auto-check warning enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, the alarm function is enabled.

Application Scenario

After configuration consistency check is complete, if some configurations are inconsistent, an alarm is generated to remind the administrator of modifying the configurations.
  • You can run the hrp configuration auto-check warning enable command to enable the alarm function for configuration consistency auto-check. After the alarm function is enabled, the device running the check task displays the alarm and log based on the check result. Both the alarm and log contain the names of inconsistent configurations.
  • You can run the undo hrp configuration auto-check warning enable command to disable the alarm function for configuration consistency auto-check. After the alarm function is disabled, no alarms are generated after check tasks are executed, and only logs are recorded.
  • You can run the hrp configuration check command to manually check whether the active and standby FWs have the same configuration. During this consistency check process, an alarm is sent if they have different configurations, without being controlled by the hrp configuration auto-check warning enable command.

Follow-Up Configuration

In case of configuration inconsistency between the active/standby devices, locate the module based on the module name included in the generated alarm or log information, check the configuration of the module on the active and standby devices, and run the hrp sync command to implement batch backup or manually change the module configurations to be consistent.

Example

# Enable the alarm function for configuration consistency check.

<sysname> system-view
[sysname] hrp configuration auto-check warning enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >