Virtual Tunnel Interface
Cheat sheet · https://pcornel.dk/topic.php?topic=1348
Answer
A Virtual Tunnel Interface (VTI, tunnel mode ipsec ipv4) is an IPsec tunnel interface without GRE; it supports routing protocols and per-tunnel features but carries only IP unicast and multicast of one address family.
Remember
- A VTI (Virtual Tunnel Interface) is a routable interface protected by IPsec.
- Routing protocols can run over it, and traffic is sent into it by routes rather than crypto ACLs.
- Configure with
tunnel mode ipsec ipv4andtunnel protection ipsec profile.
First checks
show interfaces tunnel <n>— mode ipsec ipv4, protectionshow crypto ipsec sa interface tunnel <n>— SAs
Commands
ip mtuip tcp adjust-mssshow crypto ikev2 sashow crypto ipsec sashow interfaces Tunnel0
Verify in this order
tunnel interface → IPsec profile → SAs → routed traffic
Where it usually breaks
underlay IP/transport → control/session registration → route/endpoint distribution → policy/segment → encapsulation/tunnel state → decapsulation/egress → return path
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1348