Pcornel
Networking · Network Assurance › ERSPAN

GRE Encapsulation

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

Back to the Topic

Answer

ERSPAN encapsulates mirrored frames in GRE over IP so they can cross routed networks; the extra headers increase packet size, which can cause drops if MTU is too small.

Remember

  • ERSPAN wraps mirrored frames in GRE so they can cross routed networks.
  • Extra headers add about 50 bytes; large frames may be truncated or fragmented.
  • Raise MTU on the path or accept truncation.

First checks

  • show monitor session <n> detail — encapsulation
  • Capture shows GRE with ERSPAN header — proof

Verify in this order

mirrored frame → ERSPAN header → GRE → IP

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=1443

Confirmation

Confirm action

Continue?