# ERSPAN Configuration on Cisco IOS XE

**URL:** https://forum.networklessons.com/t/erspan-configuration-on-cisco-ios-xe/1344
**Category:** Lessons Discussion
**Created:** [December 29, 2016, 9:25pm UTC](https://forum.networklessons.com/t/erspan-configuration-on-cisco-ios-xe/1344 "2016-12-29T21:25:49Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![lagapidis](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/lagapidis/32/4949_2.png) [@lagapidis](https://forum.networklessons.com/u/lagapidis)
#### Post date: [May 28, 2017, 5:04pm UTC](https://forum.networklessons.com/t/erspan-configuration-on-cisco-ios-xe/1344/3 "2017-05-28T17:04:28Z")

</div>

Hello Chris.

Yes, you are correct. @ReneMolenaar states that:

> For the destination we have to specify:  
> …

> - Source IP address: has to match with the origin IP address of the source session.

It should read:

> - Source IP address, which is the **same as the destination IP address** of the corresponding source session

as stated in [Cisco Documentaiton](http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/lanswitch/configuration/xe-3s/lanswitch-xe-3s-book/lnsw-conf-erspan.html#GUID-4CAB13D7-0803-4D67-B720-4AB56A978FEF).

So, the **Source IP address** stated should be the IP address of the Wireshark PC as shown in the last line of Rene’s configuration:

 ![](https://cdn-forum.networklessons.com/uploads/default/original/1X/3dd40bb142c45b5059ea3b5284b4ef493a7d12d2.png)

I will let @ReneMolenaar know to update it.

As for the GRE tunnel, that exists only between the two routers, specifically, between the two Gi3 interfaces. Note that packets captured by the Wireshark PC do not include any of the GRE headers as these are stripped before being passed on.

I hope this has been helpful!

Laz

---

_[View the full topic](https://forum.networklessons.com/t/erspan-configuration-on-cisco-ios-xe/1344)._
