---
title: VRRP & VRRP6
slug: aidc/vrrp-and-vrrp6
createdAt: 2025-12-29T10:33:22.096Z
---

Virtual Router Redundancy Protocol.

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

| **URL**                                                                                         | **GET** | **POST** | **PATCH** | **PUT** | **DELETE** |
| ----------------------------------------------------------------------------------------------- | ------- | -------- | --------- | ------- | ---------- |
| /rest/v1/running/interfaces/&#x7B;name}/ipv4/vrrps/&#x7B;vrid}                                  | Y       | Y        | Y         | N       | Y          |
| /rest/v1/running/interfaces/&#x7B;name}/ipv4/vrrps/&#x7B;vrid}/track-interface/&#x7B;interface} | Y       | Y        | Y         | N       | Y          |
| /rest/v1/running/interfaces/&#x7B;name}/ipv6/vrrps/&#x7B;vrid}                                  | Y       | Y        | Y         | N       | Y          |
| /rest/v1/running/interfaces/&#x7B;name}/ipv6/vrrps/&#x7B;vrid}/track-interface/&#x7B;interface} | Y       | Y        | Y         | N       | Y          |
| /rest/v1/rpc/show-vrrp                                                                          | N       | Y        | N         | N       | N          |
| /rest/v1/rpc/show-vrrp6                                                                         | N       | Y        | N         | N       | N          |
| /rest/v1/rpc/show-vrrp-summary                                                                  | N       | Y        | N         | N       | N          |
| /rest/v1/rpc/show-vrrp6-summary                                                                 | N       | Y        | N         | N       | N          |

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

### <font color="#1d50a2">Create a VRRP instance for IPv4</font>

```json
POST HTTPS://{switch IP}/rest/v1/running/interfaces/Ethernet1/ipv4/vrrps/10
{
    "version": "v2",
    "priority": 101,
    "preempt": "false",
    "advertisement-interval": 1000,
    "admin-status": "false",
    "checksum-with-ipv4-pseudoheader": "false",
    "virtual-address": ["10.0.0.1/24"],
    "track-interface": [
        {
            "interface":"Ethernet2",
            "priority-decrement": 10
        }, {
            "interface": "Ethernet3"
        }],
    "bfd-monitoring": {
        "dest-addr": "10.0.0.2",
        "profile": "test"
    }
}
```

### <font color="#1d50a2">Create a track interface for VRRP instance for IPv4</font>

```json
POST HTTPS://{switch IP}/rest/v1/running/interfaces/Ethernet1/ipv4/vrrps/10/track-interface
{
    "interface":"Ethernet2",
    "priority-decrement": 10
}
```

### <font color="#1d50a2">Create a VRRP6 instance for IPv6</font>

```json
POST HTTPS://{switch IP}/rest/v1/running/interfaces/Ethernet1/ipv6/vrrps/10
{
    "priority": 101,
    "preempt": "true",
    "advertisement-interval": 100,
    "admin-status": "false",
    "virtual-address": ["2002::1/64", "2003::1/63"],
    "track-interface": [
        {
            "interface":"Ethernet2",
            "priority-decrement": 10
        }, {
            "interface": "Ethernet3"
        }],
    "bfd-monitoring": {
        "dest-addr": "2002::2",
        "profile": "test"
    }
}
```

### <font color="#1d50a2">Create a track interface for VRRP6 instance for IPv6</font>

```json
POST HTTPS://{switch IP}/rest/v1/running/interfaces/Ethernet1/ipv6/vrrps/10/track-interface
{
    "interface":"Ethernet2",
    "priority-decrement": 10
}
```

### <font color="#1d50a2">Delete a track interface from VRRP6 instance for IPv6</font>

```json
DELETE HTTPS://{switch IP}/rest/v1/running/interfaces/Ethernet1/ipv6/vrrps/10/track-interface/Ethernet1
```

### <font color="#1d50a2">S</font><font color="#1d50a2">how vrrp instance</font>

```json
POST HTTPS://{switch IP}/rest/v1/rpc/show-vrrp/
{
    "interface": "Ethernet1",
    "vrid": 10
}
```

### <font color="#1d50a2">Show vrrp6 instance</font>

```json
POST HTTPS://{switch IP}/rest/v1/rpc/show-vrrp6/
{
    "interface": "Ethernet1",
    "vrid": 10
}
```

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

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

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

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

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

### <font color="#1d50a2">VRRP instances for IPv4</font>

**Tree Diagrams**

