beautypg.com

Show arp – LevelOne GTL-2691 User Manual

Page 1402

background image

C

HAPTER

48

| IP Interface Commands

IPv4 Interface

– 1402 –

show arp

This command displays entries in the Address Resolution Protocol (ARP)

cache.

C

OMMAND

M

ODE

Normal Exec, Privileged Exec

C

OMMAND

U

SAGE

This command displays information about the ARP cache. The first line

shows the cache timeout. It also shows each cache entry, including the

IP address, MAC address, type (static, dynamic, other), and VLAN

interface. Note that entry type “other” indicates local addresses for this

router.

You can define up to 128 static entries in the ARP cache.

A static entry may need to be used if there is no response to an ARP

broadcast message. For example, some applications may not respond

to ARP requests or the response arrives too late, causing network

operations to time out.

Static entries will not be aged out or deleted when power is reset. You

can only remove a static entry via the configuration interface.

Static entries are only displayed for VLANs that are up. In other words,

static entries are only displayed when configured for the IP subnet of a

existing VLAN, and that VLAN is linked up.

E

XAMPLE

This example displays all entries in the ARP cache.

Console#show arp

Arp cache timeout: 1200 (seconds)

IP Address MAC Address Type Interface

--------------- ----------------- --------- -----------

10.1.0.0 ff-ff-ff-ff-ff-ff other VLAN 1

10.1.0.254 00-00-ab-cd-00-00 other VLAN 1

10.1.0.255 ff-ff-ff-ff-ff-ff other VLAN 1

123.20.10.123 02-10-20-30-40-50 static VLAN 2

345.30.20.23 09-50-40-30-20-10 dynamic VLAN 3

Total entry : 5

Console#