---
title: ARP/ND
slug: aidc/arpnd
createdAt: 2025-12-01T11:11:07.000Z
---

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

## <font color="#1d50a2">**ARP View**</font>

<font color="#1d05a2">Table 1 ARP View</font>

| **Command**                                                                                                    | **Purpose**                             |
| -------------------------------------------------------------------------------------------------------------- | --------------------------------------- |
| **show arp**                                                                                                   | Display ARP table entries.              |
| **clear neighbor all**                                                                                         | Clear all ARP table entries.            |
| **clear neighbor interface \{ethernet\|link-aggregation\|vlan}** \{*interface\_name*\[.*subinterface-number*]} | Delete the specified ARP table entries. |

### <font color="#1d50a2">show arp</font>

**\[Command]**
**show arp**

**\[Purpose]**
Display ARP table entries.

**\[View]**
Privileged User View

**\[Use Cases]**

```plaintext
sonic# show arp
Address       MacAddress         Iface        Vlan
------------  -----------------  -----------  ------
10.10.200.2   18:17:25:37:67:3e  -            200
Total number of entries 1
```

### <font color="#1d50a2">clear neighbor all</font>

**\[Command]**
**clear neighbor all**

**\[Purpose]**
Clear all ARP table entries.

**\[View]**
Privileged User View

**\[Use Cases]**

```plaintext
sonic# clear neighbor all
```

### <font color="#1d50a2">clear neighbor interface \{ethernet|link-aggregation|vlan\} \{*interface\_name*\[.*subinterface-number*\]\}</font>

**\[Command]**
**clear neighbor interface** \{**ethernet**|**link-aggregation|vlan**} \{*interface\_name*\[.*subinterface-number*]}

**\[Purpose]**
Delete the specified ARP table entries.

**\[Parameters]**

| **Parameter**         | **Description**         |
| --------------------- | ----------------------- |
| *interface\_name*     | Interface name (eg.0/1) |
| *subinterface-number* | Subinterface number.    |

**\[View]**
Privileged User View

**\[Use Cases]**

```plaintext
sonic# clear neighbor interface ethernet 0/2
```

## <font color="#1d50a2">**ARP Config**</font>

<font color="#1d05a2">Table 2 ARP Config</font>

| **Command**                                                                                                                                                     | **Purpose**                         |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| **arp static** *A.B.C.D* *HH\:HH\:HH\:HH\:HH\:HH&#x20;***interface** \{**ethernet**\|**link-aggregation**\|**vlan**} *interface\_name*\[.*subinterface-number*] | Configure static ARP table entries. |
| **arp timeout** *aging-time*                                                                                                                                    | Configure ARP aging time.           |
| **arp probe interval** *time*                                                                                                                                   | Configure ARP probe interval.       |
| **arp probe times** *probe-times*                                                                                                                               | Configure ARP probe times.          |

### <font color="#1d50a2">arp static *A.B.C.D HH\:HH\:HH\:HH\:HH\:HH* interface \{ethernet|link-aggregation|vlan\} *interface\_name*\[.*subinterface-number*\]</font>

**\[Command]**
**arp static** *A.B.C.D* *HH\:HH\:HH\:HH\:HH\:HH* **interface** \{**ethernet|link-aggregation|vlan**} *interface\_name*\[.*subinterface-number*]

**\[Purpose]**
Configure static ARP table entries.

**\[Parameters]**

| **Parameter**            | **Description**         |
| ------------------------ | ----------------------- |
| *A.B.C.D*                | IPv4 address            |
| *HH\:HH\:HH\:HH\:HH\:HH* | MAC address.            |
| *interface\_name*        | Interface name (eg.0/1) |
| *subinterface-number*    | Subinterface number.    |

**\[View]**
Global Configuration View

**\[Notes]**
Run command **no arp static** *A.B.C.D HH\:HH\:HH\:HH\:HH\:HH* **interface** \{**ethernet**|**link-aggregation|vlan**} *interface\_name*\[.*subinterface-number*] to delete static ARP entries.

