Modifying and applying switch configurations across multiple hosts using a host profile