Use it when a router-terminated VPN is down or passes no traffic.
VPN
On 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.
1. Routers terminate site-to-site and remote access VPNs.
2. IKEv2 + IPsec.
3. Route-based preferred.
4. Hardware crypto capacity.
5. Monitor SAs.
IKE → IPsec → encrypted traffic
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 Common router VPN problems Narrow the fault
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.
- Routers can terminate site-to-site and remote access VPNs.
- IPsec and VTIs are typical.
- VPN needs matching crypto settings on both peers.
show crypto session— VPN sessionsshow crypto ipsec sa— counters
ReferenceWhat it is1 section · depth on demand
How it works
Routers terminate site-to-site VPNs with IPsec (crypto maps or route-based VTI/DMVPN) and sometimes remote access. Route-based VPNs use tunnel interfaces so routing protocols can run over the tunnel; policy-based crypto maps encrypt traffic matching an ACL.
ReferenceWhy it matters1 section · depth on demand
Router VPN options
| Option | Use |
|---|---|
| Crypto map (policy-based) | Legacy site-to-site with interesting-traffic ACLs |
| VTI (route-based) | Site-to-site with routing over a tunnel interface |
| DMVPN | Hub-and-spoke with dynamic spoke-to-spoke tunnels |
| FlexVPN (IKEv2) | Unified framework for site-to-site and remote access |
| GRE over IPsec | When multicast or non-IP is needed |
Check with show crypto ikev2 sa, show crypto ipsec sa and the routing table for routes through the tunnel.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
VPNs on the router: IPsec with virtual tunnel interfaces
Routers commonly terminate site-to-site and remote-access VPNs. Cisco's IOS XE IPsec VTI guide describes the modern approach: a virtual tunnel interface is a routable interface that terminates IPsec, so you can route to it, run routing protocols over it, and apply QoS, firewall and NAT features to it. Traffic is encrypted simply because routing sends it out of the VTI.
Static and dynamic VTIs (VTI guide)
| Type | Use | Behaviour |
|---|---|---|
| Static VTI | Always-on site-to-site between two fixed peers | One IPsec SA with traffic selector any any |
| Dynamic VTI | Hub-and-spoke, remote access | A virtual template is cloned per session and removed when it ends |
BR1(config)# crypto ikev2 proposal IKEV2-PROP
BR1(config-ikev2-proposal)# encryption aes-gcm-256
BR1(config-ikev2-proposal)# prf sha384
BR1(config-ikev2-proposal)# group 20
BR1(config)# crypto ipsec transform-set TS esp-gcm 256
BR1(cfg-crypto-trans)# mode tunnel
BR1(config)# crypto ipsec profile VTI-PROF
BR1(ipsec-profile)# set transform-set TS
BR1(ipsec-profile)# set ikev2-profile IKEV2-HQ
BR1(config)# interface Tunnel10
BR1(config-if)# ip address 10.255.10.2 255.255.255.252
BR1(config-if)# tunnel source GigabitEthernet0/0/0
BR1(config-if)# tunnel mode ipsec ipv4
BR1(config-if)# tunnel destination 203.0.113.10
BR1(config-if)# tunnel protection ipsec profile VTI-PROF
BR1# show crypto ikev2 sa
BR1# show crypto ipsec sa interface Tunnel10 | include pkts|status
#pkts encaps: 48211, #pkts encrypt: 48211, #pkts digest: 48211
#pkts decaps: 47302, #pkts decrypt: 47302, #pkts verify: 47302
Status: ACTIVE(ACTIVE)
Notes from the VTI guide
| Point | Detail |
|---|---|
| Feature placement | Clear-text features on the VTI; encrypted-traffic features on the outside interface |
| Fragmentation | Not supported over the IPsec tunnel; lower the MTU or fragment before encryption |
| Transform sets | Tunnel mode only |
| Configuring protection | Shut the static tunnel before adding tunnel protection, then re-enable it |
VPN types on routers
| Type | Technology |
|---|---|
| Site-to-site | IPsec VTI, GRE over IPsec, DMVPN, FlexVPN |
| Remote access | FlexVPN with IKEv2, or a firewall-based remote-access VPN |
| Provider VPN | MPLS L3VPN (not encrypted by itself) |
Documented example, not captured output.
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 → VPN. 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%