Configuration Guide    ERSPAN Configuration 
Typical ERSPAN Configuration Examples   
Topological Diagram 
 
Figure 2 ERSPAN application topology 
Application Requirements 
  The network analyzer can monitor the user via remote mirroring. 
  Data can be exchanged normally between devices. 
Configuration Tips 
On the source device, set the port (Gi 0/1) directly connected with user as the 
source port, and set the port (Gi 0/2) connected with the intermediate device as 
the output port. 
On the intermediate device, the ports (Gi 0/1 and Gi 0/2) respectively connected 
with the source and destination devices should be the member ports of SVI port 
in two network segments, and the two IP network segments must be able to 
communicate with each other.   
 
Configuration Steps 
Configure the ERSPAN source device. 
! On the switch A, create the ERSPAN Session 1; configure this switch as the 
source device and configure the port Gi 0/1 as the source port. 
SwitchA(config)#monitor session 1 erspan-source 
SwtichA(config-mon-erspan-src)#source interface gigabitEthernet 0/1 both 
SwtichA(config-mon-erspan-src)#origin ip address 10.1.1.2 
SwtichA(config-mon-erspan-src)#destination ip address 12.1.1.2