---
title: IP-Conflict Configuration
slug: enterprise-v5p2/ip-conflict-configuration
description: reliability configuration
createdAt: 2025-11-14T03:58:40.850Z
---

### <font color="#1d50a2">show ip-conflict detect config</font>

**\[Command]**
**show ip-conflict detect config**

**\[Purpose]**
Display the IP address conflict detection configuration

**\[View]**
System view

**\[Use Cases]**

```plaintext
sonic# show ip-conflict detect config
enabled:true
max-records:2000
+-------------+
| INTERFACE   |
+=============+
| Ethernet1   |
+-------------+
| Ethernet11  |
+-------------+
```

### <font color="#1d50a2">show ip-conflict detect status</font>

**\[Command]**
**show ip-conflict detect status**

**\[Purpose]**
Display the IP address conflict detection entries

**\[View]**
System view

**\[Use Cases]**

```plaintext
sonic# show ip-conflict detect status
+-------------+-----------+-------------------+-------------------+---------------------+
| INTERFACE   | Self-IP   | Self-MAC          | Conflict-MAC      | TIMESTAMP           |
+=============+===========+===================+===================+=====================+
| Ethernet1   | 10.1.1.1  | 86:15:7D:DC:3D:86 | 00:00:02:01:01:04 | 2024-09-02 11:06:46 |
|             |           |                   | 00:00:02:01:01:02 | 2024-09-02 10:59:54 |
+-------------+-----------+-------------------+-------------------+---------------------+
| Ethernet11  | 20.1.1.1  | 86:15:7D:DC:3D:86 | 60:EB:5A:01:10:CB | 2024-09-02 11:05:10 |
+-------------+-----------+-------------------+-------------------+---------------------+
+-------------+------------+-------------+----------------+-------------+
| INTERFACE   | Neigh-IP   | Neigh-MAC   | Conflict-MAC   | TIMESTAMP   |
+=============+============+=============+================+=============+
```

<font color="#1d05a2">show ip-conflict detect status This command display description table</font>

| **Fields**       | **Description**                                                                                       |
| ---------------- | ----------------------------------------------------------------------------------------------------- |
| **Self-IP**      | Displays the IP address that is in conflict on the interface                                          |
| **self-MAC**     | Shows the MAC address corresponding to the conflicting IP address on the device                       |
| **Conflict-MAC** | Displays the MAC address associated with the conflicting IP address.                                  |
| **TIMESTAMP**    | Indicates the time when the conflict was detected                                                     |
| **Neigh-IP**     | Shows the IP address of the neighbor entry that is in conflict                                        |
| **Neighbor-MAC** | Displays the MAC address recorded in the ARP table for the conflicting IP address before the conflict |

### <font color="#1d50a2">ip-conflict detect enable</font>

**\[Command]**
**ip-conflict detect enable**

**\[Purpose]**
Enable IP address conflict detection; it is disabled by default

**\[View]**
System configuration view

**\[Usage Scenario]**
In scenarios where devices in a network experience IP address conflicts, this can lead to frequent oscillations in ARP and routing table entries, significantly impacting business operations. To mitigate the effects of such conflicts, enabling IP address conflict detection helps log these events as alerts. This allows administrators to quickly identify and address the issues, minimizing disruption to network services and improving overall stability.

**\[Notes]**
After enabling the global IP address conflict detection feature, you also need to enable IP address conflict detection at the interface and VLAN view.
If there is an IP conflict on an interface, the device will continue to use that IP address, log a warning message to syslog, and record it in the address conflict table, while responding to gratuitous ARP or NA messages.
If there is a neighbor table conflict, a warning message will be logged to syslog, and it will be recorded in the address conflict table.

**\[Use Cases]**

```plaintext
sonic(config)# interface ethernet 1
sonic(config-if-1)# ip-conflict detect enable
```

### <font color="#1d50a2">ip-conflict detect max-records</font>

**\[Command]**
**ip-conflict detect max-records&#x20;**&#x20;*number*

**\[Purpose]**
Configure the global conflict record limit

**\[Parameter]**

| **Parameter** | **Description**                       |
| ------------- | ------------------------------------- |
| *number*      | default 2000.the range value:1..20000 |

**\[View]**
System configuration view

**\[Notes]**
The default maximum number of IP addresses is 2000, with each IP corresponding to 10 MAC addresses. If the limit is exceeded, the oldest entries will be overwritten.

**\[Use Cases]**

```plaintext
sonic(config)# ip-conflict detect max-records 20
```

### <font color="#1d50a2">ip-conflict detect reset</font>

**\[Command]**
**ip-conflict detect reset**

**\[Purpose]**
Forcefully clear all IP conflict detection records

**\[View]**
System configuration view

**\[Notes]**
When deleting a Layer 3 interface or IP address, the associated conflict record entries will also be deleted

**\[Use Cases]**

```plaintext
sonic(config)# ip-conflict detect reset
```

