Cisco Cisco Email Security Appliance C190 Technical References

Page of 314
 
232
Cisco AsyncOS 9.1 for Email CLI Reference Guide
 
Chapter 3      The Commands: Reference Examples
  Logging and Alerts
Log files successfully rolled over.
mail3.example.com>
snmpconfig
Description
Configure SNMP.
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]>