Cisco Cisco Email Security Appliance C160 Références techniques

Page de 328
 
3-27
CLI Reference Guide for AsyncOS 10.0 for Cisco Email Security Appliances
 
Chapter 3      The Commands: Reference Examples
  Configuration File Management
Batch Command: This command does not support a batch format
Example
In the following example, the passphrases in the configuration file is encrypted and saved in the 
configuration
 directory.
mail.example.com> saveconfig
Choose the passphrase option:
1. Mask passphrases (Files with masked passphrases cannot be loaded using loadconfig 
command)
2. Encrypt passphrases
3. Plain passphrases
[1]> 2
File written on machine "mail.example.com" to the location
"/configuration/C100V-4232116C4E14C70C4C7F-7898DA3BD955-20140319T050635.xml".
Configuration saved.
showconfig
Description
The 
showconfig
 command prints the current configuration to the screen.
Usage
Commit: This command does not require a ‘commit’.
Cluster Management: This command can be used in all three machine modes (cluster, group, machine).
Batch Command: This command does not support a batch format
Example
In the following example, the configuration is displayed on CLI and the passphrases in the configuration 
are encrypted.
mail.example.com> showconfig
Choose the passphrase display option:
1. Mask passphrases (Files with masked passphrases cannot be loaded using loadconfig 
command)
2. Encrypt passphrases
3. Plain passphrases
[1]> 2
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE config SYSTEM "config.dtd">
<!--
  Product: Cisco C100V Email Security Virtual Appliance
  Model Number: C100V
  Version: 9.0.0-038
  Serial Number: 4232116C4E14C70C4C7F-7898DA3BD955
  Number of CPUs: 2