**\[Use Cases]**

```plaintext
sonic# configure terminal
sonic(config)# arp static 3.3.3.3 00:00:00:00:00:01 interface vlan 5
sonic(config)# arp static 4.4.4.4 00:00:00:00:00:02 interface ethernet 0/1
sonic(config)# arp static 5.5.5.5 00:00:00:00:00:03 interface link-aggregation 1
```

### <font color="#1d50a2">arp timeout *aging-time*</font>

**\[Command]**
**arp timeout** *aging-time*

**\[Purpose]**
Configure ARP aging time.

**\[Parameters]**

| **Parameter** | **Description**                                                                                           |
| ------------- | --------------------------------------------------------------------------------------------------------- |
| *aging-time*  | Specify the aging time in seconds. The default ARP aging time is 300s, and the range is from 60 to 86400. |

**\[View]**
Global Configuration View / Physical Interface / Sub-interface / VLANIF / LAGIF Configuration View

**\[Notes]**
Run command **no arp timeout** to delete ARP aging time configuration and restore to default.

**\[Use Cases]**

```plaintext
sonic# configure terminal
sonic(config)# arp timeout 500
sonic(config)# interface vlan 100
sonic(config-vlanif-100)# arp timeout 8500
```

### <font color="#1d50a2">arp probe interval *time*</font>

**\[Command]**
**arp probe interval** *time*

**\[Purpose]**
Configure ARP probe interval.

**\[Parameters]**

| **Parameter** | **Description**                                                                             |
| ------------- | ------------------------------------------------------------------------------------------- |
| *time*        | Specify the interval in seconds, the default value is 6 seconds, and the range is 1\~65535. |

**\[View]**
Global Configuration View / Physical Interface / Sub-interface / VLANIF / LAGIF Configuration View

**\[Notes]**
Run command **no arp probe interva**l to delete the ARP probe interval configuration and restore the default value.

**\[Use Cases]**

```plaintext
sonic# configure terminal
sonic(config)# arp probe interval 10
sonic(config)# interface ethernet 0/80
sonic(config-if-0/80)# arp probe interval 5
sonic(config-if-0/80)# no arp probe interval
```

### <font color="#1d50a2">arp probe times *probe-times*</font>

**\[Command]**
**arp probe times** *probe-times*

**\[Purpose]**
Configure ARP probe times.

**\[Parameters]**

| **Parameter** | **Description**                                                                   |
| ------------- | --------------------------------------------------------------------------------- |
| *probe-times* | Specify ARP probe times, the default value is 5 times, and the range is 1\~65535. |

**\[View]**
Physical Interface / Sub-interface / VLANIF / LAGIF Configuration View

**\[Notes]**
Run command **no arp probe times** to delete the ARP probe times configuration and restore the default value.

**\[Use Cases]**

```plaintext
sonic# configure terminal
sonic(config)# arp probe times 10
sonic(config)# interface ethernet 0/80
sonic(config-if-0/80)# arp probe times 14
sonic(config-if-0/80)# no arp probe times
```

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

## <font color="#1d50a2">**NDP View**</font>

<font color="#1d05a2">Table 3 NDP View</font>

| **Command**  | **Purpose**        |
| ------------ | ------------------ |
| **show ndp** | Display NDP table. |

### <font color="#1d50a2">show ndp</font>

**\[Command]**
**show ndp**

**\[Purpose]**
Display NDP table.

**\[View]**
Privileged User View

**\[Use Cases]**

```plaintext
sonic# show ndp
Address    MacAddress         Iface       Vlan    Status
---------  -----------------  ----------  ------  ---------
2023::2    00:00:01:00:00:01  0/24        -       PERMANENT
Total number of entries 1
```

## <font color="#1d50a2">**NDP Config**</font>

<font color="#1d05a2">Table 4 NDP Config</font>

