VMware Cloud Community
cksmith
Contributor
Contributor

Automating DVS config

Hi All,

I want to automate saving and restoring the distributed virtual switch configurations. Is there a way to do this through the esxcfg- commands? I know this can be done with the virtual switch using the esxcfg-vswitch command. The concept is to write a script that will log in to the ESX host, grab the dvs networking config and then write another script that will log back in to the ESX and restore the dvs networking config at a later time. Thanks.

Reply
0 Kudos
0 Replies