Pcornel
Networking · Routing & Forwarding

CEF & Forwarding Adjacencies

Cheat sheet · https://pcornel.dk/topic.php?topic=431

Back to the Topic

Answer

Cisco forwarding information base, recursive resolution and adjacency state.

Remember

Cisco forwarding information base, recursive resolution and adjacency state.

Start from observed state and expected behavior. A single healthy value proves only that boundary; continue until the failing boundary is isolated.

First checks

  • show ip cef <prefix> detail — FIB entry and next hop
  • show adjacency <interface> detail — Layer 2 rewrite
  • show ip cef exact-route <src> <dst> — path chosen for one flow

Commands

show ip cef <prefix>
CEF/FIB forwarding resolution for a prefix.
show ip cef <prefix> detail
Inspect detailed CEF recursion/forwarding state.
show ip cef [prefix]
Inspect FIB/CEF forwarding entries.
show adjacency [detail]
Inspect CEF adjacency resolution.
show ip cef <prefix> [detail]
Display CEF/FIB resolution.
show ip arp [address]
Display IPv4 ARP adjacency cache.
show ip cef <address>
show adjacency … detail
show ip cef exact-route <src> <dst>
show adjacency <int> detail
show ip cef summary
show cef drop
show ip cef switching statistics
show ip route
show ip cef
show ip cef inconsistency

Verify in this order

RIB route → FIB entry → adjacency (L2 rewrite) → packet forwarded

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=431

Confirmation

Confirm action

Continue?