Use it when configuring where RSPAN traffic is captured.
Source Switch
In RSPAN, the source switch mirrors the chosen ports or VLANs into the RSPAN VLAN for transport to the destination switch.
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.
source ports → mirror → RSPAN VLAN
Context & applicabilityCommon mistakes · platform/version boundaries
- 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.
Operational reference
Fast context before you go deeper.
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.
- 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.
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
| Element | Options | Notes |
|---|---|---|
| Source interface | rx, tx, both | both can double the copied volume |
| Source VLAN | usually rx | Copies traffic of every port in the VLAN |
Trunk source + filter vlan | Limit which VLANs on the trunk are copied | Reduces volume |
| Destination | remote vlan 999 | Must 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.
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.
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 → 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%