---
title: ARP to Host
slug: aidc/arp-to-host
createdAt: 2025-12-29T10:28:55.988Z
---

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

| **URL**                                                                          | **GET** | **POST** | **PATCH** | **PUT** | **DELETE** |
| -------------------------------------------------------------------------------- | ------- | -------- | --------- | ------- | ---------- |
| /rest/v1/running/arp-to-host/                                                    | Y       | N        | Y         | N       | N          |
| /rest/v1/running/arp-to-host/port-policy/&#x7B;port-name}                        | Y       | Y        | Y         | N       | Y          |
| /rest/v1/running/arp-to-host/vrf/&#x7B;vrf-name}                                 | Y       | Y        | Y         | N       | N          |
| /rest/v1/running/arp-to-host/vrf/&#x7B;vrf-name}/network-policy/&#x7B;ip-prefix} | Y       | Y        | Y         | N       | Y          |

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

### <font color="#1d50a2">Get all arp-to-host information.</font>

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

**response:**

```json
{
    "vrf": [],
    "port-policy": [
        {
            "port-name": "Ethernet53:3",
            "action": "permit"
        }
    ]
}
```

### <font color="#1d50a2">Create an arp-to-host port policy with action.</font>

```json
POST HTTPS://{switch IP}/rest/v1/running/arp-to-host/port-policy
{
    "port-name":"Ethernet18",
    "action": "permit"
}
```

### <font color="#1d50a2">Modify an arp-to-host port policy.</font>

```json
PATCH HTTPS://{switch IP}/rest/v1/running/arp-to-host/port-policy/Ethernet18
{
    "action": "deny"
}
```

### <font color="#1d50a2">Delete an arp-to-host port policy.</font>

```json
DELETE HTTPS://{switch IP}/rest/v1/running/arp-to-host/port-policy/Ethernet18
```

### <font color="#1d50a2">Get all arp-to-host configuration.</font>

```json
GET HTTPS://{switch IP}/rest/v1/running/arp-to-host/vrf
```

### <font color="#1d50a2">Create an arp-to-host network policy.</font>

```json
POST HTTPS://{switch IP}/rest/v1/running/arp-to-host/vrf/Vrftest/network-policy/192.168.1.1%2F24
{
    "action": "permit"
}
```

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

### <font color="#1d50a2">ARP to Host for VRF</font>

**Tree Diagrams**

```plaintext
  +--rw arp-to-host
     +--rw vrf* [vrf-name]
     |  +--rw vrf-name
     |  +--rw enabled?
     |  +--rw metric?
     |  +--rw fast-convergence?
     |  +--rw default-port-policy?
     |  +--rw default-network-policy?
     |  +--rw network-policy* [ip-prefix]
     |     +--rw ip-prefix
     |     +--rw action
```

**Table of Properties**

| **Name**               | **Required** | **Type/Range**                                  | **Description**                                                                                                                                  |
| ---------------------- | ------------ | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| arp-to-host            | M            |                                                 | Path-only node, has no configurable value.                                                                                                       |
| vrf                    | M            |                                                 | (sub-property of arp-to-host)<br />Path-only node, has no configurable value.<br />the list of policy includes default-policy that bind with vrf |
| vrf-name               | M            | "default"<br />vrf name                         | (sub-property of vrf)<br />                                                                                                                      |
| enabled                | O            | "true"<br />"false"                             | (sub-property of vrf)<br />enable switch<br />Default value: "false"                                                                             |
| metric                 | O            | 1..4294967295                                   | (sub-property of vrf)<br />Default value: 5200                                                                                                   |
| fast-convergence       | O            | "true"<br />"false"                             | (sub-property of vrf)<br />fast-convergence switch<br />Default value: "true"                                                                    |
| default-port-policy    | O            | "permit"<br />"deny"<br />"pass"                | (sub-property of vrf)                                                                                                                            |
| default-network-policy | O            | "permit"<br />"deny"                            | (sub-property of vrf)                                                                                                                            |
| network-policy         | M            |                                                 | (sub-property of vrf)<br />Path-only node, has no configurable value.                                                                            |
| ip-prefix              | M            | A.B.C.D/M<br />XX\:XX\:XX\:XX\:XX\:XX\:XX\:XX/M | (sub-property of network-policy)                                                                                                                 |
| action                 | M            | "permit"<br />"deny"                            | (sub-property of network-policy)                                                                                                                 |

### <font color="#1d50a2">ARP to Host port policy</font>

**Tree Diagrams**

```plaintext
  +--rw arp-to-host
     +--rw port-policy* [port-name]
        +--rw port-name
        +--rw action
```

**Table of Properties**

| **Name**    | **Required** | **Type/Range**                      | **Description**                                                                                             |
| ----------- | ------------ | ----------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| arp-to-host | M            |                                     | Path-only node, has no configurable value.                                                                  |
| port-policy | M            |                                     | (sub-property of arp-to-host)<br />Path-only node, has no configurable value.<br />the list of port-policy. |
| port-name   | M            | Ethernet name<br />PortChannel name | (sub-property of port-policy)<br />The name of the interface ethernet or link-aggregation.                  |
| action      | M            | "permit"<br />"deny"<br />"pass"    | (sub-property of port-policy)                                                                               |

