Events
Apr 29, 2 PM - Apr 30, 7 PM
Join the ultimate Windows Server virtual event April 29-30 for deep-dive technical sessions and live Q&A with Microsoft engineers.
Sign up nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This article describes how to create logical switches in the System Center Virtual Machine Manager (VMM) fabric.
This article describes how to create logical switches in the System Center Virtual Machine Manager (VMM) fabric, convert a host virtual switch to a logical switch, and set up virtual switch extensions if you need them.
A logical switch brings virtual switch extensions, port profiles, and port classifications together so that you can configure each network adapter with the settings you need and have consistent settings on network adapters across multiple hosts. You can team multiple network adapters by applying the same logical switch and uplink port profile to them.
You install switch extensions on the VMM server and then include them in a logical switch. There are a few types of switch extensions:
You can set up a virtual switch extension manager (network manager) if you want to manage extensions using a vendor management console and the VMM console together.
Ensure that you've at least one uplink port profile before you begin.
Select Fabric tab > Networking > Logical Switches > Create Logical Switch.
In Create Logical Switch Wizard > Getting Started, review the information.
In General, specify a name and optional description.
In Uplink Mode, select:
In Settings, select the minimum bandwidth mode. If you've deployed Microsoft network controller, you can specify that it must manage the switch. If you enable this setting, you won't be able to add extensions to the switch.
Enable SR-IOV if you need to. SR-IOV enables virtual machines to bypass the switch and directly address the physical network adapter. If you want to enable:
In Extensions, if you're using virtual switch extensions, select them and arrange the order. Extensions process network traffic through the switch in the order you specify.
Note
Only one forwarding extension can be enabled.
If a host in the VMM fabric has a standard virtual switch, you can convert it to use as a logical switch.
Note
In Server Manager on the host, select Hyper-V. Close Server Manager.
Right-click the host > Configure NIC Teaming, and record any teaming and load balancing settings.
In Hyper-V Manager, right-click the host > Virtual Switch Manager. Select the virtual switch and verify whether Enable single-root I/O virtualization (SR-IOV) is selected. Close the Hyper-V Manager.
In the VMM console > Fabric > Servers > All Hosts, right-click the host > Properties.
In Virtual Switches, note the properties, including logical network and minimum bandwidth mode.
In Fabric > Networking > Logical Switches, right-click the logical switch that you want to convert the host configuration to and select Properties.
In Logical Switches, record the information:
In Fabric > Networking, select Port Profiles. For any relevant port profiles, select Properties. In Offload Settings, see if Enable Single-root I/O virtualization is checked.
Now compare the recorded information that you recorded for the logical switch and port profiles, with the virtual switch information.
Review the following table to see whether you can convert the host to use the logical switch.
Item | Conversion |
---|---|
SR-IOV | The SR-IOV setting (enabled or disabled) must be the same in the logical switch as it's in the virtual switch. If SR-IOV is enabled, it must be enabled in the logical switch itself, and in at least one virtual network adapter port profile within the logical switch. |
Uplink mode Load balancing algorithm Teaming mode |
The Uplink mode setting must match. If the uplink mode is Team, then the Load balancing algorithm and Teaming mode must also match. |
Minimum bandwidth mode | Must match. |
Network sites | The logical switch must be configured for the correct network sites (in the correct logical network) for this host. |
If the settings in the logical switch don't match as described in the table, you need to find or create a logical switch that does match.
Note
Note
Create a logical switch in VMM with the same name as the SET switch that is deployed on the host. Standard switch will be converted to this logical switch after you run the following script on the host.
#Replace Virtual Switch name with already deployed switch name on host
$VirtualSwitchName="SETswitch"
#Replace logical switch ID below with the one got from Get-SCLogicalSwitch cmdlet for the switch created in VMM
$LogicalSwitchId="45b98a8d-1887-4431-9f20-8b9beed853ce"
#Replace the port profile set name with the one created and associated with the above logical switch in VMM
$PortProfileSetName="Mgmt_UPP"
#Replace uplink port profile set ID with the one got from Get-SCUplinkPortProfileSet for the port profile set created in VMM
$PortProfileSetId="fd9e4c9a-4ffa-4845-808d-930e6616b62f"
$vswitch=Get-VMSwitch -Name $VirtualSwitchName
$VMMPortFeatureId="1f59a509-a6ba-4aba-8504-b29d542d44bb"
$defaultPortFeature = Get-VMSystemSwitchExtensionPortFeature -FeatureId $VMMPortFeatureId
$VMMFeatureId="8b54c928-eb03-4aff-8039-99171dd900ff"
$currentFeature = Get-VMSwitchExtensionSwitchFeature -SwitchName $VirtualSwitchName -FeatureId $VMMFeatureId
$defaultFeature = Get-VMSystemSwitchExtensionSwitchFeature -FeatureId $VMMFeatureId
$defaultFeature.SettingData.LogicalSwitchId=$LogicalSwitchId
$defaultFeature.SettingData.LogicalSwitchName=$VirtualSwitchName
Add-VMSwitchExtensionSwitchFeature -SwitchName $VirtualSwitchName -VMSwitchExtensionFeature $defaultFeature
$defaultPortFeature = Get-VMSystemSwitchExtensionPortFeature -FeatureId $VMMPortFeatureId
$defaultPortFeature.SettingData.PortProfileSetId=$PortProfileSetId
$defaultPortFeature.SettingData.PortProfileSetName=$PortProfileName
$defaultPortFeature.SettingData.NetCfgInstanceId="{" + $vswitch.Id +"}"
Add-VMSwitchExtensionPortFeature -SwitchName $VirtualSwitchName -VMSwitchExtensionFeature $defaultPortFeature –ExternalPort
After you run the script, refresh the host in VMM, and verify if VMM recognizes the switch as a logical switch.
This article describes how to create logical switches in the System Center Virtual Machine Manager (VMM) fabric, convert a host virtual switch to a logical switch, and set up virtual switch extensions if you need them.
A logical switch brings virtual switch extensions, port profiles, and port classifications together so that you can configure each network adapter with the settings you need and have consistent settings on network adapters across multiple hosts. You can team multiple network adapters by applying the same logical switch and uplink port profile to them.
You install switch extensions on the VMM server and then include them in a logical switch. There are a few types of switch extensions:
You can set up a virtual switch extension manager (network manager) if you want to manage extensions using a vendor management console and the VMM console together.
Note
Ensure you've at least one uplink port profile before you begin.
Select Fabric > Networking
Right-click Logical Switches, and then select Create Logical Switch.
In Create Logical Switch Wizard > Getting Started, review the information.
In General,
In Uplink Mode, select:
From VMM 2019 UR2, Embedded Team is the default Uplink mode.
In Settings, select the minimum bandwidth mode. If you've deployed Microsoft network controller, you can specify that it must manage the switch. If you enable this setting, you won't be able to add extensions to the switch.
Enable SR-IOV if you need to. SR-IOV enables virtual machines to bypass the switch and directly address the physical network adapter. If you want to enable:
In Extensions, if you're using virtual switch extensions, select them and arrange the order. Extensions process network traffic through the switch in the order you specify.
Note
Only one forwarding extension can be enabled. From VMM 2019 UR2, none of the extensions are enabled by default.
In Virtual Port, add one or more port classifications and virtual network adapter port profiles. Every Port Classification must be mapped to a Port Profile. From VMM 2019 UR2, you can view Port Classification to Port Profile mapping on the Virtual Port screen.
In Uplink, add an uplink port profile, or create a new one. When you add an uplink port profile, it's placed in a list of profiles that are available through that logical switch. However, when you apply the logical switch to a network adapter in a host, the uplink port profile is applied to that network adapter only if you select it from the list of available profiles.
If Uplink is chosen as Embedded Team (Switch Embedded Team or SET), then only Hyper-V Port and Dynamic load balancing algorithms are supported. Hyper-V Port is the default load balancing algorithm. If Uplink mode is chosen as Embedded Team, then Hyper-V Port is the recommended load balancing algorithm; Dynamic isn't recommended.
In Summary, review the settings and select Finish. Verify if the switch created appears in Logical Switches.
Note
This feature is available from VMM 2019 UR2.
From VMM 2019 UR2, you can view the logical switch topology. To view, right-click the logical switch name, and then select View Topology. The topology diagram displays the following information.
If a host in the VMM fabric has a standard virtual switch with or without SET, you can convert it to use as a logical switch.
Note
Record if NIC Teaming (LBFO) or SET is being used on the host.
If you're using NIC teaming on the host, record teaming and load balancing settings by running the PowerShell commandlet Get-NetLbfoTeam.
In Hyper-V Manager, right-click the host > Virtual Switch Manager. Select the virtual switch and verify whether Enable single-root I/O virtualization (SR-IOV) is selected. Close Hyper-V Manager.
In the VMM console > Fabric > Servers > All Hosts, right-click the host > Properties.
In Virtual Switches, note the properties, including logical network and minimum bandwidth mode.
In Fabric > Networking > Logical Switches, right-click the logical switch that you want to convert the host configuration to and select Properties.
In Logical Switches, record the information:
In Fabric > Networking, select Port Profiles. For any relevant port profiles, select Properties. In Offload Settings, see if Enable Single-root I/O virtualization is checked.
Now compare the recorded information that you recorded for the logical switch and port profiles, with the virtual switch information.
Review the following table to see whether you can convert the host to use the logical switch.
Item | Conversion |
---|---|
SR-IOV | The SR-IOV setting (enabled or disabled) must be the same in the logical switch as it's in the virtual switch. If SR-IOV is enabled, it must be enabled in the logical switch itself, and in at least one virtual network adapter port profile within the logical switch. |
Uplink mode Load balancing algorithm Teaming mode |
The Uplink mode setting must match. If the uplink mode is Team, then the Load balancing algorithm and Teaming mode must also match. |
Minimum bandwidth mode | Must match. |
Network sites | The logical switch must be configured for the correct network sites (in the correct logical network) for this host. |
If the settings in the logical switch don't match as described in the table, you need to find or create a logical switch that does match.
Note
This article describes how to create logical switches in the System Center Virtual Machine Manager (VMM) fabric, convert a host virtual switch to a logical switch, and set up virtual switch extensions if you need them.
A logical switch brings virtual switch extensions, port profiles, and port classifications together so that you can configure each network adapter with the settings you need and have consistent settings on network adapters across multiple hosts. You can team multiple network adapters by applying the same logical switch and uplink port profile to them.
You install switch extensions on the VMM server and then include them in a logical switch. There are a few types of switch extensions:
You can set up a virtual switch extension manager (network manager) if you want to manage extensions using a vendor management console and the VMM console together.
Note
Ensure you've at least one uplink port profile before you begin.
Select Fabric > Networking
Right-click Logical Switches, and then select Create Logical Switch.
In Create Logical Switch Wizard > Getting Started, review the information.
In General,
In Uplink Mode, select:
Embedded Team is the default Uplink mode.
In Settings, select the minimum bandwidth mode. If you've deployed Microsoft network controller, you can specify that it must manage the switch. If you enable this setting, you won't be able to add extensions to the switch.
Enable SR-IOV if you need to. SR-IOV enables virtual machines to bypass the switch and directly address the physical network adapter. If you want to enable:
In Extensions, if you're using virtual switch extensions, select them and arrange the order. Extensions process network traffic through the switch in the order you specify.
Note
Only one forwarding extension can be enabled. None of the extensions are enabled by default.
In Virtual Port, add one or more port classifications and virtual network adapter port profiles. Every Port Classification must be mapped to a Port Profile. You can view Port Classification to Port Profile mapping on the Virtual Port screen.
In Uplink, add an uplink port profile, or create a new one. When you add an uplink port profile, it's placed in a list of profiles that are available through that logical switch. However, when you apply the logical switch to a network adapter in a host, the uplink port profile is applied to that network adapter only if you select it from the list of available profiles.
If Uplink is chosen as Embedded Team (Switch Embedded Team or SET), then only Hyper-V Port and Dynamic load balancing algorithms are supported. Hyper-V Port is the default load balancing algorithm. If Uplink mode is chosen as Embedded Team, then Hyper-V Port is the recommended load balancing algorithm; Dynamic isn't recommended.
In Summary, review the settings and select Finish. Verify if the switch created appears in Logical Switches.
If a host in the VMM fabric has a standard virtual switch with or without SET, you can convert it to use as a logical switch.
Note
Record if NIC Teaming (LBFO) or SET is being used on the host.
If you're using NIC teaming on the host, record teaming and load balancing settings by running the PowerShell commandlet Get-NetLbfoTeam.
In Hyper-V Manager, right-click the host > Virtual Switch Manager. Select the virtual switch and verify whether Enable single-root I/O virtualization (SR-IOV) is selected. Close Hyper-V Manager.
In the VMM console > Fabric > Servers > All Hosts, right-click the host > Properties.
In Virtual Switches, note the properties, including logical network and minimum bandwidth mode.
In Fabric > Networking > Logical Switches, right-click the logical switch that you want to convert the host configuration to and select Properties.
In Logical Switches, record the information:
In Fabric > Networking, select Port Profiles. For any relevant port profiles, select Properties. In Offload Settings, see if Enable Single-root I/O virtualization is checked.
Now compare the recorded information that you recorded for the logical switch and port profiles, with the virtual switch information.
Review the following table to see whether you can convert the host to use the logical switch.
Item | Conversion |
---|---|
SR-IOV | The SR-IOV setting (enabled or disabled) must be the same in the logical switch as it's in the virtual switch. If SR-IOV is enabled, it must be enabled in the logical switch itself, and in at least one virtual network adapter port profile within the logical switch. |
Uplink mode Load balancing algorithm Teaming mode |
The Uplink mode setting must match. If the uplink mode is Team, then the Load balancing algorithm and Teaming mode must also match. |
Minimum bandwidth mode | Must match. |
Network sites | The logical switch must be configured for the correct network sites (in the correct logical network) for this host. |
If the settings in the logical switch don't match as described in the table, you need to find or create a logical switch that does match.
Note
This article describes how to create logical switches in the System Center Virtual Machine Manager (VMM) fabric, convert a host virtual switch to a logical switch, and set up virtual switch extensions if you need them.
A logical switch brings virtual switch extensions, port profiles, and port classifications together so that you can configure each network adapter with the settings you need and have consistent settings on network adapters across multiple hosts. You can team multiple network adapters by applying the same logical switch and uplink port profile to them.
You install switch extensions on the VMM server and then include them in a logical switch. There are a few types of switch extensions:
You can set up a virtual switch extension manager (network manager) if you want to manage extensions using a vendor management console and the VMM console together.
Note
Ensure you've at least one uplink port profile before you begin.
Select Fabric > Networking
Right-click Logical Switches, and then select Create Logical Switch.
In Create Logical Switch Wizard > Getting Started, review the information.
In General,
In Uplink Mode, select:
Embedded Team is the default Uplink mode.
In Settings, select the minimum bandwidth mode. If you've deployed Microsoft network controller, you can specify that it must manage the switch. If you enable this setting, you won't be able to add extensions to the switch.
Enable SR-IOV if you need to. SR-IOV enables virtual machines to bypass the switch and directly address the physical network adapter. If you want to enable:
In Extensions, if you're using virtual switch extensions, select them and arrange the order. Extensions process network traffic through the switch in the order you specify.
Note
Only one forwarding extension can be enabled. None of the extensions are enabled by default.
In Virtual Port, add one or more port classifications and virtual network adapter port profiles. Every Port Classification must be mapped to a Port Profile. You can view Port Classification to Port Profile mapping on the Virtual Port screen.
In Uplink, add an uplink port profile, or create a new one. When you add an uplink port profile, it's placed in a list of profiles that are available through that logical switch. However, when you apply the logical switch to a network adapter in a host, the uplink port profile is applied to that network adapter only if you select it from the list of available profiles.
If Uplink is chosen as Embedded Team (Switch Embedded Team or SET), then only Hyper-V Port and Dynamic load balancing algorithms are supported. Hyper-V Port is the default load balancing algorithm. If Uplink mode is chosen as Embedded Team, then Hyper-V Port is the recommended load balancing algorithm; Dynamic isn't recommended.
In Summary, review the settings and select Finish. Verify if the switch created appears in Logical Switches.
If a host in the VMM fabric has a standard virtual switch with or without SET, you can convert it to use as a logical switch.
Note
Record if NIC Teaming (LBFO) or SET is being used on the host.
If you're using NIC teaming on the host, record teaming and load balancing settings by running the PowerShell commandlet Get-NetLbfoTeam.
In Hyper-V Manager, right-click the host > Virtual Switch Manager. Select the virtual switch and verify whether Enable single-root I/O virtualization (SR-IOV) is selected. Close Hyper-V Manager.
In the VMM console > Fabric > Servers > All Hosts, right-click the host > Properties.
In Virtual Switches, note the properties, including logical network and minimum bandwidth mode.
In Fabric > Networking > Logical Switches, right-click the logical switch that you want to convert the host configuration to and select Properties.
In Logical Switches, record the information:
In Fabric > Networking, select Port Profiles. For any relevant port profiles, select Properties. In Offload Settings, see if Enable Single-root I/O virtualization is checked.
Now compare the recorded information that you recorded for the logical switch and port profiles, with the virtual switch information.
Review the following table to see whether you can convert the host to use the logical switch.
Item | Conversion |
---|---|
SR-IOV | The SR-IOV setting (enabled or disabled) must be the same in the logical switch as it's in the virtual switch. If SR-IOV is enabled, it must be enabled in the logical switch itself, and in at least one virtual network adapter port profile within the logical switch. |
Uplink mode Load balancing algorithm Teaming mode |
The Uplink mode setting must match. If the uplink mode is Team, then the Load balancing algorithm and Teaming mode must also match. |
Minimum bandwidth mode | Must match. |
Network sites | The logical switch must be configured for the correct network sites (in the correct logical network) for this host. |
If the settings in the logical switch don't match as described in the table, you need to find or create a logical switch that does match.
Note
Events
Apr 29, 2 PM - Apr 30, 7 PM
Join the ultimate Windows Server virtual event April 29-30 for deep-dive technical sessions and live Q&A with Microsoft engineers.
Sign up now