| **Command**                                                                                                                   | **Purpose**                         |
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| **ndp static** *A\::B HH\:HH\:HH\:HH\:HH\:HH&#x20;***interface\{ethernet**\|**link-aggregation**\|**vlan**} *interface\_name* | Configure static NDP table entries. |

### <font color="#1d50a2">\[.subinterface-number\]</font>

**\[Command]**
**ndp static** *A\::B HH\:HH\:HH\:HH\:HH\:HH* **interface** \{**ethernet**|**link-aggregation|vlan**} *interface\_name*\[.subinterface-number]

**\[Purpose]**
Configure static NDP table entries.

**\[Parameters]**

| **Parameter**            | **Description**          |
| ------------------------ | ------------------------ |
| *A\::B*                  | IPv6 address.            |
| *HH\:HH\:HH\:HH\:HH\:HH* | MAC address.             |
| *interface\_name*        | Interface name (eg.0/1). |
| subinterface-number      | Subinterface number.     |

**\[View]**
Global Configuration View

**\[Notes]**
Run command **no arp static** *A\::B HH\:HH\:HH\:HH\:HH\:HH* **interface** \{**ethernet**|**link-aggregation|vlan**} *interface\_name*\[.subinterface-number] to delete static NDP.

**\[Use Cases]**

```plaintext
sonic# configure terminal
sonic(config)# ndp static 2023::2 00:00:01:00:00:01 interface ethernet 0/24
```

# <font color="#1d50a2">ARP/ND to host</font>

There are two levels of policy for ARP/ND to host:

- <font color="#1d05a2">Level 1\: Interface-based</font>
  Interface-based policies are divided into default policy and user-defined policy. The system gives priority to matching user-defined policy. If not matched, the default policy will be used.
  Optional actions include **permit**, **deny**, and **pass**. While **permit** and **deny** mean to perform ARP/ND to host route conversion and non-conversion behavior directly without matching the next level of segment policy, **pass** means to skip the interface policy process and enter the next level of policy.
- <font color="#1d05a2">Level 2\: Segment-based</font>
  Segment policy is also divided into default policy and user-defined segment policy. The system matches user-defined policy first, if not matched, then the default policy will be used.
  Optional actions include **permit** and **deny**, which correspond to ARP/ND to host route conversion and non-conversion behavior.

## <font color="#1d50a2">**ARP/ND to host View**</font>

<font color="#1d05a2">Table 5 ARP/ND to Host View</font>

| **Command**                  | **Purpose**                                  |
| ---------------------------- | -------------------------------------------- |
| **show arp-to-host summary** | Display ARP/ND to Host summary info.         |
| **show arp-to-host policy**  | Display ARP/ND to Host policy configuration. |

### <font color="#1d50a2">show arp-to-host summary</font>

**\[Command]**
**show arp-to-host summary**

**\[Purpose]**
Display ARP/ND to host summary info.

**\[View]**
Privileged User View

**\[Use Cases]**

```plaintext
sonic# show arp-to-host summary
Vrf name    Convert    Fast convergence      Metric
----------  ---------  ------------------  --------
default     enable     disable                 5200
```

### <font color="#1d50a2">show arp-to-host policy</font>

**\[Command]**
**show arp-to-host policy**

**\[Purpose]**
Display ARP/ND to host policy configuration.

**\[View]**
Privileged User View

**\[Use Cases]**

```plaintext
sonic# show arp-to-host policy
Port:
Port        Policy
----------  --------
0/56        permit
Network:
Vrf name    Network     Policy
----------  ----------  --------
default     1.1.1.1/24  permit
```

## <font color="#1d50a2">**ARP/ND to host Config**</font>

<font color="#1d05a2">Table 6 ARP to Host Config</font>

