Use it when a GRE tunnel stays down or flaps because the far end is unreachable or reached through the tunnel itself.
Tunnel Destination
The tunnel destination is the remote endpoint's address (tunnel destination <ip>); it must be reachable through the underlay, not through the tunnel itself.
1. show interfaces tunnel <n> | include destination — the far end's outer address?
2. show ip route <destination> — via the physical WAN, not via the tunnel?
3. ping <destination> source <tunnel-source> — reachable?
4. Far end: its tunnel destination is our tunnel source?
5. Learned via the tunnel → filter it from the routing protocol or add a static route via the WAN.
tunnel destination configured → outer route via the underlay → destination reachable from the tunnel source → far end mirrors source/destination → tunnel up without recursion
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show interfaces Tunnel0 | include source|destination|line protocolVerification & 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 Commands Verify boundary
show interfaces Tunnel0 | include source|destination|line protocol
show ip route 203.0.113.2
ping 203.0.113.2 source Gi0/0
Step 2 Verification & troubleshooting Narrow the fault
1. Verify tunnel source state.
2. Verify underlay route to tunnel destination without recursive tunnel use.
3. Confirm mode and tunnel IP.
4. Check line protocol and counters.
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.
show interfaces tunnel <n>— line/protocol state, source, destination, encapsulation, MTU.show ip route <tunnel-destination>— the outer route used to reach the far end.show ip interface brief | include Tunnel— tunnel address and status.ping <far-tunnel-ip>andping <tunnel-destination> source <tunnel-source>— inner vs outer reachability.show ip route <inner-prefix>— inner traffic routed into the tunnel.show logging | include TUN-5-RECURDOWN— recursive routing.
ReferenceWhat it is1 section · depth on demand
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Recursive routing — the classic tunnel failure
%TUN-5-RECURDOWN: Tunnel0 temporarily disabled due to recursive routing
It happens when the best route to the tunnel destination points through the tunnel itself, typically because the IGP running over the tunnel also advertises the underlay prefix of the remote endpoint.
| Prevention | Example |
|---|---|
| Static host route via the underlay | ip route 203.0.113.2 255.255.255.255 198.51.100.1 |
| Keep underlay prefixes out of the overlay IGP | Do not cover the WAN interface with network statements over the tunnel; use prefix filters |
| Front-door VRF | tunnel vrf INTERNET — the destination is resolved in a separate VRF |
Line protocol without keepalives
A GRE tunnel is up/up as soon as a route to the destination exists, even if the far end is down. GRE keepalives make the state reflect the remote endpoint:
interface Tunnel0
tunnel source GigabitEthernet0/0/0
tunnel destination 203.0.113.2
keepalive 10 3
(Keepalives are not used for tunnels protected by IPsec tunnel protection, where IPsec DPD or routing protocol hellos detect failures.)
MTU arithmetic
GRE (RFC 2784) adds 4 bytes of GRE header plus a 20-byte outer IPv4 header = 24 bytes:
| Setting | Value on a 1500-byte underlay |
|---|---|
ip mtu | 1476 |
ip tcp adjust-mss | 1436 (1476 − 40) |
With IPsec on top, subtract the ESP overhead as well (commonly ip mtu 1400, ip tcp adjust-mss 1360).
Verify
show interfaces Tunnel0 (line protocol, source/destination, keepalive), show ip route 203.0.113.2 (resolves via underlay, not Tunnel0), and ping 203.0.113.2 source Gi0/0/0 df-bit size 1500 to prove the underlay path and MTU.
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 Virtualization & Overlays → GRE → Tunnel Destination. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc2784.html · confidence 94%