cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
550
Views
0
Helpful
5
Replies

md5 different between save command

petercinvest
Level 1
Level 1

I go to conf t, then make some change, then I type "do wr " and do verify /md5 nvram:startup-config, the MD5 value is ******ad3,

now I type end and then followed by wr, I get another MD5 value is ******s32, but my two configuration is the same, why we have two MD5 value

for the same config?

can someone show me the reason, if using "do wr" will we lost some configuration?

5 Replies 5

Hello,

this is an excerpt from the document linked below:

You cannot use the do command to execute the configure terminal command because entering the configure terminal command changes the user EXEC mode or privileged EXEC mode to the global configuration mode.

You cannot use the do command to execute copy or write commands in the global configuration or any other configuration mode or submode.

http://www.cisco.com/c/en/us/td/docs/ios/fundamentals/command/reference/cf_book/cf_d1.html#wp1015951

That said, do copy running-config startup-config should work and render the same result.

Tausif Gaddi
Level 1
Level 1

Cisco IOS Configuration Fundamentals Command Reference is a good link to follow
http://www.cisco.com/c/en/us/td/docs/ios/fundamentals/command/reference/cf_book/cf_d1.html#wp1015951

Look at the first lines of your startup-config. There you find some lines like the following:

! Last configuration change at 23:34:14 AEDT Mon Nov 28 2016 by ki
! NVRAM config last updated at 21:15:43 AEDT Mon Jan 16 2017 by ki

The timestamps change with every "write" and therefore will give you a different hash-value.

No, if no configuration change, MD5 value remain the same.

Then, what's exactly your problem?

Review Cisco Networking for a $25 gift card