| **Command**                                                                                                    | **Purpose**                                                |
| -------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
| **arp-to-host**                                                                                                | Enter ARP/ND to host Configuration View.                   |
| **convert enablevrf** *vrf\_name*                                                                              | Enable ARP/ND-to-host for specified VRFs.                  |
| **policy default\_policy port vrf** *vrf\_name* \{**permit**\|**deny**\|**pass**}                              | Configure ARP/ND-to-host default interface policy.         |
| **policy port&#x20;**\{**ethernet**\|**link-aggregation**} *interface\_name* \{**permit**\|**deny**\|**pass**} | Configure an ARP/ND-to-host user-defined interface policy. |
| **policy default\_policy network vrf** *vrf\_name* \{**permit**\|**deny**}                                     | Configure ARP/ND-to-host default segment policy.           |
| **policy network** \{*A.B.C.D/M*\|*X\:X\::X\:X/M*} **vrf** *vrf\_name* \{**permit**\|**deny**}                 | Configure ARP/ND-to-host user-defined segment policy.      |

### <font color="#1d50a2">arp-to-host</font>

**\[Command]**
**arp-to-host**

**\[Purpose]**
Enter ARP/ND-to-host Configuration View

**\[View]**
Global Configuration View

**\[Use Cases]**

```plaintext
sonic# configure terminal
sonic(config)# arp-to-host
sonic(config-arp-to-host)# convert enable vrf default
```

### <font color="#1d50a2">convert enable vrf *vrf\_name*</font>

**\[Command]**
**convert enable vrf** *vrf\_name*

**\[Purpose]**
Enable ARP/ND-to-host for specified VRFs.

**\[Parameters]**

| **Parameter** | **Description**                                   |
| ------------- | ------------------------------------------------- |
| *vrf\_name*   | Specify the VRF name, the default VRF is default. |

**\[View]**
ARP/ND-to-host Configuration View

**\[Notes]**
Run command **no convert enable vrf** *vrf\_name* to disable ARP/ND-to-host for specified VRFs.

**\[Use Cases]**

```plaintext
sonic# configure terminal
sonic(config)# arp-to-host
sonic(config-arp-to-host)# convert enable vrf default
sonic(config-arp-to-host)# convert enable vrf 123
```

### <font color="#1d50a2">policy default\_policy port vrf *vrf\_name* \{permit|deny|pass\}</font>

**\[Command]**
**policy default\_policy port vrf** *vrf\_name* \{**permit**|**deny**|**pass**}

**\[Purpose]**
Configure ARP/ND-to-host default interface policy.

**\[Parameters]**

| **Parameter** | **Description**                                   |
| ------------- | ------------------------------------------------- |
| *vrf\_name*   | Specify the VRF name, the default VRF is default. |

**\[View]**
ARP/ND-to-host Configuration View

**\[Notes]**
Run command **no policy default\_policy port vrf** *vrf\_name* to delete ARP/ND-to-host default interface policy.

**\[Use Cases]**

```plaintext
sonic# configure terminal
sonic(config)# arp-to-host
sonic(config-arp-to-host)# policy default_policy port vrf default permit
```

### <font color="#1d50a2">policy port \{ethernet|link-aggregation\} *interface\_name* \{permit|deny|pass\}</font>

**\[Command]**
**policy port** \{**ethernet**|**link-aggregation**} *interface\_name* \{**permit**|**deny**|**pass**}

**\[Purpose]**
Configure an ARP/ND-to-host user-defined interface policy.

**\[Parameters]**

| **Parameter**     | **Description**         |
| ----------------- | ----------------------- |
| *interface\_name* | Interface name (eg.0/1) |

**\[View]**
ARP/ND-to-host Configuration View

**\[Notes]**
Run command **no policy port** \{**ethernet**|**link-aggregation**} *interface\_name* to delete ARP/ND-to-host user-defined interface policy.

**\[Use Cases]**

```plaintext
sonic# configure terminal
sonic(config)# arp-to-host
sonic(config-arp-to-host)# policy port ethernet 0/4 permit
sonic(config-arp-to-host)# policy port link-aggregation 4 deny
```

