User’s Manual of
1 — SNMPv1 traps is used.
2 — SNMPv2 traps is used (Default).
Default Configuration
The default is SNMPv2.
UDP Port - 162
timeout - 15 seconds
retries - 3.
Command Mode
Global Configuration mode
User Guidelines
If a trap and inform are defined on the same target, and an inform was sent, the trap is not sent.
An inform request is held in memory until a response is received or the request times out. An inform can be resent or retried several times, but traps are sent only once. Network traffic is increased with retries. Therefore, traps and informs require a
To define an SNMP recipient on the
Example
The following example enables SNMP traps for host 10.1.1.1 with community string "management" using SNMPv2. Console (config)#
The
Syntax
name value... — List of name and value pairs. In case of scalar MIBs there is only a single pair of name values. In case of entry in a table the first pairs are the indexes, followed by one or more fields.
Default Configuration
This command has no default configuration.
- 292 –