Log in Go to the main page Page History Go to the file list Go to the site toolbox

Configure replace command

From NetworkStuff



Cisco-logo-large.gif

A command available on most Cisco router platforms running IOS 12.3 onwards; used to restore and load the startup or another archived configuration as the running configuration, replacing the current running configuration.

Contents

Preferences-desktop-font-v2-22.png Usage Syntax

Configuration context: enable mode

configure replace filesystem:filename [force|list|ignorecase|time|]

  • force = do not prompt for user input
  • list = list the commands removed and replaced during the replace
  • ignorecase = ignore the case of the contents of the configuration file
  • time xx = time to wait for user input such as confirmation, in seconds, a value between 10 and 120
  • nolock = do not lock the running configuration (for editing) file during the replace operation

Vm-power-on-medium.png Usage Examples

configure replace nvram:startup-config force - replace the running configuration with the startup configuration stored in NVRAM and do not prompt for user input.

Accessories-text-editor-v2-medium.png Usage Notes

Use ? to list available file systems and also available files on a file system.

The configuration file used to replace the existing running configuration must contain a full configuration.

You may lose connectivity to the device if the replacement configuration has different IP addresses to those in use when you execute this command.

The running configuration is automatically locked (for editing) during the replace operation to prevent changes to the configuration being made while it's being replaced. Use the nolock option to prevent this. Use the show configuration lock command to display any current configuration locks.

Note that the copy start run command merges the startup configuration with the running configuration, it does not replace it and does not remove any configuration entries as this command will.

Icemon-medium.png Related Commands

The archive command is used to create a configuration file archive, the show archive command to view the file archive contents.

Icemon-medium.png Related Articles

Information on other Cisco commands Cisco-logo-small.png

Information on Linux commands Tux-small.png

Information on F5 BigIP commands F5-logo-small.png

Information on Vyatta commands Vyatta-logo-small.png

Information on Extreme commands Extreme-logo-small.png

Information on Zebra commands

Information on Secure Platform commands

Information on Blue Coat SGOS commands

Information on Nokia IPSO commands


Internet-group-chat-small.png We really do appreciate all feedback so please do send your comments, suggestions or corrections to steve#networkstuff.eu (replacing the # with an @)


Personal tools
This page was last modified on 2 November 2008, at 02:15. - Disclaimers - About Network Stuff
Powered by MediaWiki