Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Adjacency · RIB / FIB / CEF

Direct answer

A CEF adjacency represents the local next-hop rewrite/egress information used once the FIB lookup resolves to a directly connected forwarding action.

When to use this

Use adjacency evidence when CEF has selected an egress but Layer-2 resolution or rewrite state appears incomplete.

First 30 seconds

1. A CEF adjacency holds the L2 header for a next hop.

2. Built from ARP/ND.

3. Incomplete adjacency means no ARP reply.

4. Glean adjacencies punt for resolution.

5. Check ARP when adjacency is incomplete.

Evidence · next step

Continue hop-by-hop along the flow and verify the return path.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common problems
  • Incomplete adjacencies due to ARP failures.
  • Glean adjacencies causing CPU punts on scanning traffic.
  • Stale adjacencies after MAC changes (clear ARP).
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · Cisco IOS XE
Key commandshow adjacency
Scope / prerequisiteUse adjacency evidence when CEF has selected an egress but Layer-2 resolution or rewrite state appears incomplete.
Show · 3
What next?3 suggested next steps
Catalog command links3
Evidence1
On this pageJump to a specific section
Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 First 30 seconds Verify boundary

Immediate answer: Start from the selected route, resolve CEF to the final adjacency and verify the rewrite state for the actual next hop.

Verification chain: RIB selection → CEF prefix → recursive resolution → adjacency state → rewrite → egress packet

Stop condition: A route and CEF entry can exist while the adjacency is incomplete, gleaning or otherwise unable to forward the packet.

Step 2 Adjacency checks Verify boundary
show adjacency GigabitEthernet0/0/1 detail
show ip arp 10.1.12.2
clear ip arp 10.1.12.2

An incomplete adjacency means the router cannot build the Layer 2 header (no ARP reply). Check the neighbour is up, in the right VLAN and not blocked by DAI or port security.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

command output · 1
Command lookup Jump straight to Cisco syntax
Key points
  • ARP/ND commonly supplies neighbor resolution for ordinary directly connected IP next hops
  • Incomplete/unresolved neighbor state can stop ordinary forwarding even when the route is installed
  • Special CEF adjacency types can intentionally punt, receive or drop traffic; interpret them in platform context
  • A resolved local adjacency does not prove the far end returns traffic.
Key checks
  • show adjacency <interface> detail — encapsulation string
  • show ip arp <next-hop> — ARP for next hop
  • show ip cef <prefix> detail — adjacency used
ReferenceWhat it is1 section · depth on demand

How it works

The adjacency table holds the Layer 2 rewrite for each next hop: destination MAC (from ARP/ND), source MAC and encapsulation. A FIB entry points to an adjacency. Special adjacencies: glean (connected subnet, ARP needed), drop, null and punt. An incomplete adjacency means ARP has not resolved.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

What an adjacency entry contains

R1# show adjacency GigabitEthernet0/0/1 detail
Protocol Interface                 Address
IP       GigabitEthernet0/0/1      10.1.12.2(9)
                                   1234 packets, 140672 bytes
                                   epoch 0
                                   sourced in sev-epoch 2
                                   Encap length 14
                                   0050568A12B4 00A3D1C0FF01 0800
                                   ARP

The encapsulation string is the complete Layer 2 rewrite: destination MAC (0050.568a.12b4, from ARP), source MAC of the egress interface, Ethertype 0800 (IPv4). The source line (ARP) tells how it was learned. Packet counters increase only when traffic really uses this adjacency.

Why an adjacency is incomplete

Cisco's CEF troubleshooting guide lists the usual causes:

1. ARP (or ND for IPv6) for the next hop does not succeed — wrong VLAN, next hop down, ACL or port security dropping ARP.

2. After clear ip arp or clear adjacency the entry is marked incomplete and never re-resolves.

3. In MPLS designs, CEF not enabled where label switching requires it.

Troubleshooting sequence

StepCommandExpected
Route selects next hopshow ip route 10.20.0.0via 10.1.12.2, Gi0/0/1
ARP entry existsshow ip arp 10.1.12.2MAC present, not Incomplete
Adjacency completeshow ip cef adjacency GigabitEthernet0/0/1 10.1.12.2 detailEncap string, not incomplete
Drops countedshow cef dropEncap_fail not increasing
Router sends ARPdebug arp (lab or with ACL-limited debug)Requests leave, replies arrive

Glean adjacencies and scanning

A glean adjacency on a large connected subnet means every packet to an unresolved host is punted to resolve ARP. Scanners sweeping a /16 behind a router can drive CPU load this way; platforms rate-limit glean punts, so some ARP requests are deliberately not sent.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Routing → RIB / FIB / CEF → Adjacency. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
CEF adjacencyincomplete adjacency
Confirmation

Confirm action

Continue?