Using advanced settings for virtual networks
Creating and adding a virtual switch to a virtual machine is not the end of the story in Windows Server 2012 Hyper-V. Many of the features and settings were introduced in this new version, which can be configured using the graphical interface, such as DHCP Guard, Router Guard, port mirroring, and other options that require PowerShell such as Port ACLs, for example.
If you think this is not enough, no problem! Hyper-V introduced extensible switches, allowing you to write your own code, creating new capabilities for monitoring, forwarding, and filtering virtual switch traffic.
This recipe will cover these advanced networking features and explain how they work.
Getting ready
This recipe shows the advanced options of a virtual switch, but note that it doesn't show how to create one. Use the previous recipe to create a virtual switch before you start the next steps.
How to do it...
The following steps will demonstrate all the advanced virtual switch options...