### <font color="#1d50a2">policy default\_policy network vrf *vrf\_name* \{permit|deny\}</font>

**\[Command]**
**policy default\_policy network vrf** *vrf\_name* \{**permit**|**deny**}

**\[Purpose]**
Configure ARP/ND-to-host default segment policy.

**\[Parameters]**

| **Parameter** | **Description**                                   |
| ------------- | ------------------------------------------------- |
| *vrf\_name*   | Specify the VRF name, the default VRF is default. |

**\[View]**
ARP/ND-to-host Configuration View

**\[Notes]**
Run command **no policy default\_policy network vrf** *vrf\_name* to delete ARP/ND-to-host default segment policy.

**\[Use Cases]**

```plaintext
sonic# configure terminal
sonic(config)# arp-to-host
sonic(config-arp-to-host)# policy default_policy network vrf default deny
```

### <font color="#1d50a2">policy network \{*A.B.C.D/M|X\:X\:\:X\:X/M*\} vrf *vrf\_name* \{permit|deny\}</font>

**\[Command]**
**policy network** \{*A.B.C.D/M|X\:X\::X\:X/M*} **vrf** *vrf\_name* \{**permit**|**deny**}

**\[Purpose]**
Configure ARP/ND-to-host user-defined segment policy.

**\[Parameters]**

| **Parameter**   | **Description**                                   |
| --------------- | ------------------------------------------------- |
| *A.B.C.D/M*     | IPv4 address with prefix length.                  |
| *X\:X\::X\:X/M* | IPv6 address with prefix length.                  |
| *vrf\_name*     | Specify the VRF name, the default VRF is default. |

**\[View]**
ARP/ND-to-host Configuration View

**\[Notes]**
Run command **no policy default\_policy network vrf** *vrf\_name* to delete ARP/ND-to-host user-defined segment policy.

**\[Use Cases]**

```plaintext
sonic# configure terminal
sonic(config)# arp-to-host
sonic(config-arp-to-host)# policy network 10.179.238.64/26 vrf 123 deny
```

# <font color="#1d50a2">ARP Proxy</font>

<font color="#1d05a2">Table 7 ARP Proxy</font>

| **Command**                            | **Purpose**                                   |
| -------------------------------------- | --------------------------------------------- |
| **arp proxy \[mode \{default\|evpn}]** | Enable ARP proxy.                             |
| **arp proxy extend request**           | Enable active detection for silent terminals. |
| **arp proxy extend reply**             | Enable learning of ARP Reply messages.        |

### <font color="#1d50a2">arp proxy \[mode \{default|evpn\}\]</font>

**\[Command]**
**arp proxy** \[**mode** \{**default**|**evpn**}]

**\[Purpose]**
Enable ARP proxy.

**\[View]**
Physical Interface / Sub-interface / VLANIF / LAGIF Configuration View

**\[Notes]**
The mode can be **default** or **evpn**, and the default mode is **default**.
Run command **no arp proxy** to disable ARP proxy.

**\[Use Cases]**

```plaintext
sonic# configure terminal
sonic(config)# interface vlan 100
sonic(config-vlanif-100)# arp proxy
sonic(config-vlanif-100)# arp proxy mode evpn
```

### <font color="#1d50a2">arp proxy extend request</font>

**\[Command]**
**arp proxy extend request**

**\[Purpose]**
Enable active detection for silent terminals.

**\[View]**
Physical Interface / Sub-interface / VLANIF / LAGIF Configuration View

**\[Notes]**
This feature is enabled when there are silent terminals (terminals which do not send ARP messages actively) in the Layer 2 network. Once enabled, when the switch receives an ARP request, it will send ARP request to probe if the target ip belongs to the same network segment.
Run command **no arp proxy extend request** to disable this feature.

**\[Use Cases]**

```plaintext
sonic# configure terminal
sonic(config)# interface 0/60
sonic(config)# interface ethernet 0/60
sonic(config-if-0/60)# arp proxy extend request
sonic(config-if-0/60)# no arp proxy extend request
```

