для Cisco Cisco Packet Data Gateway (PDG)

Скачать
Страница из 8770
Global Configuration Mode Commands (L-S)   
▀  snmp trap 
 
 
▄  Command Line Interface Reference, StarOS Release 16 
5406 
   
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_name1 trap_name2 ... trap_nameN | all ] 
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_name1
 
trap_name2
 
...
 
trap_nameN
 
The name of the specific SNMP trap to enable or disable. Multiple traps can be listed for a single instance of 
this command. 
Important:
  The system disregards character case (case insensitive) when entering trap names. 
all
 
Default: Enable All 
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: 
snmp trap { enable | suppress } ?
 
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. 
Example
 
The following command suppresses the LogMessage trap: