4.3 Configure SPAN, RSPAN and ERSPAN

ENCOR 350-401 v1.2 · 4.0 Network Assurance

To analyse traffic you need a copy of it. SPAN copies traffic from ports or VLANs to a local port, RSPAN carries the copy across switches in a dedicated VLAN, and ERSPAN carries it across a routed network inside GRE. ENCOR expects you to configure all three.

What you must know

SPAN, RSPAN and ERSPAN

! Local SPAN on SW1
monitor session 1 source interface GigabitEthernet1/0/5 both
monitor session 1 destination interface GigabitEthernet1/0/24
!
! RSPAN: source switch SW1
vlan 999
 remote-span
monitor session 2 source vlan 10 rx
monitor session 2 destination remote vlan 999
! RSPAN: destination switch SW2
monitor session 2 source remote vlan 999
monitor session 2 destination interface GigabitEthernet1/0/24
!
! ERSPAN on a router or Catalyst 9000
monitor session 3 type erspan-source
 source interface GigabitEthernet0/1
 destination
  erspan-id 10
  ip address 10.0.50.60
  origin ip address 1.1.1.1

RSPAN keeps the copy at Layer 2 across trunks (1); ERSPAN wraps it in GRE so it can cross routers (2). The analyser sees the original frames either way.

Limits

Commands

show monitor session allEvery session with sources, direction and destination.
show vlan remote-spanVLANs marked as RSPAN VLANs.
show monitor session 3 detailERSPAN details: ID, destination and origin addresses.

Exam traps

Check yourself

Which method mirrors traffic across a routed network?
ERSPAN.
What must be configured on the VLAN used by RSPAN?
remote-span, on every switch it crosses, and it must be allowed on the trunks.
Why can a SPAN destination drop copies?
The mirrored traffic (especially rx and tx of a busy port) can exceed the destination port's bandwidth.

Labs

Try it live: See the traffic: Flexible NetFlow, SPAN and RSPAN

More topics in 4.0 Network Assurance