I am trying to clean up my switch configurations. There are a lot of old outdated ntp servers and snmp trap servers and other stale info with in the configuration. I have been trying to find a way to remove all of these old server then run a script to only have the correct ones. Any ideas or do I need to go through each device and remove them individually ? I wouldnt mind if the new server was list and got removed.
Example would be:
ntp server 1.1.1.1
ntp server 1.2.2.2
ntp server 3.3.3.3
runs the following
no ntp server 1.1.1.1
no ntp server 1.2.2.2
no ntp server 3.3.3.3 --- This is fine if it does this.
ntp server 3.3.3.3