Configure replace command
From NetworkCommands
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 |
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
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.
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.
Related Commands
The archive command is used to create a configuration file archive, the show archive command to view the file archive contents.
Related Articles
Information on other Cisco commands
Information on Linux commands
Information on F5 BigIP commands
Information on Vyatta commands
Information on Extreme commands
Information on Zebra commands
Information on Secure Platform commands
Information on Blue Coat SGOS commands
Information on Nokia IPSO commands







