Pcornel
Networking · Routing › Routing Table

Outgoing interface

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

Back to the Topic

Answer

The outgoing interface is the local interface a router sends a packet out of after the route lookup. If the route lists only a next-hop address, the router does a recursive lookup to find which interface reaches that next hop.

Remember

A route may give a next-hop address, an interface, or both. With only a next hop the router looks that address up again until it reaches a connected interface. On Ethernet it then needs the next hop's MAC address; a static route that points only at an Ethernet interface makes the router ARP for every destination.

First checks

show ip route <address> → the matching prefix, next hop and via <interface>. show ip cef <address> → the final next hop and interface after recursion. show ip arp <next-hop> (IPv6: show ipv6 neighbors) → a resolved MAC address.

Commands

show ip cef exact-route
show ip policy
show ip cef
show ip route

Verify in this order

longest-prefix match → next hop → recursive lookup until a connected interface → interface up/up → ARP/ND entry for the next hop → frame sent

Where it usually breaks

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

Outgoing interface operational reference

BoundaryKnown-good for Outgoing interfaceSuspicious signatureNext proof
IntentMatches RIB-to-egress resolution designConfiguration differs from peer/designCompare effective config
Control stateStable expected role/route/member statethe RIB names an unexpected egress, recursion points into the wrong VRF, the exit interface is down, or CEF resolves to drop/punt/unresolved despite a route entryInspect protocol/RIB detail
ForwardingExpected egress/Port-Channel/VLAN pathState exists but traffic path disagreesFIB/MAC/adjacency
ClosureOriginal test passes for explained reasonSymptom merely moved or was bypassedRegression test

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

Confirmation

Confirm action

Continue?