liveBook · Manning

Snmp-server enable traps

As explained in Acing the CCNA Exam: Volume 2 Advanced Networking and Security

snmp-server enable traps is a Cisco IOS global configuration command that enables SNMP trap generation, optionally for selected event categories.

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

How Acing the CCNA Exam: Volume 2 Advanced Networking and Security covers it

How deep it goes
Explains global configuration, event filtering, and destination pairing, but does not detail individual trap categories or troubleshooting.
Examples
Uses all-event and CPU-only trap forms, followed by an SNMPv2c host configuration targeting 192.168.1.10.
What it assumes
Assumes familiarity with SNMP managers, agents, NMS destinations, and community strings; distinguishes notification credentials from Get and Set credentials.
What you can do after
Operate/configure SNMP notifications by enabling traps and specifying an NMS destination with its outgoing community string.
How it connects
Connects SNMP traps with NMS hosts, SNMPv2c, community strings, and CPU-related events.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 2 Advanced Networking and Security. The section links point to the parts of the book it draws on.