SlideShare a Scribd company logo
CISCO CCIE SPAN RSPAN ERSPAN
CISCO CCIE SPAN RSPAN ERSPAN
SPAN RSPAN and ERSPAN
By : Khawar Nehal
Applied Technology Research Center
http://atrc.net.pk
khawar@atrc.net.pk
24 November 2015
SPAN RSPAN and ERSPAN
Hierarchy of this topic
Courses / ICT / Networking / Cisco / 
CCIE / SPAN RSPAN and ERSPAN
SPAN RSPAN and ERSPAN
Switch port Analyzer (SPAN) is an efficient, high 
performance traffic monitoring system. 
It duplicated network traffic to one or more monitor 
interfaces as it transverse the switch. 
SPAN RSPAN and ERSPAN
SPAN is used for troubleshooting connectivity 
issues and calculating network utilization and 
performance, among many others. 
There are three types of SPANs supported on 
Cisco products, which are illustrated in below 
diagram.
CISCO CCIE SPAN RSPAN ERSPAN
CISCO CCIE SPAN RSPAN ERSPAN
CISCO CCIE SPAN RSPAN ERSPAN
Local Span
Local SPAN: Mirrors traffic from one or more 
interface on the switch to one or more interfaces 
on the same switch.
Remote SPAN
Remote SPAN (RSPAN): An extension of SPAN 
called remote SPAN or RSPAN. RSPAN allows 
you to monitor traffic from source ports distributed 
over multiple switches, which means that you can 
centralize your network capture devices.
Remote SPAN
RSPAN works by mirroring the traffic from the 
source ports of an RSPAN session onto a VLAN 
that is dedicated for the RSPAN session. 
Remote SPAN
This VLAN is then trunked to other switches, 
allowing the RSPAN session traffic to be 
transported across multiple switches. 
On the switch that contains the destination port for 
the session, traffic from the RSPAN session VLAN 
is simply mirrored out the destination port.
ERSPAN
Encapsulated remote SPAN (ERSPAN): 
encapsulated Remote SPAN (ERSPAN), as the 
name says, brings generic routing encapsulation 
(GRE) for all captured traffic and allows it to be 
extended across Layer 3 domains. 
ERSPAN
ERSPAN is a Cisco proprietary feature and is 
available only to Catalyst 6500, 7600, Nexus, and 
ASR 1000 platforms to date. 
The ASR 1000 supports ERSPAN source 
(monitoring) only on Fast Ethernet, Gigabit 
Ethernet, and port­channel interfaces. 
 Configuration Example:
Configuring Local SPAN: Local SPAN configures 
using “monitor session” command specifying 
source and destination on the same switch.
 Configuration Example:
Switch1# configure terminal
Switch1(config)# monitor session 1 source interface fastEthernet0/2
Switch1(config)# monitor session 1 destination interface fastEthernet0/24
Switch1(config)#end
Local SPAN configuration syntax on Cisco IOS release 12.2(33)SXH and beyond as 
shown below.
monitor session 1 type local
source int fa0/2
destination int fa0/24
Configuring RSPAN:
Step1: In order to configure RSPAN you need to 
have an RSPAN VLAN, those VLANs have special 
properties and can’t be assigned to any access 
ports. 
Configuring RSPAN:
To create a VLAN for RSPAN on Cisco IOS, you 
must create the VLAN via the config­vlan 
configuration mode, as opposed to using the older 
VLAN database configuration mode.
Configuring RSPAN:
During the process of defining VLAN parameters, 
you must specify that the new VLAN is an RSPAN 
VLAN by configuring the remote­span VLAN 
configuration command.
Configuring RSPAN:
Switch1# configure terminal
Switch1(config)# vlan 200
Switch1(config­vlan)# remote­span
Switch1(config­vlan)# end
Switch1# show vlan remote­span
Remote SPAN VLANs
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
200
Configuring RSPAN:
Switch2# configure terminal
Switch2(config)# vlan 200
Switch2(config­vlan)# remote­span
Switch2(config­vlan)# end
Switch2# show vlan remote­span
Remote SPAN VLANs
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
200
Configuring RSPAN:
Step2: Then configure the RSPAN on Source 
switch: Unlike SPAN, where the source and 
destination ports exist on the same switch, the 
source and destination ports for an RSPAN 
session reside on different switches. This requires 
a separate RSPAN source session to be 
configured, as well as a separate RSPAN 
destination session to be configured.
Configuring RSPAN:
Switch1# configure terminal
Switch1(config)# monitor session 1 source interface fastEthernet0/2 rx
Switch1(config)# monitor session 1 destination remote vlan 200
reflector­port fastEthernet0/24
Switch1(config)# exit
Switch1# show monitor
Session 1
­­­­­­­­­
Type             : Remote Source Session
Source Ports     :
   Rx           : Fa0/2
