Hyper-V Trunk Mode Command not working

Hieu Khuu 1 Reputation point
2022-05-07T13:26:24.93+00:00

Dear All.

I'm running Windows Server 2019 Standard and I'm running Pfsense VM on Hyper-V. I wanna config vlan on pfsense with my Aruba Switch,

I use trunk mode on VMNetworkAdapter:

Get-VMNetworkAdapterVlan -VMName "Pfsense2.4.4" | Where-Object {$_.MacAddress -eq "XXXXXXXXXX"} | Set-VMNetworkAdapterVlan -Trunk -AllowedVlanIdList "10" -NativeVlanId 0

When I enter the command I don' see any error, but when I check the VMNetworkAdapterVlan.

It does not turn to Trunk mode.

199923-hyper-v.png

How can I fix this problem?

Thank you very much in advance for any feedback.

Windows for business Windows Client for IT Pros Storage high availability Virtualization and Hyper-V
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.