Use it to understand why each interface shows two routes, and when traffic to the router's own address is not handled as expected.
Local · Routing Table
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.
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.
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
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
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.
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) | |
|---|---|---|
| Prefix | The interface subnet (for example /30, /24) | The interface address as /32 |
| Meaning | Hosts in this subnet are directly reachable | This address belongs to the router |
| Forwarding action | ARP for the host, then forward | Deliver to the control plane |
| Hardware table on Catalyst 9000 | Longest-prefix match | Exact match (hash) |
Why it matters
| Situation | Effect of the L route |
|---|---|
| Traffic to the router's own address | Delivered locally even if a more general route points elsewhere |
| Control-plane protection | Traffic hitting L entries is what CoPP and infrastructure ACLs protect |
| Hardware scale | Each 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.
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
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%Quick lookup tables
Local operational reference
Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.
| Local-route check | Known-good | Failure signature | Next boundary |
|---|---|---|---|
| Exact /32 or /128 | Present for router address | Missing | Interface/address |
| FIB action | Receive/local handling | Unexpected forward/drop | Data-plane programming |
| Service | Intended local protocol enabled | Route exists, service closed | Control plane |
| Policy | Expected source permitted | ACL/CoPP denies | Security policy |
| Transit comparison | Separate path works as designed | Local only success | Connected/forwarding |