Manual
+7(495) 797-3311 www.qtech.ru 
Москва, Новозаводская ул., 18, стр. 1 
434 
SwitchB (config-router)#exit 
(4) Configure Device C (the destination device) 
#  Create  interface  Tunne1,  and  configure  an  IP  address  and  mask  for 
it. 
SwitchC(config)#interface tunnel 1 
SwitchC (config-if-tunnel1)# tunnel mode gre ip 
SwitchC (config-if-tunnel1)#ip address 50.1.1.2 255.255.255.0 
#  Configure  Tunnel1  to  operate  in  GRE  tunnel  mode,  and  configure 
source and destination IP addresses for it. 
SwitchC (config-if-tunnel1)# tunnel source 40.1.1.1 
SwitchC (config-if-tunnel1)# tunnel destination 10.1.1.1 
SwitchC (config-if-tunnel1)# exit 
# Configure OSPF protocol. 
SwitchC (config)#router ospf 
SwitchC (config-router)#network 0.0.0.0/0 area 0 
SwitchC (config-router)#exit 
#  Configure  Ethernet  1/1  as  a  source  port  and  Ethernet  1/2  as  the 
destination port of local mirroring group 1. 
SwitchC (config)#monitor session 1 destination interface ethernet 1/2 
SwitchC (config)#monitor session 1 source interface ethernet 1/1 rx 
59.4 ERSPAN Troubleshooting 
If problems occur when configuring ERSPAN, please check whether the problem is caused by 
the following reasons: 
   Make sure GRE tunnel configuration to ensure the normal transmission for the traffic.  
   If the throughput of mirror destination port is smaller than the total throughput of mirror 
source port(s), the destination port will not be able to duplicate the traffic of all source 
port;  please  decrease  the  number  of  source  ports,  duplicate  traffic  for  one  direction 
only or choose a port with greater throughput as the destination port. 










