185
Switch(Config-if-Vlan1)#arp 1.1.1.1 00-03-0f-f0-12-34 eth 1/2
15.3.2 clear arp-cache
Command: clear arp-cache
Function: Clears ARP table.
Command mode: Admin Mode
Usage Guide: Clears the content of current ARP table, but it does not clear the current
static ARP table.
Example:
Switch#clear arp-cache
15.3.3 debug arp
Command: debug arp {receive|send|state}
no debug arp {receive|send|state}
Function: Enables the ARP debugging function; the ―no debug arp
{receive|send|state}‖ command disables this debugging function.
Parameter: receive the debugging-switch of receiving ARP packets of the switch; send
the debugging-switch of sending ARP packets of the switch; state the debugging-switch of
APR state changing of the switch.
Default: ARP debug is disabled by default.
Command mode: Admin Mode.
Usage Guide: Display contents for ARP packets received/sent, including type, source and
destination address, etc.
Example: Enabling ARP debugging.
Switch#debug arp receive
%Jan 01 01:05:53 2006 IP ARP: rcvd, type REQUEST, src 172.16.1.251,
00-e0-4c-88-ad-bc, dst 172.16.1.110, 00-00-00-00-00-00 flag 0x0, pkt type 1, intf Vlan100.
%Jan 01 01:05:53 2006 IP ARP: rcvd, type REQUEST, src 172.16.1.251,
00-e0-4c-88-ad-bc, dst 172.16.1.110, 00-00-00-00-00-00 flag 0x0, pkt type 1, intf Vlan100.
e%Jan 01 01:05:53 2006 IP ARP: rcvd, type REQUEST, src 172.16.1.251,
00-e0-4c-88-ad-bc, dst 172.16.1.110, 00-00-00-00-00-00 flag 0x0, pkt type 1, intf Vlan100.
%Jan 01 01:05:53 2006 IP ARP: rcvd, type REQUEST, src 172.16.1.251,
00-e0-4c-88-ad-bc, dst172.16.1.110, 00-00-00-00-00-00 flag 0x0, pkt type 1, intf Vlan100.