Command Reference ARP Commands
The following example sets the maximum number of the unresolved items to 500.
Ruijie(config)# arp unresolve 500
Use this command to remove a dynamic ARP mapping record from the ARP cache table and clear
an IP route cache table.
clear arp-cache [ trusted ] [ ip [ mask ] ] | interface interface-name ]
Deletes trusted ARP entries. Dynamic ARP entries are deleted by
default.
Deletes ARP entries of the specified IP address. If trusted value is
specified, trusted ARP entries are deleted; otherwise, all dynamic
ARP entries are deleted which is the default.
Deletes ARP entries in a subnet mask. If trusted value is specified,
trusted ARP entries in the subnet mask are deleted; otherwise, all
dynamic ARP entries are deleted. The dynamic ARP entry
specified by the IP address is deleted by default.
Deletes dynamic ARP entries on the specified interface. Dynamic
ARP entries are deleted on all interfaces by default.
This command can be used to refresh an ARP cache table.
On a NFPP-based (Network Foundation Protection Policy) device, it receives one ARP packet for
every mac/ip address per second by default. If the interval of two clear arp times is within 1s, the
second response packet will be filtered and the ARP packet will not be resolved for a short time.
The following example deletes all dynamic ARP mapping records.
Ruijie# clear arp-cache
The following deletes the dynamic ARP entry 1.1.1.1.
Ruijie# clear arp-cache 1.1.1.1