---
title: ARP Configuration
slug: routing/arp-configuration
createdAt: 2025-12-04T04:06:51.583Z
---

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

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

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

**\[Purpose]**
Show IP ARP table

**\[View]**
System view

**\[Use Cases]**

```plaintext
sonic# show arp
Address MacAddress Iface Vlan
----------- ----------------- --------- ------
100.1.1.2 60:eb:5a:01:6c:99 Ethernet4 -
192.168.2.1 60:eb:5a:01:10:ca Ethernet1 -
Total number of entries 2
```

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

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

**\[Purpose]**
Clear ARP, NDP table entries

**\[View]**
System view

**\[Use Cases]**

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

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

**\[Command]**
**arp static *A.B.C.D* *HH\:HH\:HH\:HH\:HH***:HH ***interface-type* *interface-name***
**no arp static *A.B.C.D* *interface-type* *interface-name***

**\[Purpose]**
Configure static ARP

**\[Parameter]**

| **Parameter**            | **Description**                                           |
| ------------------------ | --------------------------------------------------------- |
| *A.B.C.D*                | IP address                                                |
| *HH\:HH\:HH\:HH\:HH\:HH* | MAC address                                               |
| *interface-type*         | Interface type, optional ethernet, vlan, link-aggregation |
| *interface-name*         | Interface name                                            |

**\[View]**
System configuration view

**\[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 1
sonic(config)# arp static 5.5.5.5 00:00:00:00:00:03 interface link-aggregation 1
```

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

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

**\[Purpose]**
Configure ARP table entry aging time

**\[Parameter]**

| **Parameter** | **Description**                   |
| ------------- | --------------------------------- |
| *expire-time* | Time value, range 60-7200, unit s |

**\[View]**
System configuration view

**\[Use Cases]**

```plaintext
sonic# configure terminal
sonic(config)# arp timeout 500
```

