Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Destination

Direct answer

The ERSPAN destination session receives GRE-encapsulated mirrored traffic at the remote end, decapsulates it and sends it out to the analyzer port.

When to use this

Use it when configuring where ERSPAN traffic is received and delivered.

First 30 seconds

1. The ERSPAN destination receives GRE-encapsulated mirrored traffic.

2. Can be a switch decapsulating to a port or an analyzer.

3. Must be routable from the source.

4. Bandwidth adds to the path.

5. Match ERSPAN ID.

Operational verification

source mirror → GRE → network → destination decap → analyzer

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · IOS/IOS XE
Key commandip address 10.99.0.50
Scope / prerequisiteUse it when configuring where ERSPAN traffic is received and delivered.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • The ERSPAN destination session receives GRE traffic and sends it to a local analyser port.
  • Configure with type erspan-destination and matching ERSPAN ID.
  • A capture tool such as Wireshark can also receive ERSPAN directly.
Key checks
  • show monitor session <n> — destination
  • Analyzer receives GRE (protocol 47) packets — receiving end
ReferenceWhat it is1 section · depth on demand

Destination options

The receiver can be another Cisco switch with an erspan-destination session (output to a local port with an analyser) or a capture host/probe that decodes ERSPAN directly (Wireshark understands it; filter erspan). The destination IP must match the source session, and the ERSPAN ID must match.

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 sessionDifferent IDs and nothing is delivered
Destination IP must be a local or loopback addressAnd it must match the IP the source sends to
A destination interface serves only one sessionPlan 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

SymptomCheck
Nothing arrivesReachability 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 usefulThe capture filter or decode expects the right ERSPAN type (II or III)
Partial captureMTU on the path; the ERSPAN mtu setting (176–9000, default 9000) truncates larger frames
Destination switch drops trafficerspan-id or IP mismatch

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Configuration

monitor session 2 type erspan-destination
 source
  erspan-id 10
  ip address 10.99.0.50
 destination interface Gi1/0/48
 no shutdown

Documented example, not captured output. On a non-Cisco receiver (Wireshark, IDS) capture the GRE traffic directly; Wireshark decodes ERSPAN.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

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%
Confirmation

Confirm action

Continue?