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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

how is that ?

when i check my router 2500 with sh run command it shows ip configured on s0 port, but when i check router with sh conf command it shows ip address on s0 port . How is that ? please explain me

New Member

Re: how is that ?

sh run

means the running config on memory

sh conf

means the start-up config when reboot

use "wri" to save running config to start-up config


Re: how is that ?


When you make any changes to a router's configuration, the configuration is not saved automatically. You have to explicitly instruct the router to save the config using the command: 'copy running-config startup-config'. The 'show running-config' command displays the configuration that the router is currently running while the 'show startup-config' command displays the configuration saved to the router's memory.

When you make a change to the router's config without saving it, the 'show running-config' command weill display that change but the 'show startup-config' command will NOT reflect that change. Once you enter in the 'copy running-config startup-config' command, both of the previous commands will display the same output.

Hope that helps - pls do rate the post if it does.


Hall of Fame Super Silver

Re: how is that ?

Paresh offers a good explanation. I would suggest one clarification: Paresh's explanation is in terms of running-config and startup-config which are the current terminology. The original post was asking about the command show conf. It may not be obvious to everyone that the show conf command is the old version of the show startup-config and produces exactly the same results as show startup-config.

So the router currently uses the address of on the interface but at some point the router was configured with address on the interface and someone changed the address and did not save the running-config to startup-config.