It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda XDR

Barracuda Campus is getting an upgrade!

We are excited to announce that Barracuda Campus will migrate to a new platform around mid-January 2026. Please see the announcement on the Campus Dashboard to find out more.

Configuring Port Mirroring on Hyper-V

  • Last updated on
  1. In Hyper-V manager, in the right navigation panel, click Virtual Switch Manager.

  2. Click External, then click Create New Virtual Switch.

  3. Type an appropriate name for the switch. For example, Virtual_Switch_Name.

  4. Select the physical NIC you identified and designate it as the external NIC to connect.

  5. Click OK.

  6. On the Hyper-V host, as an Administrator, open a PowerShell session.

  7. Execute the following commands, which enable the virtual switch to receive packets from the physical mirror port:
    $a = Get-VMSystemSwitchExtensionPortFeature -FeatureId 776e0ba7-94a1-41c8-8f28-951f524251b5
    $a.SettingData.MonitorMode = 2
    add-VMSwitchExtensionPortFeature -ExternalPort -SwitchName <virtual_switch_name> -VMSwitchExtensionFeature $a, where  <virtual_switch_name> is the name of the virtual switch you identified in Step 4.

  8. In the right navigation panel, click Virtual Switch Manager.

  9. Click the + button next to the virtual switch you identified in Step 4.

  10. Click Extensions.

  11. Ensure Microsoft NDIS Capture is selected.

  12. Click OK.