```plaintext
  +--rw interfaces
     +--rw interface* [name]
        +--rw name
        +--rw ipv4
           +--rw vrrps
              +--rw vrrp* [vrid]
                 +--rw vrid
                 +--rw priority?
                 +--rw track-interface* [interface]
                 |  +--rw interface
                 |  +--rw priority-decrement?
                 +--rw preempt?
                 +--rw advertisement-interval?
                 +--rw admin-status?
                 +--rw version?
                 +--rw checksum-with-ipv4-pseudoheader?
                 +--rw bfd-monitoring
                 |  +--rw dest-addr
                 |  +--rw profile?
                 +--rw virtual-address*
```

**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.                                                                                         |
| vrrps                           | M            |                                                                                                                          | (sub-property of ipv4)<br />Path-only node, has no configurable value.<br />Enclosing container for VRRP groups handled by this IP interface                                                                      |
| vrid                            | M            | 0..255                                                                                                                   | (sub-property of vrrps)<br />Set the virtual router id for use by the VRRP group. This usually also determines the virtual MAC address that is generated for the VRRP group.                                      |
| virtual-address                 | M            | A.B.C.D/M                                                                                                                | (sub-property of vrrps)<br />Configure one or more IPv4 virtual addresses for the VRRP group                                                                                                                      |
| priority                        | O            | 1..254                                                                                                                   | (sub-property of vrrps)<br />Specifies the sending VRRP interface's priority for the virtual router. Higher values equal higher priority<br />Default value: 100                                                  |
| track-interface                 | M            |                                                                                                                          | (sub-property of vrrps)<br />Path-only node, has no configurable value.<br />tracking interface.                                                                                                                  |
| interface                       | M            | Interface name                                                                                                           | (sub-property of track-interface)<br />Configure one or more tracking interfaces for the VRRP group                                                                                                               |
| priority-decrement              | O            | 10..50                                                                                                                   | (sub-property of track-interface)<br />Specifies how much to decrement the priority of the VRRP instance if the tracking interface goes down<br />Default value: 20                                               |
| preempt                         | O            | "true"<br />"false"                                                                                                      | (sub-property of vrrps)<br />When set to true, enables preemption by a higher priority backup router of a lower priority master router<br />Default value: "true"                                                 |
| advertisement-interval          | O            | 10..40950                                                                                                                | (sub-property of vrrps)<br />Sets the interval between successive VRRP advertisements; For Version 3 the value must be multiple of 10; For Version 2 the value must be multiple of 1000;<br />Default value: 1000 |
| admin-status                    | O            | "true"<br />"false"                                                                                                      | (sub-property of vrrps)<br />Administrative status for this VRRP group.<br />Default value: "true"                                                                                                                |
| version                         | O            | "v2"<br />"v3"                                                                                                           | (sub-property of vrrps)<br /><br />Default value: "v3"                                                                                                                                                            |
| checksum-with-ipv4-pseudoheader | CO           | "true"<br />"false"                                                                                                      | (sub-property of vrrps)<br />Only applicable when version = "v3".<br />Enabled if VRRPv3 checksum for IPv4 involves pseudoheader<br />Default value: "true"                                                       |
| bfd-monitoring                  | O            |                                                                                                                          | (sub-property of vrrps)<br />Path-only node, has no configurable value.                                                                                                                                           |
| dest-addr                       | O            | A.B.C.D                                                                                                                  | (sub-property of bfd-monitoring)<br />Configure BFD destination IPv4 addresses for the VRRP group                                                                                                                 |
| profile                         | O            | string                                                                                                                   | (sub-property of bfd-monitoring)<br />Let BFD use a pre-configured profile.                                                                                                                                       |

### <font color="#1d50a2">VRRP6 instances for IPv6</font>

**Tree Diagrams**

```plaintext
  +--rw interfaces
     +--rw interface* [name]
        +--rw name
        +--rw ipv6
           +--rw vrrps
              +--rw vrrp* [vrid]
                 +--rw vrid
                 +--rw priority?
                 +--rw track-interface* [interface]
                 |  +--rw interface
                 |  +--rw priority-decrement?
                 +--rw preempt?
                 +--rw advertisement-interval?
                 +--rw admin-status?
                 +--rw bfd-monitoring
                 |  +--rw dest-addr
                 |  +--rw profile?
                 +--rw virtual-address*
```

