---
title: NDP
slug: aidc/ndp
createdAt: 2025-12-29T10:28:55.970Z
---

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

| **URL**                                                         | **GET** | **POST** | **PATCH** | **PUT** | **DELETE** |
| --------------------------------------------------------------- | ------- | -------- | --------- | ------- | ---------- |
| /rest/v1/running/ndp-global                                     | Y       | Y        | Y         | N       | Y          |
| /rest/v1/running/interfaces/&#x7B;name}/ipv6/neighbor/&#x7B;ip} | Y       | Y        | Y         | N       | Y          |
| /rest/v1/rpc/show-ipv6-neighbor-summary                         | N       | Y        | N         | N       | N          |
| /rest/v1/rpc/clear-neighbor                                     | N       | Y        | N         | N       | N          |

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

### <font color="#1d50a2">Update global NDP configurations.</font>

```json
PATCH HTTPS://{switch IP}/rest/v1/running/ndp-global
{
    "flood-enable": "false"
}
```

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

```json
POST HTTPS://{switch IP}/rest/v1/running/interfaces/Lag12/ipv6
{
    "neighbor": [{
        "ip": "2330:1::33",
        "mac-address": "00:11:22:A3:44:5F"}]
}
```

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

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

### response:

```json
{
    "neighbor": [
        {
            "address": "fe80::62eb:5aff:fe01:1036",
            "mac-address": "60:eb:5a:01:10:36",
            "interface": "Mgmt0",
            "vlan": "-",
            "status": "stale"
        },
        {
            "address": "fe80::213:95ff:fe2d:2733",
            "mac-address": "00:13:95:2d:27:33",
            "interface": "Ethernet30",
            "vlan": "-",
            "status": "reachable"
        }
    ]
}
```

### <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">NDP flood global</font>

**Tree Diagrams**

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

**Table of Properties**

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

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

**Tree Diagrams**

```plaintext
  +--rw interfaces
     +--rw interface* [name]
        +--rw name
        +--rw ipv6
           +--rw neighbor* [ip]
           |  +--rw ip
           |  +--rw mac-address
           |  +--ro origin?
           |  +--ro is-router?
           |  +--ro state?
```

**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.                                                                                                                                                                                                                                                        |
| ipv6        | M            |                                                                                                                          | (sub-property of interfaces)<br />Path-only node, has no configurable value.<br />Parameters for the IPv6 address family.                                                                                                                                                                                           |
| neighbor    | M            |                                                                                                                          | (sub-property of ipv6)<br />Path-only node, has no configurable value.<br />A list of mappings from IPv6 addresses to link-layer addresses. Entries in this list in the intended configuration are used as static entries in the Neighbor Cache. In the operational state, this list represents the Neighbor Cache. |
| ip          | M            | XX\:XX\:XX\:XX\:XX\:XX\:XX\:XX                                                                                           | (sub-property of neighbor)<br />The IPv6 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. In the operational state, if the neighbor's "state" leaf is "incomplete", this leaf is not instantiated.                                                                                                                               |
| origin      | RO           | "other"<br />"static"<br />"dynamic"                                                                                     | (sub-property of neighbor)<br />The origin of this neighbor entry.                                                                                                                                                                                                                                                  |
| is-router   | RO           | empty                                                                                                                    | (sub-property of neighbor)<br />Indicates that the neighbor node acts as a router.                                                                                                                                                                                                                                  |
| state       | RO           | "incomplete"<br />"reachable"<br />"stale"<br />"delay"<br />"probe"                                                     | (sub-property of neighbor)<br />The Neighbor Unreachability Detection state of this entry.                                                                                                                                                                                                                          |

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

**Tree Diagrams**

```plaintext
    +---x show-ipv6-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-ipv6-neighbor-summary | M            |                                                                                                                          | Path-only node, has no configurable value.<br />                                                                                       |
| ip                         | O            | XX\:XX\:XX\:XX\:XX\:XX\:XX\:XX                                                                                           | (sub-property of input)<br />The IPv6 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                                                                              |

