Use it when the analyser is on a different switch from the traffic, within the same switched network.
RSPAN
RSPAN copies traffic on one switch into a dedicated remote-span VLAN, which trunks carry to another switch where it is sent out of a destination port to the analyser.
1. Source switch: show monitor session <n> detail — sources and the RSPAN VLAN as destination?
2. show vlan remote-span on every switch on the path.
3. show interfaces trunk — the VLAN allowed and forwarding on each trunk?
4. Destination switch: session with the RSPAN VLAN as source and the analyser port as destination?
5. Destination port's output counters rising?
session configured → source ports or VLANs and direction → (RSPAN VLAN carried / ERSPAN GRE tunnel reachable) → destination port up → copies leave the destination → analyser captures them
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
vlan <id>Primary Commands
Configuration and operational commands for this Topic.
vlan <id>ReferenceCreate a VLAN or enter its configuration.
Use when: Use this command at the SPAN / RSPAN / ERSPAN boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. A configured/up session does not prove the analyzer receives every packet or that mirroring is lossless.
Cisco IOS / IOS XE · mixedremote-spanReferenceMark a VLAN as an RSPAN VLAN.
Use when: Use this command at the SPAN / RSPAN / ERSPAN boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. A configured/up session does not prove the analyzer receives every packet or that mirroring is lossless.
Cisco IOS / IOS XE · mixedmonitor session <id> destination remote vlan <vlan>ReferenceSend RSPAN copies into the remote-span VLAN.
Use when: Use this command at the SPAN / RSPAN / ERSPAN boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. A configured/up session does not prove the analyzer receives every packet or that mirroring is lossless.
Cisco IOS / IOS XE · mixedmonitor session <id> source remote vlan <vlan>ReferenceUse an RSPAN VLAN as the source on the destination switch.
Use when: Use this command at the SPAN / RSPAN / ERSPAN boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. A configured/up session does not prove the analyzer receives every packet or that mirroring is lossless.
Cisco IOS / IOS XE · mixedShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
Verification & 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 First 30 seconds Verify boundary
Immediate answer: Verify source session, RSPAN VLAN carriage and destination session independently before trusting a remote packet capture.
Verification chain: source frames → source SPAN session → RSPAN VLAN → trunk/STP path → destination SPAN session → analyzer capture
Stop condition: An active source session does not show the RSPAN VLAN traverses every switch or that the analyzer receives the frames.
Step 2 Verification and output interpretation Verify boundary
Verify show monitor session on both source and destination switches, then confirm the RSPAN VLAN exists with the correct special designation and is allowed/forwarding across each intermediate trunk. Analyzer traffic on the destination port should correlate with known source flows. If the source session appears healthy but the analyzer is empty, move through the transport chain: RSPAN VLAN presence, trunk allowed list, STP forwarding state and destination-session mapping. Interface counters on intermediate trunks can provide supporting evidence but do not identify RSPAN frames by themselves unless filtered/captured. A healthy RSPAN control configuration does not show lossless mirrored transport under congestion.
Subtopics
Go one level deeper into this subject.
The RSPAN VLAN is a dedicated VLAN marked remote-span that carries mirrored traffic between switches; it must not carry normal user traffic.
Subtopic Source SwitchIn RSPAN, the source switch mirrors the chosen ports or VLANs into the RSPAN VLAN for transport to the destination switch.
Subtopic Intermediate TrunksIn RSPAN, intermediate switches only carry the RSPAN VLAN on their trunks between source and destination switches; they must have the VLAN created as remote-span.
Subtopic Destination SwitchIn RSPAN, the destination switch takes mirrored traffic from the RSPAN VLAN and sends it to the local analyzer port.
The VLAN must be created with remote-span on every switch it crosses, and allowed on every trunk on the path. It carries only mirrored traffic — no hosts in it. MAC learning is disabled in it.
show monitor session all— every session with sources, direction and destination.show monitor session <n> detail— full detail, including VLANs and filters.show vlan remote-span— VLANs marked for RSPAN.show interfaces <destination> counters— whether copies are being sent out.show interfaces trunk— the RSPAN VLAN carried on the trunks.
ReferenceWhat it is1 section · depth on demand
What it is
SPAN mirrors locally, RSPAN transports mirrored frames over a dedicated VLAN, and ERSPAN carries mirrored traffic over an IP/GRE path.
Path: Networking → Network Assurance → RSPAN. Local intent: RSPAN: RSPAN VLAN, Source Switch, Intermediate Trunks, Destination Switch.
ReferenceImportant terms & boundaries4 sections · depth on demand
In depth
RSPAN: remote SPAN across switches
RSPAN carries mirrored traffic over a dedicated VLAN to an analyser on another switch. Cisco's SPAN technote explains the mechanics: the RSPAN VLAN must be created as a remote-span VLAN, all inter-switch links carrying it must be trunks, a source session on the switch with the monitored ports sends copies into the VLAN, and a destination session on the analyser's switch takes them out to a port; intermediate switches just carry the VLAN.
Behaviour (technote)
| Point | Detail |
|---|---|
| MAC learning | Disabled on the RSPAN VLAN so traffic floods to the destination |
| Flooding | Mirrored traffic reaches every switch carrying the VLAN; prune it where not needed |
| STP | Runs on the RSPAN VLAN; BPDUs can't be monitored |
| Layer 2 only | RSPAN can't cross a Layer 3 device; use ERSPAN for routed paths |
| VTP | Can span VTP domains if the RSPAN VLAN exists in each and no router is in between |
SW-SRC(config)# vlan 999
SW-SRC(config-vlan)# name RSPAN
SW-SRC(config-vlan)# remote-span
SW-SRC(config)# monitor session 2 source interface GigabitEthernet1/0/5 both
SW-SRC(config)# monitor session 2 destination remote vlan 999
SW-SRC(config)# interface TenGigabitEthernet1/1/1
SW-SRC(config-if)# switchport trunk allowed vlan add 999
SW-DST(config)# vlan 999
SW-DST(config-vlan)# remote-span
SW-DST(config)# monitor session 3 source remote vlan 999
SW-DST(config)# monitor session 3 destination interface GigabitEthernet1/0/48
SW-DST# show monitor session 3
Session 3
---------
Type : Remote Destination Session
Source RSPAN VLAN : 999
Destination Ports : Gi1/0/48
Design considerations
| Consideration | Reason |
|---|---|
| Trunk bandwidth | Mirrored traffic competes with production traffic on uplinks |
| Prune the RSPAN VLAN | Limit flooding to the path towards the analyser |
| Dedicated VLAN number | Document it; never use it for hosts |
| Platform support | Check RSPAN support and session limits per switch |
RSPAN is useful for central analysers (IDS, troubleshooting probes) in a campus; for captures across sites, use ERSPAN.
Documented example, not captured output.
Quick reference
RSPAN mirrors traffic to an analyser on a different switch by carrying the copies in a dedicated RSPAN VLAN across trunks. The source switch puts copies into the VLAN; the destination switch sends them out its analyser port.
vlan 900
remote-span
! source switch
monitor session 1 source interface Gi1/0/10 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
Documented example, not captured output.
Every trunk between the switches must allow the RSPAN VLAN, and mirrored traffic competes for trunk bandwidth.
State model and protocol mechanics
Remote SPAN separates the mirror source and analyzer onto different switches by using a special RSPAN VLAN as the transport. The source switch copies selected traffic into that VLAN, intermediate switches carry the VLAN across trunks, and the destination switch maps the RSPAN VLAN to a local analyzer port. The VLAN is flagged for RSPAN behavior so MAC learning and ordinary endpoint semantics differ from a standard user VLAN. Because transport is Layer 2, every trunk in the path must carry the RSPAN VLAN and the remote switches must agree on its identity. Mirrored bandwidth still consumes trunk capacity, and congestion can drop the copy independently of original production traffic.
Limits and common misconceptions
RSPAN is not a routed remote capture mechanism. It depends on a contiguous Layer 2 transport for the dedicated VLAN; crossing a Layer 3 boundary requires a different mechanism such as ERSPAN. The mirrored VLAN should not be treated like a user VLAN, and its presence in the VLAN database does not show every trunk forwards it. As with SPAN, mirror loss can occur independently of production loss. A packet missing from the remote analyzer might have been dropped in the mirror transport even though the original reached its destination. Keep source replication, Layer 2 transport, destination replication and analyzer capture as separate evidence stages.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration model
Create and mark a dedicated VLAN as the RSPAN VLAN on all relevant switches, ensure it is allowed through the required trunks, configure the source session to send mirrored traffic into that VLAN, and configure the destination session to receive from the RSPAN VLAN into the analyzer port. Keep the VLAN out of normal access-port usage and document its operational purpose. Select source direction carefully because sending both directions from high-volume links can consume significant trunk bandwidth. In redundant Layer 2 topologies, understand the active forwarding path for the RSPAN VLAN so the mirror actually reaches the analyzer switch. Do not assume VTP or another provisioning mechanism automatically makes the VLAN usable end to end without validating trunk allowance and spanning-tree state.
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. 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%Quick lookup tables
RSPAN · operational reference
Compact state and interpretation boundaries for fast lookup.
| RSPAN stage | Canonical evidence |
|---|---|
| Source switch | Session mirrors into RSPAN VLAN |
| RSPAN VLAN | Marked remote-span, not user access |
| Intermediate trunks | VLAN allowed and STP forwarding |
| Destination switch | VLAN mapped to local analyzer port |