Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

What does the version statement do in startup-config?

What is the reason for the verison statement in the startup-config file?  Is it used by the loader to choose the correct IOS?

example from startup-config file

!
version 12.2
service timestamps debug uptime
service timestamps log uptime

!

Thank you.

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: What does the version statement do in startup-config?

Hello,

The version statement is used by the IOS to determine the compatibility of the saved configuration file that will be loaded when the device boots up. Sometimes, if you save the configuration using a different IOS train (say 12.3) and boot the device with IOS 12.2, some commands may not be compatible. In that case, the router will display a warning message and that determination is done based on the version information.

Hope this helps.

Regards,

NT

2 REPLIES
Cisco Employee

Re: What does the version statement do in startup-config?

Hello,

The version statement is used by the IOS to determine the compatibility of the saved configuration file that will be loaded when the device boots up. Sometimes, if you save the configuration using a different IOS train (say 12.3) and boot the device with IOS 12.2, some commands may not be compatible. In that case, the router will display a warning message and that determination is done based on the version information.

Hope this helps.

Regards,

NT

Community Member

Re: What does the version statement do in startup-config?

Thank you very much for your prompt and informative reply.  Can you point me to any Cisco documentation that discusses this issue?

Thanks again,

John

608
Views
0
Helpful
2
Replies
CreatePlease to create content