Use snmp-server enable traps in Cisco IOS global configuration mode to enable SNMP Trap generation. Without an event qualifier, it enables all Trap messages; qualifiers such as cpu restrict generation to selected events. section 6.3.1
Enabling traps does not identify their destination. Pair it with snmp-server host ip-address [version 2c] community-string to send Traps or Informs to an NMS. The host command's community string authenticates outgoing notifications and need not match Get or Set community strings. section 6.3.1 section 6.4
Enable and direct SNMPv2c traps
R1(config)# snmp-server enable traps R1(config)# snmp-server host 192.168.1.10 version 2c password789 The first command enables all traps; the second targets the specified NMS with SNMPv2c and the supplied notification community string. section 6.3.1
