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
Sets the virtual switch in the management OS to the Access mode.
112
+
Traffic sent by this virtual switch is tagged with VLAN ID 20.
113
+
106
114
## PARAMETERS
107
115
108
116
### -Access
109
-
Specifies **Access** mode for the virtual machine network adapter.
110
-
This parameter must be specified in conjunction with parameter **VlanId**.
117
+
Specifies **Access** mode for the virtual machine network adapter. This parameter configures an untagged virtual port with the VLANId (port based VLAN), so it must be specified together with **VlanId**.
Specifies **Trunk** mode for the virtual machine network adapter.
360
+
Specifies **Trunk** mode for the virtual machine network adapter. This parameter configures a tagged virtual port that passes all allowed VLANId tags to the VM adapter. Traffic with the NativeVLANId is passed untagged to the VM adapter.
354
361
This parameter must be used in conjunction with parameters **AllowedVlanIdList** and **NativeVlanId**.
355
362
356
363
```yaml
@@ -488,4 +495,4 @@ If **-PassThru** is specified.
488
495
## NOTES
489
496
490
497
## RELATED LINKS
491
-
498
+
[Configure and View VLAN Settings on Hyper-V Virtual Switch Ports](https://docs.microsoft.com/windows-server/virtualization/hyper-v-virtual-switch/configure-and-view-vlan-settings-on-hyper-v-virtual-switch-ports)
0 commit comments