To enable SNMP notifications (traps or informs), use the snmp-server enable traps command. To disable all SNMP notifications, use the no form of this command.
snmp-server enable traps [flash [insertion | removal] | fru-ctrl |
port-security[ trap-rate trap-rate] | removal | stpx | vlancreate | vlandelete | vtp]
no snmp-server enable traps flash [insertion | removal] | fru-ctrl |
port-security[ trap-rate trap-rate] | removal | stpx | vlancreate | vlandelete | vtp]