Reflector Port   : Fa0/24
Dest RSPAN VLAN   : 200
Step 3
Step3: Configure the RSPAN on destination switch:
Switch2# configure terminal
Switch2(config)# monitor session 1 source remote vlan 200
Switch2(config)# monitor session 1 destination interface fastEthernet0/3
Switch2(config)# exit
Configuring RSPAN:
The RSPAN VLAN should be allowed in ALL 
trunks between the involved switches (Source and 
Destination switches in this case); if you have 
enabled "pruning" in your network, remove the 
RSPAN VLAN from the pruning, with the 
command: “switchport trunk pruning vlan remove 
<RSPAN VLAN ID>” under the interface configure 
as trunk.
GRE
Generic Routing Encapsulation (GRE) is a 
tunneling protocol developed by Cisco Systems 
that can encapsulate a wide variety of network 
layer protocols inside virtual point­to­point links 
over an Internet Protocol network.
QFP
The Cisco QuantumFlow Processor ­ The Engine 
in the ASR 1000 Series.
To be put simply, the Cisco QuantumFlow 
Processor (QFP) is everything on a chip. Gone 
are the days where you bought a large router ­ 
let's pick on the 7200­series ­ and also had to buy 
daughter cards or rely on the main CPU for 
encryption, firewalls, network management, QoS, 
etc. 
ASR
Aggregation Services Routers
ASR
Much more bandwidth is available now than 
during the times of 300­bps modems, but the 
same business principles of saving as much 
bandwidth as possible still applies. It is particularly 
important for enterprises to conserve bandwidth, 
but it also important for service providers. 
ASR
Both segments must have a network architecture 
that can offer higher levels of service for critical 
customers or Layer 7 applications. 
For this reason, routers capable of offering quality 
of service (QoS) that is flexible, scalable, and 
high­performing is more important than ever. 
ASR
 QoS on Cisco ASR 1000 Series Aggregation 
