Pcornel
Networking · Network Assurance

RSPAN

Cheat sheet · https://pcornel.dk/topic.php?topic=737

Back to the Topic

Answer

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.

Remember

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.

First checks

  • 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.

Commands

vlan <id>
Create a VLAN or enter its configuration.
show monitor session
Display SPAN, RSPAN and ERSPAN sessions.
remote-span
Mark a VLAN as an RSPAN VLAN.
monitor session <id> destination remote vlan <vlan>
Send RSPAN copies into the remote-span VLAN.
monitor session <id> source remote vlan <vlan>
Use an RSPAN VLAN as the source on the destination switch.

Verify in this order

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

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

RSPAN · operational reference

RSPAN stageCanonical evidence
Source switchSession mirrors into RSPAN VLAN
RSPAN VLANMarked remote-span, not user access
Intermediate trunksVLAN allowed and STP forwarding
Destination switchVLAN mapped to local analyzer port

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=737

Confirmation

Confirm action

Continue?