281
Usage Guide:
Display contents for ARP packets received/sent, including type, source
and destination address, etc.
Example:
Enabling ARP debugging
Switch#debug arp
ip arp debug is on
Switch#%Apr 19 15:59:42 2005 IP ARP: rcvd, type 1, src 192.168.2.100, 000A.EB5B.
780C, dst 192.168.2.1, 0000.0000.0000 flag 0x0.
%Apr 19 15:59:42 2005 IP ARP: sent, type 2, src 192.168.2.1, 0003.0F02.310A, dst
192.168.2.100, 000A.EB5B.780C.
9.4.3.4.1.2 show arp
Command: show arp
[<ip-addr>][<vlan-id>][<hw-addr>][type{static|dynamic}][count] }
Function:
Displays the ARP table.
Parameters:
<ip-addr>
is a specified IP address;
<vlan-id>
stands for the entry for the
identifier of specified VLAN;
<hw-addr>
for entry of specified MAC address; “static” for
static ARP entry; “dynamic” for dynamic ARP entry; “count” displays number of ARP
entries.
Command mode:
Admin Mode
Usage Guide:
Displays the content of current ARP table such as IP address, MAC
address, hardware type, interface name, etc.
Example:
Switch#show arp
Total arp items: 3, matched: 3, Incomplete: 0
Address Hardware Addr Interface Port Flag
50.1.1.6 00-0a-eb-51-51-38 Vlan50 Ethernet0/0/11 Dynamic
50.1.1.9 00-00-00-00-00-09 Vlan50 Ethernet0/0/1 Static
150.1.1.2 00-00-58-fc-48-9f Vlan150 Ethernet0/0/4 Dynamic
Displayed information
Explanation
Total arp items
Total number of Arp entries.
the matched
ARP entry number matching the filter conditions
InCompleted
ARP entries have ARP request sent without ARP
reply
Address
IP address of Arp entries
Hardware Address
MAC address of Arp entries
Interface
Layer 3 interface corresponding to the ARP entry.
Port
Physical (Layer2) interface corresponding to the
ARP entry.