Services Routers offers powerful advanced and 
flexible hardware QoS capability. 
The Cisco ASR 1000 Series Router hardware, 
includes the Cisco QuantumFlow Processor 
(Cisco QFP) and its two chips: Cisco QFP Engine 
and Cisco QFP Traffic Manager.
ASR
Cisco ASR 1000 Series has software QoS 
features and capabilities which can be applied in 
several different architectures and deployments. 
Configuring ERSPAN:
In this example we will capture received traffic on 
the ASR 1002 (GigabitEthernet0/1/0) and send to 
Catalyst 6509 Gig2/2/1. This traffic will simply be 
captured, encapsulated in GRE by ASR 1002 
natively by the QFP chipset and routed over to the 
Catalyst 6509. 
Configuring ERSPAN:
A sniffing station on the 6500 attached to GE2/2/1 
will see the complete Ethernet frame (L2 to L7) 
information.
Configuring ERSPAN:
Configuring source interface, direction of traffic, and ERSPAN session ID on the ASR 
1002.
ASR1002(config)# monitor session 1 type erspan-source
ASR1002(config-mon-erspan-src)# source interface gig0/1/0 rx
ASR1002(config-mon-erspan-src)# no shutdown
ASR1002(config-mon-erspan-src)# destination
ASR1002(config-mon-erspan-src-dst)# erspan-id 101
ASR1002(config-mon-erspan-src-dst)# ip address 10.1.1.1
ASR1002(config-mon-erspan-src-dst)# origin ip address 172.16.1.1
Configuring ERSPAN:
Configuring Catalyst 6509 to receive traffic from the source session on the ASR 1002
SW6509(config)# monitor session 2 type erspan-destination
SW6509(config-mon-erspan-dst)# destination interface
gigabitEthernet2/2/1
SW6509(config-mon-erspan-dst)# no shutdown
SW6509(config-mon-erspan-dst)# source
SW6509(config-mon-erspan-dst-src)# erspan-id 101
SW6509(config-mon-erspan-dst-src)# ip address 10.1.1.1
Configuring ERSPAN:
You can use the show monitor session command to verify the configuration:
ASR1002#sh monitor session 1
Session 1
---------
Type : ERSPAN Source Session
Status : Admin Enabled
Source Ports :
RX Only : Gi0/1/0
Destination IP Address : 10.1.1.1
MTU : 1464
Destination ERSPAN ID : 101
Origin IP Address : 172.16.1.1
Configuring ERSPAN:
To monitor the statistics of monitored traffic, you need to use "show platform hardware qfp 
active feature erspan state" command:
ASR1002#show platform hardware qfp active feature erspan state
ERSPAN State:
Status : Active
Complexes : 1
CPPs : 1
Capabilites :
Max sessions : 1024
Max outputs : 128
Encaps type : ERSPAN type-II
GRE protocol : 0x88BE
MTU : 1464
IP TOS : 0
IP TTL : 255
COS : 0
Configuring ERSPAN:
System Statistics:
DROP src session replica : 0 / 0
DROP term session replica: 0 / 0
DROP receive malformed : 0 / 0
DROP receive invalid ID : 0 / 0
DROP recycle queue full : 0 / 0
DROP no GPM memory : 0 / 0
DROP no channel memory : 0 / 0
Client Debug Config:
Enabled: Info, Warn
Data Path Debug Config:
0x00000000
ASR1002#
Configuring ERSPAN:
Note:  10.1.1.1 is SW6509’s loopback. 172.16.1.1 Is ASR1002's 
loopback. ip address in destination session and ip address in 
source session should match. If they do not then you are likely to 
see dropped packets in the status. 
Thank You
That was all for SPAN, RSPAN and ERSPAN.
If you have questions, please send them to : 
cisco­training@atrc.net.pk
SPAN RSPAN and ERSPAN
By : Khawar Nehal
Applied Technology Research Center
http://atrc.net.pk
khawar@atrc.net.pk
24 November 2015
CISCO CCIE SPAN RSPAN ERSPAN
CISCO CCIE SPAN RSPAN ERSPAN
CISCO CCIE SPAN RSPAN ERSPAN
CISCO CCIE SPAN RSPAN ERSPAN

More Related Content

What's hot (20)

PDF
Open mp directives
Prabhakaran V M
 
PPTX
ccna summer training ppt ( Cisco certified network analysis) ppt. by Traun k...
Tarun Khaneja
 
PPTX
Network management ppt
DheerajPachauri
 
PPTX
Networking in linux
Varnnit Jain
 
PPTX
Operating System Security
Ramesh Upadhaya
 
PPTX
Simple Network Management Protocole
Amin Komeili
 
PPT
routing basics - (static-default-dynamic)
Shanza Sohail
 
PDF
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Edureka!
 
PPT
Network management
Mohd Arif
 
PPTX
Open shortest path first (ospf)
Respa Peter
 
PPTX
Unit 1 network management
bhavikaorg
 
PPT
Firewall Architecture
Yovan Chandel
 
PPTX
SNMP(Simple Network Management Protocol)
Mohammad Awais Javaid
 
PPTX
Network and System Administration
IgguuMuude
 
PDF
Ospf.ppt
Edgardo Scrimaglia
 
PPTX
Cisco Networking (Routing and Switching)
Alan Mark
 
PPTX
Network Management Fundamentals - Back to the Basics
SolarWinds
 
PPT
Presentation On RAID(Redundant Array Of Independent Disks) Basics
Kuber Chandra
 
PDF
CCNA - Routing & Switching Commands
Eng. Emad Al-Atoum
 
Open mp directives
Prabhakaran V M
 
ccna summer training ppt ( Cisco certified network analysis) ppt. by Traun k...
Tarun Khaneja
 
Network management ppt
DheerajPachauri
 
Networking in linux
Varnnit Jain
 
