Ethernet Switch CLI Reference Guide
31
C
H A P T E R
5
ARP Commands
Use these commands to look at IP-to-MAC address mapping(s).
5.1 Command Summary
The following section lists the commands for this feature.
5.2 Command Examples
This example shows the ARP table.
The following table describes the labels in this screen.
Table 12
arp Command Summary
COMMAND
DESCRIPTION
M
P
show ip arp
Displays the ARP table.
E
3
clear ip arp
Removes all of the dynamic entries from the ARP table.
E
13
clear ip arp interface port-
channel <
port-list
>
Removes the dynamic entries learned on the specified port.
E
13
clear ip arp ip <
ip-address
>
Removes the dynamic entries learned with the specified IP
address.
E
13
no arp
Flushes the ARP table entries.
E
13
sysname# show ip arp
Index IP MAC VLAN Port Age(s) Type
1 192.168.1.1 00:19:cb:6f:91:59 1 CPU 0 static
sysname#
Table 13
show ip arp
LABEL
DESCRIPTION
Index
This field displays the index number.
IP
This field displays the learned IP address of the device.
MAC
This field displays the MAC address of the device.
VLAN
This field displays the VLAN to which the device belongs.
Port
This field displays the number of the port from which the IP address was learned.
CPU
indicates this IP address is the Switch’s management IP address.