ARP Configuration Commands 105
Description
Use the debugging arp command to enable ARP debugging.
Use the undo debugging arp command to disable the corresponding ARP
debugging.
By default, undo ARP debugging is enabled.
For the related commands, see arp static and display arp.
Example
To enable ARP packet debugging, enter the following:
<4500>debugging arp packet
*0.771346-ARP-8-S1-arp_send:Send an ARP Packet, operation : 1,
sender_eth_addr :
00e0-fc00-3500,sender_ip_addr : 10.110.91.159, target_eth_addr :
0000-0000-0000
, target_ip_addr : 10.110.91.193
*0.771584-ARP-8-S1-arp_rcv:Receive an ARP Packet, operation : 2,
sender_eth_addr
: 0050-ba22-6fd7, sender_ip_addr : 10.110.91.193, target_eth_addr :
00e0-fc00-3500, target_ip_addr : 10.110.91.159
display arp Syntax
display arp [ ip-address | [ dynamic | static ] [ | { begin | include
| exclude } text ]]
View
All views
Parameters
dynamic: Enter to display the dynamic ARP entries in the ARP mapping table.
static: Enter to display the static ARP entries in the ARP mapping table.
begin: Enter to start displaying from the first ARP entry that contains the
specified character string "text".
Tabl e 9 Output Description of the debugging arp packet Command
Field Description
operation Type of ARP packets: 1 ARP request packet; 2 ARP reply packet
sender_eth_addr Ethernet address of the sender
sender_ip_addr IP address of the sender
target_eth_addr Target Ethernet address. If the packet is ARP request packet, the target IP
address will be 0
target_ip_addr Target IP address