Cisco Cisco Email Security Appliance C170 Referências técnicas

Página de 324
 
3-24
CLI Reference Guide for AsyncOS 9.6 for Cisco Email Security Appliances
 
Chapter 3      The Commands: Reference Examples
  Configuration File Management
resetconfig 
Description
When physically transferring the appliance, you may want to start with factory defaults. The 
r
esetconfig
 command resets all configuration values to factory defaults. This command is extremely 
destructive, and it should only be used when you are transferring the unit or as a last resort to solving 
configuration issues. It is recommended you run the 
systemsetup
 command after reconnecting to the 
CLI after you have run the 
resetconfig
 command. 
Note
The 
resetconfig
 command only works when the appliance is in the offline state. When the 
resetconfig
 
command completes, the appliance is automatically returned to the online state, even before you run the 
systemsetup
 command again. If mail delivery was suspended before you issued the 
resetconfig
 
command, the mail will attempt to be delivered again when the 
resetconfig
 command completes. 
Warning
The 
resetconfig
 command will return all network settings to factory defaults, potentially 
disconnecting you from the CLI, disabling services that you used to connect to the appliance (FTP, 
Telnet, SSH, HTTP, HTTPS), and even removing additional user accounts you created with the 
userconfig
 command. Do not use this command if you are not able to reconnect to the CLI using the 
Serial interface or the default settings on the Management port through the default Admin user 
account. 
Usage
Commit: This command does not require a ‘commit’.
Cluster Management: This command is restricted to machine mode. It is further restricted to the login 
host (i.e., the specific machine you are logged onto). This command requires access to the local file 
system.
Batch Command: This command does not support a batch format.
Example
mail3.example.com> suspend
Delay (seconds, minimum 30):
[30]> 45
Waiting for listeners to exit...
Receiving suspended.
Waiting for outgoing deliveries to finish...
Mail delivery suspended.
mail3.example.com> resetconfig
Are you sure you want to reset all configuration values? [N]> Y
All settings have been restored to the factory default.