Celestica Documentation Portal

Find your product documents here

show arp

Displays the IPv4 ARP neighbor cache. If the L3 interface that the ARP entry is learnt is on a VLAN, it also displays the Egress L2 port through which the neighbor MAC is reachable, if not a "-". If the neighbor is not reachable or invalid, the MAC is displayed as "-".

Syntaxshow arp [ vrf <vrfname>] [ <interfacename> | <ipv4address> ]
Command modeEXEC
Parameters
  • vrfname – Name of the VRF. Accepts a string of maximum 32 characters.

  • interfacename– Name of the L3 Interface, such as Ethernet0, PortChannel10, Loopback2, Vlan100 or Management0.

  • ipv4address – IPv4 Neighbor Address.

Usage
  • <vrfname> is optional. If <vrfname> is not given, all the VRFs Neighbor Cache is retrieved.

  • <interfacename> is optional. If <interfacename> is not given, all Neighbor Cache entries learnt on L3 Interfaces is retrieved.

  • <ipv4address> is optional. By default, all Neighbors are retrieved if not specified.

Supported Releases1.1.0 or later
Click command show arp -if <interface> [<ipv4address>]
Example
sonic# show arp vrf Vrf-101
Address         MacAddress         Iface      Vlan  Status
--------------  -----------------  -------  ------  --------
101.101.101.8   00:00:23:88:87:33  -           101  STALE
101.101.101.11  00:00:23:88:87:36  -           101  STALE
101.101.101.10  00:00:23:88:87:35  -           101  STALE
101.101.101.12  00:00:23:88:87:37  -           101  STALE
101.101.101.3   00:00:23:88:87:2e  -           101  STALE
101.101.101.2   00:00:00:0f:d5:29  -           101  STALE
101.101.101.5   00:00:23:88:87:30  -           101  STALE
101.101.101.4   00:00:23:88:87:2f  -           101  STALE
101.101.101.7   00:00:23:88:87:32  -           101  STALE
101.101.101.6   00:00:23:88:87:31  -           101  STALE
101.101.101.9   00:00:23:88:87:34  -           101  STALE
Total number of entries 11

sonic# show arp
Address         MacAddress         Iface        Vlan    Status
--------------  -----------------  -----------  ------  ---------
101.101.101.8   00:00:23:88:87:33  -            101     STALE
101.101.101.11  00:00:23:88:87:36  -            101     STALE
101.101.101.10  00:00:23:88:87:35  -            101     STALE
10.208.81.253   74:86:e2:51:b4:27  Management0  -       STALE
10.208.81.254   74:86:e2:51:2c:27  Management0  -       STALE
101.101.101.12  00:00:23:88:87:37  -            101     STALE
10.208.81.1     00:00:5e:00:01:02  Management0  -       REACHABLE
101.101.101.3   00:00:23:88:87:2e  -            101     STALE
101.101.101.2   00:00:00:0f:d5:29  -            101     STALE
3.1.1.1         -                  Ethernet5    -       FAILED
101.101.101.5   00:00:23:88:87:30  -            101     STALE
101.101.101.4   00:00:23:88:87:2f  -            101     STALE
101.101.101.7   00:00:23:88:87:32  -            101     STALE
101.101.101.6   00:00:23:88:87:31  -            101     STALE
101.101.101.9   00:00:23:88:87:34  -            101     STALE
Total number of entries 15
sonic#
sonic# show arp Management0
Address        MacAddress         Iface        Vlan    Status
-------------  -----------------  -----------  ------  ---------
10.208.81.253  74:86:e2:51:b4:27  Management0  -       STALE
10.208.81.254  74:86:e2:51:2c:27  Management0  -       STALE
10.208.81.1    00:00:5e:00:01:02  Management0  -       REACHABLE
Total number of entries 3
sonic#
sonic# show arp 3.1.1.1
Address    MacAddress    Iface      Vlan    Status
---------  ------------  ---------  ------  --------
3.1.1.1    -             Ethernet5  -       FAILED
Total number of entries 1