Operating System Security
Ramesh Upadhaya
 
Simple Network Management Protocole
Amin Komeili
 
routing basics - (static-default-dynamic)
Shanza Sohail
 
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Edureka!
 
Network management
Mohd Arif
 
Open shortest path first (ospf)
Respa Peter
 
Unit 1 network management
bhavikaorg
 
Firewall Architecture
Yovan Chandel
 
SNMP(Simple Network Management Protocol)
Mohammad Awais Javaid
 
Network and System Administration
IgguuMuude
 
Cisco Networking (Routing and Switching)
Alan Mark
 
Network Management Fundamentals - Back to the Basics
SolarWinds
 
Presentation On RAID(Redundant Array Of Independent Disks) Basics
Kuber Chandra
 
CCNA - Routing & Switching Commands
Eng. Emad Al-Atoum
 

More from Khawar Nehal [email protected] (20)

PDF
Linux Class 1 Reasons to use linux
Khawar Nehal [email protected]
 
PDF
Same old lessons in investing
Khawar Nehal [email protected]
 
PDF
Linux class 15 26 oct 2021
Khawar Nehal [email protected]
 
PDF
Linux class 10 15 oct 2021-6
Khawar Nehal [email protected]
 
PDF
Linux class 9 15 oct 2021-5
Khawar Nehal [email protected]
 
PDF
Linux class 8 tar
Khawar Nehal [email protected]
 
PDF
File systems linux class 8
Khawar Nehal [email protected]
 
PDF
Linux commands Class 5 - 8 oct 2021
Khawar Nehal [email protected]
 
PDF
Linux course fhs file hierarchy standard
Khawar Nehal [email protected]
 
PDF
Linux passwords class 4
Khawar Nehal [email protected]
 
PDF
Using linux 5 oct 2021 3
Khawar Nehal [email protected]
 
PDF
Everyday uses of linux
Khawar Nehal [email protected]
 
PDF
Computing people
Khawar Nehal [email protected]
 
PDF
Artificial Intelligence by Khawar Nehal
Khawar Nehal [email protected]
 
PDF
Artificial Intelligence in Banking
Khawar Nehal [email protected]
 
PDF
Electric Vehicles
Khawar Nehal [email protected]
 
PDF
Electric Vehicles
Khawar Nehal [email protected]
 
PDF
RevOps Revenue Operations
Khawar Nehal [email protected]
 
PDF
Management techniques of the world by khawar nehal 4 august 2020-1
Khawar Nehal [email protected]
 
PDF
Kona (TM) Autonomous Cars Anti Collision System
Khawar Nehal [email protected]
 
Linux Class 1 Reasons to use linux
Khawar Nehal [email protected]
 
Same old lessons in investing
Khawar Nehal [email protected]
 
Linux class 15 26 oct 2021
Khawar Nehal [email protected]
 
Linux class 10 15 oct 2021-6
Khawar Nehal [email protected]
 
Linux class 9 15 oct 2021-5
Khawar Nehal [email protected]
 
File systems linux class 8
Khawar Nehal [email protected]
 
Linux commands Class 5 - 8 oct 2021
Khawar Nehal [email protected]
 
Linux course fhs file hierarchy standard
Khawar Nehal [email protected]
 
Linux passwords class 4
Khawar Nehal [email protected]
 
Using linux 5 oct 2021 3
Khawar Nehal [email protected]
 
Everyday uses of linux
Khawar Nehal [email protected]
 
Artificial Intelligence by Khawar Nehal
Khawar Nehal [email protected]
 
Artificial Intelligence in Banking
Khawar Nehal [email protected]
 
RevOps Revenue Operations
Khawar Nehal [email protected]
 
Management techniques of the world by khawar nehal 4 august 2020-1
Khawar Nehal [email protected]
 
Kona (TM) Autonomous Cars Anti Collision System
Khawar Nehal [email protected]
 
Ad

Recently uploaded (20)

PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
Market Insight : ETH Dominance Returns
CIFDAQ
 
PPTX
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PPTX
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
PDF
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
Market Insight : ETH Dominance Returns
CIFDAQ
 
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
Ad

CISCO CCIE SPAN RSPAN ERSPAN