Networking · Network Assurance › ERSPAN
Source
Cheat sheet · https://pcornel.dk/topic.php?topic=1444
Answer
The ERSPAN source session defines which interfaces or VLANs and which direction to mirror, plus the destination IP, ERSPAN ID and origin address.
Remember
- The ERSPAN source session defines source ports, direction, destination IP, ERSPAN ID and origin IP.
- Configure with
monitor session <n> type erspan-source. - The destination IP must be routable from the source.
First checks
show monitor session <n>— source interfaces/VLANs and direction
Commands
ip routing
Verify in this order
source ports/VLANs → mirror → ERSPAN
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=1444