Based on your networking requirements, you can adjust the settings of a newly created or an existing distributed switch.
Prerequisites
Verify that you are connected
to a
vCenter
Server
system.
Procedure
■
| Modify the maximum MTU size setting for a distributed switch. Get-VDSwitch -Name 'MyVDSwitch' | Set-VDSwitch -Mtu 2000
|
■
| Modify the number of uplink ports on a distributed switch. Get-VDSwitch -Name 'MyVDSwitch' | Set-VDSwitch -NumUplinkPorts 4
|
■
| Modify the maximum number of ports on a distributed switch. Get-VDSwitch -Name 'MyVDSwitch' | Set-VDSwitch -MaxPorts 1000
|
■
| Modify the discovery protocol settings on a vSphere distributed switch. Get-VDSwitch -Name 'MyVDSwitch' | Set-VDSwitch -LinkDiscoveryProtocol LLDP -LinkDiscoveryProtocolOperation Both
|