snmp-server enable trap

Enables the SNMP traps.

Syntax

snmp-server enable trap
no snmp-server enable trap

Command Default

The SNMP server traps are enabled by default.

Modes

Global configuration mode

Usage Guidelines

Use the no form of this command to disable the SNMP traps.

Examples

The following example disables the SNMP traps.

device# configure terminal
device(config)# no snmp-server enable trap

The following example enables the SNMP traps.

device# configure terminal
device(config)# snmp-server enable trap