Pcornel
Networking · Virtualization & Overlays › VTI

Virtual Tunnel Interface

Cheat sheet · https://pcornel.dk/topic.php?topic=1348

Back to the Topic

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 ipv4 and tunnel protection ipsec profile.

First checks

  • show interfaces tunnel <n> — mode ipsec ipv4, protection
  • show crypto ipsec sa interface tunnel <n> — SAs

Commands

ip mtu
ip tcp adjust-mss
show crypto ikev2 sa
show crypto ipsec sa
show 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

Confirmation

Confirm action

Continue?