### <font color="#1d50a2">arp proxy extend reply</font>

**\[Command]**
**arp proxy extend reply**

**\[Purpose]**
Enable learning of ARP Reply messages.

**\[View]**
Physical Interface / Sub-interface / VLANIF / LAGIF Configuration View

**\[Notes]**
Run command **no arp proxy extend reply** to disable this feature.

**\[Use Cases]**

```plaintext
sonic# configure terminal
sonic(config)# interface ethernet 0/60
sonic(config-if-0/60)# arp proxy extend reply
sonic(config-if-0/60)# no arp proxy extend reply
```

# <font color="#1d50a2">ND Proxy</font>

<font color="#1d05a2">Table 8 ND Proxy</font>

| **Command**               | **Purpose**      |
| ------------------------- | ---------------- |
| **nd proxy mode default** | Enable ND proxy. |

### <font color="#1d50a2">nd proxy mode default</font>

**\[Command]**
**nd proxy mode default**

**\[Purpose]**
Enable ND proxy.

**\[View]**
Physical Interface / VLANIF / LAGIF Configuration View

**\[Notes]**
Run command **no nd proxy** to disable ND proxy.

**\[Use Cases]**

```plaintext
sonic# configure terminal
sonic(config)# interface vlan 100
sonic(config-vlanif-100)# nd proxy mode default
```

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

## <font color="#1d50a2">**SLAAC View**</font>

<font color="#1d05a2">Table 9 SLAAC View</font>

| **Command**   | **Purpose**               |
| ------------- | ------------------------- |
| **show radv** | Display RA configuration. |

### <font color="#1d50a2">show radv</font>

**\[Command]**
**show radv**

**\[Purpose]**
Display RA configuration

**\[View]**
Privileged User View

**\[Use Cases]**

```plaintext
sonic# show radv
Enabled: true
Global unicast only: false
+-------------+---------------+----------------+--------------------+-----------+-----------------+------------+---------+-------------------------+
| Interface   | Prefix        | Managed_Flag   | Otherconfig_Flag   | OffLink   | No-autonomous   | Link_MTU   | RDNSS   | Route | Preference      |
+=============+===============+================+====================+===========+=================+============+=========+=========================+
| vlan11      |               | on             |                    |           |                 |            |         |                         |
+-------------+---------------+----------------+--------------------+-----------+-----------------+------------+---------+-------------------------+
| 0/52        | 2000:101::/64 | on             | on                 | on        | on              | 1900       | 2000::1 | 2000:101::10/128 | high |
+-------------+---------------+----------------+--------------------+-----------+-----------------+------------+---------+-------------------------+
```

## <font color="#1d50a2">**SLAAC Config**</font>

<font color="#1d05a2">Table 10 SLAAC Config</font>

| **Command**                                                                                         | **Purpose**                                                                  |
| --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| **radv enable**                                                                                     | Enable RA notification.                                                      |
| **radv dns-server** *X\:X\::X\:X*                                                                   | Configure DNS information for RA notification.                               |
| **radv link-mtu** *mtu*                                                                             | Configure the MTU of the link for RA notification.                           |
| **radv prefix** *X\:X\::X\:X/M*                                                                     | Configure prefix information for RA notification.                            |
| **radv route-information***&#x20;X\:X\::X\:X/M* \[**preference&#x20;**\{**low**\|**high\|medium**}] | Configure route information for RA notification.                             |
| **radv managed-flag**                                                                               | Set the managed-flag to on.                                                  |
| **radv other-config-flag**                                                                          | Set the other-config-flag to on.                                             |
| **radv offlink**                                                                                    | Set the flag of on-link to off.                                              |
| **radv no-autonomous**                                                                              | Set the flag of autonomous to off.                                           |
| **radv ra-interval** *MaxRtrAdvInterval MinRtrAdvInterval*                                          | Configure the maximum and minimum time interval between two RA notifications |

