cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
177
Views
10
Helpful
6
Replies
Highlighted
Cisco Employee

Running config and Startup config having "differences" post reboot

If the startup-config is the first thing applied into running-config then post reload of the device we should see no disparity in contents of "sh start" and "sh run"?

Also, if some CLI went bogus while getting applied to the device post reload stage then will the CLI still remain in startup-config ?

Everyone's tags (1)
2 ACCEPTED SOLUTIONS

Accepted Solutions
Cisco Employee

Re: Running config and Startup config having "differences" post reboot

@Seb Rupik 

Because of this there can be a case where sh run and sh start is different post boot up as those cli which were erroneous in startup config will not be listed in the running config ?

VIP Advisor

Re: Running config and Startup config having "differences" post reboot

Yes. You only tend to end up in these situations if you copied an externally generated file to startup, change system images (different feature sets) or remove/swap linecard/modules.

 

cheers,

Seb.

6 REPLIES 6
VIP Advisor

Re: Running config and Startup config having "differences" post reboot

Hi there,

The config is loaded line by line, and not evaluated as a single unit. Therefore if there are problems with a line of config, the interpreter will throw out an error to the log buffer and just keep processing the remaining config.

 

cheers,

Seb.

Cisco Employee

Re: Running config and Startup config having "differences" post reboot

@Seb Rupik 

Because of this there can be a case where sh run and sh start is different post boot up as those cli which were erroneous in startup config will not be listed in the running config ?

VIP Advisor

Re: Running config and Startup config having "differences" post reboot

Yes. You only tend to end up in these situations if you copied an externally generated file to startup, change system images (different feature sets) or remove/swap linecard/modules.

 

cheers,

Seb.

Cisco Employee

Re: Running config and Startup config having "differences" post reboot

It seems a different case here. Although I have landed in such situation the reason is not looking anything like this as the CLI can be applied manually!

So, the CLI works but for some reason the same didn't happen when startup config was applied post bootup!

VIP Advisor

Re: Running config and Startup config having "differences" post reboot

Do you have the log from boot up? Can you share it?

 

Which lines of config are having this problem?

VIP Expert

Re: Running config and Startup config having "differences" post reboot

To add to Seb's information, occasionally newer IOSs will slightly change syntax for some commands, but will still recognize the earlier syntax (at least until Cisco decides the prior syntax is so old, they will no longer accept it). This might also apply to entering commands manually, but look for them to be transformed in the running config.

Also, BTW, occasionally, I've seen running configs differ from the startup config, even when the running config has been saved.
CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards