With the ever-growing support for flow exports, the need for probes and port mirroring has become a lot more limited. There are certain environments where it’s a requirement, however, and physically impossible to position a probe near a device that we want to port mirror from. In these situations, it’s important for the probe to have support for a remote span.

Today I’ll walk through how to configure an ERPSAN within VMware and Cisco switches.

Configuring ERSPAN within VMware

  1. Start by logging in to the vSphere Web Client and selecting the virtual distributed switch you want to monitor traffic from
  2. Select the Manage tab, then select Settings
  3. Select Port Mirroring
  4. Select New to create a port mirroring session to mirror VDS traffic to specific physical switch ports
    • In the ‘select session type’ section, choose Encapsulated Remote Mirroring (L3) Source then select Next
    • Under the Edit Properties section, assign a name, description and session details for the new port mirroring session.
    • Select Enabled from the status dropdown list and the click Next
    • In the ‘select sources’ section, select existing ports or create new source ports and click Next
    • In the ‘select destinations’ section, click the green (+) sign to add the IP address(es) that should receive traffic
    • In the ‘ready to complete’ section, verify the information and click Finish

Configuring ERSPAN within Cisco Devices

Create an ERSPAN source session:

  1. Enable
  2. Conf t
  3. Interface interface-type interface-number
  4. Plim Ethernet vlan filter disable
  5. Monitor session span-session-number type erspan-source
  6. Description string
  7. [no] header-type 3
  8. Source interface interface-name interface-number
  9. Source vlan {id-single | id-list | id-range | id-mixed} [rx | tx | both]
  10. Filter vlan {id-single | id-list | id-range | id-mixed}
  11. Filter access-group acl-filter
  12. Destination
    • Erspan-id erspan-flow-id
    • Ip address ip-address
    • Ip prec prec-value
    • Ip dscp dscp-value
    • Ip ttl ttl-value
    • Mtu mtu-size
    • Origin ip address ip-address [force]
    • Vrf vrf-id
    • No shutdown
    • End

Create an ERSPAN Destination Session

  1. Enable
  2. Conf t
  3. monitor session session-number type erspan-destination
  4. description string
  5. destination interface {gigabitethernet | port-channel} [interface-number]
  6. source
    • erspan-id erspan-flow-id
    • ip address ip-address [force]
    • vrf vrf-id
    • no shutdown
    • end

Create an ERSPAN Destination Session

Create an ERSPAN Destination Session CLI

Plixer FlowPro Series

So far, we’ve touched on the need in some environments for a probe, as well the ability to configure and use an ERSPAN. Fortunately, Plixer’s FlowPro series can natively decrypt GRE traffic sent using ERSPAN!

Plixer offers three different models of the FlowPro (that can be deployed in a single virtual or hardware appliance), the FlowPro APM and FlowPro Defender. The image below shows the capabilities of each model.

[table id=74 /]

As you can see the FlowPro APM is designed to provide Layer 7 visibility and application performance metrics such as latency, packet loss and jitter statements for VoIP traffic. The Defender series, on the other hand, is designed to perform deep packet inspection to pull DNS-specific elements that are then used to monitor for security events like command and control communications, data exfiltration, and FQDN (Fully Qualified Domain Name) reporting.

If you’d like to gain deeper insight into your application performance statistics or enhance your existing security infrastructure, don’t hesitate to try a fully supported Scrutinizer evaluation or FlowPro evaluation.

Jeff Morrison

Jeff Morrison

Jeff Morrison is a Solutions Engineer here at Plixer. He is responsible for travelling on-site to provide assistance with initial deployment, setup and design, in-depth training, and custom configurations. While in the office Jeff is responsible for providing technical assistance on initial overviews, providing training for internal resources, and researching integrations with 3rd-party vendors. When not on the road travelling, he enjoys playing music, riding motorcycles, video games, and spending time with friends and family.

Related