Cisco Cisco Packet Data Gateway (PDG) Guia De Resolução De Problemas
Global Configuration Mode Commands
▀ snmp trap
▄ Cisco ASR 5000 Series Command Line Interface Reference
OL-22948-01
snmp trap
This command enables/disables generation of specific or all SNMP traps.
Product
All
Privilege
Security Administrator, Administrator
Syntax
Enables or allows the generation of one or more SNMP traps by the system.
Disables the generation of one or more SNMP traps by the system.
The name of the specific SNMP trap to enable or disable. Multiple traps can be listed for a single instance of
this command.
this command.
Important:
The system disregards character case when entering trap names.
Default: Enable All
Specifies that all SNMP traps will be affected by the specified operation (enable or suppress).
Specifies that all SNMP traps will be affected by the specified operation (enable or suppress).
Usage
SNMP traps are used by the system to indicate that certain events have occurred. A complete listing of the
traps supported by the system and their descriptions can be found in the SNMP MIB Reference. Additionally,
a trap listing can be viewed using the following command:
traps supported by the system and their descriptions can be found in the SNMP MIB Reference. Additionally,
a trap listing can be viewed using the following command:
By default, the system enables the generation of all traps. However, individual traps can be disabled allowing
only traps of a certain type or alarm level to be generated. This command can be used to disable un-desired
traps and/or re-enable previously suppressed traps.
only traps of a certain type or alarm level to be generated. This command can be used to disable un-desired
traps and/or re-enable previously suppressed traps.
Example
The following command suppresses the LogMessage trap:
The following command suppresses the LogMessage trap:
The following command suppresses the
and
: