---
title: ARP
slug: aidc/arp
createdAt: 2025-12-29T10:28:55.939Z
---

## &#x20;<font color="#1d50a2">URLs Summary</font>

| **URL**                                                            | **GET** | **POST** | **PATCH** | **PUT** | **DELETE** |
| ------------------------------------------------------------------ | ------- | -------- | --------- | ------- | ---------- |
| /rest/v1/running/arp-global                                        | Y       | Y        | Y         | N       | Y          |
| /rest/v1/running/arp-global/arp-dynamic-learning                   | Y       | Y        | Y         | N       | Y          |
| /rest/v1/running/interfaces/&#x7B;name}/arp-dynamic-learning       | Y       | N        | Y         | N       | N          |
| /rest/v1/running/interfaces/&#x7B;name}/ipv4/neighbor/\[&#x7B;ip}] | Y       | Y        | Y         | N       | Y          |
| /rest/v1/rpc/clear-neighbor                                        | N       | Y        | N         | N       | N          |
| /rest/v1/rpc/show-ipv4-neighbor-summary                            | N       | Y        | N         | N       | N          |

## <font color="#1d50a2">Examples</font>

### <font color="#1d50a2">Show ipv4 neighbor summary</font>

```json
POST HTTPS://{switch IP}/rest/v1/rpc/show-ipv4-neighbor-summary
```

**response:**

```json
{
    "neighbor": [
        {
            "address": "10.250.0.242",
            "mac-address": "60:eb:5a:01:10:36",
            "interface": "Mgmt0",
            "vlan": "-"
        },
        {
            "address": "10.250.0.243",
            "mac-address": "60:eb:5a:01:10:36",
            "interface": "Mgmt0",
            "vlan": "-"
        },
        {
            "address": "10.250.0.254",
            "mac-address": "60:eb:5a:01:10:36",
            "interface": "Mgmt0",
            "vlan": "-"
        },
        {
            "address": "43.0.0.2",
            "mac-address": "60:eb:5a:01:11:03",
            "interface": "Ethernet43",
            "vlan": "-"
        },
        {
            "address": "Total number",
            "mac-address": "of entries 4",
            "interface": "",
            "vlan": ""
        }
    ]
}
```

<font color="#1d50a2">Get global ARP configuration.</font>

```json
GET HTTPS://{switch IP}/rest/v1/running/arp-global
```

**response:**

```json
{
    "arp-dynamic-learning": {
        "interval": 30,
        "times": 6
    }
}
```

### <font color="#1d50a2">Create global ARP dynamic learning.</font>

```json
POST HTTPS://{switch IP}/rest/v1/running/arp-global/arp-dynamic-learning
{
    "interval": 10,
    "times": 16
}
```

### <font color="#1d50a2">Modify ARP dynamic learning for an interface</font>

```json
PATCH HTTPS://{switch IP}/rest/v1/running/interfaces/Vlan100/arp-dynamic-learning
{
    "mode": "evpn"
}
```

### <font color="#1d50a2">Create an IPv4 neighbor for interface.</font>

```json
POST HTTPS://{switch IP}/rest/v1/running/interfaces/Lag12/ipv4/neighbor
{
    "ip": "100.0.0.2",
    "mac-address": "00:11:22:A3:44:5F"
}
```

### <font color="#1d50a2">Clear neighbors</font>

```json
POST HTTPS://{switch IP}/rest/v1/rpc/clear-neighbor
{
    "interface": "Ethernet1"
}
```

## <font color="#1d50a2">Properties Descriptions</font>

### <font color="#1d50a2">ARP flood global</font>

**Tree Diagrams**

```plaintext
  +--rw arp-global
     +--rw flood-enable?
```

**Table of Properties**

| **Name**     | **Required** | **Type/Range**      | **Description**                                                                      |
| ------------ | ------------ | ------------------- | ------------------------------------------------------------------------------------ |
| arp-global   | M            |                     | Path-only node, has no configurable value.                                           |
| flood-enable | O            | "true"<br />"false" | (sub-property of arp-global)<br />Enable to flood packet.<br />Default value: "true" |

### <font color="#1d50a2">dynamic learning </font><font color="#1d50a2">global</font>

**Tree Diagrams**

```plaintext
  +--rw arp-global
     +--rw arp-dynamic-learning
        +--rw interval?
        +--rw times?
        +--rw expire-time?
```

**Table of Properties**

| **Name**             | **Required** | **Type/Range** | **Description**                                                                                                              |
| -------------------- | ------------ | -------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| arp-global           | M            |                | Path-only node, has no configurable value.                                                                                   |
| arp-dynamic-learning | M            |                | (sub-property of arp-global)<br />Path-only node, has no configurable value.<br />global ARP dynamic learning configuration. |
| interval             | O            | 1..65535       | (sub-property of arp-dynamic-learning)<br />ARP probe interval for learned neighbors, units seconds<br />Default value: 6    |
| times                | O            | 1..65535       | (sub-property of arp-dynamic-learning)<br />ARP probe times for learned neighbors.<br />Default value: 5                     |
| expire-time          | O            | 60..86400      | (sub-property of arp-dynamic-learning)<br />ARP aging timer, units seconds.<br />Default value: 300                          |

### <font color="#1d50a2">Interface ARP dynamic learning</font>

**Tree Diagrams**

```plaintext
  +--rw interfaces
     +--rw interface* [name]
        +--rw name
        +--rw arp-dynamic-learning
           +--rw mode?
           +--rw arp-accept?
           +--rw arp-active-detect?
           +--rw interval?
           +--rw times?
           +--rw expire-time?
```

**Table of Properties**

| **Name**             | **Required** | **Type/Range**                           | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| -------------------- | ------------ | ---------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| interfaces           | M            |                                          | Path-only node, has no configurable value.<br />Interface parameters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| name                 | M            | Ethernet name<br />Link-aggregation name | (sub-property of interfaces)<br />The name of the interface.                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| arp-dynamic-learning | M            |                                          | (sub-property of interfaces)<br />Path-only node, has no configurable value.<br />ARP dynamic learning on interfaces.                                                                                                                                                                                                                                                                                                                                                                                                                    |
| mode                 | O            | "disable"<br />"default"<br />"evpn"     | (sub-property of arp-dynamic-learning)<br />ARP proxy mode.<br />Default value: "disable"                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| arp-accept           | O            | "true"<br />"false"                      | (sub-property of arp-dynamic-learning)<br />Define behavior for gratuitous ARP frames who's IP is not already present in the ARP table: "false" - don't create new entries in the ARP table "true" - create new entries in the ARP table Both replies and requests type gratuitous ARP will trigger the ARP table to be updated, if this setting is on. If the ARP table already contains the IP address of the gratuitous ARP frame, the ARP table will be updated regardless if this setting is on or off.<br />Default value: "false" |
| arp-active-detect    | O            | "true"<br />"false"                      | (sub-property of arp-dynamic-learning)<br />Define behavior for receiving ARP request who's target IP is not already present in the ARP table, but The IP is the same as the IP segment of the interface: "true" - actively sending ARP request to detect the unknown target IP. "false" - do nothing. This is useful when some hosts are set to be silent which means they would't send gratuitous ARP actively.<br />Default value: "false"                                                                                            |
| interval             | O            | 1..65535                                 | (sub-property of arp-dynamic-learning)<br />ARP probe interval for learned neighbors, units seconds<br />Default value: 6                                                                                                                                                                                                                                                                                                                                                                                                                |
| times                | O            | 1..65535                                 | (sub-property of arp-dynamic-learning)<br />ARP probe times for learned neighbors.<br />Default value: 5                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| expire-time          | O            | 60..86400                                | (sub-property of arp-dynamic-learning)<br />ARP aging timer, units seconds.<br />Default value: 300                                                                                                                                                                                                                                                                                                                                                                                                                                      |

### <font color="#2166ae">Static </font><font color="#1d50a2">ARP entry</font>

**Tree Diagrams**

```plaintext
  +--rw interfaces
     +--rw interface* [name]
        +--rw name
        +--rw ipv4
        |  +--rw neighbor* [ip]
        |  |  +--rw ip
        |  |  +--rw mac-address
        |  |  +--ro origin?
```

**Table of Properties**

| **Name**    | **Required** | **Type/Range**                                                                                                           | **Description**                                                                                                                                                                                                                                                                                                     |
| ----------- | ------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| interfaces  | M            |                                                                                                                          | Path-only node, has no configurable value.<br />Interface parameters.                                                                                                                                                                                                                                               |
| name        | M            | Ethernet name<br />Ethernet sub-interface name<br />Lag1..9999<br />Link-aggregation sub-interface name<br />Vlan1..4094 | (sub-property of interfaces)<br />The name of the interface.                                                                                                                                                                                                                                                        |
| ipv4        | M            |                                                                                                                          | (sub-property of interfaces)<br />Path-only node, has no configurable value.<br />Parameters for the IPv4 address family.                                                                                                                                                                                           |
| neighbor    | M            |                                                                                                                          | (sub-property of ipv4)<br />Path-only node, has no configurable value.<br />A list of mappings from IPv4 addresses to link-layer addresses.<br />Entries in this list in the intended configuration are used as static entries in the ARP Cache.<br />In the operational state, this list represents the ARP Cache. |
| ip          | M            | A.B.C.D                                                                                                                  | (sub-property of neighbor)<br />The IPv4 address of the neighbor node.                                                                                                                                                                                                                                              |
| mac-address | M            | A\:B:C\:D:E\:F                                                                                                           | (sub-property of neighbor)<br />The link-layer address of the neighbor node.                                                                                                                                                                                                                                        |
| origin      | RO           | "other"<br />"static"<br />"dynamic"                                                                                     | (sub-property of neighbor)<br />The origin of this neighbor entry.                                                                                                                                                                                                                                                  |

### <font color="#1d50a2">Show ARP summary</font>

**Tree Diagrams**

```plaintext
    +---x show-ipv4-neighbor-summary
    |  +---w input
    |  |  +---w ip?
    |  |  +---w interface?
    |  +--ro output
    |     +--ro neighbor* [address interface]
    |     |  +--ro address
    |     |  +--ro mac-address?
    |     |  +--ro interface
    |     |  +--ro vlan?
    |     |  +--ro status?
    |     +--ro data?
```

**Table of Properties**

| **Name**                   | **Required** | **Type/Range**                                                                                                           | **Description**                                                                                                                        |
| -------------------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- |
| show-ipv4-neighbor-summary | M            |                                                                                                                          | Path-only node, has no configurable value.<br />                                                                                       |
| ip                         | O            | A.B.C.D                                                                                                                  | (sub-property of input)<br />The IPv4 address of the neighbor node.                                                                    |
| interface                  | O            | Ethernet name<br />Ethernet sub-interface name<br />Lag1..9999<br />Link-aggregation sub-interface name<br />Vlan1..4094 | (sub-property of input)<br />The name of the interface needs to show IPv6 neighbors.                                                   |
| neighbor                   | RO           |                                                                                                                          | (sub-property of output)<br />Path-only node, has no configurable value.<br />Structured IPv4 neighbor summary output for RPC clients. |
| address                    | RO           | string                                                                                                                   | (sub-property of neighbor)<br />                                                                                                       |
| mac-address                | RO           | string                                                                                                                   | (sub-property of neighbor)<br />                                                                                                       |
| interface                  | RO           | string                                                                                                                   | (sub-property of neighbor)<br />                                                                                                       |
| vlan                       | RO           | string                                                                                                                   | (sub-property of neighbor)<br />                                                                                                       |
| status                     | RO           | string                                                                                                                   | (sub-property of neighbor)<br />                                                                                                       |
| data                       | RO           |                                                                                                                          | (sub-property of output)                                                                                                               |

### <font color="#1d50a2">Clear neighborss</font>

**Tree Diagrams**

```plaintext
    +---x clear-neighbor
       +---w input
       |  +---w interface
       +--ro output
          +--ro text?
```

**Table of Properties**

| **Name**       | **Required** | **Type/Range**            | **Description**                                                                                                                        |
| -------------- | ------------ | ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| clear-neighbor | M            |                           | Path-only node, has no configurable value.                                                                                             |
| interface      | M            | "all"<br />Interface name | (sub-property of input)<br />all - to flush neighbors on all the interface. interface name - remove neighbors on a specific interface. |
| text           | RO           | string                    | (sub-property of output)<br />flush neighbor on interface                                                                              |

