NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

msi's avatar
msi
Luminary
Apr 30, 2020
Solved

M4300: Any way to check for divergence between startup-config and running-config?

Hi   I've tried to find a away to identify if the running-config has actually - and if possible what exactly - has diverged compared to the startup-config. It can also be useful to quickly learn if...
  • LaurentMa's avatar
    Apr 30, 2020

    Hi msi 

     

    Thank you for your message, you are right we don't have this command, as of yet. Good input, and (coincidence) we are working on such a new way of comparing a running config with the startup config (and also the backup config saved elsewhere in the flash). There is no ETA yet, still experiment as I speak, we may use other forms of commands/interface for it.

     

    For now, the solution would be the following:

    1. Copy out ‘startup.cfg’ to your PC
    2. Copy ‘running.cfg’ to ‘backup.cfg’ on the switch
    3. Copy out ‘backup.cfg’ to your PC as ‘running.cfg’
    4. Then use Notepad++ to compare startup.cgf and backup.cfg on your PC

     

    Notepad++ is a great tool that allows just that

    (copy from the internet below)

    Compare Two Files Using Notepad++

    Begin by opening the Plugin Manager from the Plugins menu: Next select the Compare plugin and click Install: Now open both of the files you would like to compare as two separate tabs in Notepad++. Then from the Plugins menu select Compare -> Compare (or use the shortcut Alt+D)

     

    I hope this helps,

    Regards