Specifications
IP Switching Commands
show ip cef adjacency
ISW-160
Cisco IOS IP Switching Command Reference
May 2008
0 packets, 0 bytes, Precedence routine (0)
via 0.0.0.0, 0 dependencies
next hop 0.0.0.0
valid drop adjacency
The following sample output shows the direct IP prefix when the next hop Gigabit Ethernet interface 3/0
is specified:
Router# show ip cef adjacency GigabitEthernet 3/0 172.20.26.29
Prefix Next Hop Interface
10.1.1.0/24 10.20.26.29 GigabitEthernet3/0
Cisco 10000 Series Routers Examples Only
The show ip cef adjacency command shows all prefixes resolved through a regular next-hop adjacency
or through the usage of a special adjacency type keyword such as discard, drop, glean, null, or punt.
The following is sample output from the show ip cef adjacency command when the glean keyword is
specified:
Router# show ip cef adjacency glean
Prefix Next Hop Interface
10.2.61.0/24 attached GigabitEthernet1/0/0
10.17.250.252/32 10.2.61.1 GigabitEthernet1/0/0
The following is sample output from the show ip cef adjacency drop command with the detail keyword
specified:
Router# show ip cef adjacency drop detail
IPv4 CEF is enabled for distributed and running
VRF Default:
42 prefixes (42/0 fwd/non-fwd)
Table id 0
Database epoch: 3 (42 entries at this epoch)
10.0.0.0/4, epoch 3
Special source: drop
drop
The following sample output shows the direct IP prefix when the next hop Gigabit Ethernet interface
3/0/0 is specified:
Router# show ip cef adjacency GigabitEthernet 3/0/0 172.20.26.29
Prefix Next Hop Interface
10.1.1.0/24 10.20.26.29 GigabitEthernet3/0/0
Table 26 describes the significant fields shown in the display.
Ta b l e 26 show ip cef adjacency Field Descriptions
Field Description
Prefix Destination IP prefix.
Next Hop Next hop IP address.
Interface Next hop interface.