### <font color="#1d50a2">radv enable</font>

**\[Command]**
**radv enable**

**\[Purpose]**
Enable RA notification.

**\[View]**
Global Configuration View

**\[Notes]**
Run command **radv commit** to take effect.
Run command **no radv enable**  to disable RA notification.

**\[Use Cases]**

```plaintext
sonic# configure
sonic(config)# radv enable
Please enter 'radv commit' to take effect
sonic(config)# radv commit
```

### <font color="#1d50a2">radv dns-server *X\:X\:\:X\:X*</font>

**\[Command]**
**radv dns-server** *X\:X\::X\:X*

**\[Purpose]**
Configure DNS information for RA notification.

**\[Parameters]**

| **Parameter** | **Description**             |
| ------------- | --------------------------- |
| *X\:X\::X\:X* | IPv6 address of DNS server. |

**\[View]**
Physical Interface / Sub-interface/ VLANIF / LAGIF Configuration View

**\[Notes]**
Run command **radv commit** to take effect.
Run command **no radv dns-server** *X\:X\::X\:X*  to remove the configuration.

**\[Use Cases]**

```plaintext
sonic# configure
sonic(config)# interface ethernet 0/52
sonic(config-if-0/52)# radv dns-server 2002::2
Please enter 'radv commit' to take effect
sonic(config-if-0/52)# radv commit
```

### <font color="#1d50a2">radv link-mtu *mtu*</font>

**\[Command]**
**radv link-mtu** *mtu*

**\[Purpose]**
Configure the MTU of the link for RA notification

**\[Parameters]**

| **Parameter** | **Description**                          |
| ------------- | ---------------------------------------- |
| *mtu*         | Set link-mtu, the default value is 9216. |

**\[View]**
Physical Interface / Sub-interface/ VLANIF / LAGIF Configuration View

**\[Notes]**
Run command **radv commit** to take effect.
Run command **no radv link-mtu**  to remove the configuration.

**\[Use Cases]**

```plaintext
sonic# configure
sonic(config)# interface ethernet 0/52
sonic(config-if-0/52)# radv link-mtu 1500
Please enter 'radv commit' to take effect
sonic (config-if-0/52)# radv commit
sonic(config-if-0/52)#
```

### <font color="#1d50a2">radv prefix *X\:X\:\:X\:X/M*</font>

**\[Command]**
**radv prefix** *X\:X\::X\:X/M*

**\[Purpose]**
Configure prefix information for RA notification.

**\[Parameters]**

| **Parameter**   | **Description**                     |
| --------------- | ----------------------------------- |
| *X\:X\::X\:X/M* | Network prefix for RA notifications |

**\[View]**
Physical Interface / Sub-interface/ VLANIF / LAGIF Configuration View

**\[Notes]**
When RA notification is enabled, you are required to set the prefix information, or the interface will not send RA messages.
Run command **radv commit** to take effect.
Run command **no radv prefix** *X\:X\::X\:X/M*  to remove the configuration.

**\[Use Cases]**

```plaintext
sonic# configure
sonic(config)# interface ethernet 0/52
sonic(config-if-0/52)# radv prefix 3001::/64
Please enter 'radv commit' to take effect
sonic(config-if-0/52)# radv commit
```

### <font color="#1d50a2">radv route-information *X\:X\:\:X\:X/M* \[preference \{low|high|medium\}\]</font>

**\[Command]**
**radv route-information** *X\:X\::X\:X/M&#x20;*\[**preference&#x20;**\{**low**|**high**|**medium**}]
**\[Purpose]**
Configure route information for RA notification

**\[Parameters]**

| **Parameter**   | **Description**                                  |
| --------------- | ------------------------------------------------ |
| *X\:X\::X\:X/M* | The network segment of RA's routing announcement |

**\[View]**
Physical Interface / Sub-interface / VLANIF / LAGIF Configuration View

