Cisco Cisco Packet Data Interworking Function (PDIF)
Global Configuration Mode Commands (L-S)
snmp trap ▀
Command Line Interface Reference, StarOS Release 17 ▄
5493
snmp trap
This command enables or disables generation of specific or all SNMP traps.
Product
All
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration
configure
Entering the above command sequence results in the following prompt:
[local]host_name(config)#
Syntax
snmp trap { enable | suppress } {trap_name + | all | target target_name }
enable
Enables or allows the generation of one or more SNMP traps by the system.
suppress
Disables the generation of one or more SNMP traps by the system.
trap_name
+
The name of the specific SNMP trap to enable or disable.
+
indicates that multiple traps separated by a space
can be listed for a single instance of this command.
Important:
The system disregards character case (case insensitive) when entering trap names.
all
Specifies that all SNMP traps will be affected by the specified operation (enable or suppress). Default: Enable
All
All
target
target_name
Specifies that these SNMP traps should be sent to the specified target name.
target_name
is the name of an
eisitng SNMP target specified as an alphanumeric string of 1 through 31 characters.
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:
snmp trap { enable | suppress } ?