VMware Cloud Community
akkayyakapisett
Enthusiast
Enthusiast
Jump to solution

Set default ports in vSwitch to 8

Hi,

I need to set the default ports in vswitch to 8. such that number of switches can

be increased. I dont want to set it manully for each switch.

0 Kudos
1 Solution

Accepted Solutions
bulletprooffool
Champion
Champion
Jump to solution

Using powershell:

Set-VirtualSwitch <VirtualSwitch> [[-NumPorts] <Int32>]

tie this with get-virtualswitch and you should be there

(The below has not been tested . . no powershell on this machine)

something like:

get-virtualswitch | set-virtualswitch -NumPorts 8

One day I will virtualise myself . . .

View solution in original post

0 Kudos
2 Replies
weinstein5
Immortal
Immortal
Jump to solution

I am intrigued - how many vswitches do you need? I do not of a prameter to change will change the default usable port count to 8 when creating a vswitch - if you have already created the vswitches remember it will require a reboot of the esx server to reset the port count -

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
0 Kudos
bulletprooffool
Champion
Champion
Jump to solution

Using powershell:

Set-VirtualSwitch <VirtualSwitch> [[-NumPorts] <Int32>]

tie this with get-virtualswitch and you should be there

(The below has not been tested . . no powershell on this machine)

something like:

get-virtualswitch | set-virtualswitch -NumPorts 8

One day I will virtualise myself . . .
0 Kudos