SPAN, RSPAN, ERSPAN Flashcards
What does SPAN mean?
Switchport Analyzer - this is basically just mirroring a switchport
What are the three types of SPANs and what is the difference between each one?
SPAN - capture on a local switch
RSPAN - capture on a remote switch
ERSPAN - capture on a remote network
What commands would you use to configure a Cisco switch to mirror ports fa0/1 and fa0/2 and send the traffic to fa0/24?
SWITCH1# conf t
SWITCH1(config)# monitor session 1 source interface fastEthernet 0/1 - 2
SWITCH1(config)# monitor session 1 destination interface fastEthernet 0/24
What command would you use to see how many span sessions are supported on the switch at once?
SWITCH1(config)# monitor session ?
What is the key configuration element you need to configure to perform RSPAN?
A dedicated VLAN must be established on the source and destination switches and permitted across the trunk.
What commands would you need to configure RSPAN from the source ports of Switch2 on fa0/1 and fa0/2 to the destination port of fa0/24 on Switch1?
SWITCH2(config)# vlan 99
SWITCH2(config-vlan)# remote-span
SWITCH2(config)# monitor session 1 source interface fastEthernet 0/1 - 2
SWITCH2(config)# monitor session 1 destination remote vlan 99
SWITCH1(config)# vlan 99
SWITCH1(config-vlan)# remote-span
SWITCH1(config)# monitor session 1 source remote vlan 99
SWITCH1(config)# monitor session 1 destination fastEthernet 0/24
What commands are needed to configure ERSPAN on a remote switch?
RemoteSW1(config)# monitor session 1 type erspan-source
RemoteSW1(config-mon-erspan-src)# source interface gi0/10 both
RemoteSW1(config-mon-erspan-src)# no shut
RemoteSW1(config-mon-erspan-src)# destination
RemoteSW1(config-mon-erspan-src-dst)# ip address <ip></ip>
RemoteSW1(config-mon-erspan-src-dst)# erspan-id 2
RemoteSW1(config-mon-erspan-src-dst)# origin ip <ip></ip>
What commands are needed to configure ERSPAN on the local switch?
LocalSW1(config)# monitor session 1 type erspan-destination
LocalSW1(config-mon-erspan-dst)# no shut
LocalSW1(config-mon-erspan-dst)# destination interface gigabitEthernet 0/2
LocalSW1(config-mon-erspan-dst)# source
LocalSW1(config-mon-erspan-dst-src)# erspan-id 2
LocalSW1(config-mon-erspan-dst-src)# ip address <ip></ip>
LocalSW1(config-mon-erspan-dst-src)# origin ip address <ip></ip>
What show command(s) can you use to verify a SPAN session is running?
show monitor session all
show monitor session <session></session>