The display hrp configuration check command displays the configurations of the two FWs for consistency.
display hrp configuration check { all | acl | acl6 | address-set | audit-policy | auth-policy | bgp | hash | hrp | interface | license | nat-policy | ospf | security-policy | service-set | static-route | traffic-policy | zone }
| Parameter | Description | Value |
|---|---|---|
| all | Displays the configuration consistency on both sides. | - |
| acl | Displays the configuration consistency of the IPv4 ACLs on both sides. | - |
| acl6 | Displays the configuration consistency of the IPv6 ACLs on both sides. | - |
| address-set | Displays the configuration consistency of the address set on both sides. | - |
| audit-policy | Displays the configuration consistency of the audit policy on both sides. | - |
| auth-policy | Displays the configuration consistency of the authentication policy on both sides. | - |
| bgp | Displays the configuration consistency of the BGP on both sides. | - |
| hash | Displays the configuration consistency of the hash mode and hash gene next startup on both sides. Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter. | - |
| hrp | Displays the configuration consistency of the HRP on both sides. | - |
| interface | Displays the configuration consistency of the interface on both sides. | - |
| license | Displays the configuration consistency of the license on both sides. | - |
| nat-policy | Displays the configuration consistency of the nat policy on both sides. | - |
| ospf | Displays the configuration consistency of the OSPF on both sides. | - |
| security-policy | Displays the configuration consistency of the security policy on both sides. | - |
| service-set | Displays the configuration consistency of the service set on both sides. | - |
| static-route | Displays the configuration consistency of the static route on both sides. | - |
| traffic-policy | Displays the configuration consistency of the traffic policy on both sides. | - |
| zone | Displays the configuration consistency of the security zone on both sides. | - |
Usage Scenario
After running the hrp configuration check command check the active and standby node configuration consistency, you can use the display hrp configuration check command to check the results of consistency check for HRP configurations on the active and standby devices.
# Display the results of consistency check for HRP configurations on the active and standby FWs after the HRP function is started on the FW.
HRP_M<sysname> system-view HRP_M[sysname] hrp configuration check hrp HRP_M[sysname] display hrp configuration check hrp Module State Start-time End-time Result hrp finish 2018/02/08 14:21:56 2018/02/08 14:21:56 Same Configuration
# Display the results of consistency check for security policy configurations on the active and standby FWs.
HRP_M[sysname] hrp configuration check security-policy HRP_M[sysname] display hrp configuration check security-policy Module State Start-time End-time Result security-policy finish 2018/01/31 16:06:46 2018/01/31 16:06:46 Different Configuration Note: The system compares only the first 20 differences between the active and standby devices. Resolve the differences and check other differences again until the configurations on the two devices are the same. Verbose Information: public: [01]Rule 0 "default" on the active device differs from "default" on the standby device. [02]Rule 1 "c" on the active device differs from "a" on the standby device. [03]Rule 2 "d" on the active device differs from "b" on the standby device. [04]Rule 3 "c" on the standby device is missing or misplaced on the active device. [05]Rule 4 "d" on the standby device is missing or misplaced on the active device. Vsys vsys1: [06]Rule 0 "default" on the active device differs from "default" on the standby device. [07]Rule 1 "abc" on the active device differs from "aaa" on the standby device.
# Display the results of consistency check for address set configurations on the active and standby FWs.
HRP_M[sysname] hrp configuration check address-set HRP_M[sysname] display hrp configuration check address-set Module State Start-time End-time Result address-set finish 2018/01/30 20:45:00 2018/01/30 20:45:00 Different Configuration Note: The system compares only the first 20 differences between the active and standby devices. Resolve the differences and check other differences again until the configurations on the two devices are the same. Verbose Information: public: [01]The address set "c" on the active device is missing on the standby device. [02]The address set "a" on the standby device is missing on the active device. [03]The address set "d" is different.
# Display the results of consistency check for service set configurations on the active and standby FWs.
HRP_M[sysname] hrp configuration check service-set HRP_M[sysname] display hrp configuration check service-set Module State Start-time End-time Result service-set finish 2018/01/28 20:45:00 2018/01/28 20:45:00 Different Configuration Note: The system compares only the first 20 differences between the active and standby devices. Resolve the differences and check other differences again until the configurations on the two devices are the same. Verbose Information: public: [01]The service set "c" on the active device is missing on the standby device. [02]The service set "a" on the standby device is missing on the active device. [03]The service set "d" is different.
# Display the results of consistency check for IPv4 ACL configurations on the active and standby FWs.
HRP_M[sysname] hrp configuration check acl HRP_M[sysname] display hrp configuration check acl Module State Start-time End-time Result acl finish 2018/09/21 23:40:35 2018/09/21 23:40:36 Different Configuration Note: The system compares only the first 20 differences between the active and standby devices. Resolve the differences and check other differences again until the configurations on the two devices are the same. Verbose Information: [01]The IPv4 ACL 2100 on the standby device is missing on the active device. [02]The IPv4 ACL 2101 on the active device is missing on the standby device. [03]The IPv4 ACL 2102 is different.
# Display the results of consistency check for OSPF configurations on the active and standby FWs.
HRP_M[sysname] hrp configuration check ospf HRP_M[sysname] display hrp configuration check ospf Module State Start-time End-time Result ospf finish 2018/01/30 20:45:00 2018/01/30 20:45:00 Different Configuration Note: The system compares only the first 20 differences between the active and standby devices. Resolve the differences and check other differences again until the configurations on the two devices are the same. Verbose Information: [01]OSPF 1 is missing on peer device. [02]OSPF 4 is missing on local device. [03]OSPF 6 on local device differs from the one on peer device.
# Display the results of consistency check for security zone configurations on the active and standby FWs.
HRP_M[sysname] hrp configuration check zone HRP_M[sysname] display hrp configuration check zone Module State Start-time End-time Result zone finish 2018/09/22 00:24:57 2018/09/22 00:24:57 Different Configuration Note: The system compares only the first 20 differences between the active and standby devices. Resolve the differences and check other differences again until the configurations on the two devices are the same. Verbose Information: public [01]The configuration of zone "trust" with ID 1 on the active device is different from that on the standby device. [02]Zone "test1" with ID 4 on the active device does not exist.