show ip adjacency

To display adjacency information, use the show ip adjacency command.

show ip adjacency [ ip-addr | interface ] [ detail ] [ non-best ] [ statistics ] [ summary ]
[ vrf vrf-name | all | default | management ]

Syntax Description

ip-addr
(Optional) IPv4 source address. The format is x.x.x.x.
interface
(Optional) Interface. Use ? to determine the supported interface types.
detail
(Optional) Displays detailed adjacency information.
non-best
(Optional) Displays both the best and nonbest adjacency information.
statistics
(Optional) Displays adjacency statistics.
summary
(Optional) Displays a summary of the adjacency information.
vrf vrf-name
(Optional) Specifies the virtual router context (VRF) name. The name can be any case-sensitive, alphanumeric string up to 32 characters.
all
(Optional) Displays adjacency statistics for all VRF entries.
default
(Optional) Displays adjacency statistics for the default VRF.
management
(Optional) Displays adjacency statistics for the management VRF.

Command Default

None

Command Modes

Any command mode

Command History

Release
Modification
5.0(3)N1(1)
This command was introduced.

Usage Guidelines

The counter values in the output of show ip adjacency { statistics | detail } command are cleared after a supervisor module switchover.

Examples

This example shows how to display a summary of the adjacency information:

switch# show ip adjacency summary
 
IP Adjacency Table for VRF default
Total number of entries: 1
Address MAC Address Pref Source Interface
2.2.2.100 000a.000a.000a 1 Static Ethernet1/2
switch#
 

Related Commands

Command
Description
show forwarding adjacency
Displays forwarding adjacency information.