Use it when configuring where ERSPAN traffic is received and delivered.
Destination
source mirror → GRE → network → destination decap → analyzer
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
ip address 10.99.0.50Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification & troubleshooting Narrow the fault
1. Verify source and direction.
2. Verify destination/session state.
3. For RSPAN, trace VLAN across trunks.
5. Compare captured traffic with source counters.
Step 2 Common mistakes Narrow the fault
- No route back to the source's origin IP.
- Destination port also used for normal traffic.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
show monitor session <n>— destination- Analyzer receives GRE (protocol 47) packets — receiving end
ReferenceWhat it is1 section · depth on demand
Destination options
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Where ERSPAN traffic ends: a collector, or a destination session on another switch
The source session's destination block sets the tunnel endpoint IP. That endpoint can be a packet analyser that understands ERSPAN (Wireshark decodes it), or another Catalyst switch with an erspan-destination session that decapsulates the traffic onto a local port.
Switch as the destination (Catalyst 9300 guide)
C9300-B(config)# interface Loopback10
C9300-B(config-if)# ip address 10.20.30.40 255.255.255.255
C9300-B(config)# monitor session 20 type erspan-destination
C9300-B(config-mon-erspan-dst)# destination interface Gi1/0/48
C9300-B(config-mon-erspan-dst)# source
C9300-B(config-mon-erspan-dst-src)# erspan-id 10
C9300-B(config-mon-erspan-dst-src)# ip address 10.20.30.40
C9300-B(config-mon-erspan-dst-src)# exit
C9300-B(config-mon-erspan-dst)# no shutdown
| Rule (documented) | Consequence |
|---|---|
erspan-id must match the source session | Different IDs and nothing is delivered |
| Destination IP must be a local or loopback address | And it must match the IP the source sends to |
| A destination interface serves only one session | Plan one analyser port per session |
Collector as the destination
Point the source session's ip address at the analyser host. On the analyser, capture GRE (IP protocol 47) traffic from the origin IP:
$ sudo tcpdump -ni ens192 'ip proto 47 and src host 10.0.0.11' -w erspan.pcap
Troubleshooting checklist
| Symptom | Check |
|---|---|
| Nothing arrives | Reachability from the origin IP to the destination IP (ping 10.20.30.40 source 10.0.0.11); the session is no shutdown |
| Arrives on the wire but the analyser shows nothing useful | The capture filter or decode expects the right ERSPAN type (II or III) |
| Partial capture | MTU on the path; the ERSPAN mtu setting (176–9000, default 9000) truncates larger frames |
| Destination switch drops traffic | erspan-id or IP mismatch |
Documented example, not captured output.
Quick reference
The ERSPAN destination receives the encapsulated copies. It can be an analyser that understands ERSPAN directly, or a switch that removes the encapsulation and outputs the original frames on a local port for a traditional capture tool.
The ERSPAN destination is either an analyser that can decode ERSPAN (Wireshark, many packet brokers) or a switch with an erspan-destination session that decapsulates and outputs frames on a port.
monitor session 20 type erspan-destination
destination interface Gi1/0/48
source
erspan-id 10
ip address 10.50.0.20
no shutdown
ReferenceConfiguration & state1 section · depth on demand
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Network Assurance → ERSPAN → Destination. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%