How remove switch-profile

If you want remove switch-profile, you can use this command. Make sure you have a copy of the config before doing this. Just in case 🙂

switch(config-sync)# no switch-profile <your profile> profile-only all

You have three possibility :

# no switch-profile your_profile ?
 all-config Deletion of profile, local and peer configurations
 local-config Deletion of profile and local configuration
 profile-only Deletion of profile only and no other configuration