Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Local · Routing Table

Direct answer

A local route (code L) is a /32 (or /128 in IPv6) for the router's own address on an interface. It tells the router that packets to that exact address are for itself.

When to use this

Use it to understand why each interface shows two routes, and when traffic to the router's own address is not handled as expected.

First 30 seconds

1. show ip route <address> — is it a local route?

2. Not local → the address is not configured on an up interface.

3. Local, but the router does not answer → access-class on vty lines, a control-plane policy or an interface ACL.

4. show ip cef <address> — receive entry?

5. Compare with show ip interface brief.

Operational verification

address configured on an up interface → local /32 route installed → CEF receive entry → packets delivered to the router's own processes

Context & applicabilityCommon mistakes · platform/version boundaries
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
Scope / prerequisiteUse it to understand why each interface shows two routes, and when traffic to the router's own address is not handled a…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

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

4 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 Operational verification and known-good state Verify boundary

Verify the interface owns the address in the expected VRF and that the route table contains the exact local host entry. Inspect the forwarding representation to see that the destination is treated as receive/local rather than a normal adjacency. Then verify the intended local service or protocol is enabled and permitted by interface/control-plane ACL or management-plane policy. Compare two tests: one addressed to the router itself and one transiting through the router to a host on the attached network. That comparison cleanly separates local-stack issues from general Layer-2/forwarding problems.

Step 2 Failure signatures and troubleshooting branches Narrow the fault

If the local host route is missing, inspect interface addressing, VRF and operational state. If the route exists but ICMP/SSH/protocol traffic fails, check control-plane policies, service binding, source restrictions and return routing from the router. If the router address responds but attached hosts do not, move to connected-route, ARP/ND and forwarding state rather than modifying local services. If only one VRF fails, ensure the management/test source is using the same routing table. Avoid interpreting an L route as a static host route that needs redistribution; it represents router ownership of that address.

Step 3 When the problem is really fixed Narrow the fault

Closure means the exact local route remains installed for the intended interface address, the original router-terminating service or protocol succeeds under the expected policy, and a separate transit test still behaves correctly. If control-plane ACLs changed, test one other permitted management/protocol flow and one intentionally denied class if safe. Do not use a successful ping to the local address as evidence that remote transit or application paths are healthy; record those as separate evidence chains.

Step 4 Common mistakes Narrow the fault
  • Confusing L (local /32) with C (connected network).
  • Removing local routes by mistake (they follow the interface address).
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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

Every connected network has a matching local route for the interface address. Packets to a local address are delivered to the router's own processes (SSH, routing protocols, ping), where control-plane filters may apply.

Key checks
  • show ip route | include ^L — local routes.
  • show ip route <router address> — shows the local entry.
  • show ip interface brief — the addresses that produce them.
  • show ip cef <router address> — marked as receive.
ReferenceHow it works1 section · depth on demand

Quick reference

Local routes (code L) are /32 (IPv4) or /128 (IPv6) host routes for the router's own interface addresses. They tell the router that packets to these addresses are for itself and must be handled by the CPU, not forwarded.

show ip route 10.20.0.1
! L 10.20.0.1/32 is directly connected, Vlan20

Documented example, not captured output.

Local routes appear alongside connected routes and are not redistributed or advertised by routing protocols.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Local routes (code L)

Since IOS 15, every address configured on an interface also produces a /32 local route (code L) next to the connected subnet. It tells the router "this exact address is me": packets to it are received by the router itself rather than forwarded. Cisco's Catalyst 9000 hardware resources technote shows how such /32 entries are stored: local /32 addresses, like ARP entries and other host routes, use the exact-match (EM) hash table rather than the longest-prefix-match memory.

R1# show ip route 10.0.12.0 255.255.255.252 longer-prefixes
C        10.0.12.0/30 is directly connected, GigabitEthernet0/0/1
L        10.0.12.1/32 is directly connected, GigabitEthernet0/0/1
R1# show ip cef 10.0.12.1
10.0.12.1/32
  receive for GigabitEthernet0/0/1

receive in the CEF entry means the packet is punted to the router's own CPU, not forwarded.

C and L side by side

Connected (C)Local (L)
PrefixThe interface subnet (for example /30, /24)The interface address as /32
MeaningHosts in this subnet are directly reachableThis address belongs to the router
Forwarding actionARP for the host, then forwardDeliver to the control plane
Hardware table on Catalyst 9000Longest-prefix matchExact match (hash)

Why it matters

SituationEffect of the L route
Traffic to the router's own addressDelivered locally even if a more general route points elsewhere
Control-plane protectionTraffic hitting L entries is what CoPP and infrastructure ACLs protect
Hardware scaleEach interface address uses one host entry

Local routes aren't advertised and aren't redistributed with connected routes; they exist only so the router recognises its own addresses.

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.

Mechanics and state ownership

The router needs a forwarding-table representation for packets whose destination is one of its own addresses. A local route provides that exact host match, normally /32 for IPv4 or /128 for IPv6, and takes precedence over the broader connected prefix because longest-prefix match selects it. Instead of forwarding the packet out toward another host, the data plane delivers or punts it to the local protocol stack/control plane according to platform design. The packet may then be handled by ICMP, SSH, routing protocols, management services or control-plane policy. This is why reachability to the router’s interface address and transit reachability through the same interface can have different failure points.

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 → Routing Table → Local. 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%
Embedded reference data

Quick lookup tables

Local operational reference

Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.

Local-route checkKnown-goodFailure signatureNext boundary
Exact /32 or /128Present for router addressMissingInterface/address
FIB actionReceive/local handlingUnexpected forward/dropData-plane programming
ServiceIntended local protocol enabledRoute exists, service closedControl plane
PolicyExpected source permittedACL/CoPP deniesSecurity policy
Transit comparisonSeparate path works as designedLocal only successConnected/forwarding
Confirmation

Confirm action

Continue?