View ARP Information

The show ip arp command displays all of the configured and dynamically learned ARP entries in the ARP table.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. Display ARP information for a specified port or for all ports:

    show ip arp interface gigabitethernet [slot/port[/sub-port][-slot/port[/sub-port]][,...]]

  3. Display ARP information for a VLAN:

    show ip arp interface vlan <1-4059>

Example

Switch:1>show ip arp interface

================================================================================
                                    Port Arp
================================================================================
PORT_NUM DOPROXY    DORESP
--------------------------------------------------------------------------------
1/1      false      true
1/2      false      true
1/3      false      true
1/4      false      true
1/5      false      true
1/6      false      true
1/7      false      true
1/8      false      true
1/9      false      true
1/10     false      true
1/11     false      true
1/12     false      true
1/13     false      true
1/14     false      true
1/15     false      true
1/16     false      true
1/17     false      true

--More-- (q = quit)

Variable definitions

Use the data in the following table to use the show ip arp command.

Variable

Value

A.B.C.D

Specifies the IP address of a network.

{slot/port[/sub-port][-slot/port[/sub-port]][,...]}

Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

interface

Displays ARP interface configuration information.

spbm-tunnel-as-mac

Displays the remote host name in the TUNNEL column for the SPBM ARP entry.

-s

Specifies a subnet.

You must indicate the IP address followed by the subnet mask expressed as <A.B.C.D> <A.B.C.D>.

vlan <1-4059>

Displays ARP entries for a particular VLAN ID.

Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.

vrf WORD<1–16>

Specifies a VRF name expressed as text from 1 to 16 characters in length.

The total number of ARPs listed in the summary line of the show ip arp output represents the total number of ARPs on the chassis, including all VRFs.

vrfids WORD<0–512>

Specifies a range of VRFIDs as text from 0 to 512 characters in length.

The total number of ARPs listed in the summary line of the show ip arp output represents the total number of ARPs on the chassis, including all VRFs.

Use the data in the following table to help you understand the show ip arp interface command output.

Variable

Value

PORT_NUM

Indicates the port number.

DOPROXY

Indicates if ARP proxy responses are enabled or disabled on the specified interface.

DORESP

Indicates if the sending of ARP responses is enabled or disabled on the specified interface.

Use the data in the following table to help you understand the show ip arp interface vlan command output.

Variable

Value

VLAN_ID

Indicates the VLAN ID.

DOPROXY

Indicates if ARP proxy responses are enabled or disabled on the specified interface.

DORESP

Indicates if the sending of ARP responses is enabled or disabled on the specified interface.