diagnose : network arp
 
network arp
Use this command to add or delete an address resolution protocol (ARP) table entry, or to display the ARP table. The ARP table is used to resolve the IP addresses that correspond to a network interface card’s physical MAC address, thereby determining which IP addresses can be reached directly through a link.
To use this command, your administrator account’s access control profile must have rw or w permission to the sysgrp area. For more information, see “Permissions”.
Syntax
diagnose network arp add <interface_name> {<interface_ipv4> | interface_ipv6>} <mac-address_hex>
diagnose network arp delete <interface_name> {<interface_ipv4> | interface_ipv6>} <mac-address_hex>
diagnose network arp list
Variable
Description
Default
<interface_name>
Type the name of the interface to add or delete from the ARP table.
No default.
{<interface_ipv4> | interface_ipv6>}
Type the IP address of the interface.
No default.
<mac-address_hex>
Type the MAC address of the interface.
No default.
Example
This example displays a list of ARP table entries and then deletes one.
diagnose network arp list
IP address HW type Flags HW address Mask Device
172.20.120.29 0x1 0x2 00:13:72:38:72:21 * port1
172.20.120.26 0x1 0x2 00:26:2D:24:B7:D3 * port2
diagnose network arp delete port2 172.20.120.26 00:26:2D:24:B7:D3
Related topics
diagnose network route
diagnose network ip
config router static
config system interface