Use it when checking a router's routing, NAT and VPN roles at the edge.
Router
A router forwards packets between IP networks using its routing table, connects LANs to WANs and the internet, and often adds NAT, ACLs, VPN and QoS.
packet → route lookup → forward/NAT/VPN
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ip routeCommands for this reference
Read-only examples. Replace placeholders and confirm syntax, address family and VRF on the actual platform/version.
show ip interface briefIdentify the intended interface, primary IPv4 address and interface/line-protocol state.
show ip route <destination>Read the winning prefix, route source, next hop and outgoing interface in the correct VRF.
show ip cef <prefix> detailCompare the resolved forwarding action, next hop and interface with the chosen route.
Show Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
How to read the output
show ip routeLook first: route source/code, prefix, next hop, outgoing interface
Healthy: Expected prefix is installed with intended next hop/source.
Warning: Route absent, unexpected protocol/AD/metric, recursive next hop or wrong exit.
Does not prove: RIB presence does not prove FIB programming or packet delivery.
Verification & Troubleshooting
Focused checks for this Topic. Stored verification and troubleshooting material remains available below.
Check 1 — Establish interface scope
show ip interface brief: Identify the intended interface, primary IPv4 address and interface/line-protocol state. Inspect a down interface before interpreting the higher-layer path; up/up alone does not prove delivery.
Check 2 — Read the destination route
show ip route <destination>: Read the winning prefix, route source, next hop and outgoing interface in the correct VRF. If the next hop is indirect, repeat the route lookup for that next hop.
Check 3 — Compare local forwarding
show ip cef <prefix> detail: Compare the resolved forwarding action, next hop and interface with the chosen route. Use RIB/FIB/CEF to inspect adjacency and platform-specific forwarding; a software entry alone is not a hardware or traffic test.
Check 4 — Verify the original flow
Repeat the original source/destination test after the identified local prerequisite is healthy. Inspect policy, downstream forwarding and return routing where the observation diverges.
More detailAdditional checks3 sections
Longer notes behind the focused checks above. Start with the checks; use these when you need more detail.
Layered verification and original-test closure
Verification and output interpretation
Verify interface state, RIB, CEF/adjacency and the specific service boundary relevant to the claim. A route table shows control-plane selection; CEF shows local programming; neither alone shows the remote/application path. Verify the state owned by the device and then the next dependency. Use controlled before/after counters where possible and correlate identities such as interface, VLAN, prefix, MAC, client or session. Do not infer remote state from a local green indicator. When a role spans several functions, verify each function separately rather than collapsing the result into a single healthy/unhealthy label.
Observation → implication → next check
Subtopics
Go one level deeper into this subject.
Layer 3 forwarding means a router looks up the destination IP in its forwarding table, decrements TTL, rewrites the Layer 2 header for the next hop and sends the packet out the chosen interface.
Subtopic Routing tableThe routing table lists destination prefixes with their source (connected, static, OSPF …), administrative distance, metric, next hop and outgoing interface; the longest matching prefix wins.
Subtopic WAN connectivityWAN connectivity is the router's role at the edge: it terminates provider circuits or internet links and runs the routing (static, BGP or SD-WAN) that connects the site to other sites.
Subtopic NATOn a router, NAT translates addresses between inside and outside networks — usually many private addresses to one public address with PAT — and keeps a translation table for return traffic.
Subtopic VPNOn a router, a VPN builds encrypted tunnels (usually IPsec, often with GRE, DMVPN or FlexVPN) to connect sites or remote users securely across untrusted networks.
- A router forwards packets between networks based on IP addresses and its routing table.
- It separates broadcast domains.
- Routers also provide NAT, VPN and QoS at the edge.
show ip route— routingshow ip interface brief— interfacesshow ip nat translations— NAT
ReferenceWhat it is1 section · depth on demand
What it is
Routers, Layer-2/Layer-3 switches, next-generation firewalls, IPS, access points and controllers provide distinct forwarding, policy and radio roles; PoE couples endpoint power to the access port.
ReferenceWhy it matters1 section · depth on demand
When to use it
Use it to identify which device owns a decision, which tables and state it maintains, and where traffic or endpoint power can fail.
ReferenceHow it works1 section · depth on demand
Operational mechanics and ownership
Router — A router makes a Layer-3 forwarding decision from the destination address, selected route and adjacency/next-hop resolution; control-plane reachability and data-plane forwarding are related but distinct. The routing protocols and RIB select a route, while CEF/FIB and adjacency state program forwarding. Interface policy, ACLs, NAT and VRFs can change packet handling after a route exists.
ReferenceImportant terms & boundaries4 sections · depth on demand
In depth
The router: forwarding between IP networks
A router forwards packets between networks using its routing table. Cisco's IOS XE basic IP routing guide covers the core mechanisms: static routes, default routes and the gateway of last resort, administrative distance for choosing between sources, and equal-cost parallel paths (four by default for most routing protocols, six for static routes, one for BGP).
What a router does
| Function | Detail |
|---|---|
| Route lookup | Longest prefix match in the routing table |
| Route sources | Connected, static, dynamic protocols (OSPF, EIGRP, BGP) |
| Source preference | Administrative distance: connected 0, static 1, eBGP 20, EIGRP 90, OSPF 110, iBGP 200 |
| Default route | ip route 0.0.0.0 0.0.0.0 <next-hop> sets the gateway of last resort |
| Edge services | NAT, VPN, QoS, ACLs, DHCP |
R1(config)# ip route 0.0.0.0 0.0.0.0 203.0.113.1
R1(config)# ip route 10.50.0.0 255.255.0.0 10.0.0.2
R1# show ip route
Gateway of last resort is 203.0.113.1 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 203.0.113.1
10.0.0.0/8 is variably subnetted, 4 subnets, 3 masks
C 10.0.0.0/30 is directly connected, GigabitEthernet0/0/1
L 10.0.0.1/32 is directly connected, GigabitEthernet0/0/1
S 10.50.0.0/16 [1/0] via 10.0.0.2
O 10.60.0.0/16 [110/2] via 10.0.0.2, 00:12:41, GigabitEthernet0/0/1
Behaviour from the guide
| Point | Detail |
|---|---|
| Static route removal | Removed when its interface goes down or no valid next hop exists |
| Floating static | A static route with a higher distance is overridden by a dynamic route |
| OSPF default | OSPF doesn't propagate a static default; use default-information originate |
| Redistribution | Metrics don't translate between protocols; filter to avoid loops |
Router versus Layer 3 switch
Both route. Routers offer WAN interfaces, deeper feature sets (VPN, NAT at scale, rich QoS) and larger routing tables; Layer 3 switches route between VLANs at line rate with many Ethernet ports. In a campus, Layer 3 switches route internally and routers sit at the WAN and Internet edge.
Documented example, not captured output.
Quick reference
A router forwards packets between IP networks based on the destination address and its routing table. It separates broadcast domains, chooses the best path using administrative distance and metrics, and rewrites the Layer 2 header at each hop.
| Router function | Example |
|---|---|
| Routing | Static, OSPF, EIGRP, BGP |
| WAN connectivity | Ethernet handoffs, cellular, MPLS |
| Edge services | NAT/PAT, DHCP, ACLs |
| VPN | IPsec site-to-site, FlexVPN |
| QoS | Shaping and queuing on WAN links |
On Catalyst platforms a Layer 3 switch performs most routing in hardware; routers remain the choice at WAN and internet edges.
Architecture/protocol mechanics and state model
A router owns Layer-3 interfaces and forwarding decisions between IP prefixes. Its useful operational model is ingress interface/VRF → RIB selection → CEF/adjacency → egress interface, with NAT/VPN or policy as optional additional boundaries. Network devices should be modeled by the state they own: physical/link attachment, Layer-2 or Layer-3 tables, policy/security state, and the handoff to adjacent systems. A device role label is useful for navigation, but operational evidence must identify the concrete table, interface, session or power state that owns the claim. Local success is not automatically adjacent-dependency or end-to-end success.
Limits and common misconceptions
Router reachability to a destination does not show transit traffic will use the same source/VRF/policy. Management-plane success is also not forwarding-plane evidence. A powered or reachable device can still have a broken forwarding or policy function; a forwarding table can be correct while a remote application fails; and management reachability can remain available during data-plane failure.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration intent
Document interface/VRF ownership, dynamic/static routing responsibilities, WAN handoffs, NAT/VPN/security boundaries and failure domains. Avoid treating the router as a generic box when multiple routing contexts or services coexist. Design and configuration should make interface roles, routing/switching/security boundaries, management ownership and redundancy dependencies explicit. Prefer one canonical operational view for each important state and keep product-specific extras secondary. Shared power, uplink, controller or upstream dependencies should be visible because duplicate components can still share one failure domain.
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 Network Devices → Router. 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
Router · operational reference
Compact state/design/evidence reference for fast lookup.
| Layer | Evidence |
|---|---|
| Interface/VRF | Attachment/context |
| RIB | Route selection |
| CEF/adjacency | Local forwarding |
| Service boundary | NAT/VPN/policy if present |