You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/defender-for-iot/organizations/traffic-mirroring/configure-mirror-hyper-v.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ Where:
44
44
|**vSwitch_Span**|Newly added SPAN virtual switch name |
45
45
|**Ethernet**|Physical adapter name |
46
46
47
-
Learn how to [Create and configure a virtual switch with Hyper-V](https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/get-started/create-a-virtual-switch-for-hyper-v-virtual-machines?tabs=powershell#create-a-virtual-switch)
47
+
Learn how to [Create and configure a virtual switch with Hyper-V](https://learn.microsoft.com/windows-server/virtualization/hyper-v/get-started/create-a-virtual-switch-for-hyper-v-virtual-machines?tabs=powershell#create-a-virtual-switch)
48
48
49
49
### Create a new virtual switch with Hyper-V Manager
50
50
@@ -64,13 +64,13 @@ Learn how to [Create and configure a virtual switch with Hyper-V](https://learn.
64
64
65
65
## Attach a SPAN Virtual Interface to the virtual switch
66
66
67
-
Use Windows PowerShell or Hyper-V Manager to attach a SPAN virtual interface to the virtual switch you created when you [configured the traffic mirroring port](#configure-a-traffic-mirroring-port-with-hyper-v).
67
+
Use Windows PowerShell or Hyper-V Manager to attach a SPAN virtual interface to the virtual switch you [created earlier](#configure-a-traffic-mirroring-port-with-hyper-v).
68
68
69
69
If you use PowerShell, define the name of the newly added adapter hardware as `Monitor`. If you use Hyper-V Manager, the name of the newly added adapter hardware is set to `Network Adapter`.
70
70
71
71
### Attach a SPAN virtual interface to the virtual switch with PowerShell
72
72
73
-
1. Select the newly added SPAN virtual switch you created when you [configured the traffic mirroring port](#configure-a-traffic-mirroring-port-with-hyper-v), and run the following command to add a new network adapter:
73
+
1. Select the newly added SPAN virtual switch you [created earlier](#configure-a-traffic-mirroring-port-with-hyper-v), and run the following command to add a new network adapter:
@@ -108,7 +108,7 @@ If you use PowerShell, define the name of the newly added adapter hardware as `M
108
108
109
109
## Turn on Microsoft NDIS capture extensions with PowerShell
110
110
111
-
Turn on support for [Microsoft NDIS Capture Extensions](/windows-hardware/drivers/network/capturing-extensions) for the virtual switch you created when you [configured the traffic mirroring port](#configure-a-traffic-mirroring-port-with-hyper-v).
111
+
Turn on support for [Microsoft NDIS Capture Extensions](/windows-hardware/drivers/network/capturing-extensions) for the virtual switch you [created earlier](#configure-a-traffic-mirroring-port-with-hyper-v).
112
112
113
113
**To enable Microsoft NDIS capture extensions for your new virtual switch**:
## Turn on Microsoft NDIS capture extensions with Hyper-V Manager
120
120
121
-
Turn on support for [Microsoft NDIS Capture Extensions](/windows-hardware/drivers/network/capturing-extensions) for the virtual switch you created when you [configured the traffic mirroring port](#configure-a-traffic-mirroring-port-with-hyper-v).
121
+
Turn on support for [Microsoft NDIS Capture Extensions](/windows-hardware/drivers/network/capturing-extensions) for the virtual switch you [created earlier](#configure-a-traffic-mirroring-port-with-hyper-v).
122
122
123
123
**To enable Microsoft NDIS capture extensions for your new virtual switch**:
124
124
@@ -134,7 +134,7 @@ Turn on support for [Microsoft NDIS Capture Extensions](/windows-hardware/driver
134
134
135
135
## Configure the switch's mirroring mode
136
136
137
-
Configure the mirroring mode on the virtual switch you'd[created earlier](#configure-a-traffic-mirroring-port-with-hyper-v) so that the external port is defined as the mirroring source. This includes configuring the Hyper-V virtual switch (vSwitch_Span) to forward any traffic that comes to the external source port to a virtual network adapter configured as the destination.
137
+
Configure the mirroring mode on the virtual switch you [created earlier](#create-a-new-virtual-switch-with-powershell) so that the external port is defined as the mirroring source. This includes configuring the Hyper-V virtual switch (vSwitch_Span) to forward any traffic that comes to the external source port to a virtual network adapter configured as the destination.
138
138
139
139
To set the virtual switch's external port as the source mirror mode, run:
140
140
@@ -148,7 +148,7 @@ Where:
148
148
149
149
| Parameter | Description |
150
150
|--|--|
151
-
|**vSwitch_Span**| Name of the virtual switch you'd[created earlier](#configure-a-traffic-mirroring-port-with-hyper-v)|
151
+
|**vSwitch_Span**| Name of the virtual switch you [created earlier](#configure-a-traffic-mirroring-port-with-hyper-v)|
152
152
|**MonitorMode=2**| Source |
153
153
|**MonitorMode=1**| Destination |
154
154
|**MonitorMode=0**| None |
@@ -179,7 +179,7 @@ Where:
179
179
|**1010-1020**|VLAN range from which IoT traffic is mirrored |
180
180
|**10**|tive VLAN ID of the environment |
181
181
182
-
Learn more about the [Set-VMNetworkAdapterVlan](https://learn.microsoft.com/en-us/powershell/module/hyper-v/set-vmnetworkadaptervlan?view=windowsserver2022-ps) PowerShell cmdlet.
182
+
Learn more about the [Set-VMNetworkAdapterVlan](https://learn.microsoft.com/powershell/module/hyper-v/set-vmnetworkadaptervlan) PowerShell cmdlet.
0 commit comments