Why the compare configuration command fails to be executed

1

In earlier versions of V100R005, the compare configuration command compares the current configuration file with a configuration file saved in the storage device. If the configuration file used for last startup is empty, the compare configuration command fails to be executed. You can use the display startup command to check the configuration. After you configure a device that is powered on for the first time, run the save command to save the configuration and restart the device.
In V100R005 and later versions , the compare configuration command compares the current configuration with the next startup configuration file, so this problem will not occur.

Other related questions:
Why are not commands executed on the active firewall synchronized to the standby firewall
If you disable the automatic configuration synchronization function, the configurations are not synchronized. Besides, not all commands can be synchronized. For example, interface and routing configurations cannot be synchronized. For commands that can be synchronized, see Specifications.

Why are executed commands recorded in log files but cannot be displayed by the display logbuffer command
Information in the log buffer differs from information in log files because they use different channels of the information center. Log files record more information than the log buffer. The log buffer has a higher information level and records more important than log files. As logs have a lower information level, they are not saved in the log buffer. You can use the following command to set a lower level for the logs sent to the log buffer: [HUAWEI] info-center source SHELL channel logbuffer log level informationalRun some commands and use the display logbuffer command to check the logs in the log buffer. These commands will be displayed.

How to configure the switch to record executed commands in logs
To enable the switches to record the executed commands in logs, run the following command in the system view: info-center source SHELL channel logbuffer log level debugging state on You can run the display logbuffer command to view commands executed after the switch starts.

An error occurs when excluded-ip-address is executed
The solution to solving errors of IP addresses that cannot be dynamically assigned is as follows:
1. Check whether the dhcp select global command is configured on the VLANIF interface. This command can be used only after the address pool is configured. If the address pool has been configured, run the undo dhcp select global command to delete the configuration.
2. Check whether the range of IP addresses that cannot be dynamically assigned is large, attempt to exclude one IP address and check whether the fault persists. If the fault is rectified, the range of IP addresses that cannot be dynamically assigned is large. Reduce the range.
3. Run the display ip pool command to check whether the IP address status is conflict, expired, or used. If the IP address status is conflict, expired, or used, reclaim the IP address and reconfigure the IP address that cannot be dynamically assigned.
4. Check whether the number of addresses in the address pool exceeds the specifications. You can check the device specification list. If the number of addresses in the address pool exceeds the specifications, delete the address pool and re-create a new address pool.
The device configuration is not performed through command lines. After vrpcfg.zip is exported, batch modify the configuration, and import the configuration to the flash memory. In this case, the system does not display an error message when the number of addresses in the address pool exceeds the specifications.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top