The ip address conflict check disable command disables the IP address conflict detection function.
The undo ip address conflict check disable command restores the default configuration.
The ipv6 address conflict check disable command disables the IPv6 address conflict detection function.
The undo ipv6 address conflict check disable command restores the default configuration.
The ip address conflict preempt enable command enables the preemption function for conflicting IP addresses.
The undo ip address conflict preempt enable command restores the default configuration.
The ipv6 address conflict preempt enable command enables the preemption function for conflicting IPv6 addresses.
The undo ipv6 address conflict preempt enable command restores the default configuration.
By default, the IP address conflict detection function is enabled.
ip address conflict check disable
ipv6 address conflict check disable
ip address conflict preempt enable
ipv6 address conflict preempt enable
undo ip address conflict check disable
undo ipv6 address conflict check disable
undo ip address conflict preempt enable
undo ipv6 address conflict preempt enable
Usage Scenario
Prerequisites
In scenarios where the preemption function for conflicting IP addresses is disabled, conflicting IP addresses continue to take effect on the original interfaces after a master/slave switchover is performed. However, conflicting IP addresses take effect on interfaces with higher priorities after the device is restarted.
Precautions
If the primary IP address of an interface does not take effect due to IP address conflict, its secondary IP address also becomes invalid. If the primary IP address of an interface takes effect, its secondary IP address takes effect only when no duplicate IP address exists on the network.
<HUAWEI> system-view [~HUAWEI] ip address conflict check disable [*HUAWEI] ip address conflict preempt enable
<HUAWEI> system-view [~HUAWEI] ipv6 address conflict check disable [*HUAWEI] ipv6 address conflict preempt enable