---
title: Management Interface
slug: aidc/management-interface
createdAt: 2025-12-29T10:27:24.072Z
---

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

| **URL**                                                               | **GET** | **POST** | **PATCH** | **PUT** | **DELETE** |
| --------------------------------------------------------------------- | ------- | -------- | --------- | ------- | ---------- |
| /rest/v1/running/mgmt-interfaces/&#x7B;name}                          | Y       | N        | Y         | N       | N          |
| /rest/v1/running/mgmt-interfaces/&#x7B;name}/address/&#x7B;ip-prefix} | Y       | Y        | Y         | N       | Y          |
| /rest/v1/rpc/show-interface-mgmt                                      | N       | Y        | N         | N       | N          |

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

### <font color="#1d50a2">Modify mgmt interface</font>

```json
PATCH HTTPS://{switch IP}/rest/v1/running/mgmt-interfaces/Mgmt0
{"vrf-enable": "false"}
```

### <font color="#1d50a2">Modify ip address for mgmt interface</font>

```json
POST HTTPS://{switch IP}/rest/v1/running/mgmt-interfaces/Mgmt0/address
{
    "ip-prefix": "172.16.8.10/24",
    "gwaddr": "172.16.8.1"
}
```

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

### <font color="#1d50a2">Management Interface</font>

<font color="#1d50a2">**Tree Diagrams**</font>

```plaintext
  +--rw mgmt-interfaces
     +--rw mgmt-interface* [name]
        +--rw name
        +--rw address* [ip-prefix]
        |  +--rw ip-prefix
        |  +--rw gwaddr?
        +--rw vrf-enable?
```

<font color="#1d50a2">**Table of Properties**</font>

| **Name**        | **Required** | **Type/Range**                                | **Description**                                                                                                                              |
| --------------- | ------------ | --------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| mgmt-interfaces | M            |                                               | Path-only node, has no configurable value.<br />The mgmt-interfaces struct containing all attributes of mgmt-interfaces data set.            |
| name            | M            | string                                        | (sub-property of mgmt-interfaces)                                                                                                            |
| address         | M            |                                               | (sub-property of mgmt-interfaces)<br />Path-only node, has no configurable value.<br />The type of ip-prefix must be same as the type of gw. |
| ip-prefix       | M            | A.B.C.D/M or XX\:XX\:XX\:XX\:XX\:XX\:XX\:XX/M | (sub-property of address)<br />IP address family must be same as gwaddr.                                                                     |
| gwaddr          | O            | A.B.C.D or XX\:XX\:XX\:XX\:XX\:XX\:XX\:XX     | (sub-property of address)<br />IP address family must be same as ip-prefix                                                                   |
| vrf-enable      | O            | "true"<br />"false"                           | (sub-property of mgmt-interfaces)<br />Default value: "false"                                                                                |

### <font color="#1d50a2">Show Management Interface</font>

<font color="#1d50a2">**Tree Diagrams**</font>

```plaintext
    +---x show-interface-mgmt
       +---w input
       |  +---w vrf?
       +--ro output
          +--ro result?
```

<font color="#1d50a2">**Table of Properties**</font>

| **Name**            | **Required** | **Type/Range**      | **Description**                                                               |
| ------------------- | ------------ | ------------------- | ----------------------------------------------------------------------------- |
| show-interface-mgmt | M            |                     | Path-only node, has no configurable value.<br />Show mgmt interface           |
| vrf                 | O            | "true"<br />"false" | (sub-property of input)<br />If true, show mgmt interface in VRF mode.        |
| result              | RO           | string              | (sub-property of output)<br />A text that shows information of mgmt interface |

