I've noticed something that I am bewildered by. If I edit a config file for one of our switches, firewall, or routers via NCM (we are running 7.4.1) and then upload the edited file, it doesn't necessarily delete lines I removed. If a line is ADDED, it is always changed. If it has changed options, any new options added are changed, but sometimes it does not remove options (happened once or twice). It will usually not remove lines that were completely removed in the edited file (over thirty times that I know about quickly). I can always remove the lines if I log into the switch via SSH (using PuTTY) as the same user that made the changes through NCM.
If it is a single line removed, it almost always does not seem to remove the line with the upload. If a small group of lines are changed, it will change any lines remaining, but may or may not remove lines removed. If a large group of lines (all together) are changed, it will almost always make changes to lines that are edited, but may not remove all the lines. I have seen it remove some lines and leave lines deleted immediately before or after the line removed. I presume that there is some configuration option to have the upload always do a complete overwrite of the one being replaced (as I expect it to do). If so, could someone inform me of the settings so I could have it behave as expected?