The Encapsulated Remote Switched Port Analyzer (ERSPAN) enables you to monitor traffic on multiple network interfaces or VLANs and then send the monitored traffic to one or more destinations. We support the VMware Encapsulated Remote Mirroring Source packet mirror feature, an ERSPAN-like capability.
The following procedures explain how to configure an interface on the ExtraHop system to receive ERSPAN traffic and how to configure the VMware server with the vSphere Web Client.
For more information about configuring networking on the ExtraHop system, see the ExtraHop Admin UI Guide.
For more information about configuring the VMware vSphere server, see the Working with Port Mirroring section in the ESXi and vCenter Server 6.0 Documentation.
- Log in to the Administration settings on the ExtraHop system through https://<extrahop-hostname-or-IP-address>/admin.
- In the Network Settings, click Connectivity.
In the Interfaces section, click Interface
Note: If you select Interface 1 for management and Interface 2 for ERSPAN, you cannot configure both interfaces on the same subnet.
- Select Management Port + RPCAP/ERSPAN/VXLAN Target from the Interface Mode drop-down list.
- Complete the remaining fields and then click Save.
Depending on your configuration, configure or disable the remaining
Note: For more information about setting up network interfaces, see the Connectivity section in the ExtraHop Administration Guide.
- Log in to the vSphere Web Client and select the vSphere distributed switch (VDS) from which you want to monitor traffic.
- Click the Manage tab, and then click Settings.
- Click Port Mirroring.
Click New... to create a port mirroring session to
mirror vSphere distributed switch traffic to specific physical switch
Tip: For detailed information about creating a port mirroring session, see your vSphere documentation.
- In the Select session type section, select Encapsulated Remote Mirroring (L3) Source and click Next.
- In the Edit properties section, specify the name, description, and session details for the new port mirroring session. Select Enabled from the Status drop-down list and then click Next.
In the Select sources section, select existing
ports or create new source ports and then click
Warning: Do not include any VMkernel (vmk) ports, any ports connected to the virtual Reveal(x) sensor, or any ports that might be carrying the ERSPAN data created by this mirror. Adding these ports will compound the traffic destined for the sensor and disrupt the networking capabilities of the dvSwitch, causing any hosts or interfaces participating in the dvSwitch to become permanently unavailable.
- In the Select Destinations section, click the green plus (+) sign to add the IP addresses that should receive the traffic.
- In the Ready to complete section, verify the settings and then click Finish.
Tip: Consider turning off TCP segmentation offloading on the operating systems where the forwarded communication is coming from.