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

Página de 325
 
3-240
CLI Reference Guide for AsyncOS 9.7 for Cisco Email Security Appliances
 
Chapter 3      The Commands: Reference Examples
  Logging and Alerts
Usage
Commit: This command requires 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 
snmpconfig
 command is used to enable SNMP on the “PublicNet” 
interface on port 161. A passphrase for version 3 is entered and then re-entered for confirmation. The 
system is configured to service version 1 and 2 requests, and the community string 
public
 is entered for 
GET requests from those versions 1 and 2. The trap target of 
snmp-monitor.example.com
 is entered.  
Finally, system location and contact information is entered.
mail3.example.com> snmpconfig
Current SNMP settings:
SNMP Disabled.
Choose the operation you want to perform:
- SETUP - Configure SNMP.
[]> setup
Do you want to enable SNMP? [N]> y
Please choose an IP interface for SNMP requests.
1. Data 1 (192.168.1.1/24: buttercup.run)
2. Data 2 (192.168.2.1/24: buttercup.run)
3. Management (192.168.44.44/24: buttercup.run)
[1]>
Enter the SNMPv3 passphrase.
>
Please enter the SNMPv3 passphrase again to confirm.
>
Which port shall the SNMP daemon listen on?
[161]>
Service SNMP V1/V2c requests? [N]> y
Enter the SNMP V1/V2c community string.
[]> public
From which network shall SNMP V1/V2c requests be allowed?
[192.168.2.0/24]>
Enter the Trap target (IP address). Enter "None" to disable traps.
[None]> snmp-monitor.example.com
Enterprise Trap Status
1. RAIDStatusChange             Enabled
2. fanFailure                   Enabled
3. highTemperature              Enabled
4. keyExpiration                Enabled
5. linkDown                     Enabled
6. linkUp                       Enabled
7. powerSupplyStatusChange      Enabled
8. resourceConservationMode     Enabled
9. updateFailure                Enabled
Do you want to change any of these settings? [N]> y