**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.                                                                                         |
| vrrps                  | M            |                                                                                                                          | (sub-property of ipv6)<br />Path-only node, has no configurable value.                                                                                                                                            |
| vrid                   | M            | 0..255                                                                                                                   | (sub-property of vrrps)<br />Set the virtual router id for use by the VRRP group. This usually also determines the virtual MAC address that is generated for the VRRP group.                                      |
| virtual-address        | O            | XX\:XX\:XX\:XX\:XX\:XX\:XX\:XX/M                                                                                         | (sub-property of vrrps)<br />Configure one or more IPv6 virtual addresses for the VRRP group                                                                                                                      |
| priority               | O            | 1..254                                                                                                                   | (sub-property of vrrps)<br />Specifies the sending VRRP interface's priority for the virtual router. Higher values equal higher priority<br />Default value: 100                                                  |
| track-interface        | M            |                                                                                                                          | (sub-property of vrrps)<br />Path-only node, has no configurable value.<br />tracking interface.                                                                                                                  |
| interface              | M            | Interface name                                                                                                           | (sub-property of track-interface)<br />Configure one or more tracking interfaces for the VRRP group                                                                                                               |
| priority-decrement     | O            | 10..50                                                                                                                   | (sub-property of track-interface)<br />Specifies how much to decrement the priority of the VRRP instance if the tracking interface goes down<br />Default value: 20                                               |
| preempt                | O            | "true"<br />"false"                                                                                                      | (sub-property of vrrps)<br />When set to true, enables preemption by a higher priority backup router of a lower priority master router<br />Default value: "true"                                                 |
| advertisement-interval | O            | 10..40950                                                                                                                | (sub-property of vrrps)<br />Sets the interval between successive VRRP advertisements; For Version 3 the value must be multiple of 10; For Version 2 the value must be multiple of 1000;<br />Default value: 1000 |
| admin-status           | O            | "true"<br />"false"                                                                                                      | (sub-property of vrrps)<br />Administrative status for this VRRP group.<br />Default value: "true"                                                                                                                |
| bfd-monitoring         | O            |                                                                                                                          | (sub-property of vrrps)<br />Path-only node, has no configurable value.                                                                                                                                           |
| dest-addr              | M            | XX\:XX\:XX\:XX\:XX\:XX\:XX\:XX                                                                                           | (sub-property of bfd-monitoring)<br />Configure BFD destination IPv6 addresses for the VRRP group                                                                                                                 |
| profile                | O            | string                                                                                                                   | (sub-property of bfd-monitoring)<br />Let BFD use a pre-configured profile.                                                                                                                                       |

### <font color="#1d50a2">Show vrrp instance</font>

**Tree Diagrams**

```plaintext
    +---x show-vrrp
    |  +--ro input
    |     +--w interface? string
    |     +--w vrid?      uint8
    |  +--ro output
    |     +--ro result?   string
```

**Table of Properties**

| **Name**  | **Required** | **Type/Range**                                                                                                           | **Description**                                                                 |
| --------- | ------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------- |
| show-vrrp | M            |                                                                                                                          | Path-only node, has no configurable value.<br />Show VRRP instance information. |
| interface | M            | 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.                         |
| vrid      | M            | 0..255                                                                                                                   | (sub-property of input)<br />VRRP instance ID.                                  |
| result    | RO           | string                                                                                                                   | (sub-property of output)                                                        |

### <font color="#1d50a2">Show vrrp6 instance</font>

**Tree Diagrams**

```plaintext
    +---x show-vrrp6
    |  +--ro input
    |     +--w interface? string
    |     +--w vrid?      uint8
    |  +--ro output
    |     +--ro result?   string
```

**Table of Properties**

| **Name**  | **Required** | **Type/Range**                                                                                                           | **Description**                                                                  |
| --------- | ------------ | ------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------- |
| show-vrrp | M            |                                                                                                                          | Path-only node, has no configurable value.<br />Show VRRP6 instance information. |
| interface | M            | 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.                          |
| vrid      | M            | 0..255                                                                                                                   | (sub-property of input)<br />VRRP instance ID.                                   |
| result    | RO           | string                                                                                                                   | (sub-property of output)                                                         |

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

**Tree Diagrams**

```plaintext
    +---x show-vrrp-summary
    |  +--ro output
    |     +--ro result?   string
```

**Table of Properties**

| **Name**          | **Required** | **Type/Range** | **Description**                                                                |
| ----------------- | ------------ | -------------- | ------------------------------------------------------------------------------ |
| show-vrrp-summary | M            |                | Path-only node, has no configurable value.<br />Show VRRP summary information. |
| result            | RO           | string         | (sub-property of output)                                                       |

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

**Tree Diagrams**

```plaintext
    +---x show-vrrp6-summary
    |  +--ro output
    |     +--ro result?   string
```

**Table of Properties**

| **Name**           | **Required** | **Type/Range** | **Description**                                                                 |
| ------------------ | ------------ | -------------- | ------------------------------------------------------------------------------- |
| show-vrrp6-summary | M            |                | Path-only node, has no configurable value.<br />Show VRRP6 summary information. |
| result             | RO           | string         | (sub-property of output)                                                        |

