Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Source Switch

Direct answer

In RSPAN, the source switch mirrors the chosen ports or VLANs into the RSPAN VLAN for transport to the destination switch.

When to use this

Use it when configuring where RSPAN traffic is captured.

First 30 seconds

1. The source switch mirrors ports/VLANs into the RSPAN VLAN.

2. Choose direction.

3. Limit scope.

4. Oversubscription drops mirrored traffic.

5. Remove after use.

Operational verification

source ports → mirror → RSPAN VLAN

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
RSPAN pitfalls
  • RSPAN VLAN missing on an intermediate switch or not allowed on a trunk.
  • Mirrored traffic exceeding trunk capacity and competing with production.
  • Using the RSPAN VLAN for normal ports (traffic leaks).
  • Source and destination in different sessions numbers on each switch — they must match the VLAN, not the session number.
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
Scope / prerequisiteUse it when configuring where RSPAN traffic is captured.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
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 source switch copies source ports or VLANs into the RSPAN VLAN.
  • Configure monitor session <n> destination remote vlan <id>.
  • The RSPAN VLAN must be allowed on its trunks.
Key checks
  • show monitor session <n> — sources and RSPAN VLAN destination
ReferenceWhat it is1 section · depth on demand

How it works

The RSPAN source switch copies traffic from the source ports or VLANs into the RSPAN VLAN, which is carried across trunks to the destination switch. Only this switch needs the source session; mirrored traffic uses trunk bandwidth.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Source session in detail

vlan 999
 remote-span
!
monitor session 1 source interface GigabitEthernet1/0/5 both
monitor session 1 source vlan 20 rx
monitor session 1 filter vlan 20
monitor session 1 destination remote vlan 999
ElementOptionsNotes
Source interfacerx, tx, bothboth can double the copied volume
Source VLANusually rxCopies traffic of every port in the VLAN
Trunk source + filter vlanLimit which VLANs on the trunk are copiedReduces volume
Destinationremote vlan 999Must be a remote-span VLAN

Bandwidth arithmetic

Mirroring a 1 Gbit/s port in both directions can produce up to 2 Gbit/s of copies, and that load travels on every trunk to the destination. A 1 Gbit/s uplink carrying that RSPAN VLAN alongside production traffic will drop production frames, not just mirrored ones. Mirror a single direction or use a filter when the uplink has no headroom.

Verify on the source switch

Switch# show monitor session 1 detail
Session 1
---------
Type                     : Remote Source Session
Source Ports             :
    Both                 : Gi1/0/5
Source VLANs             :
    RX Only              : 20
Dest RSPAN VLAN          : 999

Also confirm that VLAN 999 is forwarding on the uplink (show interfaces trunk, show spanning-tree vlan 999).

Restrictions to remember

  • The RSPAN VLAN must not be used as a SPAN source, and no access ports should be in it.
  • A port cannot be both a source and the destination of the same session.
  • Platforms limit the number of source sessions and whether egress (tx) copies include changes made by egress features; the Cisco guide for Catalyst 9000 shows how to confirm what the hardware actually programmed.

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.
ReferenceConfiguration & state1 section · depth on demand

Configuration example

vlan 999
 remote-span
!
monitor session 1 source interface GigabitEthernet1/0/5 both
monitor session 1 destination remote vlan 999

Documented example, not captured output. The RSPAN VLAN must be created on every switch in the path and allowed on the trunks between source and destination. Do not use it for normal traffic and exclude it from VTP pruning issues.

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 → Source Switch. 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?