Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

RSPAN VLAN

Direct answer

The RSPAN VLAN is a dedicated VLAN marked remote-span that carries mirrored traffic between switches; it must not carry normal user traffic.

When to use this

Use it when mirrored traffic must cross several switches.

First 30 seconds

1. The RSPAN VLAN is a dedicated VLAN (remote-span) carrying mirrored traffic.

2. No access ports.

3. Define on all switches in the path.

4. Excluded from MAC learning.

5. Use a dedicated ID.

Operational verification

source session → RSPAN VLAN → trunks → destination

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 · Cisco IOS XE
Scope / prerequisiteUse it when mirrored traffic must cross several switches.
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.

4 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 and what it shows Verify boundary

Verify the RSPAN VLAN is designated correctly and carried across every inter-switch link in the path, then confirm source and destination monitor sessions and capture the same unique flow. RSPAN VLAN forwarding shows mirrored-frame transport only, but it does not show the production packet itself followed the same path after the source switch.

Step 2 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 3 Observation → implication → next check Narrow the fault

Observation → implication → next check: local source session counters with no remote capture move to RSPAN VLAN creation and trunk propagation. VLAN present but absent on one trunk moves to allowed/pruned state. Frames arriving at the remote switch but not analyzer move to destination SPAN configuration. Validate each hop with the same generated flow.

Step 4 Common mistakes Narrow the fault
  • RSPAN VLAN used for normal hosts.
  • VTP pruning removing the RSPAN VLAN.
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 RSPAN VLAN carries mirrored traffic between switches.
  • Create it with remote-span under the VLAN configuration.
  • Do not put normal user ports in it.
Key checks
  • show vlan remote-span — RSPAN VLAN
  • show vlan id <vlan> — exists on switches
ReferenceWhy it matters1 section · depth on demand

How it works in operation

RSPAN transports mirrored Ethernet frames across a dedicated RSPAN VLAN between source and destination switches. The monitor session, RSPAN VLAN existence/propagation and trunk allowance are separate dependencies; the RSPAN VLAN is a transport for mirrored traffic, not an ordinary endpoint VLAN.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

The RSPAN VLAN carries mirrored traffic between switches

An RSPAN VLAN is a VLAN with the remote-span property. Mirrored frames placed in it are flooded to the destination switch, and switches don't learn MAC addresses in it. The Catalyst 9300 guide states that the RSPAN VLAN must be configured on every participating switch. VLAN IDs up to 1005 can propagate through VTP; extended-range IDs must be configured by hand on every device.

C9300(config)# vlan 950
C9300(config-vlan)# name RSPAN-SESSIONS
C9300(config-vlan)# remote-span
C9300# show vlan remote-span
Remote SPAN VLANs
------------------------------------------------------------------------------
950
C9300(config)# monitor session 5 source interface Gi1/0/10 both
C9300(config)# monitor session 5 destination remote vlan 950

Rules for the RSPAN VLAN

RuleReason
Used only for RSPANNo access ports, no SVI with user traffic
Same VLAN ID on all switches in the pathCreated as remote-span everywhere
Allowed on all trunks between source and destinationIncluding intermediate switches
One RSPAN VLAN per concurrent session (common practice)Keeps the streams of separate sessions apart
Not prunedVTP pruning or manual allowed lists can block it

Capacity

All mirrored traffic travels in the RSPAN VLAN over the production trunks. A both session on a 10 GbE uplink can push up to 20 Gb/s of mirrored traffic into links that also carry user traffic. Use filters (monitor session 5 filter vlan), single directions, or ERSPAN to a nearby collector.

Verification on every hop

C9300# show interfaces trunk | include 950
C9300# show spanning-tree vlan 950 | include Root|Te1/1

If the destination switch receives nothing, walk the path and check at each switch that VLAN 950 exists, is remote-span, and is forwarding on the trunk towards the destination.

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

RSPAN extends port mirroring across several switches by sending the mirrored traffic over a dedicated VLAN to the switch where the analyser sits. That VLAN must exist on every switch along the path and must be marked as a remote-span VLAN so it is treated specially.

The RSPAN VLAN carries mirrored traffic between switches; it must be created as a remote-span VLAN on every switch in the path.

vlan 900
 remote-span
! source switch
monitor session 1 source interface Gi1/0/5 both
monitor session 1 destination remote vlan 900
! destination switch
monitor session 1 source remote vlan 900
monitor session 1 destination interface Gi1/0/48

Use a dedicated VLAN with no hosts; MAC learning is disabled in RSPAN VLANs.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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 → RSPAN → RSPAN VLAN. 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?