Cisco Cisco ASR 5000

Page of 9109
  Exec Mode Commands (A-C) 
clear config  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
3863 
clear config 
Replaces the active configuration source file with an empty configuration where possible. 
Product
 
All 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec 
The following prompt is displayed in the Exec mode: 
[local]host_name
Syntax
 
clear config [ -noconfirm ] 
-noconfirm
 
Executes the command without any additional prompt and confirmation from the user. 
Usage 
This command clears the current configuration when a complete overwrite is desired or if it is necessary to 
start from an empty configuration. 
Important:
  Clearing the configuration will cause the active configuration source file to be empty and of no use in 
configuring the system to an active state providing service. 
Important:
  This command should only be performed on configurations that have been previously backed up for 
easy restoration. 
Example
 
The following command clears the active configuration after the user provides confirmation of the request. 
clear config 
The following command clears the active configuration source file immediately with no user confirmation. 
clear config -noconfirm