User's Manual

Table Of Contents
Command Reference 47
set configsnmp
Enables or disables the SNMP trap collection activity.
Syntax set configsnmp SnmpTrapEnable {1 | 2}
Usage Use this command to enable or disable the collection of SNMP traps. Using this command
requires that the SNMP community settings are configured with the set snmpcommunity
command
Examples Use the following command to enable SNMP trap collection:
# set configsnmp SnmpTrapEnable 1
Related
Commands
set snmpcommunity
set trapcommunity
SnmpTrapEnable 1 | 2 Specifies whether SNMP traps are being collected:
z 1—Enabled; Traps are being collected.
z 2—Disabled; Traps are not being collected.