Views:

Configure external network traffic with the VMware vSphere Distributed Switch using RSPAN to allow Virtual Network Sensor to monitor data.

Important
Important
The following instructions are valid as of July 2023.
Note
Note
You must use a vCenter administrator account.

Procedure

  1. Turn off your Virtual Network Sensor.
  2. On the VMware vCenter console, click the circle-icon.png tab.
  3. Right-click the name of your data center, and go to Distributed SwitchNew Distributed Switch....
    external-vds-rspan1.png
  4. On the Name and location screen, specify the distributed switch name and location and click NEXT.
    external-vds-rspan2.png
  5. On the Select version screen, select your distributed switch version and click NEXT.
    external-vds-rspan3.png
  6. On the Configure settings screen, specify the number of uplinks and click NEXT.
    external-vds-rspan4.png
  7. On the Ready to complete screen, review the settings and click FINISH.
    external-vds-rspan5.png
  8. Right-click the name of your switch and select Add and Manage Hosts....
    external-vds-rspan6.png
  9. On the Select task screen, select Add hosts and click NEXT.
    external-vds-rspan7.png
  10. On the Select hosts screen, select your virtual machine and click NEXT.
    external-vds-rspan8.png
  11. On the Manage physical adapters screen, right-click the name of your NIC and select Uplink 1.
    external-vds-rspan9.png
  12. Click NEXT.
  13. On the Manage VMkernel adapters screen, click NEXT.
    external-vds-rspan10.png
  14. On the Migrate VM networking screen, click NEXT.
    external-vds-rspan11.png
  15. On the Ready to complete screen, click FINISH.
    external-vds-rspan12.png
  16. Click the name of your switch and click Networks.
    external-vds-rspan13.png
  17. Right-click the name of your port group and select Edit Settings....
  18. Click VLAN, select VLAN trunking for VLAN type, and click OK.
    external-vds-rspan14.png
  19. Click the vmware-vcenter-serve.png tab and then click the name of your virtual appliance.
    external-vds-rspan15.png
  20. Click edit-settings-icon.png.
  21. On the Edit Settings screen, click Network adapter 2 and select Browse....
    external-vds-rspan16.png
  22. Click the name of your port group and click OK.
    external-vds-rspan17.png
  23. Click OK.
  24. Click the circle-icon.png tab and then click the name of your switch.
    external-vds-rspan18.png
  25. Click Configure, click Port Mirroring, and click NEW....
  26. On the Select session type screen, select Remote Mirroring Destination and click NEXT.
    external-vds-rspan19.png
  27. On the Edit properties screen, select Enabled for the status and click NEXT.
    external-vds-rspan20.png
  28. On the Select sources screen, click ADD and type the VLAN ID you specified in your RSPAN settings.
    external-vds-rspan21.png
  29. On the Select destinations screen, select the port where the mirrored traffic is sent to and click NEXT.
    external-vds-rspan22.png
  30. On the Ready to complete screen, review the settings and click FINISH.
  31. Turn on your Virtual Network Sensor.