42-4
Cisco Security Appliance Command Line Configuration Guide
OL-12172-03
Chapter 42 Monitoring the Security Appliance
Using SNMP
The SNMP community string is a shared secret between the security appliance and the NMS. The key is
a case-sensitive value up to 32 characters in length. Spaces are not permitted.
Step 4
(Optional) To set the SNMP server location or contact information, enter the following command:
hostname(config)#
snmp-server
{
contact
|
location
}
text
Where
text
defines the SNMP server location or lists contact information.
Step 5
To enable the adaptive security appliance to send traps to the NMS, enter the following command:
hostname(config)#
snmp-server enable traps
[
all
|
syslog
|
snmp
[
trap
] [...] |
entity
[
trap
] [...] |
ipsec
[
trap
] [...] |
remote-access
[
trap
]]
Enter this command for each feature type to enable individual traps or sets of traps, or enter the
all
keyword to enable all traps.
The default configuration has all SNMP traps enabled (
snmp-server enable traps snmp authentication
linkup linkdown coldstart
). You can disable these traps using the
no
form of this command with the
snmp
keyword. However, use the
clear configure snmp-server
command to restore the default enabling
of SNMP traps.
If you enter this command and do not specify a trap type, then the default is the syslog trap. (The default
SNMP traps continue to be enabled along with the syslog trap.)
SNMP traps include:
•
authentication
•
linkup
•
linkdown
•
coldstart
Entity traps include:
•
config-change
•
fru-insert
•
fru-remove
IPSec traps include:
•
start
•
stop
Remote-access traps include:
•
session-threshold-exceeded
Step 6
To enable system log messages to be sent as traps to the NMS, enter the following command:
hostname(config)#
logging history
level
Where
level
defines the logging severity level.
You must also enable syslog traps using the
snmp-server enable traps
command.
Step 7
To enable logging, so that system messages are generated and can then be sent to an NMS, enter the
following command:
hostname(config)#
logging enable
Summary of Contents for 500 Series
Page 38: ...Contents xxxviii Cisco Security Appliance Command Line Configuration Guide OL 12172 03 ...
Page 45: ...P A R T 1 Getting Started and General Information ...
Page 46: ......
Page 277: ...P A R T 2 Configuring the Firewall ...
Page 278: ......
Page 561: ...P A R T 3 Configuring VPN ...
Page 562: ......
Page 891: ...P A R T 4 System Administration ...
Page 892: ......
Page 975: ...P A R T 5 Reference ...
Page 976: ......