Networking · Network Assurance › ERSPAN
ERSPAN ID
Cheat sheet · https://pcornel.dk/topic.php?topic=1446
Answer
The ERSPAN ID identifies a mirroring session inside the GRE header so the destination can match it to the right destination session; source and destination must use the same ID.
Remember
- The ERSPAN ID links a source session to the matching destination session.
- Both ends must use the same ID.
- Different IDs allow several sessions to the same destination.
First checks
show monitor session <n> detail— ERSPAN ID
Verify in this order
source session ID → header → destination matches ID
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1446