**\[Notes]**
Run command **radv commit** to take effect
Run command **no radv route-information** *X\:X\::X\:X/M*  to remove the configuration.

**\[Use Cases]**

```plaintext
sonic# configure
sonic(config)# interface ethernet 0/52
sonic(config-if-0/52)# radv route-information 3001:1::/64 preference low
Please enter 'radv commit' to take effect
sonic(config-if-0/52)# radv commit
```

### <font color="#1d50a2">radv managed-flag</font>

**\[Command]**
**radv managed-flag**

**\[Purpose]**
Set the managed-flag to on(default is off)

**\[View]**
Physical Interface / Sub-interface / VLANIF / LAGIF Configuration View

**\[Notes]**
Run command **radv commit** to take effect.
Run command **no radv managed-flag** to revert it to off.

**\[Use Cases]**

```plaintext
sonic# configure
sonic(config)# interface ethernet 0/52
sonic(config-if-0/52)# radv managed-flag
Please enter 'radv commit' to take effect
sonic(config-if-0/52)# radv commit
```

### <font color="#1d50a2">radv other-config-flag</font>

**\[Command]**
**radv other-config-flag**

**\[Purpose]**
Set the other-config-flag to on (default is off).

**\[View]**
Physical Interface / Sub-interface / VLANIF / LAGIF Configuration View

**\[Notes]**
Run command **radv commit** to take effect.
Run command **no radv other-config-flag** to revert it to off.

**\[Use Cases]**

```plaintext
sonic# configure
sonic(config)# interface ethernet 0/52
sonic(config-if-0/52)# radv other-config-flag
Please enter 'radv commit' to take effect
sonic(config-if-0/52)# radv commit
```

###

**\[Command]**
**radv offlink**

**\[Purpose]**
Set the flag of on-link to off (default is on).

**\[View]**
Physical Interface / Sub-interface / VLANIF / LAGIF Configuration View

**\[Notes]**
Run command **radv commit** to take effect.
Run command **no radv offlink** to revert it to on.

**\[Use Cases]**

```plaintext
sonic(config)# interface ethernet 0/52
sonic(config-if-0/52)# radv offlink
Please enter 'radv commit' to take effect
sonic(config-if-0/52)# radv commit
```

### <font color="#1d50a2">radv no-autonomous</font>

**\[Command]**
**radv no-autonomous**

**\[Purpose]**
Set the flag of autonomous to off (default is on).

**\[View]**
Physical Interface / Sub-interface / VLANIF / LAGIF Configuration View

**\[Notes]**
Run command **radv commit** to take effect.
Run command **no radv no-autonomous** to revert it to on.

**\[Use Cases]**

```plaintext
sonic(config)# interface ethernet 0/52
sonic(config-if-0/52)# radv no-autonomous
Please enter 'radv commit' to take effect
sonic(config-if-0/52)# radv commit
```

### <font color="#1d50a2">radv ra-interval *MaxRtrAdvInterval MinRtrAdvInterval*</font>

**\[Command]**
**radv ra-interval** *MaxRtrAdvInterval MinRtrAdvInterval*

**\[Purpose]**
Configure the maximum and minimum time interval between two RA notifications.

**\[Parameters]**

| **Parameter**       | **Description**                                                                     |
| ------------------- | ----------------------------------------------------------------------------------- |
| *MaxRtrAdvInterval* | the maximum time interval for RA notifications, default value is 600, unit: seconds |
| *MinRtrAdvInterval* | the minimum time interval for RA notifications, default value is 600, unit: seconds |

**\[View]**
Physical Interface / Sub-interface / VLANIF / LAGIF Configuration View

**\[Notes]**
Run command **radv commit** to take effect.
Run command **no radv ra-interval** to set back to default value.

**\[Use Cases]**

```plaintext
sonic# configure
sonic(config)# interface ethernet 0/40
sonic(config-if-0/40)# radv ra-interval 50 25
Please enter 'radv commit' to take effect
sonic(config-if-0/40)# radv commit
```

