1-20
Cisco ASA Series CLI Configuration Guide
Chapter 1 Configuring SNMP
Configuring SNMP
What to Do Next
See the
“Configuring SNMP Traps” section on page 1-20
.
Configuring SNMP Traps
To designate which traps that the SNMP agent generates and how they are collected and sent to NMSs,
enter the following command:
Command
Purpose
snmp-server enable traps
[
all
|
syslog
|
snmp
[
authentication
|
linkup
|
linkdown
|
coldstart
|
warmstart
] |
entity
[
config-change
|
fru-insert
|
fru-remove
|
fan-failure
|
cpu-temperature
|
chassis-fan-
failure
|
power-supply-failure
] |
chassis-temperature
|
power-supply-presence
|
power-supply-temperature
]
ikev2
[
start
|
stop
] |
ipsec
[
start
|
stop
]
|
remote-access
[
session-threshold-exceeded
]|
connection-limit-reached
|
cpu
threshold rising
|
interface-threshold
|
memory-threshold
|
nat
[
packet-discard
]
Example:
hostname(config)# snmp-server enable
traps snmp authentication linkup
linkdown coldstart warmstart
Sends individual traps, sets of traps, or all traps to the NMS. Enables syslog
messages to be sent as traps to the NMS. The default configuration has all
SNMP standard traps enabled, as shown in the example. To disable these traps,
use the
no snmp-server enable traps snmp
command. If you enter this
command and do not specify a trap type, the default is the
syslog
trap. By
default, the
syslog
trap is enabled. The default SNMP traps continue to be
enabled with the
syslog
trap. You need to configure both the
logging history
command and the
snmp-server enable traps syslog
command to generate traps
from the syslog MIB. To restore the default enabling of SNMP traps, use the
clear configure snmp-server
command. All other traps are disabled by default.
Traps available in the admin context only:
•
connection-limit-reached
•
entity
•
memory-threshold
Traps generated through the admin context only for physically connected
interfaces in the system context:
•
interface-threshold
Note
The
interface-threshold
trap is not supported on the ASASM.
All other traps are available in the admin and user contexts in single mode.
In multi-mode, the
fan-failure
trap, the
power-supply-failure
trap, and the
cpu-temperature
trap are generated only from the admin context, and not the
user contexts (applies only to the ASA 5512-X, 5515-X, 5525-X, 5545-X, and
5555-X). These traps do not apply to the ASA 5505.
If the CPU usage is greater than the configured threshold value for the
configured monitoring period, the
cpu threshold rising
trap is generated.
When the used system context memory reaches 80 percent of the total system
memory, the
memory-threshold
trap is generated from the admin context. For
all other user contexts, this trap is generated when the used memory reaches 80
percent of the total system memory in that particular context.
Note
SNMP does not monitor voltage sensors.
Summary of Contents for 5505 - ASA Firewall Edition Bundle
Page 28: ...Glossary GL 24 Cisco ASA Series CLI Configuration Guide ...
Page 61: ...P A R T 1 Getting Started with the ASA ...
Page 62: ......
Page 219: ...P A R T 2 Configuring High Availability and Scalability ...
Page 220: ......
Page 403: ...P A R T 2 Configuring Interfaces ...
Page 404: ......
Page 499: ...P A R T 2 Configuring Basic Settings ...
Page 500: ......
Page 533: ...P A R T 2 Configuring Objects and Access Lists ...
Page 534: ......
Page 601: ...P A R T 2 Configuring IP Routing ...
Page 602: ......
Page 745: ...P A R T 2 Configuring Network Address Translation ...
Page 746: ......
Page 845: ...P A R T 2 Configuring AAA Servers and the Local Database ...
Page 846: ......
Page 981: ...P A R T 2 Configuring Access Control ...
Page 982: ......
Page 1061: ...P A R T 2 Configuring Service Policies Using the Modular Policy Framework ...
Page 1062: ......
Page 1093: ...P A R T 2 Configuring Application Inspection ...
Page 1094: ......
Page 1191: ...P A R T 2 Configuring Unified Communications ...
Page 1192: ......
Page 1333: ...P A R T 2 Configuring Connection Settings and QoS ...
Page 1334: ......
Page 1379: ...P A R T 2 Configuring Advanced Network Protection ...
Page 1380: ......
Page 1475: ...P A R T 2 Configuring Modules ...
Page 1476: ......
Page 1549: ...P A R T 2 Configuring VPN ...
Page 1550: ......
Page 1965: ...P A R T 2 Configuring Logging SNMP and Smart Call Home ...
Page 1966: ......
Page 2059: ...P A R T 2 System Administration ...
Page 2060: ......
Page 2098: ...1 8 Cisco ASA Series CLI Configuration Guide Chapter 1 Troubleshooting Viewing the Coredump ...
Page 2099: ...P A R T 2 Reference ...
Page 2100: ......